bzr branch
http://bzr.ed.am/elec/audio-switcher
1
by Tim Marston
initial commit |
1 |
SET UP |
2 |
====== |
|
3 |
||
4 |
| |
|
5 |
| |
|
7
by Tim Marston
cleaned up project |
6 |
PB1 o-------------. |
1
by Tim Marston
initial commit |
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 |
||
7
by Tim Marston
cleaned up project |
22 |
PARTS |
23 |
===== |
|
24 |
||
25 |
Relay |
|
8
by Tim Marston
updated notes, and added control shell script |
26 |
part no. N05AW from Maplin |
27 |
http://www.maplin.co.uk/dpdt-1a-miniature-relay-37494 |
|
7
by Tim Marston
cleaned up project |
28 |
|
29 |
||
1
by Tim Marston
initial commit |
30 |
REFERENCES |
31 |
========== |
|
32 |
||
7
by Tim Marston
cleaned up project |
33 |
Useful notes on programming AVR chips (without the Arduino libraries): |
1
by Tim Marston
initial commit |
34 |
|
35 |
http://jamie.lentin.co.uk/embedded/minimus/ |