Giter Site home page Giter Site logo

homesensors's Introduction

HomeSensors

Internet of Things Prototyping with Arduino & Node.JS

MIT license

Author: Hyunghun Cho ([email protected]) Version: 0.1.1


OVERVIEW:

Do IoT Yourself!

This project aims to exercise what you can develop a thing of IoT.

As a step forward, now it supports following features:

  • Sensing the temperatures through Arduino board & temperature sensor.
  • Transfer the temperature data through serial port.
  • Storing the temperature data into DB.
  • Serving simple mobile web application
  • Showing temperature trends by google chart API.

STEPS TO USE:

Firstly, kindly refer to the pre-requites as follows:

  1. Operating System: Windows 8.1
  2. Node.JS server side JavaScript framework.
  3. MySQL database engine.
  4. Arduino IDE

And setting the mysql is required as follows:

  1. Creating and using a table named as 'temps'
  2. Creating DB schema: CREATE TABLE tempData ( tempId int(11) AUTO_INCREMENT NOT NULL, tempDate datetime NOT NULL, tempCelsius decimal(4,2) NOT NULL,
    constraint tempData_PK primary key (tempId) );

Now, it is time to program arduino board. see the followings:

  1. Setting the curcuit properly. (I couldn't describe the details here. contact me if you want to get it privately.)

  2. Connecting the USB cable into PC.

  3. Launching Arduino IDE and flush the dht11.ino. (A few modification MAY be required due to the sensor and curcuit design.)

Finally, you SHOULD modify the followings before you run it!

  • The code regarding the COM port of Ardunio board in server.js
  • The code regarding mysql login password in server.js and /routes/temperature.js

Play the server with 'node server.js' and access the web application with your web browser.

Thank you for your interesting. Please contact me if you have any queries.


SPECIAL THANKS TO:

Daddy's Lab. (www.daddyslab.com)

homesensors's People

Contributors

hyunghunny avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.