If I get a Arduino Uno along with a ADXL345 - Triple-Axis Accelerometer
Can I use these 2 objects to keep the top platform of a robot on a level plane no matter the angle of the base of the robot? ( 1 axis only )
Also, how difficult is the Arduino to program. I have 0 experience on programing this device.
And last thing, if anyone can suggest any other parts or different parts that would simplify this task.
I selected these 2 items as a novice as that I really no experience in this field.
Any and all comments would be appreciated.
The more detailed, the better!
Thank You !
Hello @ProStreet
Yes! You are on the right track with those components
In terms of difficulty, Arduino is one of the easiest platforms to program due to the large amount of example codes and tutorials available on the Internet so it is great place to start.
For your application, I would suggest looking for self-balancing robots either on google or in the Robots section here in RobotShop (where you could also share your project).
Here are some tutorials that you might find useful:
https://circuitdigest.com/microcontroller-projects/arduino-based-self-balancing-robot
Lots of the examples use the MPU6050 which combines a 3-axis gyroscope and a 3-axis accelerometer, but you could use the ADXL345 as well and the code wouldn’t change much since both support the I2C protocol.
I hope that information can help you out!
Good luck with your project and let us know if you have any other doubts
Thank you very much.
I really am grateful for your help