Go Down

Topic: Making an arduino wall power supply? (Read 5953 times) previous topic - next topic

polishdude20

So how would I go about making a power supply for the arduino that connects to the wall? 

RuggedCircuits

Really?

You don't just want to buy one of these?

http://www.mpja.com/prodinfo.asp?number=18469+PS

--
The Arduino Drum Machine: MIDI development system with 14-track MIDI drum machine sequencer / groove-box software

polishdude20


Really?

You don't just want to buy one of these?

http://www.mpja.com/prodinfo.asp?number=18469+PS

--
The Arduino Drum Machine: MIDI development system with 14-track MIDI drum machine sequencer / groove-box software



no, cause then what will I learn? 

RuggedCircuits

OK....then build this :)

http://www.onsemi.com/pub_link/Collateral/TND330-D.PDF

A more traditional (and much simpler) design involves a transformer, rectifier, and filter. Maybe start here?

http://www.repairfaq.org/sam/samschem.htm#schlpi

--
The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons

retrolefty



Really?

You don't just want to buy one of these?

http://www.mpja.com/prodinfo.asp?number=18469+PS

--
The Arduino Drum Machine: MIDI development system with 14-track MIDI drum machine sequencer / groove-box software



no, cause then what will I learn? 


We all applaud learning opportunities. However because such a power supply has to wire to 120 or 220 vac outlet power, it's not a real safe candidate projects for those inexperienced with electrical safety requirements. Most small wall wart power modules are well insulated and have various approval ratings for safe operation. I would recommend you limit your learning experience to projects that only use DC voltages up to 24vdc or less.

Lefty

polishdude20




Really?

You don't just want to buy one of these?

http://www.mpja.com/prodinfo.asp?number=18469+PS

--
The Arduino Drum Machine: MIDI development system with 14-track MIDI drum machine sequencer / groove-box software



no, cause then what will I learn? 


We all applaud learning opportunities. However because such a power supply has to wire to 120 or 220 vac outlet power, it's not a real safe candidate projects for those inexperienced with electrical safety requirements. Most small wall wart power modules are well insulated and have various approval ratings for safe operation. I would recommend you limit your learning experience to projects that only use DC voltages up to 24vdc or less.

Lefty



ha! you know I'm not gonna take your word for it right? I'm pretty confident in my safety, I'm not some stupid kid.

polishdude20


OK....then build this :)

http://www.onsemi.com/pub_link/Collateral/TND330-D.PDF

A more traditional (and much simpler) design involves a transformer, rectifier, and filter. Maybe start here?

http://www.repairfaq.org/sam/samschem.htm#schlpi

--
The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons



wait a second! I found my old Dlink router wall adapter and its rated output is 5v 2.5 amps. WOuld the 2.5 amps matter for the arduino? if so then what can I do to lower the current?

retrolefty

Quote
ha! you know I'm not gonna take your word for it right? I'm pretty confident in my safety, I'm not some stupid kid.


LOL  I was once. I was sticking wires into power outlets at the tender age of 10. I though I could make a great electromagnet by winding ten turns of number 12 gauge wire around a large nail and stuck the wire ends into the plug, lots of smoke, small flame, blister on fingers. I had to then quickly find out how to change a screw in fuse on the service panel before my folks found out, luckly there were a few spare fuses on top of the panel.

Have fun, do be safe and let us know what you come up with.

Lefty

polishdude20


Quote
ha! you know I'm not gonna take your word for it right? I'm pretty confident in my safety, I'm not some stupid kid.


LOL  I was once. I was sticking wires into power outlets at the tender age of 10. I though I could make a great electromagnet by winding ten turns of number 12 gauge wire around a large nail and stuck the wire ends into the plug, lots of smoke, small flame, blister on fingers. I had to then quickly find out how to change a screw in fuse on the service panel before my folks found out, luckly there were a few spare fuses on top of the panel.

Have fun, do be safe and let us know what you come up with.

Lefty



lol! well thanks for nto being all grown u on me and stuff but yeah I'm 17 so I think i've learned enough to know how to handle a wall outlet, but ye I tried my dlink adapter 5v 2.5A and it works to blink an LED but not my LCD

retrolefty

Quote
dlink adapter 5v 2.5A and it works to blink an LED but not my LCD


I would think 2.5 amps would be more then enough for a LCD?  Are you sure there is not some other problem? Got a link to the LCD?

Lefty


Magician

With all my respect to the author of this post,
and participants,
especially: RuggedCircuits
it's not a compliment, he give an answer.
And I think good answer.
So what is all about?
A power suply or ardino + power suply?
just buy one (power supply) on a market, because in IMHO it will cost more to buid one.




polishdude20


With all my respect to the author of this post,
and participants,
especially: RuggedCircuits
it's not a compliment, he give an answer.
And I think good answer.
So what is all about?
A power suply or ardino + power suply?
just buy one (power supply) on a market, because in IMHO it will cost more to buid one.

well actually It is free to build one for me possibly because in my electronics class we have tons of parts and the teacher usually lets us use them for free. And also to the other guy my answer is that I think since it's 5 volts that it's not working. I read that the arduino needs at least around 6-9 volts externally so it can lower the voltage down to 5. But with it already at 5 it wont work.



CrossRoads

If you really want to build one, here are classic linear regulator designs, I built many of these for my digital and analog projects over the years.
TO-220 style with heat sink for small loads, the bigger pancake style screwed to chassis (with mica insulator) for higher currents.



(unable to  upload files, error message saying upload file are is full ?? reported to admin)
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Magician

Yes, CrossRoads is right, the simplest power supply. It could be even simplier
if no 7805 chips in, as arduino has chip on a board : MC33269D
.
So what is your budget, have more money I can provide you details how to build switching
power supply unit, high grade, military special requirement,
you can launch it on a rocket:

temp - -40 - 150C
vibration - more than 20g
x-ray resistive;

Or you ca buy Chinese one for 2$   :)


keeper63

ha! you know I'm not gonna take your word for it right? I'm pretty confident in my safety, I'm not some stupid kid.


...then...

lol! well thanks for nto being all grown u on me and stuff but yeah I'm 17 so I think i've learned enough to know how to handle a wall outlet, but ye I tried my dlink adapter 5v 2.5A and it works to blink an LED but not my LCD


/emphasis mine/

Listen - not meaning any disrespect here; I'm double your age and then some, but I remember what I was like when I was 17 - I was a "stupid kid". This isn't to say I was ignorant, nor is it to say I didn't know anything or have any reasoning skills. What I want to convey is that someday, you're going to look back on being 17 and say to yourself "damn, maybe I didn't know everything after all" - and perhaps on thinking that you'll remember these comments.

Mains power isn't something to casually mess with; most adults don't even understand the difference between neutral and ground. One wrong move and you might find yourself in the hospital, or possibly the morgue.

The fact that you think you must somehow lower the current output of a power supply tells me you are no where near ready to tackle a mains powered power supply. Get some more knowledge under you belt, then return to the idea.

/stay safe...

:)
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Go Up