A school final project to build a complete full-stack IoT (Internet-of-Thing) NodeJS Web App with a Particle Microcontroller in order to control the stepper motor.
This simple app serves the purposes and provides the abstraction to control stepper motor secure directly on the public internet cloud and through a front-end webapp with automation.
Building backend with NodeJS v4.4.1 LTS & ExpressJS + simple front-end with HTML5/CSS and jQuery.
-
The stepper motor should have the capability to be controlled remotely using a cloud based architecture. This will involve building a REST server with cloud end-points that can be queried remotely. For example:
http://(ipaddress)/micro-controller
-
The server should also have the ability to receive scripted events for automation tasks:
-
A webcontrol that will allow access to turn the micro-controller on/off at different rates and at different levels. Parameters that are associated with micro-controller are:
- Amount of percentage open (as with 100 being fully open and 0 being fully closed)
- Recommended download and install NodeJS v4.4.1 LTS --> https://nodejs.org/en/
- Inside the project folder run 'node app.js' and navigate to http://localhost:3000
- For detail documentation, please read --> https://docs.particle.io/guide/getting-started/intro/photon/
v0.12b:
- Added video in 'screenshot' folder
v0.12:
- Optimized network control signal delay between micro-controller and NodeJS server. The idea is to push the control logics as much as it can on the NodeJS server while reserve the signal control on the micro-controller side.
Inspire by https://www.particle.io/prototype
Developed by http://ntt2k.io -- Mon Mar 28 09:37:21 PDT 2016