Skip to main content
7 votes

7 segment 4 digit not showing numbers 2,3 and 0

It looks like you have the center segment and the top left vertical segment reversed. For the image you show, if you switched the on/off states of those 2 segments, you'd see 1230. I don't know if the ...
Duncan C's user avatar
  • 5,752
6 votes
Accepted

Interfacing unusual 4 digits 7 segments display

This display seems to have 32 addressable LEDs controlled by only 7 pins. Judging from this fact, and from the provided pinout table, it looks like a Charlieplexed matrix. A typical way to drive this ...
Edgar Bonet's user avatar
  • 45.2k
5 votes
Accepted

Problem with a seven segment display. The segments blink then turn off

The first thing to understand is how to connect the 7 segment display to your Arduino. The common anode pin connects directly to 5VDC. Each "segment" connects to the Arduino through a current limiting ...
VE7JRO's user avatar
  • 2,514
4 votes
Accepted

74HC595 to 4 Digit 7 Segment using SevSegShift Library

Finally able to fix it with the help of @PeterPaulKiefer, I was able to find the problem. The problem is in the code itself (schematic is alright. No changes there) and this is the updated code. #...
fireblazer10's user avatar
4 votes
Accepted

Library for working with a 4-digit 7-segment indicator SH5461AS

This one tm1637 sounds good. I was thinking to use it next time. Edit 1: Lately posted image suggests that it is without a separate display controller chip, then this library should work. Edit 2: ...
Qareke's user avatar
  • 104
3 votes

delay() problem for 74HC595 and 7-segment

With the displays which use shift register to light multiple seven segment digit blocks, the register lights up only one digit at a time. The illusion of multiple digits lit is created by fast ...
Juraj's user avatar
  • 18.3k
3 votes
Accepted

6 wire 3 digits 7 segment display and arduino question

What you have is a Charlie-Plexed display like the one in the picture below. You need one more wire than this example because your display also includes the decimal point. If you go through the ...
John Taylor's user avatar
3 votes
Accepted

displaying a 3 digit clock time on a 4 digit 7 segment display

I tested your first code line and it outputs a right aligned 136 without colon at my display. (Said I have only a colon at the middle and no decimal points) The 5 at the fist digit (and also the A at ...
chrisl's user avatar
  • 16.6k
3 votes

ATtiny85-DHT11-TM1637

Found <TinyDHT.h> and all works ok, just what I wanted.
Jim Rodemeyer's user avatar
2 votes

How to power up this LCD 7 segments display

Driving an LCD display is nothing like driving an LED display. You need to provide an alternating current to the right segments at the right time. It is possible with an Arduino on a simple display ...
Majenko's user avatar
  • 106k
2 votes
Accepted

How to add numbers to a position when controlling a seven-segment display

In your code, you call: newPos = encoder.getPosition(); which grabs the absolute position of the encoder. When you rotate this one step, the value of newPos goes up (or down) by one. Then, you make ...
jose can u c's user avatar
  • 6,974
2 votes

A function-definition is not allowed here before '{' token

The importance of proper indentation is clear here... I thought you were missing a closing curly braces. When you type code, press regularly cmd/ctrl-T to ident your code -- it helps catching ...
dda's user avatar
  • 1,595
2 votes

6 wire 3 digits 7 segment display and arduino question

yes, that's CharliePlexing, Some kind if multiplexing without IC, As far as I understood it is based on Base3 instead of Base2 for On&Off. It is based on Base3 for High,Low,Disconnected logic
Alireza Ghahremanian's user avatar
2 votes

6 wire 3 digits 7 segment display and arduino question

Thank you for above information. It helped me a lot with a similar 7-segment display. Here is a fresh link to the OP's original file: https://drive.google.com/file/d/1G9Fknrpn4E85xdxtZdb-2jlWqemdT6xo/...
Jdev99's user avatar
  • 59
2 votes

4-digit 7-segment display not showing value properly

What caused the problem of the digit that driven by pin 12 is quite obvious to me. You use pin 11, 12, 13, 14 for driving the 7-segment digits. While SPI library by default uses pin 10, 11, 12, 13 as ...
hcheung's user avatar
  • 1,978
2 votes

Interfacing unusual 4 digits 7 segments display

I don't know. If I had to talk about it, I would say a LED segment display with a matrix layout with a complementary drive. If a pin is used as a cathode, a LOW signal must be applied. If it is used ...
Peter Paul Kiefer's user avatar
2 votes
Accepted

4 Digit 7 segment display flickering

With the help of Majenko and jsotola in the comments, I've got it fixed! It was the text I was displaying in the Serial Monitor that was slowing the display down. Here is the updated program that ...
Sony's user avatar
  • 110
2 votes
Accepted

Arduino MEGA - How to send and receive data asynchronously?

Seems like receiving data from PC blocking my send data function until it's done. You may be saying the same thing, but I'd put it that it's waiting for more data to arrive that isn't going to. Is ...
timemage's user avatar
  • 5,739
2 votes

Arduino Nano timer drifting

Your Arduino's oscillator is too slow by: (24 hours - 6 minutes) / 24 hours = (24 * 60 - 6 minutes) / (24 * 60 minutes) = 0.995833333 (about 0.4%). After changing the constant period to 994, the ...
the busybee's user avatar
  • 2,466
2 votes

Arduino Nano timer drifting

As pointed out by hcheung in a comment, you shouldn't expect a usable accuracy from the Arduino's millis() or micros(). This is because these functions rely on the Arduino's clock source, which for ...
Edgar Bonet's user avatar
  • 45.2k
1 vote

TPIC6B595 Output Unable to Allow Supplied Power to 7-segment Display

You are getting confused. The pullup resistor is only needed on open drain when you are using it to generate logic levels. It turns the OD output into an RTL output. You don't want that. Instead you ...
Majenko's user avatar
  • 106k
1 vote

4-digit 7-segment display not showing value properly

Reverse engineering your code, which is generated by https://examples.blynk.cc, I have found that you are using: an Arduino Uno W5100 Ethernet shield (or Arduino Ethernet Rev3) DHT11 4-digit 7 ...
sa_leinad's user avatar
  • 3,218
1 vote

4-digit 7-segment display not showing value properly

Your issue could be in code or in your hardware. To work out which one, try running one of the example sketches like the testWholeDisplay.ino that comes with the library you are using. This way you ...
sa_leinad's user avatar
  • 3,218
1 vote

delay() problem for 74HC595 and 7-segment

In loop() as you've shown it in your code, you can move RunNum(i,2); down to outside of the 'j' and 'k' loops. Likewise you can move RunNum(j,1); down to outside of the 'k' loop. This won't fix your ...
JRobert's user avatar
  • 15.4k
1 vote

displaying a 3 digit clock time on a 4 digit 7 segment display

Always start by reading the docs. The README of the TM1637 display library gives a short summary of the available functions, then states “Please refer to TM1637Display.h for more information.” It ...
Edgar Bonet's user avatar
  • 45.2k
1 vote
Accepted

How to power up this LCD 7 segments display

that's a controller-less dynamic (mutiplexed) display, with 4 coms. So you will to program the mcu to do a lot: 1) the com pins are driven with 1/4 dc signal sequentially; 2) the seg pins are ...
dannyf's user avatar
  • 2,813
1 vote

Matrix keyboard and 7segment display countdown combination

Try using millis(), it returns the number of milliseconds passed since the Arduino board began running the current program. When you start the countdown you set a variable for a beginning time int ...
Zunzulla alagaty's user avatar
1 vote

4 digit 7 segments display wrong number

You call atoi() with a char. Parameter of atoi is const char*. To convert ASCII code of digit to the digit use int digit = IncomingData[i] - '0'
Juraj's user avatar
  • 18.3k
1 vote

7 segment multiple display, only display 1 digit

You aren't multiplexing your displays properly. At the moment you are doing: Do nothing until the button is pressed Switch on display 1 Turn on the segments for digit 1 Wait 5ms Switch off display 1 ...
Majenko's user avatar
  • 106k

Only top scored, non community-wiki answers of a minimum length are eligible