Speed up Mass Storage bootloader by turning off the internal clock divider, as there...
[pub/USBasp.git] / Projects / RelayBoard / RelayBoard.txt
index ccb1883..4b190df 100644 (file)
-/** \file\r
- *\r
- *  This file contains special DoxyGen information for the generation of the main page and other special\r
- *  documentation pages. It is not a project source file.\r
- */\r
-\r
-/** \mainpage OB's Quad-Relay outlet control using a Teensy2++\r
- *\r
- *  \section SSec_Compat Project Compatibility:\r
- *\r
- *  The following list indicates what microcontrollers are compatible with this project.\r
- *\r
- *  - AT90USB1286\r
- *\r
- *  \section SSec_Info USB Information:\r
- *\r
- *  The following table gives a rundown of the USB utilization of this project.\r
- *\r
- * <table>\r
- *  <tr>\r
- *   <td><b>USB Mode:</b></td>\r
- *   <td>Device</td>\r
- *  </tr>\r
- *  <tr>\r
- *   <td><b>USB Class:</b></td>\r
- *   <td>None</td>\r
- *  </tr>\r
- *  <tr>\r
- *   <td><b>USB Subclass:</b></td>\r
- *   <td>None</td>\r
- *  </tr>\r
- *  <tr>\r
- *   <td><b>Relevant Standards:</b></td>\r
- *   <td>USB Standards</td>\r
- *  </tr>\r
- *  <tr>\r
- *   <td><b>Usable Speeds:</b></td>\r
- *   <td>Low Speed Mode, Full Speed Mode</td>\r
- *  </tr>\r
- * </table>\r
- *\r
- *  \section SSec_Description Project Description:\r
- *\r
- *  Firmware for a Teensy2++ AVR-based miniboard to control four relays, using the\r
- *  same protocol used by the commercially available Silver Shield PM power outlets\r
- *  ( http://sourceforge.net/projects/sispmctl ) sold for some time. Because this\r
- *  project mimics the original device, it can be controlled using the "sismpctl"\r
- *  package included in many Linux distributions - including router-orientated\r
- *  versions such as OpenWRT - to control the board's relays.\r
- *\r
- *  Relays 1 to 4 are respectively wired to pins C4, C5, C6 and C7 of the Teensy++ V2,\r
- *  which are the PORTC bits 4 to 7 of the AT90USB1286. The relays MUST be wired through\r
- *  a transistor, and a diode must be added on the relay's contact pins to protect\r
- *  the transistor from back EMF generated from the relay when the coil is turned off.\r
- *  The transistor base pin is wired to the Teensy data port through a 10K resistor. A\r
- *  LED may be also be added as a relay status indicator on each channel.\r
- *\r
- *  The Relay coil will be driven by the transistor, but the power will come from\r
- *  the 5V from the PC's USB port: Be careful in choosing the relay to avoid overloading\r
- *  the PC, as the maximum current used MUST remains under ~450mA @ 5V.\r
- *\r
- *  The author's tested relays are 2 Finder 32.21.7.005.2000, coil il 125ohm, which can\r
- *  handle 5A @ 250VAC. Be careful to use proper isolation if high voltages are manipulated.\r
- *  The author used Hotglue to isolate all parts of the PCB in contact with high voltage.\r
- *\r
- *  See <a>http://www.pjrc.com/teensy/</a> for the Teensy2++ website.\r
- *\r
- *  <table>\r
- *   <tr>\r
- *    <td><b>Signal:</b></td>\r
- *    <td><b>AVR Port:</b></td>\r
- *   </tr>\r
- *   <tr>\r
- *    <td>Relay 1</td>\r
- *    <td>PORTC, Pin 4</td>\r
- *   </tr>\r
- *   <tr>\r
- *    <td>Relay 2</td>\r
- *    <td>PORTC, Pin 5</td>\r
- *   </tr>\r
- *   <tr>\r
- *    <td>Relay 3</td>\r
- *    <td>PORTC, Pin 6</td>\r
- *   </tr>\r
- *   <tr>\r
- *    <td>Relay 4</td>\r
- *    <td>PORTC, Pin 7</td>\r
- *   </tr>\r
- *   <tr>\r
- *    <td>Teensy2++ Yellow Led</td>\r
- *    <td>PORTD, pin 6</td>\r
- *   </tr>\r
- *  </table>\r
- *\r
- */
\ No newline at end of file
+/** \file
+ *
+ *  This file contains special DoxyGen information for the generation of the main page and other special
+ *  documentation pages. It is not a project source file.
+ */
+
+/** \mainpage OB's Quad-Relay outlet control using a Teensy2++
+ *
+ *  \section Sec_Compat Project Compatibility:
+ *
+ *  The following list indicates what microcontrollers are compatible with this project.
+ *
+ *  \li AT90USB1286
+ *
+ *  \section Sec_Info USB Information:
+ *
+ *  The following table gives a rundown of the USB utilization of this project.
+ *
+ * <table>
+ *  <tr>
+ *   <td><b>USB Mode:</b></td>
+ *   <td>Device</td>
+ *  </tr>
+ *  <tr>
+ *   <td><b>USB Class:</b></td>
+ *   <td>None</td>
+ *  </tr>
+ *  <tr>
+ *   <td><b>USB Subclass:</b></td>
+ *   <td>None</td>
+ *  </tr>
+ *  <tr>
+ *   <td><b>Relevant Standards:</b></td>
+ *   <td>USB Standards</td>
+ *  </tr>
+ *  <tr>
+ *   <td><b>Supported USB Speeds:</b></td>
+ *   <td>Low Speed Mode, Full Speed Mode</td>
+ *  </tr>
+ * </table>
+ *
+ *  \section Sec_Description Project Description:
+ *
+ *  Firmware for a Teensy2++ AVR-based miniboard to control four relays, using the
+ *  same protocol used by the commercially available Silver Shield PM power outlets
+ *  ( http://sourceforge.net/projects/sispmctl ) sold for some time. Because this
+ *  project mimics the original device, it can be controlled using the "sismpctl"
+ *  package included in many Linux distributions - including router-orientated
+ *  versions such as OpenWRT - to control the board's relays.
+ *
+ *  Relays 1 to 4 are respectively wired to pins C4, C5, C6 and C7 of the Teensy++ V2,
+ *  which are the PORTC bits 4 to 7 of the AT90USB1286. The relays MUST be wired through
+ *  a transistor, and a diode must be added in antiparallel on the relay's coil pins to
+ *  protect the transistor from back EMF generated from the relay when the coil is turned off.
+ *  The transistor base pin is wired to the Teensy data port through a 10K resistor. A
+ *  LED may be also be added as a relay status indicator on each channel.
+ *
+ *  The Relay coil will be driven by the transistor, but the power will come from
+ *  the 5V from the PC's USB port: Be careful in choosing the relay to avoid overloading
+ *  the PC, as the maximum current used MUST remains under ~450mA @ 5V.
+ *
+ *  The author's tested relays are 2 Finder 32.21.7.005.2000, coil il 125ohm, which can
+ *  handle 5A @ 250VAC. Be careful to use proper isolation if high voltages are manipulated.
+ *  The author used Hotglue to isolate all parts of the PCB in contact with high voltage.
+ *
+ *  See <a>http://www.pjrc.com/teensy/</a> for the Teensy2++ website.
+ *
+ *  <table>
+ *   <tr>
+ *    <td><b>Signal:</b></td>
+ *    <td><b>AVR Port:</b></td>
+ *   </tr>
+ *   <tr>
+ *    <td>Relay 1</td>
+ *    <td>PORTC, Pin 4</td>
+ *   </tr>
+ *   <tr>
+ *    <td>Relay 2</td>
+ *    <td>PORTC, Pin 5</td>
+ *   </tr>
+ *   <tr>
+ *    <td>Relay 3</td>
+ *    <td>PORTC, Pin 6</td>
+ *   </tr>
+ *   <tr>
+ *    <td>Relay 4</td>
+ *    <td>PORTC, Pin 7</td>
+ *   </tr>
+ *   <tr>
+ *    <td>Teensy2++ Yellow Led</td>
+ *    <td>PORTD, pin 6</td>
+ *   </tr>
+ *  </table>
+ *
+ *  \section Sec_Options Project Options
+ *
+ *  The following defines can be found in this project, which can control the project behaviour when defined, or changed in value.
+ *
+ *  <table>
+ *   <tr>
+ *    <td>
+ *     None
+ *    </td>
+ *   </tr>
+ *  </table>
+ */