First I would like to thank all organizers of this RoadTest and and Doctorcdf for showing potential in my RoadTest App and selecting the same. In this first blog entry, simply, I will share my RoadTest Application with you...for your valuable feedback
My Smart Home
Using RaspberryPi B+ and EnOceanPi & Sensors Kit as main components and Tektronix TBS1202B EDU DSO as main hardware debugging TMI, I will develop IoT Based Home Automation solution for answer following questions when you are away from your home...
1. Do I have any visitor at my home? Who...?
2. Do I have new mail in my mail box?
3. Do I have any emergency at my Home? Like, is there fire or gas Leakage at my home?
4. Did I leave the door unlocked?
5. Did I water the plants?
6. Did I leave the iron on?
7,6,9....Surprise Coming Soon....!!!!
Here, Raspberry-Pi B+ will be work as Home automation Server and it is directly connected to EnOcean-Pi transceiver module to communicate with different EnOcean wireless sensors nodes used in this application.
OpenHAB and Eclipse SmartHome software will be used for server design and configuration tool.
Also Iwill use my 3D printer to design cool enclosures for different parts of this entire home automation system.
USB Wi-Fi dongle with Raspberry Pi B+ will be used for connect this home automation server to internet via WLAN router as access point so all sensor node data will be available to any Smart Phone/PC/tablets with web interface as shown in diagram below.
Overview of each Sensor node and the way it answers home automation related questions selected for this application is as follows...........
1. Do I have any visitor at my home? Who...?
It will be great to know who is at your home to visit you when you are away from home. Here is the solution, PTM120 switch will be used as door bell switch, so when visitor press this switch ti will send message to RaspberryPi via EnOcean-Pi transceiver module. Raspberry-Pi camera module captures the visitor Image and send it to you, on your Smart Phone/PC/tablets via internet, no matter wherever you are. Raspberry Pi needs to be located at strategic location near your door. Cool enclosure for raspberry Pi will be designed using Cad Soft Pro because it need to be looks attractive. No other extra hardware required for this application. External power will be required only for raspberry Pi but PTM120 powered by energy harvesting only.
2. Do I have new mail in my mail box?
Yeh, you will like to know, do you have any new mail in your mail box? when you are away from your home. The solution is STM320 Magnetic contact sensor in your mail box. STM230 will be used for detect opening of Mail box letter inlet using its magnetic reed contact sensor, so whenever there is new mail in your mail box STM320 sends message packet to Raspberry Pi via Enocean-Pi transceiver module and you will get this message on your Smart Phone/PC/tablets via internet. Here, all aspects of mechanical mounting of STM320 and neodym magnet at mail box needs to be considered for reliability. No extra hardware or external power will be used at this sensor node, it will be powered by energy harvesting only.
3. Do I have any emergency at my Home?
Let me be serious about this application. You will really needs to know about any emergency at your home, when you re away from home. There are many emergency situations but for this application, I have selected two kind of emergency situation, fire and cooking gas leakage. Here, STM330 temperature sensor will be used for interface MQ2/MQ5 gas and smoke sensor. I may need to reprogram STM330 for this purpose. I will interface MQ2/MQ5 sensor on ADIO3 analog input of STM330, which is available for HSM100 interface. Solar harvested energy of STM330 is not enough for power up MQ5/MQ2 sensor because it contain heater element. So external power source of 5V will be needed for MQ2/MQ5 sensor. Once STM330 configured for GAS or Smoke sensor it will detect presence of smoke or Gas and sends this alert message to Raspberry Pi via Enocean-Pi transceiver module and you will get this alert on your Smart Phone/PC/tablets via internet.
4. Did I leave the door unlocked?
You always worry about this question when you are away from your home. The solution is again STM320 magnetic reed contact sensor at your main door lock assembly. STM230 will be used for detect position of door lock assembly using magnetic reed contact sensor, so lock position. STM320 sends lock position (Is it Open or close? ) to Raspberry Pi via Enocean-Pi transceiver module and you will get this message on your Smart Phone/PC/tablets via internet. Here, all aspects of mechanical mounting of STM320 and neodym magnet at main door lock needs to be considered care fully for reliability. No extra hardware or external power will be used at this sensor node, it will be powered by energy harvesting only.
5. Did I water the plants?
Many people around us are very caring about plants as their children, obviously when they are away from home, they worry about weather plants needs water or not. The solution is STM330 Temperature sensor with soil moisture sensor. Ok, some may think that why not HSM100 humidity sensor which can direct plug in to STM330, but for detect moisture level of soil resistive soil moisture sensor will work perfect when it inserted 3-4 centimeter in soil near about plant. So I will need to design signal conditioning circuit for soil moisture sensor to interface to STM330 ADIO3 input. Once soil moisture sensor detects moisture less then predefined threshold level it send message to Raspberry Pi via Enocean-Pi transceiver module and you will get this alert on your Smart Phone/PC/tablets via internet.
6. Did I leave the iron on?
This is last question need to be answered when you are away from home, when you are in hurry to go out from home many time you had leave the iron on, including me. So STM330 Temperature sensor mounted at strategic location on your iron will detect temperature of iron and send condition of iron to Raspberry Pi via Enocean-Pi transceiver module and you will get to know about your iron is on or off on your Smart Phone/PC/tablets via internet. No extra hardware or external power will be used at this sensor node, it will be powered by energy harvesting only.
7,8,9.... Surprise Coming Soon.....!!!! (some thing more than my basic RoadTest App)
List of components available with this RoadTest:
1. Raspberry Pi model-B
2. EnOcean Pi
3. STM330 Temperature Sensor
4. STM320 Magnetic reed contact
5. PTM210 Switch
6. TBS1202B-EDU DSO as hardware debugging tool
Extra components needed, easily get with $500 budget for additional parts available with this RoadTest:
1. STM330 Temperature Sensor (3 nos.)
2. STM320 Magnetic reed contact sensor (1 nos.)
2. EPK350 EnOcean Programmer (1 nos.)
3. Rasperry Pi Camera Module (1 nos.)
4. USB WiFi dongle
5. Misc (Soil moisture sensor, MQ2 or MQ5 sensor, PCB, Enclosure and other components)
List of software:
OpenHAB and Eclipse SmartHome : for home automation server design with cool GUI application for PC and Android/iOS cell phone as well
CadSoft Pro : for custom PCB design and Enclouser design (if it supports) of different modules used in this application
Dolphin Studio : for Program Dolphine MCU on EnOcean Sensors
I will also show basics of implementation of home automation server on Raspberry Pi using FHEM software
And, yes Tektronix TBS1202B-EDU DSO available with this RoadTest will be my helping hands for hardware debugging for this RoadTest application, As many part of my application include custom hardware as well as tricky interfacing with Enocean sensors.
Main objective of this RoadTest Application is Minimum use of battery or utility power and maximum use of energy harvesting for showing capabilities of EnOcean products available with this RoadTest and RaspberryPi in IoT based home automation challenge.
As I already have RasiPiB+ I'll be back shortly with basic set up and builds as warm up exercise with Raspberry-Pi B+ and OpenHAB....
Mean while Looking Forward for you valuable Suggestions and Questions related to My Smart Home Application....
Top Comments