3 * This file contains special DoxyGen information for the generation of the main page and other special
4 * documentation pages. It is not a project source file.
7 /** \mainpage OB's Quad-Relay outlet control using a Teensy2++
9 * \section Sec_Compat Project Compatibility:
11 * The following list indicates what microcontrollers are compatible with this project.
15 * \section Sec_Info USB Information:
17 * The following table gives a rundown of the USB utilization of this project.
21 * <td><b>USB Mode:</b></td>
25 * <td><b>USB Class:</b></td>
29 * <td><b>USB Subclass:</b></td>
33 * <td><b>Relevant Standards:</b></td>
34 * <td>USB Standards</td>
37 * <td><b>Supported USB Speeds:</b></td>
38 * <td>Low Speed Mode, Full Speed Mode</td>
42 * \section Sec_Description Project Description:
44 * Firmware for a Teensy2++ AVR-based miniboard to control four relays, using the
45 * same protocol used by the commercially available Silver Shield PM power outlets
46 * ( http://sourceforge.net/projects/sispmctl ) sold for some time. Because this
47 * project mimics the original device, it can be controlled using the "sismpctl"
48 * package included in many Linux distributions - including router-orientated
49 * versions such as OpenWRT - to control the board's relays.
51 * Relays 1 to 4 are respectively wired to pins C4, C5, C6 and C7 of the Teensy++ V2,
52 * which are the PORTC bits 4 to 7 of the AT90USB1286. The relays MUST be wired through
53 * a transistor, and a diode must be added in antiparallel on the relay's coil pins to
54 * protect the transistor from back EMF generated from the relay when the coil is turned off.
55 * The transistor base pin is wired to the Teensy data port through a 10K resistor. A
56 * LED may be also be added as a relay status indicator on each channel.
58 * The Relay coil will be driven by the transistor, but the power will come from
59 * the 5V from the PC's USB port: Be careful in choosing the relay to avoid overloading
60 * the PC, as the maximum current used MUST remains under ~450mA @ 5V.
62 * The author's tested relays are 2 Finder 32.21.7.005.2000, coil il 125ohm, which can
63 * handle 5A @ 250VAC. Be careful to use proper isolation if high voltages are manipulated.
64 * The author used Hotglue to isolate all parts of the PCB in contact with high voltage.
66 * See <a>http://www.pjrc.com/teensy/</a> for the Teensy2++ website.
70 * <td><b>Signal:</b></td>
71 * <td><b>AVR Port:</b></td>
75 * <td>PORTC, Pin 4</td>
79 * <td>PORTC, Pin 5</td>
83 * <td>PORTC, Pin 6</td>
87 * <td>PORTC, Pin 7</td>
90 * <td>Teensy2++ Yellow Led</td>
91 * <td>PORTD, pin 6</td>