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
340
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
290
Web scraping par Vincent Digiusto
devvar
0
250
Un workflow agile et efficace pour le développement front-end par Kévin Pardo
devvar
0
280
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
210
Vulnérabilité XXE par Cyril Ceresola
devvar
1
540
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
海外のアプリで見かけたかっこいいTransitionを真似てみる
shogotakasaki
1
160
PHPで書いたAPIをGoに書き換えてみた 〜パフォーマンス改善の可能性を探る実験レポート〜
koguuum
0
130
Ruby's Line Breaks
yui_knk
2
480
ベクトル検索システムの気持ち
monochromegane
31
9.9k
データベースエンジニアの仕事を楽にする。PgAssistantの紹介
nnaka2992
9
4.5k
小田原でみんなで一句詠みたいな #phpcon_odawara
stefafafan
0
320
Going Structural with Named Tuples
bishabosha
0
200
AWS で実現する安全な AI エージェントの作り方 〜 Bedrock Engineer の実装例を添えて 〜 / how-to-build-secure-ai-agents
gawa
8
710
MCP調べてみました! / Exploring MCP
uhzz
2
2.2k
CRE Meetup!ユーザー信頼性を支えるエンジニアリング実践例の発表資料です
tmnb
0
630
英語 × の私が、生成AIの力を借りて、OSSに初コントリビュートした話
personabb
0
180
Kubernetesで実現できるPlatform Engineering の現在地
nwiizo
3
1.9k
Featured
See All Featured
Building Applications with DynamoDB
mza
94
6.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
The Language of Interfaces
destraynor
157
24k
How STYLIGHT went responsive
nonsquared
99
5.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
520
KATA
mclloyd
29
14k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
178
53k
Six Lessons from altMBA
skipperchong
27
3.7k
Embracing the Ebb and Flow
colly
85
4.6k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
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