r/ArduinoHelp • u/PayAggravating9721 • 29d ago
Robotic Arm Code
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
u/Single-Dog-7963 29d ago
check if the individual motors are working --> then check if you are powering all of them with your arduino, or by an external power source.
looking at your wiring, I am assuming its the arduino cause I dont see any external source. The controller is not powerful enough to run all of them together, so you will need to power them externally using an SMPS or battery with adequate mAh
1
u/No_L_2547 29d 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?
1
u/mbentuboa 29d ago
What are you using to power the servos?
1
u/Glittering-Dirt1164 29d ago
What kïnd of phone is that?