Author Topic: how do i supply power to my servos and atmega board using a 12v wall source  (Read 2805 times)

0 Members and 1 Guest are viewing this topic.

Offline rox2007Topic starter

  • Full Member
  • ***
  • Posts: 95
  • Helpful? 0
i used the voltage regulator to churn out 5v to my atmega. I wanted to test my code for my servos so i connected it to the churned out 5v and fireworks went off. i fried my atmega :(. luckily i have another one. is there a way around this or do i have to use a nimh or li battery.
thank you

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
servos use between 4.8 -6 volts

either get a switching regulator for the 12V to make it into 6 volts , or just  get separate batteries
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
Did you connect the servos up right?

I regularly use servos through the regulated 5v source along with an mcu. I know youre not supposed to but i havent had any problems yet. The only thing that should be an issue is the 5v regulator, if it gets too hot it will die although they quite often just shut down until they cool off again, also an issue that ive never had with a 5v regulator - although i only ever use a 9.8v wall power sopurce or batteries.
It might be worth checking the voltage on your wall power source since mines supposed to be a straight 6v but it actually produces 9.8v. The higher your input voltage the hotter the regulator will get

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
how much amps does your regulator regulate out ?

what is the part number of the regulator
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline rox2007Topic starter

  • Full Member
  • ***
  • Posts: 95
  • Helpful? 0
IC REG POS 5V 1.0A 4% TOL TO-220

its the 7805.

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
yea 1 amp may not be  enough for your servos( though it really should be)

did you perhaps short out the atmega???
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline rox2007Topic starter

  • Full Member
  • ***
  • Posts: 95
  • Helpful? 0
i really dont know what happened, but my atmega stopped working even thought it was receiving power. i guess i'll just buy a battery pack for the servos

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,632
  • Helpful? 169
    • Society of Robots
When you say fireworks, you mean you saw sparks?

That means you have a short somewhere in your circuit . . .

Offline rox2007Topic starter

  • Full Member
  • ***
  • Posts: 95
  • Helpful? 0
it was just an expression. i got 4 1.5v aa batteries for the servo

 


Get Your Ad Here

data_list