You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added a new folder "sensebox-bike-atrai-esp32s3" to house the implementation. Check out the README of that folder for some performance tests on an Adafruit Feather ESP32S3.
The implementation is covering the following:
Distancesensor + classification
Accelerationsensor + classification
BLE
Display
RGBLED
Dustsensor
Humiditysensor
Batterysensor
I was able to connect to the device with the currently used senseBox:bike app and record measurements.
The ToF should run on its own core, because at the moment it is the bottleneck and needs to have the highest possible frequency it can get.
Other open issues:
sending more than one value in a buffer through one characteristic is done differently and needs to be handled accordingly in the app
atleast one of the sensors doesnt send data if all sensors are connected and running
the ToF and the acceleration sensor should loop in a regular interval
I finally managed to successfully run two edgeImpulses. I had to create a new class specifically for combining the distance and acceleration sensor in a single file. Otherwise I would get a "multiple definition" error.
For some reason it is also important to include the multi impulse library in the cpp instead of the header. I dont know why.
Some tests with the full setup with all sensors have to be done now.
the edge impulse implementation works now with all sensors. The interval for the two ToFs is not completely stable (sometimes it loops every 117ms, other times every 96ms or 66ms). Not sure why.
The acceleration sensor interval is stable at 43ms. The other sensors roughly every 1000ms.
I occasionally have issues when I turn on the display, so I can recommend leaving it off
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a new folder "sensebox-bike-atrai-esp32s3" to house the implementation. Check out the README of that folder for some performance tests on an Adafruit Feather ESP32S3.
The implementation is covering the following:
I was able to connect to the device with the currently used senseBox:bike app and record measurements.
The ToF should run on its own core, because at the moment it is the bottleneck and needs to have the highest possible frequency it can get.
Other open issues: