element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog Forget_me_not : My Smart Home Post #1 My Roadtest Application
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ravi_butani
  • Date Created: 31 Jul 2014 5:10 AM Date Created
  • Views 1081 views
  • Likes 1 like
  • Comments 9 comments
  • forget_me_not
  • tektronix
  • enocean
  • raspberry-pi
  • smarthome
  • iot
  • iot_homeauto
Related
Recommended

Forget_me_not : My Smart Home Post #1 My Roadtest Application

ravi_butani
ravi_butani
31 Jul 2014

Table of Contents


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.

 

image

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...?

 

image

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?

image

 

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?

  imageimage

 

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?

 

image

 

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?

 

image

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?

 

image

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....image

 

Mean while Looking Forward for you valuable Suggestions and Questions related to My Smart Home Application....


Home

Next >>

  • Sign in to reply

Top Comments

  • electronichamsters
    electronichamsters over 11 years ago +1
    Hi Ravi, We had the same idea for smoke / gas leak sensor. That's a neat way of using the EnOcean sensor. I didn't think I could use the EnOcean because of the power requirements of the gas sensor, so…
  • michaelwylie
    michaelwylie over 11 years ago in reply to electronichamsters +1
    Eric; Water leaking from where? Could you describe the scenario? Mike
  • maulsparks
    maulsparks over 11 years ago

    An automated watering system that is controlled remotely would complement your water sensor. 

     

    Kindest regards,

    Michael.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ravi_butani
    ravi_butani over 11 years ago in reply to michaelwylie

    Yes Michael its like this...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ravi_butani
    ravi_butani over 11 years ago in reply to electronichamsters

    I will be get programmer from $500 budget http://in.element14.com/enocean/epk-350/programmer-kit-esk300-upgrade/dp/2342019?Ntt=enocean+programmer

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelwylie
    michaelwylie over 11 years ago in reply to electronichamsters

    According to what I've read, The maximum output of the soil moisture sensor is when it is placed in a glass of water.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelwylie
    michaelwylie over 11 years ago in reply to electronichamsters

    I think the programmer is part of the dev kit ($$$).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube