bzr branch
http://bzr.ed.am/elec/audio-switcher
1
by Tim Marston
initial commit |
1 |
SET UP |
2 |
====== |
|
3 |
||
4 |
| |
|
5 |
| |
|
6 |
o-------------. |
|
7 |
| ____|____ |
|
8 |
at90usb162 | | | |
|
9 |
| | Relay | |
|
10 |
| |_________| |
|
11 |
| | |
|
12 |
| | |
|
13 |
| |
|
14 |
-----+-------- GND |
|
15 |
||
16 |
No resistor is required to limit the current flow through the at90usb162 pin, |
|
17 |
which can only take a maximum of 40mA. The reason for this is that the relay |
|
18 |
coil its self has the correct resistance, at 5V, to pull less than 40mA. So |
|
19 |
you can just power it directly from a pin. |
|
20 |
||
21 |
||
22 |
REFERENCES |
|
23 |
========== |
|
24 |
||
25 |
Help with programming AVR chips (without the Arduino libraries): |
|
26 |
||
27 |
http://jamie.lentin.co.uk/embedded/minimus/ |