Capacitor
Lightfoot
Posts: 228
I am powering an SX28 chip from 3 AA batteries. Hooked to the RB and RC ports are 7 LED's. They are colored and timed in accordence with a traffic light. They draw about 20ma each. The resistor across them is 470 ohms. What value cap should I use across the battery poles? Should I have one elsewhere besides there?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Well well, I'm seeing things, three of them.
-Stanley Blystone
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Well well, I'm seeing things, three of them.
-Stanley Blystone
Comments
The rule of thumb is to ALWAYS provide a 0.1uf cap as close as possible to the SX-28 for the later.
Reguarding the former, I suspect you MAY need none as you are not using AC power source or a a voltage regulator.
Of course, if you add motors or relays, things may significantly change. Induction brings transient noise into the circuit as it collaspes quicklly when power is switched off.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
· The resistor should be in series with the LED (output pin, resistor, LED, ground.)· If you have 20mA through/from an output, it's because the only thing limiting current is the LED and the output's limit (which isn't infinite.)
· The SX has nominal 5V outputs, so with a 470 ohm resistor the nominal current through each LED should be around 6mA.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Well well, I'm seeing things, three of them.
-Stanley Blystone
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax