threldor / node-leds

Control an Arduino with Node.js Running on a Raspberry PI

Home Page:http://www.quietless.com/kitchen/controlling-24-leds-with-node-js-and-a-raspberry-pi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Node-LEDS

This was a quick project to see how difficult it would be to control an Arduino microcontroller over a local network with a Raspberry PI.

To build the project you'll need to setup Node.js. ideally on a PI if you want to build the project to spec.

Materials used in this project:

Installation:

  1. Follow the schematic to wire everything up
  2. Flash the sketch at /arduino/node-led/node-led.ino onto your Arduino
  3. Connect the Arduino to your PI
  4. Fire up the Node server by running the app via > node app
  5. Point a web browser at the IP address of the PI e.g. 192.168.2.1:8080

Any questions, comments, suggestions open an issue or post a comment on my blog.

Node-LEDS-schematic

About

Control an Arduino with Node.js Running on a Raspberry PI

http://www.quietless.com/kitchen/controlling-24-leds-with-node-js-and-a-raspberry-pi/