Modifications

Sauter à la navigation Sauter à la recherche
1 570 octets ajoutés ,  18 avril 2013 à 10:55
aucun résumé de modification
Ligne 3 : Ligne 3 :  
{{traduction}}
 
{{traduction}}
   −
{{bloc-etroit|text=x}}
+
{{bloc-etroit|text=Since the BMP085 is a i2c sensor, its very easy to wire up. We'll be using an Arduino as an example but any microcontroller with i2c can be used. To start using with a solderless breadboard, we need to solder the header pins onto the breakout board.
 +
 
 +
We suggest plugging the header into a breadboard so the long pins are in the breadboard, and then laying the BMP085 breakout board on top.
 +
}}
 +
 
 +
[[Fichier:BMP085-Montage-00.jpg|640px]]
 +
 
 +
Then solder all of the pins!
 +
 
 +
[[Fichier:BMP085-Montage-01.jpg|640px]]
 +
 
 +
[[Fichier:BMP085-Montage-02.jpg|640px]]
 +
 
 +
That's it! Now we can wire the board up to the microcontroller.
 +
 
 +
[[Fichier:BMP085-Montage-03.png|640px]]
 +
 
 +
*Connect the '''VCC''' pin to a '''3.3V''' power source. The V1 of the sensor breakout cannot be used with anything higher than 3.3V so don't use a 5V supply! V2 of the sensor board has a 3.3V regulator so you can connect it to either 3.3V or 5V if you do not have 3V available.
 +
* Connect '''GND''' to the ground pin.
 +
* Connect the '''i2c SCL clock''' pin to your i2c clock pin. On the classic Arduino Uno/Duemilanove/Diecimila/etc this is '''Analog pin #5'''
 +
* Connect the '''i2c SDA data''' pin to your i2c data pin. On the classic Arduino Uno/Duemilanove/Diecimila/etc this is '''Analog pin #4'''
 +
 
 +
Unfortunately, the i2c lines on most microcontrollers are fixed so you're going to have to stick with those pins.
 +
 
 +
You don't need to connect the '''XCLR''' (reset) or '''EOC''' (end-of-conversion) pins. If you need to speed up your conversion time, you can use the EOC as a indicator - in our code we just hang out and wait the maximum time possible.
   −
[[Fichier:BMP085--00.jpg|640px]]
      
{{BMP085-TRAILER}}
 
{{BMP085-TRAILER}}
29 917

modifications

Menu de navigation