Top Banner
Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan
14

Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Dec 23, 2015

Download

Documents

Hannah Lyons
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

 Remote Temperature Sensor and LED Control

By: Man Nguyen Edwin Oilvos

Osama Hassan

Page 2: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Overview

• Motivation• Block Diagram• Prepare and Test the Circuit• Installing DeviceHive on RaspPi and Run Program• Access a device from Devicehive Admin UI and Create Client App• Conclusion• Future Work

Page 3: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Motivation

This project can be a very good starting ground, which it can be taken further to allow a home owner to control, monitor and co-ordinate home appliances remotely using the internet or remote device such as mobile phone.

Page 4: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Block Diagram

Page 5: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Prepare and Test the Circuit

• Load Kernel module for auto load• Access The Sensor• Check whether the senor is working

Page 6: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Installing DeviceHive on Raspberry Pi

Page 7: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Installing DeviceHive on Raspberry Pi

• Setup Devicehive On Raspi

Page 8: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Installing DeviceHive on Raspberry Pi

• Get the Sensor’s Serial number• Change Devicehive Playground

URL

Page 9: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Installing DeviceHive on Raspberry Pi

Page 10: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Installing DeviceHive on Raspberry Piand Run the Program

Page 11: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Access your device from Devicehive Admin UIand Create Client App

See the device and the readings from the sensor in Admin UI http://nn5761.pg.devicehive.com/admin Send on/off messages to the LED: Name: UpdateStateParameter: {"equipment":"LED","state":"1"}Create client App to switch on/off the LED and get temperature readings

Page 12: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Access your device from Devicehive Admin UIand Create Client App

Page 13: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Conclusion

Our internet-enabled temperature sensor and LED are now talking to our JavaScript page using DeviceHive. We just saved ourselves a bunch of time designing the protocol, implementing libraries, troubleshooting and deploying.

Page 14: Remote Temperature Sensor and LED Control By: Man Nguyen Edwin Oilvos Osama Hassan.

Future Work

Implement Client app to turn on/off and decrease/ increase the The temperature. Replace LED with power relay and control light in a room, Add humidity sensor and light sensors to better monitor the environment and report everything on your mobile device?