jcsayre1972
Posts: 17
Joined: Sun Jun 01, 2014 4:11 pm

TMP102 Wiring

Sun Jun 01, 2014 8:30 pm

First time post; noob with Pi, Linux and electronic wiring.
Linux WS1001RASPI 3.12.20+ #687 PREEMPT Fri May 30 16:39:11 BST 2014 armv6l GNU/Linux

Last updated via sudo apt-get update & upgrade ~ 2014-06-01 1600 EST.

My question is more around wiring than anything else. I purchased three TMP102, some M/M and M/F connectors and a small breadboard. My first project was to turn on and off an LED from a Google spreadsheet using WebIOPi - that worked fine.

My next project is using WebIOPi to read the temperature via a TMP102. Before I start soldering anything, I wanted to test my connections. So, I just used my connectors to go THROUGH the connection points on the TMP102 (I have no break away headers - they're on the way).

My question whether on not this method will work to get a basic test going? I've tried using WebIOPi, but it's giving me a 500 error. When I stop WebIOPi and use i2c-dev, no device is registered on 0x48, as it should be. I'm thinking that my method of wiring is my problem, but I don't know breadboard basics, and whether or not "stabbing" the pins through the TMP102 breakout board and into the breadboard will work. I've included a picture for reference.

From near-to-far
TMP102 V+ (3V3) is connected via M/M connector to breadboard node node 1e (through TMP102) & 1c
TMP102 GND (ground) is connected via M/M connector to breadboard node 2e (through TMP102) and 2a
TMP102 SDA (I2C data) is connected via M/F connector to breadboard node 3e and Pi pin 3
TMP102 SCL (I2C clock) is connected via M/F connector to breadboard node 4e and Pi pin 5
TMP102 ALT (alert) is not connected
TMP102 ADD0 (Address) is connected via M/M connector to breadboard node 6e (through TMP102) 2s

Breadboard +1 is connected via M/F connector to Pi pin 1 (3V3)
Breadboard -2 is connected via M/F connector to Pi pin 6 (GND)

When using i2c-tools or WebIOPi, I am getting no results. I don't know if it's my wiring, the board or the Pi. I have two more TMP102s, but I don't want to hook up either of them in the event that I've fried this one by trying to do what I am doing.

Additional helpful information:

more /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

snd-bcm2835
i2c-bcm2708
i2c-dev

more /etc/modprobe.d/raspi-blacklist.conf
# blacklist spi and i2c by default (many users don't need them)

# blacklist spi-bcm2708
# blacklist i2c-bcm2708
Attachments
20140601_155903_240x320.jpg
20140601_155903_240x320.jpg (48.37 KiB) Viewed 563 times

Return to “Beginners”