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 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. Block Diagram Prepare and Test the Circuit • Load Kernel module for auto load • Access The Sensor • Check whether the senor is working Installing DeviceHive on Raspberry Pi Installing DeviceHive on Raspberry Pi • Setup Devicehive On Raspi Installing DeviceHive on Raspberry Pi • Get the Sensor’s Serial number • Change Devicehive Playground URL Installing DeviceHive on Raspberry Pi Installing DeviceHive on Raspberry Pi and Run the Program Access your device from Devicehive Admin UI and 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: UpdateState Parameter: {"equipment":"LED","state":"1"} Create client App to switch on/off the LED and get temperature readings Access your device from Devicehive Admin UI and Create Client App 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. 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?