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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
/dev/var/
April 26, 2014
Programming
350
0
Share
Une station météo sur une base de Raspberry PI
Par Philippe Missout
/dev/var/
April 26, 2014
More Decks by /dev/var/
See All by /dev/var/
La qualité logicielle par Jean-Pierre Imbert
devvar
0
190
Présentation de ROS (Robotics Operating System) : un midleware utilisé en robotique par Adrien Barral
devvar
1
350
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
300
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
230
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
290
Other Decks in Programming
See All in Programming
AIエージェントの隔離技術の徹底比較
kawayu
0
460
AIとRubyの静的型付け
ukin0k0
0
520
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.3k
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
130
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
130
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
470
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
1.1k
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
2
190
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
560
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
5.2k
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
240
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
840
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
How STYLIGHT went responsive
nonsquared
100
6.2k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
190
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Documentation Writing (for coders)
carmenintech
77
5.4k
Exploring anti-patterns in Rails
aemeredith
3
390
Designing Powerful Visuals for Engaging Learning
tmiket
1
390
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.5k
Docker and Python
trallard
47
3.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
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