Save Way Home - With Simple Node.js Server on Intel Edison

by Yuan-YangH in Circuits > Websites

1560 Views, 2 Favorites, 0 Comments

Save Way Home - With Simple Node.js Server on Intel Edison

11900527_10153488596998808_1076195566_o.jpg

Scenario

On kids way home, something may go wrong and kids will be late.

Schedule a time and notify parents when they are not home by that time!

Overview

Use your mobile phone or web to register a time you will check in again and notify friends and family if you fail to check in by that time!

Cloud server on Intel Edison to manage timer and notification.

Client can register through phone or web app.

Setup Intel Edison

Setup your Intel Edison

Access Linux console on Edison through serial port

Now you should be able to manipulate Edison as a mini Linux PC

Connect Edison to Internet Resource

eidson_wifi.PNG

Connect your Edison to internet through wifi

Remember your IP address on LAN

Optional: install git on Edison to access ready made node.js application

Here's a simple one I made for other demo on github

Run Node.js Web Server

eidson_sample.PNG
eidson_serer.PNG

Start it as normal node.js application, "npm install" than "npm start" in the demo case

Access your Edison server through Internet

It acts like node.js server you've seen, in the demo I use the express framework

Have been test accessing on LAN, client side browser and Edison server results are shown in picture

Here is only data server sample demo, see the full "Save Way Home" application on Hack NTU 2015 Event!