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)\
12
Suppose the clock spins at 3000 RPM\
13
50 revolutions per second\
14
20,000 microseconds per revolution\
15
15,000 segments per second\
16
66.666666666667 microseconds per segment\
17
0.018 degrees per microsecond\
18
1066.66666666666667 CPU clock cycles per segment\
b'\\ No newline at end of file'
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 (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'