Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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

Cisco #devnetcreate session in #SanFrancisco

  • Login to see the comments

  • Be the first to like this

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

  1. 1. IOTception Energy measurement of AndroidThings on Raspberry Pi with Arduino CTO, Greenspector @SimplyGreenIT Olivier PHILIPPOT
  2. 2. Olivier Philippot CTO, Greenspector #Eco-design #greenIT #Energy for software
  3. 3. Why do you need to measure energy ? Sofware is eating the world … and it needs energy!
  4. 4. 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
  5. 5. How they measure energy ? Before Now
  6. 6. How we measure energy ? We don’t.
  7. 7. Not so true…
  8. 8. Measurement in Android
  9. 9. IoT classical architecture Server Gateway Smartphone Things
  10. 10. Use case : Send weather information by SMS Raspberry PI OS : AndroidThings (make the Apps meetThings !) SMS Service : CiscoTropoPimoroni Rainbow Hat Weather Station
  11. 11. Under test : AndroidThings on Raspberry
  12. 12. Arduino to manage measurement
  13. 13. Arduino + INA219 Shunt to measure
  14. 14. The measurement infrastructure Arduino Shunt Raspberry USB Power For Raspberry Arduino to PC For data Network
  15. 15. Arduino + INA219 Shunt to measure
  16. 16. The code : Sending SMS from IoT withTropo
  17. 17. Energy Idle SMS
  18. 18. The result on 10 000 mAh battery -8 hours -2 hours -20 mn
  19. 19. Is it the Hardware or Software’s fault?
  20. 20. Google Android System UI
  21. 21. Energy x3
  22. 22. Event in System UI Software events Hardware events Android events management Algorithms Graphics
  23. 23. Events are like butterfly effect
  24. 24. Improvement • 1 event managed every 20 events + 42 mn
  25. 25. 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
  26. 26. 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!
  27. 27. Keep in touch @simplygreenit https://greenspector.com/en

×