Hi guys, I am trying to control 3 servos using arduino uno and nrf2401l radios. I am able to control two servos but when I connect third servo it does not work...
Can anyone help me out why is this happening...also let me know if more than three servos can be controlled with aurdino uno and nrf24l01 without using any other shield or hardware....hope someone will help me out.....thanks
Post your code.....
This is a bit of a guess since I've never used a nrf thing but I think it uses SPI which might prevent using pins 10, 11, 12 and 13. Do you have your third servo on one of those?
Yes it uses SPI and my servos are connected on pins 3,5 and 6. I am posting through my smart phone it is tough to type all the codes...
Can u help without knowing the code...If required l'll do this but I want to resolve this...
Anyways thanks for your quick reply...
When you say it doesn't work, do you mean the third servo only doesn't work or do the other two stop working?
Have you tried different pins?
Have you swapped the servos around to check it's not faulty servo hardware?
Not a silly coding error? (We always like to see code.....)
Thanks Jim, when I connect third servo all servos stop working. I have tested my servos, there is no hardware fault in it. I can not use other pins because other PWM pins (9,10,11) are connected with radio as I am using RF24 Library.
Well I will post me code....
You don't need to use PWM pins with a servo.
...R
Thanks Robin, actually I do not have much information about electronics....this is my fist arduino and I got some information from Internet... I am able to do some stuff but now I want to control 3 or 4 servo motors for my RC plane project...but I am not able to control more than 2 servos...
I will post my code so that you could analyze it and guide me accordingly...
I know you people are experts and surely you can resolve my problem....
Thanks....
SX0081107:
I know you people are experts
Hobbyists just like you, by and large, but there is a wealth of experience here that's for sure.
When you post your code also give us a schematic. Hand draw it and take a pic with your phone. Use Reply not Quick Reply then there's an attachment link bottom left under the typing area.
Hey guys...I have done it....thanks for idea...
I just replaced one of my servo with a new one...and now all three servos are working perfectly....this faulty servo is working fine with arduino uno but not working with Arduino pro mini.... I have Uno on transmitter side and pro mini on receiver side...
I spent two days but could not get any clue and you guys caught it even without knowing the codes...it shows your experience and expertise. Salute to you guys......a big thanks to you.....