Modifications

Sauter à la navigation Sauter à la recherche
1 187 octets ajoutés ,  19 mai 2015 à 13:13
Page créée avec « {{Rasp-Hack-MCP9808-NAV}} == Intro == {{bloc-etroit|text=Wiring the MCP9808 to a Raspberry Pi or BeagleBone Black is easy because the board only uses an I2C bus for communic... »
{{Rasp-Hack-MCP9808-NAV}}

== Intro ==
{{bloc-etroit|text=Wiring the MCP9808 to a Raspberry Pi or BeagleBone Black is easy because the board only uses an I2C bus for communication.}}


== Raspberry-Pi ==
Connect the MCP9808 to a Raspberry Pi as follows. Note that you must have I2C enabled on your Raspberry Pi.

{{ADFImage|RASP-MCP9808-BRANCHER-01.png}}

* Connect '''Pi GND''' to MCP9808 '''Gnd'''.
* Connect '''Pi 3.3V''' to MCP9808 '''Vdd'''.
* Connect '''Pi SCL''' to MCP9808 '''SCL'''.
* Connect '''Pi SDA''' to MCP9808 '''SDA'''.

== BeagleBone Black ==
Connect the MCP9808 to a BeagleBone Black as follows. If you aren't familiar with how GPIO pins are numbered, check out [https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/using-the-bbio-library this guide on BeagleBone Black GPIO] (''Adafruit, anglais'').

{{ADFImage|RASP-MCP9808-BRANCHER-02.png}}

* Connect '''BeagleBone Black P9_1''' DGND to MCP9808 '''Gnd'''.
* Connect '''BeagleBone Black P9_3''' 3.3V to MCP9808 '''Vdd'''.
* Connect '''BeagleBone Black P9_19''' I2C SCL to MCP9808 '''SCL'''.
* Connect '''BeagleBone Black P9_20''' I2C SDA to MCP9808 '''SDA'''.

{{Rasp-Hack-MCP9808-TRAILER}}
30 894

modifications

Menu de navigation