I am trying to control a servo motor wirelessly with a nRF24L01 module with a joystick, however, the servos don't seem to move.
Problem: The servo motors are not moving in response to the data received from the controller.
Equipment:
1 Arduino Uno
2 Duracell 9v alkaline batteries (one to power the servo motors, one to power the joystick shield)
2 DS3218 Metal Servos (High Torque (20kg-cm), rated 4.8v-6.8v)
Troubleshooting results:
All wiring is good (I checked)
The servo motors work with the Sweep example (It works but not great. It's not as powerful as it should be) (Wireless connection seems to be the problem)
Other servos work, but I need to use these metal servos because they are high torque.
The metal servos do work (I've tried it using a standard RC system and it functions as normal)
I made a voltage divider for it, yet no movement (So not a problem with the power source)
Trying to servo.write(some position) doesn't do anything (So maybe the problem lies here?)
Also one strange thing, I can hand rotate the servo arm, but when I get to a certain position (I assume it is the position I set it to) it locks as if it knows where the position is, but just can't move there.
Question: What function do I need to use to rotate the servo when I move joystick one direction and rotate it back the other way when I move the joystick in the opposite direction?
If you need any more clarification, feel free to ask. I've just spent too much time on this so I'm not being as specific right now.