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: Summary of PAM
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: michaelwylie
  • Date Created: 22 Oct 2014 5:38 AM Date Created
  • Views 838 views
  • Likes 0 likes
  • Comments 1 comment
  • forget_me_not
  • iot_auto_monitor
Related
Recommended

Forget Me Not: Summary of PAM

michaelwylie
michaelwylie
22 Oct 2014

Previous Posts:


Epidode 1: Forget Me Not: Application

Episode 2: Forget Me Not: The Best Laid Plans ...

Episode 3: Forget Me Not: Setup EnOcean with openHAB

Episode 4: Forget Me Not: Medication System

Episode 5A: Forget Me Not: Using Notify My Android with OpenHab

Episode 6: Forget Me Not: Plant Watering System Design

Episode 7: Forget Me Not: Medication System Demo

Episode 8: Forget Me Not: Using Twitter

Episode 9: Forget Me Not: Sunshine, Lollipops, and Rainbows

Episode 10: Forget Me Not: It's so hot!

Forget Me Not: Episode 11A: Watering System Construction

Forget Me Not: Episode 11B - Soil Sensor Design

Forget Me Not: Episode 12: An Update

Forget Me Not: Episode 13: Watering System Finalization

Forget Me Not: Episode 14 - Nearing the End

 

Introduction

 

Well, it's been a time-packed 12 weeks and the blogs have been steaming ahead even unto the last days of the challenge. My initial project was to design and construct a home automation system to control the following:

 

      1. Plant Watering
      2. Air Conditioning
      3. Medication Reminding

     

    I began this project by revealing my project to the other challengers and anyone willing to read my blogposts. I wanted an open project so that everyone could benefit from what I was learning. I'm grateful to the other challengers who revealed many parts of their own projects as well, because I was a direct beneficiary. After this I decided to, as with all engineering projects, construct a Gantt Chart or timeline for my project (reproduced in Figure 1).

     

    image

    Figure 1: PAM project timeline.

     

    In hindsight, my plan was susceptible to procurement delays. I planned for a procurement time of approximately 2 weeks, but it was more like a month. Also, I ended up splitting my procurement into two steps. Why, dare you ask? I moved to California from Eastern Canada in June 2013, and I had no means to work on projects at home. I used a good portion of the $500 budget to make a home lab. The second procurement was more of a "oh, I forgot that, better order one" order. Unfortunately I placed it too late for it to be of use in this design challenge. C'est la vie, oui?

     

    Medication System

     

    While waiting for my order, I began working on my medication reminder system. I already had an EnOcean Pi kit from a previous RoadTest I conducted, whereby I used the kit to monitor heat loss from a refrigerator (Part 1, Part 2). This served as a good introduction to the OpenHAB system and allowed me to learn and blog about setting up EnOcean sensors with OpenHAB. The medication reminder system works using EnOcean's Rocker Switch. It's simple, you take the medication and press the switch. If you try to leave the house without having taken the medication a speaker connected to the system plays "Take Medication" in a very familiar synthetic voice. If you don't leave the home by 10 AM, notifications are played every fifteen minutes until you take the medication. I blogged about the system and recorded a video demonstrating it. I also added functionality to notify my Android device with a "Take Medication" reminder through NMA (Notify My Android). The video wouldn't embed in this blogpost for what reason I am unsure, so here is a link to it. Note, a magnetic contact sensor gets mounted on the front door of a home, or whatever door you leave through in the morning; this is how OpenHAB knows you are leaving. While I was waiting for parts, I also implemented the astro and twitter bindings in OpenHAB. Astro could be used with my air conditioning system to preemptively turn on the air conditioner when the sun is facing my patio door, and Twitter can update me of my home's automation status on older Android devices that cannot run the OpenHAB app. Alternatively, you can use a web interface on those older devices as well.

     

    Plant Watering System

     

    The plant watering portion required parts, so I designed the entire system and during that process my initial parts arrived. For the pump controller I did a detailed analysis of heat transfer from a linear regulator. I intended for that post to be a tutorial for beginners trying to understand thermal considerations of regulator design. Figure 2 shows the schematic for the plant watering system and Figure 3 shows the constructed system. Note, there is an added 10k pull-down on the PUMP signal. This ensures the pump is not active during reboots of the Raspberry Pi.

     

    image

    Figure 2: Plant watering schematic.

     

    image

    Figure 3: Constructed, functioning plant watering system.

     

    The constructed system uses a soil sensor that was created using a simple resistive divider, but I spent an entire blogpost showing a step-by-step linearization of the typical soil sensor used by hobbyists. I used a resistive divider because I didn't have the parts to create the sensor yet. The resistive divider is non-linear, and the typical hobbyist sensor has a very poor dynamic range (less than 1). I designed a sensor with a dynamic range equal to the ratio of the resistance of dry soil to wet soil. This was 4 in my case. The system is currently installed on my patio, and until I manage to find the appropriate watering thresholds it is over-watering my basil.

     

    Air Conditioning Switcher

     

    Finally, I designed my air conditioning switcher, but can not construct it until my parts arrive. Figure 4 shows the schematic for the solenoid drivers. I use a double solenoid system to move the switch on my air conditioning interface. Note, I live in an apartment and cannot modify the unit. Magnetic contact switches on all the windows and patio door can be viewed from the OpenHAB interface. This allows the user, at a glance, to know whether or not they can turn the air conditioner on.

     

    image

    Figure 4: Solenoid drivers for air conditioning switch.

     

     

    Figure 5 shows the board I made to hold the solenoids. The travel of the two plungers can be modified by sliding one solenoid through two slots cut on the back of the board. I tested the solenoid switcher using a power supply and it works, but I need to interface it to a Raspberry Pi and use the GPIO to control the solenoid drivers.

     

    image

    Figure 5: Solenoid based AC switcher.

     

    Concluding Remarks

     

    Phew, that's a mouthful. If you made it this far congratulations. As I mentioned in my last blog post, my goal for this design challenge was to learn, and learn I did! I have provided links to the material from my blogging over the course of this project. I only reproduced the pictures and figures I thought would enhance this summary. Good luck to all of the competitors!

    • Sign in to reply
    • mcb1
      mcb1 over 10 years ago

      Don't feel too bad about the time issue, I've seen many bigger budget projects go west.

       

      It's been a great challenge, and we've all learned something, and like your project, created some unique solutions to what looks like a simple problem.

      Hopefully you'll be able to follow-up when the parts finally arrive.

       

      Mark

      • 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