TroubleshootingArduino

Turtle 2WD troubleshooting

userHead RonaldBuoga 2022-08-03 02:29:13 237 Views1 Replies
Trying to debug my turtle motors but the robot ain't working when I unplug the USB cable. Somebody help
2022-08-05 12:39:25

Sorry for the delayed response; it has been a long day. The difference between the left and right sonar sensors determines the two motor speeds in the example code. Check out differential drive. There is also code for a center sonar sensor, but it is more for emergency braking and reverse than steering. The color sensor should be connected to the Arduino via pins that are not used by your motor shield.

userHeadPic JefferyOllsen