3
The display is split up in to seconds, each with 5 subdivisions
4
(segments). That's a total of 300 segments per revolution.
6
If the propeller spins at 2000RPM, that's 33.3 revolutions per second,
7
or 30ms (30,000μs) per revolution. That means we'll be drawing 10,000
8
segments per second, which is 100μs per segment. With a clock speed
9
of 16MHz, this is 1600 cycles per segment, which is plenty.
14
The diode (D14) across the fan's power connections is there because if
15
the power acrss the fan breaks (due to the unreliable nature of the
16
brushes), the motor in the fan has coils, which act like an inductor
17
and will produce a back EMF (a huge negative voltage across the power
18
connections) as the magnetic field collapses. This won't be good for
19
the arduino and could cause sparks on the brushes. The diode simply
20
shorts the negative voltage.
22
The capacitor (C1) and resistor (R14) are there to smooth the power
23
supply from the unreliable brushes. The capacitor would discharge
24
fairly slowly (due to the resistance of the circuit), but will charge
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,
'\\ No newline at end of file'
1
{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
2
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
3
{\colortbl;\red255\green255\blue255;}
4
\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0
5
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
7
\f0\b\fs24 \cf0 Display:\
9
\b0 60 divisions (1 for each second)\
10
Each division has 5 segments (300 segments per revolution)\
13
\b Assuming that the clock spins at 3000 RPM:\
15
\b0 50 revolutions per second\
16
20,000 microseconds per revolution\
17
15,000 segments per second\
18
66.666666666667 microseconds per segment\
19
0.018 degrees per microsecond\
20
1066.66666666666667 CPU clock cycles per segment\
'\\ No newline at end of file'