Skip to content

Arduino software that implements an HTTP server that toggles a 5V output and has a heartbeat for monitoring.

Notifications You must be signed in to change notification settings

csquared/arduino-http-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 13, 2012
4bfba8c · Apr 13, 2012

History

4 Commits
Apr 13, 2012
Apr 13, 2012

Repository files navigation

Arduino HTTP Switch

This is the arduino code for a project that implements an HTTP-controllable power supply.

It works by turning pin 8 on when it recieves a GET request to /on. It turns that pin off when it receives a GET request to /off. This can be used to trip a relay which toggles a power strip.

It also sends GET requests to /heartbeat for monitoring uptime.

Configuration

ip -> IP of the arduino
heartbeat_server -> IP of server to send heartbeats to
heartbeat_delay_millis -> #of millis to wait between heartbeats
LED -> number of pin to toggle

About

Arduino software that implements an HTTP server that toggles a 5V output and has a heartbeat for monitoring.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%