Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Une station météo sur une base de Raspberry PI
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
/dev/var/
April 26, 2014
Programming
0
350
Une station météo sur une base de Raspberry PI
Par Philippe Missout
/dev/var/
April 26, 2014
Tweet
Share
More Decks by /dev/var/
See All by /dev/var/
La qualité logicielle par Jean-Pierre Imbert
devvar
0
180
Présentation de ROS (Robotics Operating System) : un midleware utilisé en robotique par Adrien Barral
devvar
1
340
Web scraping par Vincent Digiusto
devvar
0
260
Un workflow agile et efficace pour le développement front-end par Kévin Pardo
devvar
0
290
Un lab sécurité pour tester des app mobiles en moins de 15 minutes par Cyril Cérésola
devvar
0
290
Retour sur le Startup Weekend Toulon 2014
devvar
0
220
Vulnérabilité XXE par Cyril Ceresola
devvar
1
570
l’Oculus Rift DK2 par Manuel Seilhes
devvar
0
440
Retour d'expérience sur un coding goûter
devvar
0
280
Other Decks in Programming
See All in Programming
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
120
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
160
おれのAgentic Coding 2026/03
tsukasagr
1
110
KagglerがMixSeekを触ってみた
morim
0
330
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
1.2k
CSC307 Lecture 15
javiergs
PRO
0
270
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
250
Claude Codeログ基盤の構築
giginet
PRO
7
3.7k
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
630
Nostalgia Meets Technology: Super Mario with TypeScript
manfredsteyer
PRO
0
110
OTP を自動で入力する裏技
megabitsenmzq
0
130
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
170
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
160
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
310
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Building an army of robots
kneath
306
46k
Visualization
eitanlees
150
17k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Believing is Seeing
oripsolob
1
97
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
240
Git: the NoSQL Database
bkeepers
PRO
432
67k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
150
Transcript
SMVS • Station Météo Vraiment Simple – Facile pour un
non électronicien – Facile pour un non informaticien – Utilisation de breakout board (bus I2C) – Liaison via WiFi
Donn es é • Données relevés – Température –
Hygrométrie – Pression – Vitesse du vent – Direction • Plus loin – Ensoleillement (durée – UV) – Pluviométrie
Raspberry pi • 2006 • Laboratoire d'informatique de l'Université de
Cambridge. • Son but – Créer à des fins d'éducation. – Créer pour stimuler la curiosité des enfants. • Contrainte – Le prix le plus bas possible
Raspberry pi • Le Modèle B – Soc Broadcom BCM2835
• Processeur ARM cadencé à 700 MHz • GPU Broadcom VideoCore IV – Mémoire 512 Mo – Connectique : USB/HDMI/Composite/Audio/Ethernet/GPIO – Alimentation : 5 V – 700 mA via MicroUSB
Utilisation • I2C • Tension 3,3 V • Tension 5
V : broches 2 et 4 • Lignes O/I • Port USB : Dongle WiFi
Distribution • Arch Arm – Simple kernel + base-devel –
Pas de serveur X... network-manager... – Boot rapide.
D veloppement é • Langages – Python – C •
Bibliothèques – WiringPI (http://www.wiringpi.com) – Rpi.GPIO (http://sourceforge.net/projects/raspberry-gpio-python/)
Barom tre è • BMP085 - Sonde de pression et
température • Bus I2C • Plage de mesure / résolution / précision – Pression : 300 hPa à 1100 hPa / 0.03hPa / +- 0,5 – Temp : -40 à +85°C / 0.1°C / +-1 • Tension d'alimentation 3.3V ou 5V
Hygrom tre è • HYT221 - Capteur d'humidité et température
• Bus I2C • Plage de mesure / précision – Humidité : 0 à 100% HR / +- 1,8 % – Temp : -40°C à 125°C / -+ 0,2 • Tension d'alimentation 3.3V ou 5V
Girouette • 1 LED IR • 4 photodiodes IR pour
définir 16 positions • Un MCP32008 8-Bit I/O Expander Bus I2C • Un Codeur de Gray maison
An mom tre é è • A définir • Sûrement
un aimant et un capteur ILS • Soit le comptage s'effectue sur le raspberry ou par un compteur externe
Analogique • ADS1015 Convertisseur Analogique/Numérique 12 bits 4 canaux. •
Bus I2C • Tension d'alimentation 3.3V ou 5V
Interface • Pas défini – Le raspberry fait serveur –
Le serveur est extérieur • Toutes les x minutes le raspi envoi les données