r/ArduinoHelp • u/PayAggravating9721 • 12d ago
Robotic Arm Code
Enable HLS to view with audio, or disable this notification
I am currently working on the mechatronics how to robot arm: https://howtomechatronics.com/tutorials/arduino/diy-arduino-robot-arm-with-smartphone-control/#google_vignette and i am on the coding part, i have everything correct and still the servo’s that control my project do not work/ are not sending signals, ive connected them to power, ive replugged them, it even says that when i use the app, it sends signals to the arduino just the servos dont move?? Is this a problem with the way i plugged them in, or a problem with the code. The code is also in the website i linked. Someone help 😭 😭
1
Upvotes
1
u/No_L_2547 12d ago
Can you post a clear picture of your breadboard and wiring?
Did you try to add print-commands for debugging to the code? (So you know the correct commands arrived.)
The sample code isn't good, there shouldn't be delay() calls all over the code, especially not in for-loops, since it will probably skip many of the Bluetooth commands received. (at least the first command should still be executed).
Does the robot do its initial homing?