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 Into Testing: Summary of Work done
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ipv1
  • Date Created: 8 Oct 2014 3:02 PM Date Created
  • Views 1242 views
  • Likes 2 likes
  • Comments 4 comments
  • forget_me_not
  • forget_what
  • openhab
  • tektronix
  • internet_of_things
  • enocean
  • cc3200_launchpad
  • piface
Related
Recommended

Into Testing: Summary of Work done

ipv1
ipv1
8 Oct 2014

  • Abstract
  • Current System Design
    • RPi and OpenHAB
    • The Waiting Platform
    • IOT Weighing Machine
    • Appliance Monitor
    • Current Sensor
    • Arduino MQTT Control
    • RPi Rover
    • MET System
    • IOT Windows
  • Phew!

Abstract

 

I have managed to pull everything together and have put the system into final testing mode. As of today, the whole system is functional and I am in debugging mode. It will run 24x7 like a good system should and it will be used to tackle our problems in real life. The PCBs have still not arrived and so I am running circuits in prototype mode. They look a bit messy but they work! The only module that is in 'Proof-Of-Concept' mode is the MET system because the one I made was blown off the roof a week back or stolen or something... I really do not know. I will be placing an order for a MET system from SparkFun Electronics when possible but till then, I have fashioned a small 'Weather Simulator' which I will document later. I also need to post separately on the RPi Rover and RPiSoC which are in use as of right now. The delay in documentation is attributed to my ill health and will be completed shortly. In this post I will go through the entire system in brief. Here goes.

 

Current System Design

 

The system as of right now looks like this.

 

image

A short list of technologies used is as follows:

  1. Raspberry Pi
  2. OpenHAB
  3. EnOcean Sensors and EnOcean Pi
  4. TekTronix Scopes
  5. Arduino and Arduino Ethernet Shields
  6. RPiSOC
  7. TI EZ430-CC2500 Kit
  8. TI CC3200 LaunchPad
  9. TI USB LaunchPad
  10. Voltage Reguators from Linear Technologies
  11. Current Sensor from Magnelab
  12. PiFaceCAD
  13. OpAmps from Linear Tech and Burr-Brown(TI)
  14. Wurth and TI Wireless Charging Solution image
  15. Misc Parts

Most parts purchased from Element14.com's exhaustive online website. Enclosures and building materials were ALL extracted from either scrap or item packaging. (Recycle as much as possible)

My task list was as follows:

image

I will explain each piece in brief

RPi and OpenHAB

 

The center piece is the RPi which has OpenHAB running on it. Additionally, I am running Mosquittoe and some bash and Python scripts running for some things. I wanted it to be compact and preferred a headless system so I used the PiFaceCAD and made startup and shutdown scripts for the OS as well as OpenHAB. I soldered the Enocean Pi via 4 wires to the RPi itself and it works just fine. The casing is a long story and well I will post pics at the end of the competition. I tested and am using the following bindings:

  1. EnOcean (Duh!)
  2. MQTT
  3. Exec
  4. NMA
  5. Serial
  6. my.OpenHAB

The system can be accessed via my tablet and phone from anywhere in the world. The system acts like a data aggregator which prevents local data to be un-necessarily be routed over the internet. This just might save the internet world if there are 50billion of theses image

In addition to the EnOcean Pi, I have the EZ430 unit connected via USB. Thats it. The rest happens elsewhere. Oh! One last thing- I have USB Powered Speakers connected. I could have bought a Class D amplifier and I also could have made the CKT myself but it seemed counter productive so I just used bought outs- the cheapest ones I could find. image

The Waiting Platform

 

Does what?

Put something on the platform and after 20 Minutes you get an alarm and a notification on the android device (or Iphone). Take it off and the alarm shuts off. Snooze? Yea we have a switch image

 

This is pretty simple and used a contact sensor from EnOcean on a wooden frame I made. It talks to OpenHAB where I use rules to implement the functionality. I used timers and rules and the code was presented in one of my previous posts. I also used an EnOcean Rocker switch to implement a snooze button which sleeps the alarm for 5 minutes.

 

Application?

Cool down food naturally before putting in the fridge. Saves energy in the Fridge and makes food last longer(I read that somewhere)

 

IOT Weighing Machine

 

Does what?

Plots weight of LPG cylinder and alerts before going empty.

 

The circuit is built around the TI EZ430-CC2500 and transmits to OpenHAB. OpenHAB does the rest! Graphs, alarms etc

 

Application?

Tracks Fuel usage. Prevents unnecessary last minute LPG panics image. It can be used with barbecue bottles as well as other items which are measured by weight.

 

Health application? I just might put it in my office chair to measure my weight stats! image

Appliance Monitor

 

Does what?

Monitors particular electrical appliance for ON OFF state. Did you leave the AC ON?

 

I modified the EnOcean Temperature Sensor to read ADC values from an external circuit and just added an LDR and a resistor for the divider network. image Now it transmits analog values depending on how much light is falling on the LDR. Then I pointed the LDR towards the ON indicator of ANY appliance eg. Air-Conditioner, Washing Machine, Room Light, Soldering Iron or cloth iron. I want to make it kind of a clip on but am using silly putty right now to "Stick" the LDR on place. Works on ANY APPLIANCE with an ON indicator image

 

Application?

Saving Energy. Track unwanted appliance left on.

 

Alternative applications?
Can also be used to track light levels in particular areas of the house OR in the backyard and then notify if it goes low (like if you left clothes to dry and now its night.)

 

Current Sensor

 

Does what?

Monitors power levels of an appliance OR an entire section of the house OR the WHOLE HOUSE!

 

I use and Magnelab current sensor which can sense upto 50Amps. Just clip it on. It runs on a 9V battery and has an arduino nano with an AM RF module. It transmits current data but can also send power data which can also be calculated locally. (Will be upgrading to an MSP430 when my PCB arrives) Everything else happens in OpenHAB


Application?

Monitor power consumption and save where possible. Track down unnecessary appliances!

 

Arduino MQTT Control

 

Does what?

Interfaces PIR sensor to OpenHAB as well as operates relays for controlling lights. ALSO acts as a RF receiver to get Current Sensor Data and sends to OpenHAB via MQTT

 

The PIR sensor senses presence and transmits it to OpenHAB. Using rules, I can set when lights are turned ON and OFF

 

Application?

Power Saving. Switch Off lights during day and when I leave the workbench. I also plan to integrate the Workbench power so EVERYTHING is switched off 20 minutes after no activity is detected at the workbench.

Redundancy: Since I use an Arduino, every shield will work here and data is communicated to OpenHAB via MQTT which means I can now have OpenHAB distributed across multiple machines for redundancy.

 

RPi Rover

 

Does What?

A robot that can be controlled over OpenHAB!

 

I used the RPiSoC to control motors for movement and servo. Rpi Camera is used to transmit video to OpenHAB. There is a lag but I have made it usable and everyone loves playing with it. Oh and one important ting

Will post a video soon.

 

I am working on a dedicated app in C which will have much better performance. ALSO I am planning to use OpenCV to make the rover move automatically towards charging port when disconnected.

 

Application?

Remote monitoring: No more fixed cameras. Roam around your house remotely and see everything over the internet. Charges wirelessly.

Security?

 

MET System

 

Does what?

Monitors weather conditions wirelessly for easy installation.

 

I use the CC3200 to transmit weather info to an online data logging system. Right now I am connecting to iot.Eclipse.org 's MQTT service and using OpenHAB to get data from here. This way the system can be at the top of say a hotel building connected via wifi. image

 

Application?

Local Weather monitoring and BETTER local weather prediction. We can use the local data and correlate with online data to get better and more accuracy weather info. This can be used to plan outdoor activities as well as alert and control local things.(like windows left Open in the storms and clothes left out to dry)

 

IOT Windows

 

Simply detect window status and generate alarms if left open in bad weather.

 

Phew!

 

I have finished the above and have moved to final testing. I am resolving issues as they arise and moving to improve where I can. Its come down to fiddling with OpenHAB rules and stuff.

I am also looking at cloud based services for storing and analyzing data. My next project is an RPi based media center for which I need an I2S sound card which will have to wait. I will be building a database to store data on myself and habbits so that I can make the system evolve for me.

 

Will be posting the final report and presentation soon.(This is just a weekly update image)

 

Wish me luck.

 

Sincerely,

IP

  • Sign in to reply
  • ipv1
    ipv1 over 10 years ago in reply to bose

    Thanks. If you are looking at controlling apps via TCM320, I may be able to help. Lemme test bit out and I will revert with the appropriate stuff.

     

    Thanks

    Ip

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • bose
    bose over 10 years ago

    This looks great.

    I have been stuck with appliance control using the TCM320 as there an now clues to how we can transmit back from the EnOcean Pi module.

    Your arduino route for controlling appliances is better and easier.

     

    Best of Luck,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ipv1
    ipv1 over 10 years ago in reply to shabaz

    Many many thanks for your kind words.

     

    As for the waiting platform I may be wrong but I think it is the simplest tech that make the best products and brilliant minds such as your can find many uses for it.

     

    I hope everyone likes my final submission. (Fingers crossed and tongue at the right angle) image

     

    Sincerely,

    IP

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago

    Wow. That's a big system!

    The waiting platform sounds very unusual, and cool!! The type of thing that would have

    a hundred uses once you have it.

    Good luck with the report/presentation!

    • 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