Self Balancing Robot - Using RemoteXY and Bluetooth to pass in PID and CG parameters

Posted on 04/03/2018 by demej00
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

Update: added RemoteXY software and HC-05 Bluetooth module to update PID parameters with my phone. Software is easy to use but I need to buy the full version (only 8 bucks) to add more controls. Only problem is that it stopped communicating with the bluetooth module when it encountered a timer1 interrupt so had to change program to use a millisecond count loop and all was well. After I buy the full version, will add a joystick control to make robot directional. Fun project as I learned how to use ...


Self Balancing Robot - Using RemoteXY and Bluetooth to pass in PID and CG parameters

Update: added RemoteXY software and HC-05 Bluetooth module to update PID parameters with my phone. Software is easy to use but I need to buy the full version (only 8 bucks) to add more controls. Only problem is that it stopped communicating with the bluetooth module when it encountered a timer1 interrupt so had to change program to use a millisecond count loop and all was well.

After I buy the full version, will add a joystick control to make robot directional. Fun project as I learned how to use Bluetooth module and RemoteXY software for the phone which is really easy to implement.

Original Post: Here is my first real self balancing robot though I have done some simple bang-bang ones in the past. I used this instructable (not mine): https://www.instructables.com/id/Arduino-Self-Balancing-Robot-1/ which is about the simplest treatment of self-balancing I have ever seen. Downloaded the libraries, input my robot's calibration parameters, compiled the sketch and it worked. Needs work of course but am only using P of PID right now.

Mine is using mini L293D motor shield, Arduino Uno, MPU6090 acc/gyro and surprisingly everything is run with a 2S 800mah lipo, without any external voltage regulator - using only the one on the L293D shield to power MPU6090 and the Arduino Uno. Simple.

See his instructable for details as it is a great writeup about how to make one.

Need to tune mine but might try RemoteXY software and an ESP8266 to update PID parms and try a little steering.

 

Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post