Différences entre versions de « Rasp-Hack-BMP085 »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 4 : Ligne 4 :
 
== Introduction ==
 
== Introduction ==
  
{{ADFImage|Rasp-Hack-BMP085-01.jpg|640px}}
+
{{ADFImage|Rasp-Hack-BMP085-01.png|640px}}
  
 
The Raspberry Pi includes support for Python, which makes it easy to get access to a lot of low-level hardware and software stacks -- USB, TCP/IP, multiple file systems etc.  This is a good thing since it means you don't need to wrap your head around all the obscure details that go along with these complex stacks or the implementation details of various serial buses: you can focus on getting your data off your sensor and into your project as quickly as possible.  Hurray for abstraction!
 
The Raspberry Pi includes support for Python, which makes it easy to get access to a lot of low-level hardware and software stacks -- USB, TCP/IP, multiple file systems etc.  This is a good thing since it means you don't need to wrap your head around all the obscure details that go along with these complex stacks or the implementation details of various serial buses: you can focus on getting your data off your sensor and into your project as quickly as possible.  Hurray for abstraction!

Version du 1 avril 2014 à 11:22


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Introduction

Rasp-Hack-BMP085-01.png
Crédit: AdaFruit Industries www.adafruit.com

The Raspberry Pi includes support for Python, which makes it easy to get access to a lot of low-level hardware and software stacks -- USB, TCP/IP, multiple file systems etc. This is a good thing since it means you don't need to wrap your head around all the obscure details that go along with these complex stacks or the implementation details of various serial buses: you can focus on getting your data off your sensor and into your project as quickly as possible. Hurray for abstraction!

Most sensors tend to communicate with other devices based on one of three well-defined mechanisms: I2C, SPI or good old analog output. There are dozens of other serial buses and communication protocols out there (CAN, 1-Wire, etc.), and they all have their strengths and weaknesses, but I2C, SPI and analog cover the overwhelming majority of sensors you're likely to hook up to the Pi.

I2C is a particularly useful bus with the pin-limited Pi for two main reasons:

  • It only requires two shared lines: SCL for the clock signal, and SDA for the bi-direction data transfers.
  • Each I2C device uses a unique 7-bit address, meaning you can have more than 120 unique I2C devices sharing the bus, and you can freely communicate with them one at a time on an as-needed basis.

This tutorial will show you how you can read data from the I2C-based BMP085 Barometric Pressure Sensor using Python and the pins available on the Raspberry Pi.

BMP085 = BMP180

Le BMP180 est la prochaine génération de senseur Bosch et remplace le célèbre BMP085. La bonne nouvelles c'est qu'il est totalement identique au BMP085 en ce qui concerne le FirmWare / Logiciel / Interfacing - Vous pouvez utiliser les exemples, bibliothèques et tutoriels BMP085 avec le BMP180.

Note à propos de la distribution

Please note that this tutorial is based on Occidentalis, Adafruit's own educational Linux distro for the Raspberry Pi. It should work just as well with the latest Wheezy distro, etc., but it hasn't yet been tested on anything else.


Source: Using BMP085 with Raspberry Pi. Créé par Kevin Townsend pour AdaFruit Industries.

Traduction et corrections réalisée par Meurisse D pour MCHobby.be.

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com