KoshiroRobot / Ball-Balancing-Robot

Ball Balance Robot Parts File and Program
96 stars 25 forks source link

Schematic Diagram #4

Open A2028 opened 3 months ago

A2028 commented 3 months ago

Hi, can you post the schematic diagram for this robot?

What software to program the ID of the Servo?

Thanks.

KoshiroRobot commented 3 months ago

Hi,

For the schematic diagram:

Connect all VCC lines of the RS304MD servos to the 5V pin on the Raspberry Pi. While it works with the power from the Raspberry Pi, using an external power supply might improve response performance. Connect all GND lines to the GND pin on the Raspberry Pi. Connect all signal lines to a pin on the Raspberry Pi that has TX functionality. In my case, I connected them to GPIO0.

For programming the servo, the class_servo.py file contains functions for the four most commonly used features. For other functions, refer to the RS304MD datasheet. You can find the datasheet at this link: RS303MR/RS304MD Datasheet

Thank you