element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 eLDERmon  External Sensor
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mcb1
  • Date Created: 20 Oct 2014 7:36 AM Date Created
  • Views 1969 views
  • Likes 1 like
  • Comments 8 comments
  • forget_me_not
  • b+
  • design_challenge
  • openhab
  • iot_eldermon
  • tektronix
  • rpisoc
  • eclipse
  • internet_of_things
  • enocean
  • raspberrypi
  • smarthome
  • challenge
  • iot
  • moteino
  • wipi
  • enocean_pi
  • arduino
Related
Recommended

eLDERmon  External Sensor

mcb1
mcb1
20 Oct 2014

eLDERmon  External Sensor

 

This post details my external (ie non EnOcean) sensor that feeds the Hot Water temperature into openHAB.

 

Link to other posts
Forget Me Not : eLDERmon Intro
Forget Me Not :  eLDERmon  Electrical
Forget Me Not :  eLDERmon  Outlets
Forget Me Not : eLDERmon Planning
Forget Me Not : eLDERmon Parts 1
Forget Me Not :  eLDERmon  Sponsor Parts
Forget Me Not : eLDERmon Hardware Hacking
Forget Me Not : eLDERmon GNUplot
Forget Me Not: eLDERmon Protocol
Forget Me Not : eLDERmon Hardware Hacking #2
Forget Me Not : eLDERmon Hardware Hacking #3
Forget Me Not : eLDERmon Tim
Forget Me Not : eLDERmon Charts
Forget Me Not : LPG Level
eLDERmon EnOcean Sensors
eLDERmon EnOcean Sensors Part 2
eLDERmon EnOcean Sensors Part 3
eLDERmon EnOcean Sensors 4
eLDERmon EnOcean Wireless

 

Moteino

electronichamsters  (Eric Tsai)  posted some great information regarding the use of RFM69x transceivers.

 

You can follow his posts here.

Wireless Sensor Node and Gateway Design Details

 

 

The RFM range are very well designed, but unlike many other Tx or RX you can't just stand them up and plug them in.

While we were generously supplied with a licence for Cadsoft Eagle, my other commitments meant I wasn't going to have time to design and send away for boards.

 

While I was in the www ( is that Wonderful World of Why not buy it), I ran across the Moteino range of Arduino which allows the RFM range of transceivers to be soldered on the rear.

All about Moteino | LowPowerLab


image

          image from LowPowerLab showing the raw unpopulated boards.


The price of the competed item was below what I could get the raw parts for.

The documentation and support also seemed to be there (unlike many other sites just selling the product), so it made sense to support someone else.

 

image

I decided to use these as my external temperature source.

(I may need to order some USB versions for future projects  image)

 

 

Hot Water

In my application, I wanted to ensure that 'Granny' was following regular hygiene, since it provides another method of checking for 'normality'.

By measuring the Hot Water temperature as it leaves the cylinder, you can see the change and build a picture of use.

 

In my case the hot water is by LPG burner, and while you could access the 'in use' indicator by hacking the protocol, this method is simple and universally applicable.

 

I couldn't use a solar powered sensor since there is little light inside the heater (or a cupboard/ceiling space if you have a conventional cylinder).

 

The burner needs power, and for some time now I've been checking the bargain bin at one of our large retail store chains each time I go past.

Generally they have older version phone chargers, in both Mains and 12v version, and they can be easily re-purposed to power an Arduino or similar low current device

The price is right at $1 or $2 (or sometimes less), and I had one that suited this purpose.

 

 

The transmitter was programmed and tested on the bench, and it only sends data if the temperature changes, which reduces the 'RF clutter' or noise.

( I may need to adjust this to only send after 1 or 2 deg change )

 

 

Fitting it turned out to be the typical ... yet another minor stumbling block, where the 2nd outlet is covered by the pipework.

 

  imageimage

              photo of burner, Hot water is on the left, and I've removed the lagging (which should extend down the pipe as well )!.

 

Rotating the outlet is allowed under NZ law, since I'm the homeowner, but regardless it needs to be done safely.

Ideally you need a hand to identify the correct circuit breaker.

 

 

Electrical safety

The practice is Prove, Test, Prove, and this means Prove your measuring item works, Test the appliance is not live, then Prove your measuring item again.

 

I also encourage you to read my blog about electrical safety here.

Forget Me Not : eLDERmon Electrical


Mains voltages ARE LETHAL, so if you don't know what you're doing, its time to ring someone who does.

 

 

Since we know the socket is live (otherwise the water would be cold)

For this you can use an indicator (desk lamp or similar).

  • Prove it works by powering it from the socket.
  • Test by having the other person switch off the breaker, and verify the indicator/lamp goes off when they switch the breaker off.
  • Prove by having them switch the breaker back ON.

 

Then have them switch it OFF and ensure the indicator goes off.

I have temperature control units that are powered from the LPG burner, so they were my indicator.

 

 

I juggled the outlet to allow the power pack and mains lead to be accessible, along with the switch.

It's tight but it works.

 



Transmitter

I needed to add the transmitter into this metal box that the burner lives in.

  • First issue is the RF will be limited.
  • Second is that having a device rattling around on a metal surface relying on paint as the insulator is not a good practice.
  • Third is the creepy crawlies and moisture, since it's on the south side of the house where all our bad weather comes from.

 

The RF escaping is solved by poking the antenna down beside the plastic Hot Water pipe where it exits the metal box.

The lazy plumber didn't provide any sort of protection or sealing, so I can easily slip it past.

(This is on the south side of the house and moisture can enter and get directly into the cavity between the bricks and the internal walls ...not good building practice, and no wonder we have weathertight issues in NZ.)

 

image

          Not an ideal installation, given that pipes move with temperature changes and no sealing against moisture.

 

I found a potting box that allows the transmitter to be held and covered from the moisture, while not shorting out on the metal surface.

The creepy crawlies will have a nice home, so they are happy as well.

 

 

Receiver

Before I finished the installation, I figured it was a good idea to check it works.

 

fvan   (Frederick Vandenbosch) has provided a very good post about getting serial data into the RPi and OpenHAB here

[CaTS] ForgetMeNot - Week 4: Arduino-OpenHAB communication

 

The one minor item to add is that you need to install minicom

$ sudo apt-get install minicom

 

I followed this guide, which covers the settings and what all those letters mean.

Minicom - TinCanTools


I'm using an Arduino Nano as the receiver and it plugs into one of the USB sockets.

 

I found I needed to change the line to point to the USB

-Dgnu.io.rxtx.SerialPorts=/dev/ttyAMA0:/dev/ttyUSB0

     edit: I wondered why my normal sensors didn't seem to be working and I had incorrectly pointed openHAB at the USB only ...this is the correct line

    

The temperatures were coming through just fine, so I left it while I did some of the other tasks around the place.

While I was doing these tasks, the outside temperature dropped from 20 to 12 degs C, and this showed very well while it was exposed.

 

Since it worked, I attached the probe to the Hot Water outlet pipe fitting.

However this photos shows the poor contact, and it had too much lag, so I have since moved it down onto the plastic pipe.

 

image

 

With the tests completed, it was time to stick it back together and tidy the wiring before the rain arrives.

 

image

          The final install. The transmitter is behind the Hot Water pipe on the left side.

 

Graphs

This post is already long enough, but a quick look at the graph from a sink fill of 50 deg water for washing some dishes shows the lag.

 

image

 

The graph for showers will tend to have a much longer peak period, and will tend to stand out over a 24hour period.

 

So another part ticked off the list.

 

 

Mark

 


  • Sign in to reply

Top Comments

  • fvan
    fvan over 10 years ago +1
    Wow, a lot of ticking off is happening lately, well done Don't forget to sleep once in a while though ... Frederick
  • mcb1
    mcb1 over 10 years ago in reply to DAB

    Lucky for your father ... and a very good grounding in gas v sparks.

     

    Whats even worse is somewhere there is an igniter to light it ...image

    There are strict regulations about where you can site it, (height, window locations, drains, etc).

     

    I haven't heard of any issues, and this model is used in the UK as well as the colonies.

     

    The scariest one is the petrol dispenser where you fill your car.

    The 2nd is the car with its very high energy spark generator that turns the engine ....

     

    mark

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

    Well it scares me.

    The engineer in me wants to keep fuel and sources of sparks far away from each other.

     

    My dad had a gas station and some fumes built up in the bay.  Someone turned on the sprayer switch and BOOM!

    My dad escaped with cuts on his head.  He had just ducked under the door to go in, so he was very lucky.

     

    So seeing that box brought back memories of a gas explosion.

    Its probably fine, but it just looks dangerous to me.

     

    DAB

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

    It's great seeing everyone's projects all coming together. Pretty amazing considering so many things can go wrong, in such a short time schedule.

    It's now getting to be "normal" seeing you guys casually drop trends and graphs of activities into your posts - things very hard to do without

    logging tools, Excel, etc just a few months ago!!

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

    Yes they do.

    Its a well ventilated box, and LPG is heavier than air, so in theory any leaks 'run' out the bottom.

     

    Having said that, since the holes aren't sealed, they also can run into the brick cavity, and escape through the ventilation slots  ... maybe.

     

    Mark

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

    Hi Mark,

     

    Are they running the gas line into the same box as the main power?

     

    DAB

    • 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