Pinguino Forum
Controll a servo with a potentiometer - Printable Version

+- Pinguino Forum (http://forum.pinguino.cc)
+-- Forum: Software (http://forum.pinguino.cc/forumdisplay.php?fid=7)
+--- Forum: Syntax & Programs (http://forum.pinguino.cc/forumdisplay.php?fid=19)
+--- Thread: Controll a servo with a potentiometer (/showthread.php?tid=4845)

Pages: 1 2 3


RE: Controll a servo with a potentiometer - derf158 - 30-05-2016

change   int potpin = 0; 
to   int potpin = 13;


RE: Controll a servo with a potentiometer - SGTheDreamer - 30-05-2016

(30-05-2016, 09:20 PM)derf158 Wrote: are you running windows or linux?

windows , I dont know how to use linux, but i can try. Smile


RE: Controll a servo with a potentiometer - SGTheDreamer - 30-05-2016

(30-05-2016, 09:37 PM)derf158 Wrote: change   int potpin = 0; 
to   int potpin = 13;

i think that too , but it seems its not reading the analog input. The potenciometer doest change the angle of the servo.


RE: Controll a servo with a potentiometer - derf158 - 30-05-2016

did you download the latest verision of the IDE?


RE: Controll a servo with a potentiometer - SGTheDreamer - 30-05-2016

(30-05-2016, 11:09 PM)derf158 Wrote: did you download the latest verision of the IDE?

Yeah, the one who appears on pinguino.cc page. Versión 1.7.0.9
Bro , do u have team viewer?. Maybe u notice the error that way. I let u conf mi pc for a while Smile


RE: Controll a servo with a potentiometer - derf158 - 31-05-2016

(30-05-2016, 11:17 PM)SGTheDreamer Wrote:
(30-05-2016, 11:09 PM)derf158 Wrote: did you download the latest verision of the IDE?

Yeah, the one who appears on pinguino.cc page. Versión 1.7.0.9
Bro , do u have team viewer?. Maybe u notice the error that way. I let u conf mi pc for a while Smile

i am d0wnoading v12 on my windows machine now i will get back to you


RE: Controll a servo with a potentiometer - derf158 - 31-05-2016

(31-05-2016, 01:06 AM)derf158 Wrote:
(30-05-2016, 11:17 PM)SGTheDreamer Wrote:
(30-05-2016, 11:09 PM)derf158 Wrote: did you download the latest verision of the IDE?

Yeah, the one who appears on pinguino.cc page. Versión 1.7.0.9
Bro , do u have team viewer?. Maybe u notice the error that way. I let u conf mi pc for a while Smile

i am d0wnoading v12 on my windows machine now i will get back to you

did you build your own board or does your 4550 match the 45k50 pinout?


RE: Controll a servo with a potentiometer - derf158 - 31-05-2016

when you install v12 what compiler did you chose?


RE: Controll a servo with a potentiometer - derf158 - 31-05-2016

see attached diagram of project wiring

fred


RE: Controll a servo with a potentiometer - SGTheDreamer - 31-05-2016

(31-05-2016, 01:32 AM)derf158 Wrote: see attached diagram of project wiring

fred

Thanks dude,finally!!!!!!!!!!!!!!!!!! It works, Really really apreciate your help man! :Big GrinBig Grin U re the best.