User avatar
Zironid
Posts: 5
Joined: Tue Feb 04, 2014 7:14 pm
Location: Colombia
Contact: Website

Help with 180 servo

Wed Mar 05, 2014 4:58 pm

Hello.

I'm working on a project called "The candy box", which is a box that open a little door with a servo when you press your button, so it can administrate the candies (my father and me eat them without noticing it, so my mather and sister get angry :oops: )

Anyway. when I was working on the project, I conected the servo (a TowerPro SG92R, works from 3V to 6V) to the 5V pin of the RasPi, and everything works properly. When y powered the servo with an external source, a 5V-1A supply or an Arduino UNO, starts rotating in 360° continuously (like a normal dc motor), when it's supposed to rotate only 180°. The servo works fine with the UNO and with the Pi (as long as I connect it to the power rails of the Pi), so isn't broken.

¿What's happening? ¿Is there something I don't know about servos?
A cyclop just have two moods: angry and asleep. - MTG card

User avatar
joan
Posts: 14960
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Help with 180 servo

Wed Mar 05, 2014 5:07 pm

It sounds like it's broken. A TowerPro SG92R is not a continuous rotation servo. Where did you buy it?

User avatar
Zironid
Posts: 5
Joined: Tue Feb 04, 2014 7:14 pm
Location: Colombia
Contact: Website

Re: Help with 180 servo

Wed Mar 05, 2014 5:13 pm

It had come with an Arduino starter kit. In fact, the "stops" of the servo are broken, bit it works quite well, stops in the point I'm telling him.
A cyclop just have two moods: angry and asleep. - MTG card

User avatar
joan
Posts: 14960
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Help with 180 servo

Wed Mar 05, 2014 5:28 pm

Zironid wrote:It had come with an Arduino starter kit. In fact, the "stops" of the servo are broken, bit it works quite well, stops in the point I'm telling him.
I'm a bit surprised it's still usable. My (cheap) servos stay broken when I force them past the end-stops.

User avatar
Zironid
Posts: 5
Joined: Tue Feb 04, 2014 7:14 pm
Location: Colombia
Contact: Website

Re: Help with 180 servo

Wed Mar 05, 2014 7:53 pm

The servo (theoricaly) still working. This is the very first time yhay I use it with the Pi. I've use it with the Arduino, using the Arduino power pins (conected to my computer and whit an external power supply). But when I tried to power it with an external suply start working like that. :?
A cyclop just have two moods: angry and asleep. - MTG card

Return to “Other projects”