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
/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
170
Présentation de ROS (Robotics Operating System) : un midleware utilisé en robotique par Adrien Barral
devvar
1
300
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
280
Retour sur le Startup Weekend Toulon 2014
devvar
0
220
Vulnérabilité XXE par Cyril Ceresola
devvar
1
550
l’Oculus Rift DK2 par Manuel Seilhes
devvar
0
420
Retour d'expérience sur un coding goûter
devvar
0
270
Other Decks in Programming
See All in Programming
ふつうの技術スタックでアート作品を作ってみる
akira888
1
1.3k
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
320
코딩 에이전트 체크리스트: Claude Code ver.
nacyot
0
930
バイブコーディング超えてバイブデプロイ〜CloudflareMCPで実現する、未来のアプリケーションデリバリー〜
azukiazusa1
0
340
Model Pollution
hschwentner
1
160
20250708_JAWS_opscdk
takuyay0ne
2
130
SQLアンチパターン第2版 データベースプログラミングで陥りがちな失敗とその対策 / Intro to SQL Antipatterns 2nd
twada
PRO
11
1.6k
ご注文の差分はこちらですか? 〜 AWS CDK のいろいろな差分検出と安全なデプロイ
konokenj
3
580
High-Level Programming Languages in AI Era -Human Thought and Mind-
hayat01sh1da
PRO
0
880
CDK引数設計道場100本ノック
badmintoncryer
2
480
オンコール⼊⾨〜ページャーが鳴る前に、あなたが備えられること〜 / Before The Pager Rings
yktakaha4
2
990
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
170
Featured
See All Featured
Building Applications with DynamoDB
mza
95
6.5k
How to Ace a Technical Interview
jacobian
278
23k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
Practical Orchestrator
shlominoach
189
11k
It's Worth the Effort
3n
185
28k
Designing for humans not robots
tammielis
253
25k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Scaling GitHub
holman
460
140k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
How to Think Like a Performance Engineer
csswizardry
25
1.7k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
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