LaFonera Hardware Controlling AC-Loads via webinterface - Revision history http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&action=history Revision history for this page on the wiki en MediaWiki 1.10.1 Fri, 29 Mar 2024 12:57:59 GMT Sboger: /* A Different Method */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41492&oldid=prev <p><span class="autocomment">A Different Method</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:34, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 98:</strong></td> <td colspan="2" align="left"><strong>Line 98:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">this page was made by [[User:wildblue|wildblue!]]</td><td> </td><td style="background: #eee; font-size: smaller;">this page was made by [[User:wildblue|wildblue!]]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== A Different Method ==</td><td> </td><td style="background: #eee; font-size: smaller;">== A Different Method ==</td></tr> </table> Tue, 22 Nov 2011 22:34:31 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface Sboger: /* A Different Method */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41491&oldid=prev <p><span class="autocomment">A Different Method</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:33, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 109:</strong></td> <td colspan="2" align="left"><strong>Line 109:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Image:Relay lamp.gif]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Image:Relay lamp.gif]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Here is an example of a solid state relay. It can be purchased directly from <del style="color: red; font-weight: bold; text-decoration: none;">Parallax</del>[http://www.<del style="color: red; font-weight: bold; text-decoration: none;">parallax</del>.com/<del style="color: red; font-weight: bold; text-decoration: none;">detail</del>.<del style="color: red; font-weight: bold; text-decoration: none;">asp</del>?<del style="color: red; font-weight: bold; text-decoration: none;">product_id</del>=<del style="color: red; font-weight: bold; text-decoration: none;">400</del>-<del style="color: red; font-weight: bold; text-decoration: none;">00010</del>].</td><td>+</td><td style="background: #cfc; font-size: smaller;">Here is an example of a solid state relay. It can be purchased directly from <ins style="color: red; font-weight: bold; text-decoration: none;">Mouser, etc. </ins>[http://www.<ins style="color: red; font-weight: bold; text-decoration: none;">mouser</ins>.com/<ins style="color: red; font-weight: bold; text-decoration: none;">Search/Refine</ins>.<ins style="color: red; font-weight: bold; text-decoration: none;">aspx</ins>?<ins style="color: red; font-weight: bold; text-decoration: none;">Keyword</ins>=<ins style="color: red; font-weight: bold; text-decoration: none;">558</ins>-<ins style="color: red; font-weight: bold; text-decoration: none;">D2W203F</ins>].</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Image:Crydom-D2W203F.gif]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Image:Crydom-D2W203F.gif]]</td></tr> </table> Tue, 22 Nov 2011 22:33:33 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface Sboger: /* GPIO matrix list */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41490&oldid=prev <p><span class="autocomment">GPIO matrix list</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:29, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 133:</strong></td> <td colspan="2" align="left"><strong>Line 133:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">echo 1 &gt; /proc/gpio/3_dir #on</td><td> </td><td style="background: #eee; font-size: smaller;">echo 1 &gt; /proc/gpio/3_dir #on</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">echo 0 &gt; /proc/gpio/3_dir #off</td><td> </td><td style="background: #eee; font-size: smaller;">echo 0 &gt; /proc/gpio/3_dir #off</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Tue, 22 Nov 2011 22:29:01 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface Sboger: /* GPIO matrix list */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41489&oldid=prev <p><span class="autocomment">GPIO matrix list</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:28, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 132:</strong></td> <td colspan="2" align="left"><strong>Line 132:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[assuming you have telneted into your DD-WRT running Fonera]</td><td> </td><td style="background: #eee; font-size: smaller;">[assuming you have telneted into your DD-WRT running Fonera]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"># </del>echo 1 &gt; /proc/gpio/3_dir #on</td><td>+</td><td style="background: #cfc; font-size: smaller;">echo 1 &gt; /proc/gpio/3_dir #on</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"># </del>echo 0 &gt; /proc/gpio/3_dir #off</td><td>+</td><td style="background: #cfc; font-size: smaller;">echo 0 &gt; /proc/gpio/3_dir #off</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">===Fonera SW1 pinout===</td><td> </td><td style="background: #eee; font-size: smaller;">===Fonera SW1 pinout===</td></tr> </table> Tue, 22 Nov 2011 22:28:49 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface Sboger: /* GPIO matrix list */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41488&oldid=prev <p><span class="autocomment">GPIO matrix list</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:27, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 128:</strong></td> <td colspan="2" align="left"><strong>Line 128:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">So, if you connected your relay to pin 1 (the 'pin' with the arrow above it in the picture below) on the Fonera, you could run this command in DD-WRT to turn it on and off.:</td><td>+</td><td style="background: #cfc; font-size: smaller;">So, if you connected your relay to <ins style="color: red; font-weight: bold; text-decoration: none;">SW1 </ins>pin 1 (the 'pin' with the arrow above it in the picture below) on the Fonera, you could run this command in DD-WRT to turn it on and off.:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[assuming you have telneted into your DD-WRT running Fonera]</td><td> </td><td style="background: #eee; font-size: smaller;">[assuming you have telneted into your DD-WRT running Fonera]</td></tr> </table> Tue, 22 Nov 2011 22:27:45 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface Sboger: /* GPIO matrix list */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41487&oldid=prev <p><span class="autocomment">GPIO matrix list</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:26, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 116:</strong></td> <td colspan="2" align="left"><strong>Line 116:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> </td><td> </td><td style="background: #eee; font-size: smaller;"> </td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> /proc/GPIO Pin on LaFonera</td><td>+</td><td style="background: #cfc; font-size: smaller;"> /proc/GPIO <ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>Pin on LaFonera</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 0_dir TP3 </td><td> </td><td style="background: #eee; font-size: smaller;"> 0_dir TP3 </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> '''1_dir pin 5 of SW1'''</td><td> </td><td style="background: #eee; font-size: smaller;"> '''1_dir pin 5 of SW1'''</td></tr> </table> Tue, 22 Nov 2011 22:26:37 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface Sboger: /* GPIO matrix list */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41486&oldid=prev <p><span class="autocomment">GPIO matrix list</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:25, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 118:</strong></td> <td colspan="2" align="left"><strong>Line 118:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> /proc/GPIO Pin on LaFonera</td><td> </td><td style="background: #eee; font-size: smaller;"> /proc/GPIO Pin on LaFonera</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 0_dir TP3 </td><td> </td><td style="background: #eee; font-size: smaller;"> 0_dir TP3 </td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> 1_dir pin 5 of SW1</td><td>+</td><td style="background: #cfc; font-size: smaller;"> <ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins>1_dir pin 5 of SW1<ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 2_dir WLAN LED</td><td> </td><td style="background: #eee; font-size: smaller;"> 2_dir WLAN LED</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> 3_dir pin 1 of SW1</td><td>+</td><td style="background: #cfc; font-size: smaller;"> <ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins>3_dir pin 1 of SW1<ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> 4_dir pin 2 of SW1</td><td>+</td><td style="background: #cfc; font-size: smaller;"> <ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins>4_dir pin 2 of SW1<ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 5_dir RESET (!)</td><td> </td><td style="background: #eee; font-size: smaller;"> 5_dir RESET (!)</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 6_dir RESET button</td><td> </td><td style="background: #eee; font-size: smaller;"> 6_dir RESET button</td></tr> </table> Tue, 22 Nov 2011 22:25:42 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface Sboger: /* GPIO matrix list */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41485&oldid=prev <p><span class="autocomment">GPIO matrix list</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:25, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 118:</strong></td> <td colspan="2" align="left"><strong>Line 118:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> /proc/GPIO Pin on LaFonera</td><td> </td><td style="background: #eee; font-size: smaller;"> /proc/GPIO Pin on LaFonera</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 0_dir TP3 </td><td> </td><td style="background: #eee; font-size: smaller;"> 0_dir TP3 </td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">''' </del>1_dir pin 5 of SW1<del style="color: red; font-weight: bold; text-decoration: none;">'''</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>1_dir pin 5 of SW1</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 2_dir WLAN LED</td><td> </td><td style="background: #eee; font-size: smaller;"> 2_dir WLAN LED</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">''' </del>3_dir pin 1 of SW1<del style="color: red; font-weight: bold; text-decoration: none;">'''</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>3_dir pin 1 of SW1</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">''' </del>4_dir pin 2 of SW1<del style="color: red; font-weight: bold; text-decoration: none;">'''</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>4_dir pin 2 of SW1</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 5_dir RESET (!)</td><td> </td><td style="background: #eee; font-size: smaller;"> 5_dir RESET (!)</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 6_dir RESET button</td><td> </td><td style="background: #eee; font-size: smaller;"> 6_dir RESET button</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">''' 7_dir pin 6 of SW1'''</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>'''7_dir pin 6 of SW1'''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Tue, 22 Nov 2011 22:25:19 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface Sboger: /* GPIO matrix list */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41484&oldid=prev <p><span class="autocomment">GPIO matrix list</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:24, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 118:</strong></td> <td colspan="2" align="left"><strong>Line 118:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> /proc/GPIO Pin on LaFonera</td><td> </td><td style="background: #eee; font-size: smaller;"> /proc/GPIO Pin on LaFonera</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 0_dir TP3 </td><td> </td><td style="background: #eee; font-size: smaller;"> 0_dir TP3 </td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"> </del>1_dir pin 5 of SW1</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">''' </ins>1_dir pin 5 of SW1<ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 2_dir WLAN LED</td><td> </td><td style="background: #eee; font-size: smaller;"> 2_dir WLAN LED</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"> </del>3_dir pin 1 of SW1</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">''' </ins>3_dir pin 1 of SW1<ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"> </del>4_dir pin 2 of SW1</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">''' </ins>4_dir pin 2 of SW1<ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 5_dir RESET (!)</td><td> </td><td style="background: #eee; font-size: smaller;"> 5_dir RESET (!)</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> 6_dir RESET button</td><td> </td><td style="background: #eee; font-size: smaller;"> 6_dir RESET button</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"> </del>7_dir pin 6 of SW1</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">''' </ins>7_dir pin 6 of SW1<ins style="color: red; font-weight: bold; text-decoration: none;">'''</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td colspan="2" align="left"><strong>Line 134:</strong></td> <td colspan="2" align="left"><strong>Line 134:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># echo 1 &gt; /proc/gpio/3_dir #on</td><td> </td><td style="background: #eee; font-size: smaller;"># echo 1 &gt; /proc/gpio/3_dir #on</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># echo 0 &gt; /proc/gpio/3_dir #off</td><td> </td><td style="background: #eee; font-size: smaller;"># echo 0 &gt; /proc/gpio/3_dir #off</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">===Fonera SW1 pinout===</td><td> </td><td style="background: #eee; font-size: smaller;">===Fonera SW1 pinout===</td></tr> </table> Tue, 22 Nov 2011 22:24:38 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface Sboger: /* A Different Method */ http://wiki.dd-wrt.com/wiki/index.php?title=LaFonera_Hardware_Controlling_AC-Loads_via_webinterface&diff=41483&oldid=prev <p><span class="autocomment">A Different Method</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:23, 22 November 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 105:</strong></td> <td colspan="2" align="left"><strong>Line 105:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Note, there are mechanical relays that can do DC or (BE CAREFUL, ONLY IF YOU KNOW WHAT YOU ARE DOING) AC. SSR's can only do AC, and will not switch DC current. </td><td> </td><td style="background: #eee; font-size: smaller;">Note, there are mechanical relays that can do DC or (BE CAREFUL, ONLY IF YOU KNOW WHAT YOU ARE DOING) AC. SSR's can only do AC, and will not switch DC current. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The diagram below shows how to connect an AC load, a AC LAMP to a solid state relay, and the relay to your FON. Substitute the FONs i/o pins for &quot;pin 12&quot; in the picture<del style="color: red; font-weight: bold; text-decoration: none;">. You can use the same (very simple) scripts provided by this user to control this circuit</del>.</td><td>+</td><td style="background: #cfc; font-size: smaller;">The diagram below shows how to connect an AC load, a AC LAMP to a solid state relay, and the relay to your FON. Substitute the FONs i/o pins <ins style="color: red; font-weight: bold; text-decoration: none;">(1,2,5,6) </ins>for &quot;pin 12&quot; in the picture.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Image:Relay lamp.gif]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Image:Relay lamp.gif]]</td></tr> </table> Tue, 22 Nov 2011 22:23:42 GMT Sboger http://wiki.dd-wrt.com/wiki/index.php/Talk:LaFonera_Hardware_Controlling_AC-Loads_via_webinterface