Hardware Reference
In-Depth Information
Figure 4-3.
TMP102 labels
But the Datasheet Says…
If you happen to look at the datasheet provided by Sparkfun , you might notice that
its numbering is different from what we've provided. It numbers the pins as they
come off the TMP102 sensor itself, not as they appear on the breakout board. The
TMP102 sensor is that tiny black chip in the middle of the breakout board. If you
look closely (possibly with a magnifying glass), you'll see the leads coming off the
TMP102 to the breakout pins. The ordering is different, but the breakout board
labels make a lot more sense to use, so we use those instead.
The mapping of the TMP102 breakout pins to the Raspberry Pi GPIO is fairly obvious,
as shown in Table 4-1 .
Table 4-1. TMP pin mapping
TMP102 BREAKOUT PIN LABEL
RASPBERRY PI BCM GPIO PIN
GND
GND
SCL
3 (SCL)
SDA
2 (SDA)
V+
5 V
Remember, the mapping in Table 4-1 referes to the BCM GPIO pin labels. See Hack
#14 if this doesn't make sense to you.
 
Search WWH ::




Custom Search