Keywords: GSM, Web server, SailsJS, Tiva, DHT11
This project is my course's project at University of Technology. I am going to build a system powered by a web server that helps people monitor the humidity and temperature of their house, garden, etc via a web browser over the Internet. Data are transfered from sensors to the server via GPRS/2G.
This project is made up of a web server, an embedded device
- Web server: powered by SailsJS, AngularJS implementation on front-end.
- Embedded Device: TivaC129, DHT11 sensor, SIM800L module
- OS to run web server: I am using Ubuntu 17.10.
- Nodejs:
Install: sudo apt-get install nodejs -y && sudo apt-get install npm -y
Update npm: sudo npm install npm@latest
- Install SailsJS: here or
sudo npm install sails --g
- MySQL:
sudo apt-get install mysql-server mysql-client -y
- Apache2
sudo apt-get install apache2 -y
1. Open terminal
2. cd 'Web Server'
3. npm install
4. config MySQL server: username, password, hostname in config/local.js
5. sails lift
1. Import project in Code Composer Studio (CCS) of Texas Instruments.
2. Power on Kit and compile the project