1.2" 4-Digit 7-Segment Display w/I2C Backpack Issue

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
slampana
 
Posts: 3
Joined: Sun Aug 25, 2013 5:36 pm

1.2" 4-Digit 7-Segment Display w/I2C Backpack Issue

Post by slampana »

I'm having an issue getting the 4th digit on my 7 segment display working on my Raspberry Pi. Everything else works great, just no 4th digit. I've been using the Adafruit code and so far nothing I've tried gets it to work. The tutorial says to connect IO to 3.3v on the pi, but that makes it even worse...the top or bottom (I can't remember which) segments don't work when I do that.

Here's my code, the connections and some pictures. Any help would be greatly appreciated.

Connections:
D -> SDA
C -> SCL
+ -> 5v
- -> GND

Code: Select all

import time
import datetime
from Adafruit_7Segment import SevenSegment
from Adafruit_LEDBackpack import LEDBackpack

# ===========================================================================
# Clock Example
# ===========================================================================
segment = SevenSegment(address=0x70)
backpack = LEDBackpack()

backpack.setBrightness(0)

print "Press CTRL+Z to exit"
print datetime.datetime.now()

while True:

    segment.writeDigit(0, 8)
    segment.writeDigit(1, 8)
    segment.writeDigitRaw(2, 0x2)
    segment.writeDigit(3, 8)
    segment.writeDigit(4, 8)
    time.sleep(1)
WP_20130825_006.jpg
WP_20130825_006.jpg (457.39 KiB) Viewed 1437 times
WP_20130825_002.jpg
WP_20130825_002.jpg (387.71 KiB) Viewed 1437 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 1.2" 4-Digit 7-Segment Display w/I2C Backpack Issue

Post by adafruit_support_rick »

Please post some pictures of the solder side of the board!

slampana
 
Posts: 3
Joined: Sun Aug 25, 2013 5:36 pm

Re: 1.2" 4-Digit 7-Segment Display w/I2C Backpack Issue

Post by slampana »

Here you go...
WP_20130825_007.jpg
WP_20130825_007.jpg (481.62 KiB) Viewed 1405 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 1.2" 4-Digit 7-Segment Display w/I2C Backpack Issue

Post by adafruit_support_rick »

Looks like you have a bad display. Please email [email protected] with a link to this thread and ask for a replacement.

slampana
 
Posts: 3
Joined: Sun Aug 25, 2013 5:36 pm

Re: 1.2" 4-Digit 7-Segment Display w/I2C Backpack Issue

Post by slampana »

Thanks for the quick help :)

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”