23
23
supply from the unreliable brushes.  The capacitor would discharge
 
24
24
fairly slowly (due to the resistance of the circuit), but will charge
 
25
25
very quickly.  Potentially, it will charge so quickly that it'll pull
 
26
 
too much current from the power supply.  So the resistor limits this.
 
27
 
Unfortunately, the resistor will also have a potentiometer effect
 
28
 
(with the resistence of the main circuit).  10Ω was chosen as a value
 
29
 
due to these rough workings: Lets say the arduino circuit takes 100mA.
 
30
 
if we aim to lose 1V across the resistor, that's 1V / 0.1A = 10Ω (from
 
31
 
V=IR).  The 100μF was a guess!  The problem with the capacitor is that
 
32
 
if it's can only hold a small charge, it won't be able to maintain a
 
33
 
reasonable charge when the power breaks.  If it's too large, it will
 
34
 
take ages to charge (and effectively short the power, save for the
 
35
 
resistor, while it charges).  100μF seemed like a good value,
 
 
 
b'\\ No newline at end of file'
 
 
26
too much current from the power supply (i.e., short the power supply
 
 
27
and trip it).  So the resistor limits this.  Unfortunately, the
 
 
28
resistor will also have a potentiometer effect (with the resistence of
 
 
29
the main circuit).  10Ω was chosen as a value due to these rough
 
 
30
workings: Lets say the arduino circuit takes 500mA.  If we aim to lose
 
 
31
1V across the resistor, that's 1V / 0.5A = 2Ω (from V=IR).  The 100μF
 
 
32
was a guess (from Dad), but "PCB" Mat suggested something larger, like
 
 
33
2200μF.  So we went with 1000μF, which appears to power the board
 
 
34
after power-off for a couple of revolutions.  The factors here are
 
 
35
that a capacitor that is only able to hold a small charge won't be
 
 
36
able to maintain a current for a reasonable amount of time when the
 
 
37
power breaks.  If it's too large, it will take ages to charge and
 
 
38
effectively short the power (save for the resistor) while it does.
 
 
 
b'\\ No newline at end of file'