I'm trying to get these items working:
1 x Raspberry Pi Model B 512MB RAM[ID:998]
2 x Adafruit 1.2" 4-Digit 7-Segment Display w/I2C Backpack - Red[ID:1270]
1 x Adafruit Assembled Pi Cobbler Breakout + Cable for Raspberry Pi[ID:914]
1 x 4-channel I2C-safe Bi-directional Logic Level Converter (BSS138)[ID:757]
I can get the pi to control one of the 7-segment displays or the other, but when I attach both at the same time it doesn't work, and neither device is detected.
Here's one display:
Code: Select all
$ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: 70 -- -- -- -- -- -- --
Code: Select all
sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- 71 -- -- -- -- -- --
I am using the logic level converter (hopefully correctly) to convert the I2C signals to 5V for the 7 segment displays.
I guess it's possible that I've wired the 7-segment displays to the through the level converter incorrectly. I've attached the pi's 3.3v, ground, SDA, and SCL pins the low side. I've wired the pi's 5.0v, and ground and the device's +, -, D, and C pins to the high side of the converter.
Thanks for any suggestions!
-Amos