|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 102
Arduino rocks
|
 |
« Reply #17 on: May 11, 2009, 12:40:23 pm » |
VERY COOL - I love to see an arduino put to use in the "real world"
I didn't see much power protection going on there. What are you doing to keep away nasty voltage spikes and reverse voltage?
(a car's power is notoriously bad)
|
|
|
|
« Last Edit: May 11, 2009, 12:47:43 pm by george_graves »
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 109
Arduino rocks
|
 |
« Reply #18 on: May 12, 2009, 10:30:02 am » |
Thanks George!
I'm not exactly an EE, so I'm real green on most of this. I knew that car voltages can be nasty, but as per other discussions around these forums, people have been running Arduinos from cars seemingly fine. The datasheet for the Nano says it should be ok up to 20v. I hadn't even considered reverse voltages at all, does this tend to happen on a car? For reverse voltage, one would throw in a diode on the power line? As for the spikes, a capacitor on the power line?
Honestly the only thing I considered was a drop in voltage on cranking the car. I doubt much that anyone is going to be using the keypad while cranking, so I didn't think a restart would hurt anything. I suppose that the dip could lock up the chip instead of just restarting it. I'll be actually running it in my door soon, so I'll have to see.
If you have any good suggestions for cleaning up the power, or maybe a good place to look, let me know.
|
|
|
|
|
Logged
|
|
|
|
|
Austria
Offline
Sr. Member
Karma: 3
Posts: 261
Arduino rocks
|
 |
« Reply #19 on: May 12, 2009, 10:59:22 am » |
great project  you should consider some safety for the arduino, there is quite some noise there! i made this:  just take the input part, that should block the biggest problems
|
|
|
|
« Last Edit: May 12, 2009, 10:59:38 am by designer2k2 »
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 109
Arduino rocks
|
 |
« Reply #20 on: May 12, 2009, 02:14:53 pm » |
Thanks!
So the 1N diode keeps the current from flowing backwards, the zener diode would cut out voltages above 15v, and the choke would clean up the power a bit. What exactly do the two different caps do? Decoupling to clean up the power? Something else?
I assume that everything to the right of C3 I should ignore, as I don't want to reduce the voltage to 5v?
|
|
|
|
|
Logged
|
|
|
|
|
Austria
Offline
Sr. Member
Karma: 3
Posts: 261
Arduino rocks
|
 |
« Reply #21 on: May 12, 2009, 03:30:34 pm » |
Yes, you dont need C3,IC1,C2 when it should only protect  L1 blocks HF noise (should be 2A cappable). the 1N makes in case somebody messed up the polarity a safety, and in case the input drops it prevents the C1 from getting discharged. D2, can also be a 20V type, this limits the voltage. C1 (Ultra Low ESR) smoothens out small ripple. C3 could be removed, but im used to always put C3 and C2 with a 7805 
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 109
Arduino rocks
|
 |
« Reply #22 on: May 12, 2009, 03:57:02 pm » |
Maybe I'll work this into my board when I get home. This would mean waiting another MONTH before I could install, though. Ugh.
|
|
|
|
|
Logged
|
|
|
|
|
NJ
Offline
Newbie
Karma: 0
Posts: 18
microcontrollers - not just for Nerds anymore
|
 |
« Reply #23 on: May 13, 2009, 01:05:40 am » |
Nice and clean prototype work, First class job. Keep on building, make stuff.
KG2
|
|
|
|
|
Logged
|
|
|
|
|
Glassport,Pa@ USA
Offline
Full Member
Karma: 0
Posts: 150
shoop teh whoop!
|
 |
« Reply #24 on: May 13, 2009, 11:27:06 am » |
hmm, nice =P
|
|
|
|
|
Logged
|
[ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618] [ch9618][ch9618][ch9618][ch9618][ch9618][ch9619][ch9618][ch9618][ch9618][ch9618][ch9618][ch9619][ch9618][ch9618][
|
|
|
|
Glassport,Pa@ USA
Offline
Full Member
Karma: 0
Posts: 150
shoop teh whoop!
|
 |
« Reply #25 on: May 13, 2009, 11:32:02 am » |
where did you make your own pc board =D
id like to make my own ;D
|
|
|
|
|
Logged
|
[ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618] [ch9618][ch9618][ch9618][ch9618][ch9618][ch9619][ch9618][ch9618][ch9618][ch9618][ch9618][ch9619][ch9618][ch9618][
|
|
|
|
|
|
Glassport,Pa@ USA
Offline
Full Member
Karma: 0
Posts: 150
shoop teh whoop!
|
 |
« Reply #27 on: May 13, 2009, 02:14:20 pm » |
wow >_>
well, i can wait a mont to get started on arduino sheild making lol
|
|
|
|
|
Logged
|
[ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618][ch9618] [ch9618][ch9618][ch9618][ch9618][ch9618][ch9619][ch9618][ch9618][ch9618][ch9618][ch9618][ch9619][ch9618][ch9618][
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 109
Arduino rocks
|
 |
« Reply #28 on: May 13, 2009, 09:54:21 pm » |
Would this work for L1? http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMsg%252by3WlYCkUzVCd1mk%252bcol1TAFnl1vgYE%3dAnd for C1, can I use a ceramic here, or only electrolytic? I'm thinking of longevity and temperature sensitivity, but I'm not terribly sure of when I can use one. If ceramics are non-polar, can they always replace the others, but not the other way around (like when dealing with AC)? ---- Edit: Ok, here's the cart I'm looking at, ignore the amounts: http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=e91ded73b4 I may not have room for that choke on the board!
|
|
|
|
« Last Edit: May 13, 2009, 10:44:57 pm by neonpolaris »
|
Logged
|
|
|
|
|
Austria
Offline
Sr. Member
Karma: 3
Posts: 261
Arduino rocks
|
 |
« Reply #29 on: May 14, 2009, 01:22:20 am » |
yes, that L1 looks good! for C1 it should be a ultra low ESR electrolytic. Thats becouse they are like the "fastest" and you can get them with big F values. elextrolytic is fine, as long as you dont take the super cheap ones. my C1: http://shop.conrad.at/ce/de/product/445903/KONDENSATORULTRA-LOW-ESR220F35Vits rated with 6000h at 105°C, that should be enough... in your chart you have a 220pF, what should be a 220µF  and with a 20V zener diode your still safe but it will not be so close to trigger unwanted (14,4V is quite common in a car) thats how this looks in my prototype:  (my 1N is a little oversized, had no smaller around :  )
|
|
|
|
|
Logged
|
|
|
|
|
|