Dear all,
I am seeking advice for the following:
I have set up my Raspberry Pi 4 with the yellow 7 segment display 1.2 inch and the backpack.
For some reason only the dots want to turn on and of with "display.fill(1)"
The digits do not want to respond to my code.
There must be something critical I do wrong - but I am not sure what it is.
Does anyone have an advice for me?
BigSeg7x4 only dots turn on and off
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: BigSeg7x4 only dots turn on and off
How are you connecting it and what program are you using? Can you post a picture of the setup?
- eaderigt
- Posts: 26
- Joined: Sun Oct 02, 2022 2:00 am
Re: BigSeg7x4 only dots turn on and off
Hi Franklyn,
Thank you.
I am using python and have gone through the tutorial here:
https://learn.adafruit.com/adafruit-led ... t-backpack
Thank you.
I am using python and have gone through the tutorial here:
https://learn.adafruit.com/adafruit-led ... t-backpack
- Attachments
-
- IMG_4701.jpg (189.46 KiB) Viewed 131 times
-
- IMG_4702.jpg (122.45 KiB) Viewed 131 times
-
- IMG_4703.jpg (212.62 KiB) Viewed 131 times
- eaderigt
- Posts: 26
- Joined: Sun Oct 02, 2022 2:00 am
Re: BigSeg7x4 only dots turn on and off
two more photos
- Attachments
-
- IMG_4700.jpg (146.4 KiB) Viewed 128 times
-
- IMG_4699.jpg (156.29 KiB) Viewed 128 times
- eaderigt
- Posts: 26
- Joined: Sun Oct 02, 2022 2:00 am
Re: BigSeg7x4 only dots turn on and off
The strange thing I am facing is:
The display does show the colon -> display.print(':')
And it lites all dots -> display.fill(1)
With the code below:
The display does show the colon -> display.print(':')
And it lites all dots -> display.fill(1)
With the code below:
Code: Select all
# SPDX-FileCopyrightText: 2019 Mikey Sklar for Adafruit Industries
# SPDX-License-Identifier: MIT
import time
import board
from adafruit_ht16k33.segments import BigSeg7x4
#from adafruit_ht16k33.segments import Seg7x4
i2c = board.I2C()
display = Seg7x4(i2c)
# Clear the display.
display.fill(0)
display.brightness = 0.9
display.print(':')
time.sleep(1)
display.print("1234")
display.show()
time.sleep(1)
# Clear the display.
display.fill(0)
time.sleep(1)
display.fill(1)
time.sleep(1)
display.fill(0)
print("ready")
- eaderigt
- Posts: 26
- Joined: Sun Oct 02, 2022 2:00 am
Re: BigSeg7x4 only dots turn on and off
hi Franklin, can you think if anything I did wrong?
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: BigSeg7x4 only dots turn on and off
Did you try?
It's not clear from your code. It's being imported, but not used.
Code: Select all
display = BigSeg7x4(i2c)
- eaderigt
- Posts: 26
- Joined: Sun Oct 02, 2022 2:00 am
Re: BigSeg7x4 only dots turn on and off
hi, thank you.
yes - I corrected that. It was the error in the code I posted here after doing trial and error.
yes - I corrected that. It was the error in the code I posted here after doing trial and error.
- eaderigt
- Posts: 26
- Joined: Sun Oct 02, 2022 2:00 am
Re: BigSeg7x4 only dots turn on and off
posting one mor pic to show what display.fill(1) is doing
- Attachments
-
- IMG_4706.jpg (155.57 KiB) Viewed 103 times
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: BigSeg7x4 only dots turn on and off
OK, let's check other connections. Can you post a photo of the backside of the backpack so we can check the soldering on the LED module pins.
- eaderigt
- Posts: 26
- Joined: Sun Oct 02, 2022 2:00 am
Re: BigSeg7x4 only dots turn on and off
this is the backside with the pins
- Attachments
-
- IMG_4709.jpg (123.5 KiB) Viewed 95 times
-
- IMG_4710.jpg (116.86 KiB) Viewed 95 times
-
- IMG_4711.jpg (69.72 KiB) Viewed 95 times
- eaderigt
- Posts: 26
- Joined: Sun Oct 02, 2022 2:00 am
Re: BigSeg7x4 only dots turn on and off
and the full view
- Attachments
-
- IMG_4708.jpg (178.32 KiB) Viewed 95 times
- dastels
- Posts: 15662
- Joined: Tue Oct 20, 2015 3:22 pm
Re: BigSeg7x4 only dots turn on and off
I'd redo the soldering of the display to the board. It doesn't look bad, but the LEDs that light up are all on one column of the controller. The LEDs that aren't lighting up are on other columns.
Dave
Dave
- eaderigt
- Posts: 26
- Joined: Sun Oct 02, 2022 2:00 am
Re: BigSeg7x4 only dots turn on and off
ok. I think I am going to try that. Can you maybe help me and tell me which columns is the one that you think that might have a soldering problem?
- dastels
- Posts: 15662
- Joined: Tue Oct 20, 2015 3:22 pm
Re: BigSeg7x4 only dots turn on and off
The ones for the 4 digits. There aren't many connections, just reflow all of them. The solder should flow into the hole around the pin and result is a tent-like shape. As I said, they don't look particularly bad, but it's pretty much always the first thing to try.
Specifically the digits are on pins 2-5 of the display. See page 3 of the datasheet to identify pin 1.
Dave
Specifically the digits are on pins 2-5 of the display. See page 3 of the datasheet to identify pin 1.
Dave
Please be positive and constructive with your questions and comments.