Collect sensor data straight from your web browser

Collecting data from real devices is the first step of any embedded machine learning solution, and to make this even easier we're adding support for Web Serial to the Edge Impulse Studio. This means that you can now collect data from any fully-supported development board straight from your browser, without any other tools installed on your computer.


This is a companion discussion topic for the original entry at https://www.edgeimpulse.com/blog/collect-sensor-data-straight-from-your-web-browser
2 Likes

I have a RPI Nano, which uses the RP2040 and is on the list of fully-supported development boards. Would I be able to use the Web Serial integration to sample sensors through that device? I am primarily interested in sampling from my accelerometer, which is not a built-in sensor. I’m a big fan of the product, but neither I or my IT department have been able to get the CLI installed on our computers and I’m trying to find any other method of sending that accel data to my Edge Impulse project.

Hello @bda9426,

I don’t have a RPI nano nor a RPI2040 on my side but as the board is now fully supported, you should be able to use the Web Serial. Note that the RPI2040 does not have any sensor so we added the possibility to grab this accelerometer’s data LSM6DS3 Accelerometer & Gyroscope when connected to I2C0:

If you’re looking to integrate other sensors, the easiest would be to use the data-forwarder but it requires the CLI to be setup. Maybe I can help you on that, what are the issues you’re seeing?

Can you make sure:

  • You’ve installed NodeJS v14 or higher with the Development tools (most common error we see)
  • You’ve installed Python3

We are trying to logs the issues and their solutions in the troubleshooting section, maybe you missed that last part: https://docs.edgeimpulse.com/docs/cli-installation#troubleshooting

Regards,

Louis