Permalink
Cannot retrieve contributors at this time
All your code in one place
GitHub makes it easy to scale back on context switching. Read rendered documentation, see the history of any file, and collaborate with contributors on projects across GitHub.
Sign up for free See pricing for teams and enterprises
Fetching contributors…

ArduPowerStrip | |
============== | |
NOTE: After getting a mega 2560 I found this program uses atleast 2.6k of memory. The uno only has 2k. Hopefully I will fix this in the future.... | |
This was developed on a Arduino Uno board, an R3 ethernet sheild, and the 1.0.x branch of the Arduino IDE. | |
All interactions are done through telnet. Some debugging output is given through the serial port (8N1 9600) such as the ip, etc. It does not take input from serial at this time. | |
A section with user settings should be changed to fit your needs before flashing. | |
statusLED (user specified) is a pin that should be attached to a led on the chassis of the power strip. The led will turn on when the device is ready and blink when there is an active telnet session. You could also attach the pin to a relay to switch the main circuit for your office or data center lighting to blink the lights whenever someone is using the power strip ;-) | |
Here is some of the output from a telnet session: | |
Welcome to APS-rpc1 running ArduPowerStrip 0.1 | |
Enter command or type HELP... | |
> help | |
System Help | |
Try help <cmd> for more info | |
---------------------- | |
| Available Commands | | |
---------------------- | |
HELP | |
INFO SHOW ON | |
OFF QUIT | |
> info | |
---------------------- | |
| System Information | | |
---------------------- | |
Software: ArduPowerStrip | |
Version: 0.1 | |
IP: 192.168.2.100 | |
Mask: 255.255.0.0 | |
Gateway: 192.168.2.1 | |
MAC: DE:AD:BE:EF:FE:ED | |
Hostname: APS-rpc1 | |
Number of outlets: 2 | |
Reboot delay (ms): 3000 | |
> off 1 | |
Setting outlet 1 to OFF | |
Done. | |
> show 1 | |
Status of outlet 1 is: OFF | |
> on 1 | |
Setting outlet 1 to ON | |
Done. | |
> show 1 | |
Status of outlet 1 is: ON | |
> quit | |
Goodbye... | |