Tell us about yourself!
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
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
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
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
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...
Thanks Chrisdav. I am glad you liked it. I thought it was a useful tool to share.
DIY RC ChargerView Instructable »
DIY 18650 RC BatteryView Instructable »
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
Programming an ATTiny13A using Arduino & servo interpreter