SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Having fun with a solar panel, camera and raspberry.
How with a few dollars you end making IoT!
Jean-Frederic Clere @jfclere
Agenda
● Introduction.
● How it started...
● Next the zero + big panel in Neuchatel
● Looking for cheaper solution and solving problems
● Results the raspberry on the balcony
● Adding more RPI
● Making it objects other fun stuff
● Q & A
Who I am
● Red Hat employee
−www.redhat.com
● Tomcat / httpd committer
−Tomcat.apache.org /httpd.apache.org
● In Neuchatel Office
How does it started
● Needs of cheap cluster demos (for TomcatCon)
N1 HAT
Server
WIFI
N2 HAT
WIFI
FireFox / Chrome / ansible
MASTER
Bare Metal Cloud demo
How does it started
● Needs of cheap cluster demos (for TomcatCon)
● New RPI4 = update the cluster.
● What with the old ones?)
What happens to the old ones…
RPI3
connected to relay board (hyperion)
connected the switch (manual comment)
connected wifi and internet (remote control)
Using GPIO
Apache HTTPD and cgi python
https://github.com/jfclere/door
What happens to the old ones…
RPI3
windsensor 9V power with USB
mcp3008 to convert the voltage
using SPI
Python script to read SPI and Wifi to the other
RPI3
https://github.com/jfclere/door/blob/master/mc
p3008.py
What happens to the old ones…
RPI3 (well I changed it to a RPIzero W)
Controlled by a server ssh
Use raspberry pi v2 camera
Use BME280 I2C temp/pressure/humidity
https://github.com/jfclere/pisolar/blob/main/b
me280.py
What happens to the old ones = avoid this!!
Going solar Try 1
● Pi Zero W 260mA/400mA / Camera
● 9W panel
● Li-Po Rider PRO (charge and USB power)
● UPS PIco - LiPO Battery 8000mAh
problems…
● Dead after the first rainy days.
● Not really a few dollar project:
− Solar panel : ~ 100 USD
− Li-Po Rider PRO ~ 20 USD
− LiPO Battery ~ 50 USD
− Camera ~ 20 USD
Solution: Stop the RPI when needed. Try1
−Cut the power (USB converter as off/on)
−Use Arduino and relay for off/on
−Use I2C to control the Arduino.
−
Solution: Stop the RPI when needed. Try2
Problems of Try1:
● Relay uses a too much energy
● Arduino doesn’t work with 3.7V
Solution:
● Use mosfet (~1 USD)
● Use ATTiny45 (1.8-5.5V, low power 300μA, ~1USD)
● Software on ATTiny (Use Arduino IDE)
● Software on RPI3 python+shell script
● Cadaver and webdav to send images to server
Going solar try2
Going solar try2
With BME280 I2C sensor
Going for next tries
● Cheaper panels ~20USD
● Small batteries (and cheaper) ~ 10USD
● Self made boxes (~1USD)
● Cheaper USB converter
− PowerBoost 500 Basic 1.8V to USB (~10USD)
Failures panel
Failures printing box
Failures humidity
Actually running version
Going Objects
Price: about 95 USD
Small enough
Easy install (Shell script for RPI, Arduino + writer for the ATTiny45)
Use Wifi (wpa_supplicant.conf)
Configuration in the server via uniqueid (etc/machineid).
pi4neuchatel Directory where send information
10 Time to wait before next cycle
440 Low battery voltage value (here 2.62 V)
0fd108a Github commit id
Try it your self
Everything at:
https://github.com/jfclere/pisolar
Ask me:
jfclere@gmail.com
QUESTIONS
THANK YOU!

Weitere ähnliche Inhalte

Ähnlich wie 01_clere_Having fun with a solar panel, camera and raspberry. How with a few dollars y ou end making IoT!.pdf

IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
David Fowler
 

Ähnlich wie 01_clere_Having fun with a solar panel, camera and raspberry. How with a few dollars y ou end making IoT!.pdf (20)

Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfAdvanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
 
Killer Bugs From Outer Space
Killer Bugs From Outer SpaceKiller Bugs From Outer Space
Killer Bugs From Outer Space
 
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
 
Advanced view of atmega microcontroller projects list at mega32 avr
Advanced view of atmega microcontroller projects list   at mega32 avrAdvanced view of atmega microcontroller projects list   at mega32 avr
Advanced view of atmega microcontroller projects list at mega32 avr
 
a pcb badge
a pcb badgea pcb badge
a pcb badge
 
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfAdvanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
RaspberryPiPico.pptx
RaspberryPiPico.pptxRaspberryPiPico.pptx
RaspberryPiPico.pptx
 
DockerCon EU 2015: Breaking the RPiDocker Challenge
DockerCon EU 2015: Breaking the RPiDocker Challenge DockerCon EU 2015: Breaking the RPiDocker Challenge
DockerCon EU 2015: Breaking the RPiDocker Challenge
 
Breaking the RpiDocker challenge
Breaking the RpiDocker challenge Breaking the RpiDocker challenge
Breaking the RpiDocker challenge
 
Raspberry Pi and Amateur Radio - 2020 update
Raspberry Pi and Amateur Radio - 2020 updateRaspberry Pi and Amateur Radio - 2020 update
Raspberry Pi and Amateur Radio - 2020 update
 
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
IoT simple with the ESP8266 - presented at the July 2015 Austin IoT Hardware ...
 
IPLOG? A beginner's IDS for the WIN!
IPLOG? A beginner's IDS for the WIN!IPLOG? A beginner's IDS for the WIN!
IPLOG? A beginner's IDS for the WIN!
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
nodebots presentation @seekjobs
nodebots presentation @seekjobsnodebots presentation @seekjobs
nodebots presentation @seekjobs
 
Getting Started with Raspberry Pi
Getting Started with Raspberry PiGetting Started with Raspberry Pi
Getting Started with Raspberry Pi
 
LEGO IR Controller
LEGO IR ControllerLEGO IR Controller
LEGO IR Controller
 
Choose your dev platform
Choose your dev platformChoose your dev platform
Choose your dev platform
 
Arduino Hands-on Workshop
Arduino Hands-on WorkshopArduino Hands-on Workshop
Arduino Hands-on Workshop
 
Raspberry Pi GPIO Tutorial - Make Your Own Game Console
Raspberry Pi GPIO Tutorial - Make Your Own Game ConsoleRaspberry Pi GPIO Tutorial - Make Your Own Game Console
Raspberry Pi GPIO Tutorial - Make Your Own Game Console
 

Mehr von Jean-Frederic Clere

Mehr von Jean-Frederic Clere (18)

Panama.pdf
Panama.pdfPanama.pdf
Panama.pdf
 
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
 
03_clere_Proxing to tomcat with httpd.pdf
03_clere_Proxing to tomcat with httpd.pdf03_clere_Proxing to tomcat with httpd.pdf
03_clere_Proxing to tomcat with httpd.pdf
 
Apache Httpd and TLS certificates validations
Apache Httpd and TLS certificates validationsApache Httpd and TLS certificates validations
Apache Httpd and TLS certificates validations
 
Cloud RPI4 tomcat ARM64
Cloud RPI4 tomcat ARM64Cloud RPI4 tomcat ARM64
Cloud RPI4 tomcat ARM64
 
From a cluster to the Cloud
From a cluster to the CloudFrom a cluster to the Cloud
From a cluster to the Cloud
 
HTTP/2, HTTP/3 and SSL/TLS State of the Art in Our Servers
HTTP/2, HTTP/3 and SSL/TLS State of the Art in Our ServersHTTP/2, HTTP/3 and SSL/TLS State of the Art in Our Servers
HTTP/2, HTTP/3 and SSL/TLS State of the Art in Our Servers
 
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and TomcatApache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and Tomcat
 
Apache httpd and TLS/SSL certificates validation
Apache httpd and TLS/SSL certificates validationApache httpd and TLS/SSL certificates validation
Apache httpd and TLS/SSL certificates validation
 
Juggva cloud
Juggva cloudJuggva cloud
Juggva cloud
 
TomcatCon: from a cluster to the cloud
TomcatCon: from a cluster to the cloudTomcatCon: from a cluster to the cloud
TomcatCon: from a cluster to the cloud
 
Tomcat from a cluster to the cloud on RP3
Tomcat from a cluster to the cloud on RP3Tomcat from a cluster to the cloud on RP3
Tomcat from a cluster to the cloud on RP3
 
Tomcat openssl
Tomcat opensslTomcat openssl
Tomcat openssl
 
Tomcat next
Tomcat nextTomcat next
Tomcat next
 
HTTP/2 and SSL/TLS state of art in ASF servers
HTTP/2 and SSL/TLS state of art in ASF serversHTTP/2 and SSL/TLS state of art in ASF servers
HTTP/2 and SSL/TLS state of art in ASF servers
 
Tomcat next
Tomcat nextTomcat next
Tomcat next
 
Native 1.2.8
Native 1.2.8Native 1.2.8
Native 1.2.8
 
Tomcat openssl
Tomcat opensslTomcat openssl
Tomcat openssl
 

Kürzlich hochgeladen

Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
nirzagarg
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 

Kürzlich hochgeladen (20)

Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 

01_clere_Having fun with a solar panel, camera and raspberry. How with a few dollars y ou end making IoT!.pdf

  • 1. Having fun with a solar panel, camera and raspberry. How with a few dollars you end making IoT! Jean-Frederic Clere @jfclere
  • 2. Agenda ● Introduction. ● How it started... ● Next the zero + big panel in Neuchatel ● Looking for cheaper solution and solving problems ● Results the raspberry on the balcony ● Adding more RPI ● Making it objects other fun stuff ● Q & A
  • 3. Who I am ● Red Hat employee −www.redhat.com ● Tomcat / httpd committer −Tomcat.apache.org /httpd.apache.org ● In Neuchatel Office
  • 4. How does it started ● Needs of cheap cluster demos (for TomcatCon)
  • 5. N1 HAT Server WIFI N2 HAT WIFI FireFox / Chrome / ansible MASTER Bare Metal Cloud demo
  • 6. How does it started ● Needs of cheap cluster demos (for TomcatCon) ● New RPI4 = update the cluster. ● What with the old ones?)
  • 7. What happens to the old ones… RPI3 connected to relay board (hyperion) connected the switch (manual comment) connected wifi and internet (remote control) Using GPIO Apache HTTPD and cgi python https://github.com/jfclere/door
  • 8. What happens to the old ones… RPI3 windsensor 9V power with USB mcp3008 to convert the voltage using SPI Python script to read SPI and Wifi to the other RPI3 https://github.com/jfclere/door/blob/master/mc p3008.py
  • 9. What happens to the old ones… RPI3 (well I changed it to a RPIzero W) Controlled by a server ssh Use raspberry pi v2 camera Use BME280 I2C temp/pressure/humidity https://github.com/jfclere/pisolar/blob/main/b me280.py
  • 10. What happens to the old ones = avoid this!!
  • 11. Going solar Try 1 ● Pi Zero W 260mA/400mA / Camera ● 9W panel ● Li-Po Rider PRO (charge and USB power) ● UPS PIco - LiPO Battery 8000mAh
  • 12. problems… ● Dead after the first rainy days. ● Not really a few dollar project: − Solar panel : ~ 100 USD − Li-Po Rider PRO ~ 20 USD − LiPO Battery ~ 50 USD − Camera ~ 20 USD
  • 13. Solution: Stop the RPI when needed. Try1 −Cut the power (USB converter as off/on) −Use Arduino and relay for off/on −Use I2C to control the Arduino. −
  • 14. Solution: Stop the RPI when needed. Try2 Problems of Try1: ● Relay uses a too much energy ● Arduino doesn’t work with 3.7V Solution: ● Use mosfet (~1 USD) ● Use ATTiny45 (1.8-5.5V, low power 300μA, ~1USD) ● Software on ATTiny (Use Arduino IDE) ● Software on RPI3 python+shell script ● Cadaver and webdav to send images to server
  • 16. Going solar try2 With BME280 I2C sensor
  • 17. Going for next tries ● Cheaper panels ~20USD ● Small batteries (and cheaper) ~ 10USD ● Self made boxes (~1USD) ● Cheaper USB converter − PowerBoost 500 Basic 1.8V to USB (~10USD)
  • 22. Going Objects Price: about 95 USD Small enough Easy install (Shell script for RPI, Arduino + writer for the ATTiny45) Use Wifi (wpa_supplicant.conf) Configuration in the server via uniqueid (etc/machineid). pi4neuchatel Directory where send information 10 Time to wait before next cycle 440 Low battery voltage value (here 2.62 V) 0fd108a Github commit id
  • 23. Try it your self Everything at: https://github.com/jfclere/pisolar Ask me: jfclere@gmail.com QUESTIONS THANK YOU!