# gavinkeeley

18

## Achievements

10K+ Views Earned a bronze medal
• gavinkeeley commented on gavinkeeley's instructable Servo Tutorial2 months ago

Hi UlisesC17,Sorry for the delayed response, I don't have access to three servos but I would imagine you just define more and more servos...E.g. Servo servoA;Servo servoB;...Servo servoN;Then later on in the code you will have to attach them to different pinsE.gservoA.attach(9);servoB.attach(10);You will also have to declare variables to keep track of the individual positions etc.Goodluck...RegardsGavin

• gavinkeeley commented on gavinkeeley's instructable Servo Tutorial7 months ago

Hi Chupo_cro,It does look that way in the photo, I have made the change in the code.It doesn't really matter, you could make it anyone of the digital pins... Just change the number in the code accordingly.Thanks for pointing this out.Regards Gavin

• gavinkeeley commented on gavinkeeley's instructable Servo Tutorial9 months ago

Hi Ammar, unfortunately the code will not work with a continuous rotation servo and there is no simple change to the code that will rectify it... The following link discusses the topic in more depth.https://forum.arduino.cc/index.php?topic=267166.0Unfortunately I do not have a continuous rotation servo to figure it out with.Regards Gavin

• gavinkeeley commented on gavinkeeley's instructable Servo Tutorial9 months ago

Hi ghorgex,To reduce the speed at which the servo rotates you can increase the value in the delay functions. i.e. Increase delay(5); to say delay(10); this will effectively halve the rotation speed.Regards Gavin

Hi TeresoM,The function of that line is to set the position integer to zero. If you look further down in the code we set the servos position to that integer. So 0 will be the most it can go in the one direction and 180 will be the most it can go in the other. We then increase/decrease the value of this integer depending on which button is being pressed.Sorry for the untimely response.RegardsGavin

• gavinkeeley commented on gavinkeeley's instructable Servo Tutorial1 year ago

Sure

• gavinkeeley commented on gavinkeeley's instructable DIY RC Charger2 years ago

You can but i happened to have this as a bench psu(power supply unit) and decided to show you guys how to use it to charge batteries. So you can have one piece of equipment with two purposes...

• gavinkeeley commented on gavinkeeley's instructable DIY RC Charger2 years ago

Thanks Chrisdav. I am glad you liked it. I thought it was a useful tool to share.

Thanks Chrisdav. I am glad you liked it. I thought it was a useful tool to share.

Thanks Chrisdav. I am glad you liked it. I thought it was a useful tool to share.

• gavinkeeley posted an instructable DIY RC Charger2 years ago
• gavinkeeley posted an instructable DIY 18650 RC Battery2 years ago
• gavinkeeley commented on gavinkeeley's instructable Servo Tutorial2 years ago

Hi DaoinaI have fixed the code.Thanks very much for pointing out the error.It seemed to be left out when i pasted it across.RegardsGavin