際際滷

際際滷Share a Scribd company logo
IOTception
Energy measurement of AndroidThings on Raspberry Pi with Arduino
CTO, Greenspector
@SimplyGreenIT
Olivier PHILIPPOT
Olivier Philippot
CTO, Greenspector
#Eco-design #greenIT #Energy for software
Why do you need to
measure energy ?
Sofware is eating the
world
 and it needs energy!
Transporting bits now
uses 50% more
energy than world
aviation, and will
likely use twice as
much by 2030.
Mark P. Mills - CEO, Digital Power Group - www.tech-pundit.com
IotCeption - Energy Measurement of Android Things on Raspberry PI 3 with Arduino Uno
How they measure energy ?
Before Now
How we measure energy ?
We dont.
Not so true
Measurement in Android
IoT classical architecture
Server
Gateway
Smartphone
Things
Use case : Send weather information by SMS
Raspberry PI
OS : AndroidThings
(make the Apps
meetThings !)
SMS Service :
CiscoTropoPimoroni
Rainbow Hat
Weather
Station
Under test : AndroidThings on Raspberry
Arduino to manage measurement
Arduino + INA219 Shunt to measure
The measurement infrastructure
Arduino
Shunt
Raspberry
USB Power
For Raspberry
Arduino to PC
For data
Network
Arduino + INA219 Shunt to measure
The code : Sending SMS from IoT withTropo
Energy
Idle
SMS
The result on 10 000 mAh battery
-8 hours
-2 hours
-20 mn
Is it the Hardware
or Softwares fault?
Google Android System UI
Energy
x3
Event in System UI
Software
events
Hardware
events
Android events management
Algorithms
Graphics
Events are like butterfly effect
Improvement
 1 event managed every 20 events
+ 42 mn
Premature Optimization ?
There is no doubt that the grail of
efficiency leads to abuse. Programmers
waste enormous amounts of time thinking
about, or worrying about, the speed of
noncritical parts of their programs [...]We
should forget about small efficiencies, say
about 97% of the time: premature
optimization is the root of all evil.Yet we
should not pass up our opportunities in
that critical 3%. 
 Donald Knuth - 1974
Conclusion
 IoT energy consumption will bloat not because of
code but due to managed data!
 An autonomous IoT is not so simple
 Measure, Measure and Measure
 Efficient IoT (and cloud) is good for earth and for
users!
Keep in touch
@simplygreenit
https://greenspector.com/en
IotCeption - Energy Measurement of Android Things on Raspberry PI 3 with Arduino Uno

More Related Content

IotCeption - Energy Measurement of Android Things on Raspberry PI 3 with Arduino Uno

Editor's Notes

  • #3: Im Olivier Philippot and Im CTO of Greenspector. You can easily hear that Im not american but a little frenchy. And Im really happy to be here ! What do I do ? Providing energy knowledge and efficiency for developers. That is why I created greenspector a tool suite for energy measurement and green IT !
  • #4: Sofware is eating the world and it needs energy !
  • #6: Mobility is everywhere. And there is a real impact on the autonomy, which we can see when we need to plug our smartphone every night. With IoT, it would be the same : try and change the battery on your hundred devices every year and your wallet will feel it ! [L辿a] Si cest une question type 束pourquoi devez vous mesurer l辿nergie?損 = Why do you need to measure energy? MAIS si cest plut担t affirmatif type 束Pour vous devez mesurer l辿nergie損 = Why you need to measure energy (concept applicable pour les 2 prochaines slides aussi)
  • #10: circuit
  • #12: [L辿a] Pour SMS jutiliserai 束text損 dans le langage quotidien apr竪s je ne sais pas lusage du mot 束technique損
  • #17: Costly .
  • #19: [L辿a] Pour SMS jutiliserai 束text損 dans le langage quotidien apr竪s je ne sais pas lusage du mot 束technique損
  • #20: 8h alphanumeric displays
  • #24: Hardware
  • #26: 40mn
  • #28: Solicitate ?
  • #30: Les Am辿ricains aiment finir par un 束 Thank you for listenning損 avec un grand sourire la fin + ajouter tes contact details (nom/email/@) la fin pour ceux qui ont rejoint en cours de conf