Nice to see this works! I am building a self balancing robot - it currently uses just a gyro, but I was thinking of using an ultrasonic sensor to reset the angle to compensate for gyro drift. I have tried combining with an accelerometer, but got worse results as it moves around a lot.
Nice to see this works! I am building a self balancing robot - it currently uses just a gyro, but I was thinking of using an ultrasonic sensor to reset the angle to compensate for gyro drift. I have tried combining with an accelerometer, but got worse results as it moves around a lot.
create.arduino.cc/projecthub/RoboticsEveryDay/wheeled-self-balancing-robot-arduino-l293d-hc-sr-04-0df8dd