/elec/audio-switcher

To get this branch, use:
bzr branch http://bzr.ed.am/elec/audio-switcher
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
SET UP
======

              |
              |   
         PB1 o-------------.
              |        ____|____
  at90usb162  |       |         |
              |       |  Relay  |
              |       |_________|
              |            |
              |            |
                           |
                      -----+-------- GND

No resistor is required to limit the current flow through the at90usb162 pin,
which can only take a maximum of 40mA.  The reason for this is that the relay
coil its self has the correct resistance, at 5V, to pull less than 40mA.  So
you can just power it directly from a pin.


PARTS
=====

Relay
	part no. N05AW from Maplin
	http://www.maplin.co.uk/dpdt-1a-miniature-relay-37494


REFERENCES
==========

Useful notes on programming AVR chips (without the Arduino libraries):

	 http://jamie.lentin.co.uk/embedded/minimus/