Using your phone’s camera and IMU to position stabilize a self balance robot – no additional sensors needed
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Here a video where you can see the position output while driving around
Overview over the phones which have been tested. Controller parameters must be fine tuned for each device.
Phone | Android Version | Worked? |
---|---|---|
Samsung Galaxy S3 | Android 4.4 | No, processing power is not suffiecnt |
Google Nexus 4 | Android 5 | No, has no USB OTG functionality (and Bluetooth's latency is too high for this application) |
Blackberry Priv | Android 6 | Yes |
Samsung Galaxy S6 | Android 7 | Yes |
LG VS30 | Android 8 | Yes |
Redmi 6 | Android 9 | No, has no Gyroscope |
Huawei P10 | Android 9 | Yes |
Samsung Galaxy S20 | Android 10 | Yes |
Create an account to leave a comment. Already have an account? Log In.
If this could be done in Javascript on a web page in the phone (access to the camera is possible, I'm just not sure it can process the data fast enough) then it would work with this system for interfacing with any smartphone:
https://hackaday.io/project/184720-web-smart-phone-screen-blink-bot
Become a member to follow this project and never miss any updates
For specifically this application latency is everything. You already have a ton of delays until you get the latest data from the internal sensors. Espcially the camera of various phones I've seen 40-100ms latency. So you are already on the edge, since the system is unstable. Therefore you cannot allow additonally high latency, which I would expect the data transmission via screen blinking would introduce.
Do you have some numbers here?