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
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
XP, Testing and ninja testing
m_seki
3
250
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
170
Node-RED を(HTTP で)つなげる MCP サーバーを作ってみた
highu
0
120
20250704_教育事業におけるアジャイルなデータ基盤構築
hanon52_
5
790
RailsGirls IZUMO スポンサーLT
16bitidol
0
190
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
160
NPOでのDevinの活用
codeforeveryone
0
840
PicoRuby on Rails
makicamel
2
130
PipeCDのプラグイン化で目指すところ
warashi
1
280
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
130
システム成長を止めない!本番無停止テーブル移行の全貌
sakawe_ee
1
200
VS Code Update for GitHub Copilot
74th
2
650
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Optimizing for Happiness
mojombo
379
70k
How GitHub (no longer) Works
holman
314
140k
The Invisible Side of Design
smashingmag
301
51k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
What's in a price? How to price your products and services
michaelherold
246
12k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
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