SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
Low Power Wireless Sensors
Glyn Hudson @openenergymon OSHUG #26 16/05/13
...and their role in helping us build a sustainable future
2
Open-source sustainable technologies
Technology that empowers us to participate in creating a future
where we live within ecological limits.
openenergymonitor.org
3
Sustainable Energy
Tools to help us work towards
sustainable energy in a way that
adds up.
Energy Stacks based on David
MacKay's book: withouthotair.comTrystan's Stack 2012
Only 17% Sustainable Energy
2030
Target*
2012 UK
Average
2012
Trystan
*CAT zerocarbonbritain.com/
4
OpenEnergyMonitor.org
Open-source energy monitoring
5
The OpenEnergyMonitor System
6
http://openenergymonitor.org/emon/emontx
8
Raspberry Pi
http://openenergymonitor.org/emon/emonbase/raspberrypi
9
An open-source web-app for
processing, logging and
visualising energy, temperature
and other environmental data
●Open-source, downloadable
and installable on your own
server (e.g RaspberryPi)
●Specifically designed with
processing and visualising
energy data in mind.
● Written in php, mysql,
javascript and jquery
● Follows MVC architecture
emoncms.org
openenergymonitor.org/emon/emoncms
github.com/emoncms
Visual Dashboard Editor
Drop & drop, customisable graphs, re-sizeable widgets, buttons and live feeds
11
Contents
Technology of a wireless node
- Wireless considerations
- Wireless Module Hardware
- Mircrocontrollers
- Low power optimisation
- Battery Life Estimation
Practical Examples
- Home Temperature and Energy Monitoring
- Home energy modelling & simulation
- Heat Pump Monitoring
- Bee Hive Temperature Monitoring
The Future
- Current Hardware Prototypes
Live Demo?
12
Wireless Considerations – ISM
bands
● Industrial Scientific and Medical
● Licence exempt
● 433Mhz, 915Mhz, 868Mhz and
2.4GHz
● Commonly used for low power, low
range wireless transmission
● Applications need to be interference
tolerant
● 433/868/912MHz - Restricted duty
cycle <10%
● Lower frequency's have less free
space attenuation and better
propagation – better range
2.4GHz 433MHz / 868Mhz / 915Mhz
Wifi Doorbells
Bluetooth Security Systems
Zigbee Cordless telephones
Weather Stations
13
Low Power Wireless Modules
RFM12B
(HopeRF)
SRF (Ciseco)
TI - CC1110
XBEE (Digi) NRF24L01+
(Nordic Semi)
Interface SPI Serial / SPI Serial SPI
Freq 868 Mhz 868 Mhz 2.4GHz 2.4 Ghz
AES
Encryption
NO YES YES NO
Power Supply 2.2V - 3.8V 2.0V - 3.6V 2.1V – 3.6V 1.9 – 3.6 V
Rx / TX Power 14 / 23mA 20 / 36.2mA 35/ 38mA 11.3/13.5ma
Sleep mode 1 132.2ua @
2.6v
26uA
Sleep mode 2 0.3uA 0.2uA @2.6v <1uA <1uA (900nA)
Price (inc VAT)
x1 May 2013
£4.79 £11.52
made in UK!
£17 £4
Regulatory
Approval
FCC/ETSI
No In Progress Yes No
http://blog.homelabs.org.uk/wireless-connectivity/
14
Microcontrollers
● Ciseco RFu – ATmega328 MCU plus SRF /
RFM12B radio in XBEE form factor
●
Designed & made in UK
ATmega328 with Arduino Uno
bootloader
+ commonly used
+ easy to develop for using Arduino IDE
+ easy to upload code and debug
+ active community
- not the most low power option, but not
too bad:
6.8mA running @ 16Mhz 3.3V
4.6uA while sleeping
15
emonTx /
emonTx Arduino
Shield
Energy monitoring
node
emonTx Low
Power Temp
Semi – populated
emonTx with 2 x
AA and DS28B20
temperature
sensor
NanodeRF
Web-connected
base station -
Arduino clone with
ENC28J60
Ethernet and
RFM12B wireless
onboard
RFM12Pi
RFM12B wireless
Raspberry Pi
expansion board.
Uses Pi's Serial
UART GPIO pins
OpenEnergyMonitor Modules –
ATmega328 & RFM12B wireless
16
http://nathan.chantrell.net/tinytx-wireless-sensor/
ATtiny84 Based Nodes
x
http://harizanov.com/wiki/wiki-home/funky/
http://jeelabs.net/projects/hardware/wiki/JeeNode_Micro
+ Cheaper and smaller than ATmega328
+ easily run off internal 8Mhz oscillator
+ Can use Arduino IDE (with some tweaks)
- Does not support hardware serial
- Requires ISP programmer to upload code
- Harder to debug
Examples with DS18B20 temperate sensor
and DHT22 Humidity Sensor
TinyTX – Nathan Chantrell
Funky Sensor – Martin Harizanov JeeNode
Micro –
JCW
JeeLabs
17
Low Power Ticks - software
●
AVR sleep mode
– Disable all unneeded functions (e.g
ADC) and put processor to sleep
– Reduce current consumption from 6.4mA
to 4.6uA
●
Requires internal watchdog timer or
external interrupt to wakeup
●
Radio should also be put to sleep
– if not needed for receiving packets
– 14mA (Rx) / 23mA (Tx) reduced to 0.3uA
when sleeping for RFM12B
* Running @ 16Mhz 3.3V - 6.4mA
* SLEEP_MODE_IDLE -the least power savings (2.8mA
* SLEEP_MODE_ADC
* SLEEP_MODE_PWR_SAVE
* SLEEP_MODE_STANDBY
* SLEEP_MODE_PWR_DOWN -the most power savings (4.6uA)
https://github.com/jcw/jeelib/blob/master/Ports.cpp
http://jeelabs.org/2011/06/26/current-measurements/
18
Simple Low Power RFM12B example
● Simple sketch to send
out an ever increasing
integer once every
minute
●
Estimated battery life of
3 years on a single
1300mAhr 3.3V LiPo
battery – ATmega328 @ 16Mhz,
approx average current draw <57uA
http://jeelabs.org/2013/04/18/9-50-days-and-counting/
JeeLabs Real word test, 2.5 years and still going!
19
Battery Life Estimator Tool
http://oregonembedded.com/batterycalc.htm
20
Low Power Tricks - Hardware
● Turn off sensor in-between reads – e.g. DS18B20
VCC powered from MCU digital I/O
●
Don't use a voltage regulator – Eliminate quiescent
current draw: MCP1702 1.6 uA , LM7805 5-8mA!)
●
DC-DC boost converter
●
Disable ATmega BOD – Arduino default is 2.6V (Brown
Out Detection)
●
Slow down – ATmega328 can work down to 1.8V
with 4Mhz clock – default is 16Mhz
● Energy harvesting
– Mini solar PV
– Battery less operation
– Super capacitor
– PFET to disable RFM12B at startup
Energy consumption of RFM12B packet
transmission with ATtiny84. Duration 5.7ms,
average: 10mA, peak 25mA
http://jeelabs.org/2010/09/03/jeenode-goes-solar/
http://harizanov.com/2013/04/scope-screenshots/
21
Practical Example – Home
Temperature Monitoring
22
Home Heating Energy Input &
Temperature Monitoring
January 2011 -
April 2013
23
24
25
26
27
Real World Monitoring Data
28
Heat Pump Monitoring
John Cantor, heat pump consultant
● Remotely monitor heat pump
performance
● Identify problems
● Optimise control by providing
feedback
www.heatpumps.co.ukhttp://openenergymonitor.org/emon/applications/heatpump
29
30
RF
Link
Ambient
Temp
probe
Solar
PV
Battery
Core temperature probe
Winter 2010
Bee Hive Monitoring
Clive Hudson, Meirionnydd Bee Keepers
http://openenergymonitor.org/emon/beehive/v2
31
A 'normal' bee temperature week
32
The Future - Hardware Prototypes
emonTH
TEMPERATURE & HUMIDITY
open hardware
emonTxV3
energy monitoring node
openenergymonitor.org
open hardware
● SMT design
● Enclosures
33
Thank you.

Más contenido relacionado

La actualidad más candente

2013 IEEE eee hard ware projects
2013 IEEE eee hard ware projects2013 IEEE eee hard ware projects
2013 IEEE eee hard ware projects
Vision Solutions
 
Low power wake up reciever operating in the
Low power wake up reciever operating in theLow power wake up reciever operating in the
Low power wake up reciever operating in the
riyasahammedc
 
Soil moisture sensor byauto irrigation system2
Soil moisture sensor byauto irrigation system2Soil moisture sensor byauto irrigation system2
Soil moisture sensor byauto irrigation system2
Puja Singh
 
STREET LIGHT GLOWS ON DETECTING THE VEHICLE MOVEMENT USING ARDUINO UNO
STREET LIGHT GLOWS ON DETECTING THE VEHICLE MOVEMENT USING ARDUINO UNOSTREET LIGHT GLOWS ON DETECTING THE VEHICLE MOVEMENT USING ARDUINO UNO
STREET LIGHT GLOWS ON DETECTING THE VEHICLE MOVEMENT USING ARDUINO UNO
IAEME Publication
 

La actualidad más candente (20)

2013 IEEE eee hard ware projects
2013 IEEE eee hard ware projects2013 IEEE eee hard ware projects
2013 IEEE eee hard ware projects
 
Low power wake up reciever operating in the
Low power wake up reciever operating in theLow power wake up reciever operating in the
Low power wake up reciever operating in the
 
Hybrid power generation system report
Hybrid power generation system reportHybrid power generation system report
Hybrid power generation system report
 
Synopsis for Public Garden automation with solar tracker by Punith urs
Synopsis for Public Garden automation with solar tracker by Punith ursSynopsis for Public Garden automation with solar tracker by Punith urs
Synopsis for Public Garden automation with solar tracker by Punith urs
 
Major Project PPT presentation
Major Project PPT presentationMajor Project PPT presentation
Major Project PPT presentation
 
Electrical Projects
Electrical ProjectsElectrical Projects
Electrical Projects
 
Soil moisture sensor byauto irrigation system2
Soil moisture sensor byauto irrigation system2Soil moisture sensor byauto irrigation system2
Soil moisture sensor byauto irrigation system2
 
IRJET- Electric Car Charging Station: A Review
IRJET- Electric Car Charging Station: A ReviewIRJET- Electric Car Charging Station: A Review
IRJET- Electric Car Charging Station: A Review
 
STREET LIGHT GLOWS ON DETECTING THE VEHICLE MOVEMENT USING ARDUINO UNO
STREET LIGHT GLOWS ON DETECTING THE VEHICLE MOVEMENT USING ARDUINO UNOSTREET LIGHT GLOWS ON DETECTING THE VEHICLE MOVEMENT USING ARDUINO UNO
STREET LIGHT GLOWS ON DETECTING THE VEHICLE MOVEMENT USING ARDUINO UNO
 
Apollo ultra low power MCU from Ambiq Micro
Apollo ultra low power MCU from Ambiq MicroApollo ultra low power MCU from Ambiq Micro
Apollo ultra low power MCU from Ambiq Micro
 
smart street light projet
smart street light projetsmart street light projet
smart street light projet
 
protection on lineman while working on transmission line report
 protection on lineman while working on transmission line report protection on lineman while working on transmission line report
protection on lineman while working on transmission line report
 
PV inverter's instruction by thinkpower
PV inverter's instruction by thinkpowerPV inverter's instruction by thinkpower
PV inverter's instruction by thinkpower
 
Solar Smart street lightning system
Solar Smart street lightning systemSolar Smart street lightning system
Solar Smart street lightning system
 
Project of Solar ppt
Project of Solar pptProject of Solar ppt
Project of Solar ppt
 
Solar Cold Storage Solution
Solar Cold Storage SolutionSolar Cold Storage Solution
Solar Cold Storage Solution
 
Final year project ideas for electrical engineering eepowerschool.com
Final year project ideas for electrical engineering   eepowerschool.comFinal year project ideas for electrical engineering   eepowerschool.com
Final year project ideas for electrical engineering eepowerschool.com
 
Street Light that Glows on Detecting Vehicle Movement
Street Light that Glows on Detecting Vehicle MovementStreet Light that Glows on Detecting Vehicle Movement
Street Light that Glows on Detecting Vehicle Movement
 
IEEE/NON-IEEE Projects For EEE branch
IEEE/NON-IEEE Projects For EEE branchIEEE/NON-IEEE Projects For EEE branch
IEEE/NON-IEEE Projects For EEE branch
 
automatic street light control using aurdino,PIR,LDR tinker cad circuit
automatic street light control using aurdino,PIR,LDR tinker cad circuitautomatic street light control using aurdino,PIR,LDR tinker cad circuit
automatic street light control using aurdino,PIR,LDR tinker cad circuit
 

Similar a OSHUG #26 Low Power Wireless Sensors

Joseph Staniowski - Design Project
Joseph Staniowski - Design ProjectJoseph Staniowski - Design Project
Joseph Staniowski - Design Project
Joseph Staniowski
 
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
ASHOKKUMAR RAMAR
 

Similar a OSHUG #26 Low Power Wireless Sensors (20)

GSM based agriculture monitoring system
GSM based agriculture monitoring systemGSM based agriculture monitoring system
GSM based agriculture monitoring system
 
Arm Processor Based Speed Control Of BLDC Motor
Arm Processor Based Speed Control Of BLDC MotorArm Processor Based Speed Control Of BLDC Motor
Arm Processor Based Speed Control Of BLDC Motor
 
Low-g Accelerometers Part 2 - Accelerometer Products and Applications
Low-g Accelerometers Part 2  - Accelerometer Products and ApplicationsLow-g Accelerometers Part 2  - Accelerometer Products and Applications
Low-g Accelerometers Part 2 - Accelerometer Products and Applications
 
A Review on Zigbee, Gsm and Wsn Based Home Security by Using Embedded Control...
A Review on Zigbee, Gsm and Wsn Based Home Security by Using Embedded Control...A Review on Zigbee, Gsm and Wsn Based Home Security by Using Embedded Control...
A Review on Zigbee, Gsm and Wsn Based Home Security by Using Embedded Control...
 
Joseph Staniowski - Design Project
Joseph Staniowski - Design ProjectJoseph Staniowski - Design Project
Joseph Staniowski - Design Project
 
Msp430g2453
Msp430g2453Msp430g2453
Msp430g2453
 
GSM Based Home Appliance Control System
GSM Based Home Appliance Control SystemGSM Based Home Appliance Control System
GSM Based Home Appliance Control System
 
H24051055
H24051055H24051055
H24051055
 
Android Things Linux Day 2017
Android Things Linux Day 2017 Android Things Linux Day 2017
Android Things Linux Day 2017
 
IOT Based Three Phase Transmission Line Fault Detection and Classification
IOT Based Three Phase Transmission Line Fault Detection and ClassificationIOT Based Three Phase Transmission Line Fault Detection and Classification
IOT Based Three Phase Transmission Line Fault Detection and Classification
 
IoT Based Battery Management System
IoT Based Battery Management SystemIoT Based Battery Management System
IoT Based Battery Management System
 
Wireless energy meter monitoring with automated tariff calculation
Wireless energy meter monitoring with automated tariff calculationWireless energy meter monitoring with automated tariff calculation
Wireless energy meter monitoring with automated tariff calculation
 
Ppt protection on lineman..final
Ppt protection on lineman..finalPpt protection on lineman..final
Ppt protection on lineman..final
 
[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...
[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...
[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...
 
Reduce system energy by smart CPU management
Reduce system energy by smart CPU managementReduce system energy by smart CPU management
Reduce system energy by smart CPU management
 
IRJET- IoT based Industrial Automation
IRJET-  	  IoT based Industrial AutomationIRJET-  	  IoT based Industrial Automation
IRJET- IoT based Industrial Automation
 
Dx34756759
Dx34756759Dx34756759
Dx34756759
 
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
 
military robot based ARM controller.pptx
military robot based ARM controller.pptxmilitary robot based ARM controller.pptx
military robot based ARM controller.pptx
 
The ARM Based Granary Environmental Monitoring and Controlling System using Z...
The ARM Based Granary Environmental Monitoring and Controlling System using Z...The ARM Based Granary Environmental Monitoring and Controlling System using Z...
The ARM Based Granary Environmental Monitoring and Controlling System using Z...
 

Más de OpenEnergyMonitor

Open energymonitor saw lightning talk jan 2013
Open energymonitor saw lightning talk jan 2013Open energymonitor saw lightning talk jan 2013
Open energymonitor saw lightning talk jan 2013
OpenEnergyMonitor
 
Ignite CleanWeb OpenEnergyMonitor presentation
Ignite CleanWeb OpenEnergyMonitor presentationIgnite CleanWeb OpenEnergyMonitor presentation
Ignite CleanWeb OpenEnergyMonitor presentation
OpenEnergyMonitor
 

Más de OpenEnergyMonitor (14)

Open vehicle monitoring system (ovms)
Open vehicle monitoring system (ovms)Open vehicle monitoring system (ovms)
Open vehicle monitoring system (ovms)
 
OpenEnergyMonitor: Univeristy of Turin GreenTo Build Workshop
OpenEnergyMonitor: Univeristy of Turin GreenTo Build WorkshopOpenEnergyMonitor: Univeristy of Turin GreenTo Build Workshop
OpenEnergyMonitor: Univeristy of Turin GreenTo Build Workshop
 
Ecohome lab: From Monitoring to Control
Ecohome lab: From Monitoring to ControlEcohome lab: From Monitoring to Control
Ecohome lab: From Monitoring to Control
 
OSUG - Heat Pumps & Heat Pump Monitoring #2
OSUG - Heat Pumps & Heat Pump Monitoring #2OSUG - Heat Pumps & Heat Pump Monitoring #2
OSUG - Heat Pumps & Heat Pump Monitoring #2
 
OSHUG - OpenEnergyMonitor System Overview & Interoperability Feb 2016
OSHUG - OpenEnergyMonitor System Overview & Interoperability Feb 2016OSHUG - OpenEnergyMonitor System Overview & Interoperability Feb 2016
OSHUG - OpenEnergyMonitor System Overview & Interoperability Feb 2016
 
Heatpumps and Heatpump Monitoring
Heatpumps and Heatpump MonitoringHeatpumps and Heatpump Monitoring
Heatpumps and Heatpump Monitoring
 
Connecting all the things with MQTT & Node-RED
Connecting all the things with MQTT & Node-REDConnecting all the things with MQTT & Node-RED
Connecting all the things with MQTT & Node-RED
 
Air Source Heatpump Case Study - Part 1
Air Source Heatpump Case Study - Part 1Air Source Heatpump Case Study - Part 1
Air Source Heatpump Case Study - Part 1
 
OpenEnergyMonitor Project April 2015
OpenEnergyMonitor Project April 2015 OpenEnergyMonitor Project April 2015
OpenEnergyMonitor Project April 2015
 
Open energymonitor saw lightning talk jan 2013
Open energymonitor saw lightning talk jan 2013Open energymonitor saw lightning talk jan 2013
Open energymonitor saw lightning talk jan 2013
 
Ignite CleanWeb OpenEnergyMonitor presentation
Ignite CleanWeb OpenEnergyMonitor presentationIgnite CleanWeb OpenEnergyMonitor presentation
Ignite CleanWeb OpenEnergyMonitor presentation
 
Elektro Camp, Offenburg - OpenEnergyMonitor Presentation
Elektro Camp, Offenburg - OpenEnergyMonitor Presentation Elektro Camp, Offenburg - OpenEnergyMonitor Presentation
Elektro Camp, Offenburg - OpenEnergyMonitor Presentation
 
Open source and Alternative technology
Open source and Alternative technologyOpen source and Alternative technology
Open source and Alternative technology
 
OEM presentation London Green Hackathon Jan 28th 2012
OEM presentation London Green Hackathon Jan 28th 2012OEM presentation London Green Hackathon Jan 28th 2012
OEM presentation London Green Hackathon Jan 28th 2012
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

OSHUG #26 Low Power Wireless Sensors

  • 1. Low Power Wireless Sensors Glyn Hudson @openenergymon OSHUG #26 16/05/13 ...and their role in helping us build a sustainable future
  • 2. 2 Open-source sustainable technologies Technology that empowers us to participate in creating a future where we live within ecological limits. openenergymonitor.org
  • 3. 3 Sustainable Energy Tools to help us work towards sustainable energy in a way that adds up. Energy Stacks based on David MacKay's book: withouthotair.comTrystan's Stack 2012 Only 17% Sustainable Energy 2030 Target* 2012 UK Average 2012 Trystan *CAT zerocarbonbritain.com/
  • 7.
  • 9. 9 An open-source web-app for processing, logging and visualising energy, temperature and other environmental data ●Open-source, downloadable and installable on your own server (e.g RaspberryPi) ●Specifically designed with processing and visualising energy data in mind. ● Written in php, mysql, javascript and jquery ● Follows MVC architecture emoncms.org openenergymonitor.org/emon/emoncms github.com/emoncms
  • 10. Visual Dashboard Editor Drop & drop, customisable graphs, re-sizeable widgets, buttons and live feeds
  • 11. 11 Contents Technology of a wireless node - Wireless considerations - Wireless Module Hardware - Mircrocontrollers - Low power optimisation - Battery Life Estimation Practical Examples - Home Temperature and Energy Monitoring - Home energy modelling & simulation - Heat Pump Monitoring - Bee Hive Temperature Monitoring The Future - Current Hardware Prototypes Live Demo?
  • 12. 12 Wireless Considerations – ISM bands ● Industrial Scientific and Medical ● Licence exempt ● 433Mhz, 915Mhz, 868Mhz and 2.4GHz ● Commonly used for low power, low range wireless transmission ● Applications need to be interference tolerant ● 433/868/912MHz - Restricted duty cycle <10% ● Lower frequency's have less free space attenuation and better propagation – better range 2.4GHz 433MHz / 868Mhz / 915Mhz Wifi Doorbells Bluetooth Security Systems Zigbee Cordless telephones Weather Stations
  • 13. 13 Low Power Wireless Modules RFM12B (HopeRF) SRF (Ciseco) TI - CC1110 XBEE (Digi) NRF24L01+ (Nordic Semi) Interface SPI Serial / SPI Serial SPI Freq 868 Mhz 868 Mhz 2.4GHz 2.4 Ghz AES Encryption NO YES YES NO Power Supply 2.2V - 3.8V 2.0V - 3.6V 2.1V – 3.6V 1.9 – 3.6 V Rx / TX Power 14 / 23mA 20 / 36.2mA 35/ 38mA 11.3/13.5ma Sleep mode 1 132.2ua @ 2.6v 26uA Sleep mode 2 0.3uA 0.2uA @2.6v <1uA <1uA (900nA) Price (inc VAT) x1 May 2013 £4.79 £11.52 made in UK! £17 £4 Regulatory Approval FCC/ETSI No In Progress Yes No http://blog.homelabs.org.uk/wireless-connectivity/
  • 14. 14 Microcontrollers ● Ciseco RFu – ATmega328 MCU plus SRF / RFM12B radio in XBEE form factor ● Designed & made in UK ATmega328 with Arduino Uno bootloader + commonly used + easy to develop for using Arduino IDE + easy to upload code and debug + active community - not the most low power option, but not too bad: 6.8mA running @ 16Mhz 3.3V 4.6uA while sleeping
  • 15. 15 emonTx / emonTx Arduino Shield Energy monitoring node emonTx Low Power Temp Semi – populated emonTx with 2 x AA and DS28B20 temperature sensor NanodeRF Web-connected base station - Arduino clone with ENC28J60 Ethernet and RFM12B wireless onboard RFM12Pi RFM12B wireless Raspberry Pi expansion board. Uses Pi's Serial UART GPIO pins OpenEnergyMonitor Modules – ATmega328 & RFM12B wireless
  • 16. 16 http://nathan.chantrell.net/tinytx-wireless-sensor/ ATtiny84 Based Nodes x http://harizanov.com/wiki/wiki-home/funky/ http://jeelabs.net/projects/hardware/wiki/JeeNode_Micro + Cheaper and smaller than ATmega328 + easily run off internal 8Mhz oscillator + Can use Arduino IDE (with some tweaks) - Does not support hardware serial - Requires ISP programmer to upload code - Harder to debug Examples with DS18B20 temperate sensor and DHT22 Humidity Sensor TinyTX – Nathan Chantrell Funky Sensor – Martin Harizanov JeeNode Micro – JCW JeeLabs
  • 17. 17 Low Power Ticks - software ● AVR sleep mode – Disable all unneeded functions (e.g ADC) and put processor to sleep – Reduce current consumption from 6.4mA to 4.6uA ● Requires internal watchdog timer or external interrupt to wakeup ● Radio should also be put to sleep – if not needed for receiving packets – 14mA (Rx) / 23mA (Tx) reduced to 0.3uA when sleeping for RFM12B * Running @ 16Mhz 3.3V - 6.4mA * SLEEP_MODE_IDLE -the least power savings (2.8mA * SLEEP_MODE_ADC * SLEEP_MODE_PWR_SAVE * SLEEP_MODE_STANDBY * SLEEP_MODE_PWR_DOWN -the most power savings (4.6uA) https://github.com/jcw/jeelib/blob/master/Ports.cpp http://jeelabs.org/2011/06/26/current-measurements/
  • 18. 18 Simple Low Power RFM12B example ● Simple sketch to send out an ever increasing integer once every minute ● Estimated battery life of 3 years on a single 1300mAhr 3.3V LiPo battery – ATmega328 @ 16Mhz, approx average current draw <57uA http://jeelabs.org/2013/04/18/9-50-days-and-counting/ JeeLabs Real word test, 2.5 years and still going!
  • 19. 19 Battery Life Estimator Tool http://oregonembedded.com/batterycalc.htm
  • 20. 20 Low Power Tricks - Hardware ● Turn off sensor in-between reads – e.g. DS18B20 VCC powered from MCU digital I/O ● Don't use a voltage regulator – Eliminate quiescent current draw: MCP1702 1.6 uA , LM7805 5-8mA!) ● DC-DC boost converter ● Disable ATmega BOD – Arduino default is 2.6V (Brown Out Detection) ● Slow down – ATmega328 can work down to 1.8V with 4Mhz clock – default is 16Mhz ● Energy harvesting – Mini solar PV – Battery less operation – Super capacitor – PFET to disable RFM12B at startup Energy consumption of RFM12B packet transmission with ATtiny84. Duration 5.7ms, average: 10mA, peak 25mA http://jeelabs.org/2010/09/03/jeenode-goes-solar/ http://harizanov.com/2013/04/scope-screenshots/
  • 21. 21 Practical Example – Home Temperature Monitoring
  • 22. 22 Home Heating Energy Input & Temperature Monitoring January 2011 - April 2013
  • 23. 23
  • 24. 24
  • 25. 25
  • 26. 26
  • 28. 28 Heat Pump Monitoring John Cantor, heat pump consultant ● Remotely monitor heat pump performance ● Identify problems ● Optimise control by providing feedback www.heatpumps.co.ukhttp://openenergymonitor.org/emon/applications/heatpump
  • 29. 29
  • 30. 30 RF Link Ambient Temp probe Solar PV Battery Core temperature probe Winter 2010 Bee Hive Monitoring Clive Hudson, Meirionnydd Bee Keepers http://openenergymonitor.org/emon/beehive/v2
  • 31. 31 A 'normal' bee temperature week
  • 32. 32 The Future - Hardware Prototypes emonTH TEMPERATURE & HUMIDITY open hardware emonTxV3 energy monitoring node openenergymonitor.org open hardware ● SMT design ● Enclosures