Arduino Relay Controled by Nodejs and Socket.io
This is the source code for a simple example using Nodejs and Socket.io for activate relay from a Arduino microcontroller.
for install Nodejs
open on two or more browsers (Socket.io)
Arduino modules used
- Arduino UNO R3
- Ethernet R3 Arduino Shield
- rele module (https://www.robocore.net/modules.php?name=GR_LojaVirtual&prod=258)
References
- http://getbootstrap.com (Design)
- http://nodejs.org (nodejs)
- http://socket.io/get-started/chat/ (socket.io)
- https://www.robocore.net (arduino store - search by "modulo - relé")