It's now time to test the project! Make sure that the code is uploaded to the Arduino board, and go to the folder of the interface using your favorite Terminal software. Then, type:
sudo npm install express arest jade
That will install the required modules for Node.JS. Then, type:
node app.js
You should be greeted by a message:
Listening on port 3000
After that, go to this URL in your favorite web browser:
http://localhost:3000
Wait a bit so that the board can send the first set of data, and this is what you should see:
If you can see the data being displayed, congratulations, your WiFi weather station is online! Of course, if you want to dive a bit into the Node.js code, you can add more measurements to this dashoard, from sensors on the same project or even from different boards in your home. Have fun!
Page last edited September 17, 2013
Text editor powered by tinymce.