際際滷

際際滷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

Similar to IotCeption - Energy Measurement of Android Things on Raspberry PI 3 with Arduino Uno (20)

@Smart farming using io t
@Smart farming using io t@Smart farming using io t
@Smart farming using io t
Arun Singh
Cogswell college 20200120 v8 copy
Cogswell college 20200120 v8 copyCogswell college 20200120 v8 copy
Cogswell college 20200120 v8 copy
home
Internet of Things Workshop
Internet of Things WorkshopInternet of Things Workshop
Internet of Things Workshop
Dr. Mazlan Abbas
IOT Presentation Seminar PPT
IOT Presentation Seminar PPTIOT Presentation Seminar PPT
IOT Presentation Seminar PPT
Himanshu Jaswal
Iot proposal by nadeem ahmed
Iot proposal by nadeem ahmedIot proposal by nadeem ahmed
Iot proposal by nadeem ahmed
NA000000
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
pandey97
Monitoring Section of IoTs Smart Garbage System
Monitoring Section of IoTs Smart Garbage SystemMonitoring Section of IoTs Smart Garbage System
Monitoring Section of IoTs Smart Garbage System
ijtsrd
When Computers are Everywhere, Will we have superpowers.
When Computers are Everywhere, Will we have superpowers.When Computers are Everywhere, Will we have superpowers.
When Computers are Everywhere, Will we have superpowers.
Guy Bieber
The Internet of Things - beyond the hype and towards ROI
The Internet of Things - beyond the hype and towards ROIThe Internet of Things - beyond the hype and towards ROI
The Internet of Things - beyond the hype and towards ROI
Perry Lea
IoT project: best 30 ideas with cloud, raspberry pi, and arduino
IoT project: best 30 ideas with cloud, raspberry pi, and arduinoIoT project: best 30 ideas with cloud, raspberry pi, and arduino
IoT project: best 30 ideas with cloud, raspberry pi, and arduino
MarkMojumdar
Next Decade of Internet of Things and its
Next Decade of Internet of Things and itsNext Decade of Internet of Things and its
Next Decade of Internet of Things and its
Ruma Shukla
5G What it means for IoT
5G What it means for IoT5G What it means for IoT
5G What it means for IoT
Mr Risman
于亳舒亟 舒亟舒于舒. 仆亠仆亠 于亠亠亶 - 仄仂亟仆仂亠 仍仂于仂 亳仍亳 亠舒仍仆仂? 个-仂仂仆亠亢 2016
于亳舒亟 舒亟舒于舒. 仆亠仆亠 于亠亠亶 - 仄仂亟仆仂亠 仍仂于仂 亳仍亳 亠舒仍仆仂? 个-仂仂仆亠亢 2016于亳舒亟 舒亟舒于舒. 仆亠仆亠 于亠亠亶 - 仄仂亟仆仂亠 仍仂于仂 亳仍亳 亠舒仍仆仂? 个-仂仂仆亠亢 2016
于亳舒亟 舒亟舒于舒. 仆亠仆亠 于亠亠亶 - 仄仂亟仆仂亠 仍仂于仂 亳仍亳 亠舒仍仆仂? 个-仂仂仆亠亢 2016
个-仂仂仆亠亢
IRJET- IoT based Garbage Management System for Smart City using Raspberry Pi
IRJET- IoT based Garbage Management System for Smart City using Raspberry PiIRJET- IoT based Garbage Management System for Smart City using Raspberry Pi
IRJET- IoT based Garbage Management System for Smart City using Raspberry Pi
IRJET Journal
What Is Internet of Things?
What Is Internet of Things?What Is Internet of Things?
What Is Internet of Things?
CDN Mobile Solutions
Internet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an IcebergInternet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an Iceberg
Dr. Mazlan Abbas
IRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET- Iot based Interactive Display Unit using Raspberry PIIRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET Journal
Internet of Things for smart city
Internet of Things for smart cityInternet of Things for smart city
Internet of Things for smart city
Muhammad Rumman Islam Nur
Greening Artificial Intelligence
Greening Artificial IntelligenceGreening Artificial Intelligence
Greening Artificial Intelligence
Alexandra Petru
INTERNET OF THINGS4-4
INTERNET OF THINGS4-4INTERNET OF THINGS4-4
INTERNET OF THINGS4-4
saiprashanth katragadda
@Smart farming using io t
@Smart farming using io t@Smart farming using io t
@Smart farming using io t
Arun Singh
Cogswell college 20200120 v8 copy
Cogswell college 20200120 v8 copyCogswell college 20200120 v8 copy
Cogswell college 20200120 v8 copy
home
Internet of Things Workshop
Internet of Things WorkshopInternet of Things Workshop
Internet of Things Workshop
Dr. Mazlan Abbas
IOT Presentation Seminar PPT
IOT Presentation Seminar PPTIOT Presentation Seminar PPT
IOT Presentation Seminar PPT
Himanshu Jaswal
Iot proposal by nadeem ahmed
Iot proposal by nadeem ahmedIot proposal by nadeem ahmed
Iot proposal by nadeem ahmed
NA000000
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
pandey97
Monitoring Section of IoTs Smart Garbage System
Monitoring Section of IoTs Smart Garbage SystemMonitoring Section of IoTs Smart Garbage System
Monitoring Section of IoTs Smart Garbage System
ijtsrd
When Computers are Everywhere, Will we have superpowers.
When Computers are Everywhere, Will we have superpowers.When Computers are Everywhere, Will we have superpowers.
When Computers are Everywhere, Will we have superpowers.
Guy Bieber
The Internet of Things - beyond the hype and towards ROI
The Internet of Things - beyond the hype and towards ROIThe Internet of Things - beyond the hype and towards ROI
The Internet of Things - beyond the hype and towards ROI
Perry Lea
IoT project: best 30 ideas with cloud, raspberry pi, and arduino
IoT project: best 30 ideas with cloud, raspberry pi, and arduinoIoT project: best 30 ideas with cloud, raspberry pi, and arduino
IoT project: best 30 ideas with cloud, raspberry pi, and arduino
MarkMojumdar
Next Decade of Internet of Things and its
Next Decade of Internet of Things and itsNext Decade of Internet of Things and its
Next Decade of Internet of Things and its
Ruma Shukla
5G What it means for IoT
5G What it means for IoT5G What it means for IoT
5G What it means for IoT
Mr Risman
于亳舒亟 舒亟舒于舒. 仆亠仆亠 于亠亠亶 - 仄仂亟仆仂亠 仍仂于仂 亳仍亳 亠舒仍仆仂? 个-仂仂仆亠亢 2016
于亳舒亟 舒亟舒于舒. 仆亠仆亠 于亠亠亶 - 仄仂亟仆仂亠 仍仂于仂 亳仍亳 亠舒仍仆仂? 个-仂仂仆亠亢 2016于亳舒亟 舒亟舒于舒. 仆亠仆亠 于亠亠亶 - 仄仂亟仆仂亠 仍仂于仂 亳仍亳 亠舒仍仆仂? 个-仂仂仆亠亢 2016
于亳舒亟 舒亟舒于舒. 仆亠仆亠 于亠亠亶 - 仄仂亟仆仂亠 仍仂于仂 亳仍亳 亠舒仍仆仂? 个-仂仂仆亠亢 2016
个-仂仂仆亠亢
IRJET- IoT based Garbage Management System for Smart City using Raspberry Pi
IRJET- IoT based Garbage Management System for Smart City using Raspberry PiIRJET- IoT based Garbage Management System for Smart City using Raspberry Pi
IRJET- IoT based Garbage Management System for Smart City using Raspberry Pi
IRJET Journal
Internet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an IcebergInternet of Things - The Tip of an Iceberg
Internet of Things - The Tip of an Iceberg
Dr. Mazlan Abbas
IRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET- Iot based Interactive Display Unit using Raspberry PIIRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET- Iot based Interactive Display Unit using Raspberry PI
IRJET Journal
Greening Artificial Intelligence
Greening Artificial IntelligenceGreening Artificial Intelligence
Greening Artificial Intelligence
Alexandra Petru

Recently uploaded (20)

FIRST Tech Challenge/Robotics: Scouting out the competition
FIRST Tech Challenge/Robotics: Scouting out the competitionFIRST Tech Challenge/Robotics: Scouting out the competition
FIRST Tech Challenge/Robotics: Scouting out the competition
FTC Team 23014
green buildings civil engineering -3-1.ppt
green buildings civil engineering -3-1.pptgreen buildings civil engineering -3-1.ppt
green buildings civil engineering -3-1.ppt
devaragudidinesh
English presentation, tests and experiments.pptx
English presentation, tests and experiments.pptxEnglish presentation, tests and experiments.pptx
English presentation, tests and experiments.pptx
SamahEL2
wind energy types of turbines and advantages
wind energy types of turbines and advantageswind energy types of turbines and advantages
wind energy types of turbines and advantages
MahmudHalef
RES REVIEW 21qqqqqqqqqqqqqqqq1sbsjsnskdndndksns
RES REVIEW 21qqqqqqqqqqqqqqqq1sbsjsnskdndndksnsRES REVIEW 21qqqqqqqqqqqqqqqq1sbsjsnskdndndksns
RES REVIEW 21qqqqqqqqqqqqqqqq1sbsjsnskdndndksns
lakshmirajanna1983
Lecture 16 - 17 - NonTraditional Machining Presentation.ppt
Lecture 16 - 17 - NonTraditional Machining Presentation.pptLecture 16 - 17 - NonTraditional Machining Presentation.ppt
Lecture 16 - 17 - NonTraditional Machining Presentation.ppt
INSTITUTE OF ENGINEERING /BKC
Production Planning & Control and Inventory Management.pptx
Production Planning & Control and Inventory Management.pptxProduction Planning & Control and Inventory Management.pptx
Production Planning & Control and Inventory Management.pptx
VirajPasare
Urban Design and Planning Portfolio .pdf
Urban Design and Planning Portfolio .pdfUrban Design and Planning Portfolio .pdf
Urban Design and Planning Portfolio .pdf
sonam254547
Unit-03 Cams and Followers in Mechanisms of Machines.pptx
Unit-03 Cams and Followers in Mechanisms of Machines.pptxUnit-03 Cams and Followers in Mechanisms of Machines.pptx
Unit-03 Cams and Followers in Mechanisms of Machines.pptx
Kirankumar Jagtap
Distributed renewable energy in Colombia.OECD2023.pdf
Distributed renewable energy in Colombia.OECD2023.pdfDistributed renewable energy in Colombia.OECD2023.pdf
Distributed renewable energy in Colombia.OECD2023.pdf
SantiagoCardonaGallo
UHV UNIT-I INTRODUCTION TO VALUE EDUCATION .pptx
UHV UNIT-I INTRODUCTION TO VALUE EDUCATION  .pptxUHV UNIT-I INTRODUCTION TO VALUE EDUCATION  .pptx
UHV UNIT-I INTRODUCTION TO VALUE EDUCATION .pptx
ariomthermal2031
UHV unit-2UNIT - II HARMONY IN THE HUMAN BEING.pptx
UHV unit-2UNIT - II HARMONY IN THE HUMAN BEING.pptxUHV unit-2UNIT - II HARMONY IN THE HUMAN BEING.pptx
UHV unit-2UNIT - II HARMONY IN THE HUMAN BEING.pptx
ariomthermal2031
UHV Unit - 4 HARMONY IN THE NATURE AND EXISTENCE.pptx
UHV Unit - 4 HARMONY IN THE NATURE AND EXISTENCE.pptxUHV Unit - 4 HARMONY IN THE NATURE AND EXISTENCE.pptx
UHV Unit - 4 HARMONY IN THE NATURE AND EXISTENCE.pptx
ariomthermal2031
NBA Criteria TIER I and TIER II Comparison
NBA Criteria TIER I and TIER II ComparisonNBA Criteria TIER I and TIER II Comparison
NBA Criteria TIER I and TIER II Comparison
Dr INBAMALAR T M
Instill-AI------------------------------
Instill-AI------------------------------Instill-AI------------------------------
Instill-AI------------------------------
Jason Kuan
Chapter1-Introduction 旅留粒粒旅虜劉 劉僚僚凌旅竜
Chapter1-Introduction 旅留粒粒旅虜劉 劉僚僚凌旅竜Chapter1-Introduction 旅留粒粒旅虜劉 劉僚僚凌旅竜
Chapter1-Introduction 旅留粒粒旅虜劉 劉僚僚凌旅竜
ssuserb91a20
Requirements Engineering for Secure Software
Requirements Engineering for Secure SoftwareRequirements Engineering for Secure Software
Requirements Engineering for Secure Software
Dr Sarika Jadhav
Call for Papers - 6th International Conference on Big Data and Machine Learni...
Call for Papers - 6th International Conference on Big Data and Machine Learni...Call for Papers - 6th International Conference on Big Data and Machine Learni...
Call for Papers - 6th International Conference on Big Data and Machine Learni...
IJDKP
Telehealth technology A new horizon in health care
Telehealth technology  A new horizon in health careTelehealth technology  A new horizon in health care
Telehealth technology A new horizon in health care
Dr INBAMALAR T M
Protecting Secrets in Transparent Systems
Protecting Secrets in Transparent SystemsProtecting Secrets in Transparent Systems
Protecting Secrets in Transparent Systems
LucaBarbaro3
FIRST Tech Challenge/Robotics: Scouting out the competition
FIRST Tech Challenge/Robotics: Scouting out the competitionFIRST Tech Challenge/Robotics: Scouting out the competition
FIRST Tech Challenge/Robotics: Scouting out the competition
FTC Team 23014
green buildings civil engineering -3-1.ppt
green buildings civil engineering -3-1.pptgreen buildings civil engineering -3-1.ppt
green buildings civil engineering -3-1.ppt
devaragudidinesh
English presentation, tests and experiments.pptx
English presentation, tests and experiments.pptxEnglish presentation, tests and experiments.pptx
English presentation, tests and experiments.pptx
SamahEL2
wind energy types of turbines and advantages
wind energy types of turbines and advantageswind energy types of turbines and advantages
wind energy types of turbines and advantages
MahmudHalef
RES REVIEW 21qqqqqqqqqqqqqqqq1sbsjsnskdndndksns
RES REVIEW 21qqqqqqqqqqqqqqqq1sbsjsnskdndndksnsRES REVIEW 21qqqqqqqqqqqqqqqq1sbsjsnskdndndksns
RES REVIEW 21qqqqqqqqqqqqqqqq1sbsjsnskdndndksns
lakshmirajanna1983
Lecture 16 - 17 - NonTraditional Machining Presentation.ppt
Lecture 16 - 17 - NonTraditional Machining Presentation.pptLecture 16 - 17 - NonTraditional Machining Presentation.ppt
Lecture 16 - 17 - NonTraditional Machining Presentation.ppt
INSTITUTE OF ENGINEERING /BKC
Production Planning & Control and Inventory Management.pptx
Production Planning & Control and Inventory Management.pptxProduction Planning & Control and Inventory Management.pptx
Production Planning & Control and Inventory Management.pptx
VirajPasare
Urban Design and Planning Portfolio .pdf
Urban Design and Planning Portfolio .pdfUrban Design and Planning Portfolio .pdf
Urban Design and Planning Portfolio .pdf
sonam254547
Unit-03 Cams and Followers in Mechanisms of Machines.pptx
Unit-03 Cams and Followers in Mechanisms of Machines.pptxUnit-03 Cams and Followers in Mechanisms of Machines.pptx
Unit-03 Cams and Followers in Mechanisms of Machines.pptx
Kirankumar Jagtap
Distributed renewable energy in Colombia.OECD2023.pdf
Distributed renewable energy in Colombia.OECD2023.pdfDistributed renewable energy in Colombia.OECD2023.pdf
Distributed renewable energy in Colombia.OECD2023.pdf
SantiagoCardonaGallo
UHV UNIT-I INTRODUCTION TO VALUE EDUCATION .pptx
UHV UNIT-I INTRODUCTION TO VALUE EDUCATION  .pptxUHV UNIT-I INTRODUCTION TO VALUE EDUCATION  .pptx
UHV UNIT-I INTRODUCTION TO VALUE EDUCATION .pptx
ariomthermal2031
UHV unit-2UNIT - II HARMONY IN THE HUMAN BEING.pptx
UHV unit-2UNIT - II HARMONY IN THE HUMAN BEING.pptxUHV unit-2UNIT - II HARMONY IN THE HUMAN BEING.pptx
UHV unit-2UNIT - II HARMONY IN THE HUMAN BEING.pptx
ariomthermal2031
UHV Unit - 4 HARMONY IN THE NATURE AND EXISTENCE.pptx
UHV Unit - 4 HARMONY IN THE NATURE AND EXISTENCE.pptxUHV Unit - 4 HARMONY IN THE NATURE AND EXISTENCE.pptx
UHV Unit - 4 HARMONY IN THE NATURE AND EXISTENCE.pptx
ariomthermal2031
NBA Criteria TIER I and TIER II Comparison
NBA Criteria TIER I and TIER II ComparisonNBA Criteria TIER I and TIER II Comparison
NBA Criteria TIER I and TIER II Comparison
Dr INBAMALAR T M
Instill-AI------------------------------
Instill-AI------------------------------Instill-AI------------------------------
Instill-AI------------------------------
Jason Kuan
Chapter1-Introduction 旅留粒粒旅虜劉 劉僚僚凌旅竜
Chapter1-Introduction 旅留粒粒旅虜劉 劉僚僚凌旅竜Chapter1-Introduction 旅留粒粒旅虜劉 劉僚僚凌旅竜
Chapter1-Introduction 旅留粒粒旅虜劉 劉僚僚凌旅竜
ssuserb91a20
Requirements Engineering for Secure Software
Requirements Engineering for Secure SoftwareRequirements Engineering for Secure Software
Requirements Engineering for Secure Software
Dr Sarika Jadhav
Call for Papers - 6th International Conference on Big Data and Machine Learni...
Call for Papers - 6th International Conference on Big Data and Machine Learni...Call for Papers - 6th International Conference on Big Data and Machine Learni...
Call for Papers - 6th International Conference on Big Data and Machine Learni...
IJDKP
Telehealth technology A new horizon in health care
Telehealth technology  A new horizon in health careTelehealth technology  A new horizon in health care
Telehealth technology A new horizon in health care
Dr INBAMALAR T M
Protecting Secrets in Transparent Systems
Protecting Secrets in Transparent SystemsProtecting Secrets in Transparent Systems
Protecting Secrets in Transparent Systems
LucaBarbaro3

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