Questions tagged [7-segment]

It refers to a seven-segment display (SSD) is a form of electronic display device for displaying decimal numerals.

Filter by
Sorted by
Tagged with
1 vote
2 answers
50 views

Arduino MEGA - How to send and receive data asynchronously?

i am newbie to this so i hope i can explain my problem clearly; Arduino MEGA connected to PC via USB port. I am using an encoder to trigger function to send data to pc, data is a simple string "...
1 vote
1 answer
124 views

Connecting Common-Anode Seven Segment Display to Shift Register

I recently wired up the following ill-advised circuit: A common-anode display is wired with its cathodes connected directly to LEDs connected to ground. But the strange thing is that it worked ...
  • 11
0 votes
1 answer
896 views

7-Segment Display w/ Potentiometer

(Backstory) So, I took an computer engineering class in high school (grade 11 level), where I learned a bit about breadboarding as well as arduinos (I would like to stress a bit). It has been 5 years, ...
  • 3
1 vote
1 answer
98 views

Using 4-digit 7-segment display on Arduino Nano

I want to merge two projects: a "Don't touch your face" hat for Nano and a 7-segment 4-digit display for Uno. I tested both independently and they work. I added an RGB LED to the first, so I ...
1 vote
1 answer
2k views

How to write & read from SPIFFS file as object data on ESP8266

I am trying write four digit number to SPIFFS file, and read that four digit from SPIFFS file and display on seven segment. The code, I am writing as below, I got "0" on each segment, but if ...
2 votes
1 answer
438 views

4 Digit 7 segment display flickering

I am attempting to make an Arduino counter using a 4 digit 7 segment display. The problem I am encountering is the display flickers. I am using an Arduino Uno and 5641AS digit display (so common ...
  • 110
1 vote
1 answer
704 views

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

Good day. Tell me an excellent library for working with a 4-digit 7-segment indicator. I am currently using #include <fDigitsSegtPin.h> But it does not allow you to display letters, does not ...
0 votes
1 answer
205 views

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

https://www.instructables.com/Using-a-4-digit-7-segment-display-with-arduino/ I used this link to make my circuit and I used this code also but some numbers like 2,3 and 0 doesn't display correctly.
  • 11
3 votes
1 answer
599 views

ATtiny85-DHT11-TM1637

I have tried many combinations and I can get the Attiny85 to display on the TM1637 just fine, but I cannot get ant readings from the DTH11, tried different pins, libraries. I upload code via UNO as ...
0 votes
2 answers
91 views

Interfacing unusual 4 digits 7 segments display

There is a common anode and common cathode of 7 segments display. But I got an unusual one. There are 7 pins controlling 4 digits 7 segments. I find the pinout by a multimeter. Basically, each pin ...
3 votes
1 answer
3k views

74HC595 to 4 Digit 7 Segment using SevSegShift Library

I have a question regarding the use of SevSegShift library. I followed the example properly and tested it to see if it works. It was able to power up the seven segments and light up the whole LEDs (...
0 votes
2 answers
106 views

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

We have an Arduino Nano connected to 4 small (0.5") common-anode 7-segment displays and 2 large (3") common-anode 7-segment displays. We are trying to multiplex the displays. The larger one ...
1 vote
0 answers
162 views

Arduino and ZMPT101B But Not Stable Sigma Output In 7segment Display(TM1637) using filter library

#include <Arduino.h> #include <math.h> //TRUE RMS START #include <Filters.h> //Easy library to do the calculations #include <TM1637Display.h> float testFrequency = 100; ...
-2 votes
3 answers
784 views

4-digit 7-segment display not showing value properly

I'm trying to add a 4-digit 7-segment display to an existing project (a temperature & relative humidity sensor) to show the temperature on the display. I bought the display a long time ago and I ...
0 votes
2 answers
725 views

delay() problem for 74HC595 and 7-segment

I'm trying to run a 3-digit 7-segment using single 74HC595 based on Arduino. But I have a serious problem with delay() function. When I want to count from 000 to 999 with delay(1000), this delay ...
  • 27
-1 votes
1 answer
451 views

How can I use multiple 7-segment displays in Tinkercad

I need to connect five 7-segment displays using Tinkercad. We know that Tinkercad doesn't have an Arduino Mega to use its pins. How can I do this without the Arduino Mega?
  • 43
1 vote
0 answers
85 views

Arduino Uno and 7 segment display - wrong value displayed

I am working at this project and I found that if I have set the temperature by rotating the pot to 312 C, the iron started heating up, but when it was at about 60 C then on the display (7 segment, 3 ...
0 votes
2 answers
1k views

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

I purchased one of these 4 digit 7 segment displays using a TM1637. I installed the TM1637 display library from the libraries manager and included it: (#include <TM1637Display.h>). I am ...
  • 237
1 vote
0 answers
88 views

Trouble with 4 digit 7 segment display

So I spent a bit trying to figure the wiring and I THOUGHT I had it working but something interesting happened. Displaying works for only the numbers 1, 3, 4, 7, 8, and 9, but are weird when it comes ...
1 vote
0 answers
79 views

Problem driving segment display

First off, I'm not really sure if it belongs here on on electronics stackexchange, since it involves an Arduino, some code and a small circuit. I'm trying to create a simple countdown timer using a 7 ...
  • 11
1 vote
1 answer
326 views

number generator show wrong segments on 7 segment display

I created a program to show a random number on a 7 segment display. It shows a random number in the serial monitor but always shows the same segments 'a c d and g'. anyone know hopw to fix this ...
  • 27
0 votes
1 answer
71 views

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

I'm recently having a hard time with my Arduino project. I'm trying to control a seven-segment display (it has a microcontroller on it) with an encoder, and I'm trying so that everytime I rotate the ...
1 vote
1 answer
371 views

Mapping segments and memory allocation on a segment LCD driver [closed]

I've just configured a segment LCD and driver, everything works fine, but because I decided to not use vias on the PCB, the connections between the two are mixed. To be more precise, in order to ...
  • 47
1 vote
2 answers
154 views

Matrix keyboard and 7segment display countdown combination

I'm working on an escape room for my university with an Arduino Mega. The last part consists of a 7segment display representing a time countdown, and the participants have to introduce the correct ...
-1 votes
1 answer
2k views

How to read Output data from SPI connector using Arduino Uno?

I am having main controller circuit board that give the data such as ("HAI", "HELLO") to 5 pin SPI Connector mounted on the same board. In that 5 pin SPI connector I could connect separate circuit ...
0 votes
1 answer
295 views

4 digit 7 segments display wrong number

I'm an Arduino newbie having problems with 4 digit 7 segments display. I want to display some thousands to 4 digit 7 segments display but it display only 0000. I want to receive data from serial with ...
1 vote
1 answer
392 views

7 segment multiple display, only display 1 digit

I try to create a display so that when I press the button, the counter is increased by one. The problem is only one of them light up and it is not showing the correct output, it is showing the ...
0 votes
1 answer
625 views

Connect a TM1627 to ESP32

I want to control a 7 segment display that has a TM1637 integrated with an ESP32. Some time ago I created a layout that used an ESP12e but I need more GPIO pins so I'm switching over to an ESP32. ...
  • 111
0 votes
1 answer
435 views

Flashing a specified digit 4x7 segment display and shift register 74HC595N

I have a project that is simply a relay timer. The code is not complete so you will see 'in progress' sections not related to my question in my code. However, my question is... I am creating a timer ...
1 vote
1 answer
518 views

7-Segment, 3-digit display not displaying correctly

I have written the code that should work, but for some reason the numbers do not display correctly. When I choose to display 3 times the same number it works correctly (so pin connections are correct) ...
  • 13
-1 votes
1 answer
5k views

3 digit 7 segment display

I have 3 digit 7 segment display with 10 pins I found this image pinout but it not working for me I need to know the pin out of this display
1 vote
1 answer
4k views

6 wire 3 digits 7 segment display and arduino question

Here's a brain teaser for you: I have the following 3 digit 7 segment display that has only 6 wires Experimentally I found out how it works, even though I don't understand it, but anyways every ...
2 votes
2 answers
6k views

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

I can't figure it out what is the problem with my circuit, the segments turning on for sec and then they are turning off for good. I tried to connect to GND instead of the 5 V but then, nothing ...
  • 133
1 vote
1 answer
1k views

I'm trying to display the numbers 0-99 by multiplexing to two 7 segment displays. One number does not display

//Numbers 0-9. int numberArray[10][7] = { { 0, 0, 0, 0, 0, 0, 1 }, //0 { 1, 0, 0, 1, 1, 1, 1 }, //1 { 0, 0, 1, 0, 0, 1, 0 }, //2 { 0, 0, 0, 0, 1, 1, 0 }, //3 { 1, 0, 0, 1, 1, 0, 0 }, //4 { ...
1 vote
2 answers
410 views

4-digit 7-segment display resets when common pin set to HIGH

I'm trying to make a simple stopwatch application with my Arduino Mega 2560 and a 4-digit 7-segment display, but the leftmost three digits only light up for a split second before they go out every ...
0 votes
2 answers
4k views

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

I'm trying to light up 81 on a 4-digit 7-segment display, but when I try to upload the code to my Uno R3 it gives me this error: "a function-definition is not allowed here before '{' token". I'm new ...
1 vote
2 answers
3k views

How to power up this LCD 7 segments display

I got two of these type of 7 segments display in LCD material. And here is the datasheet I tried to power up to UNO, it can make the segment on, while a second, the segment go off, but the pinMode ...
0 votes
1 answer
1k views

Using Multiple 4 Digit displays with the same pins

I currently have a ton of 4 Digit 7 Segmented displays(TOFD-5465GGH-B). The display is driven by a PT6961 LED Driver. Using a Library that I found here I was able to use the display with no issues. ...
0 votes
3 answers
594 views

4 digit 7-segment display

What happends if I turn on all LEDs at the same time in an 4 digit 7 segment display? that would be 32 LEDs turned on at once, wouldn't that exceed the 200ma MAX for the arduino output?
  • 9
2 votes
3 answers
2k views

Convert from 3 V to 5 V

I'm new to Arduino, electronics, and this forum. I have made up a little project that connects an HC-SR04 ultrasonic range detector, and displays the distance on a 4 digit, 7 segment LED display. ...
  • 121
0 votes
4 answers
4k views

Run two Loops Simultaneously on Arduino

I am not able to combine the below two sketches. What I require is to either run both the loops together or find a way to run both the functions inside a single loop. Sketch 1 #include <SevSeg.h&...
  • 136
1 vote
1 answer
1k views

Seven-Segment Display doesn't work on two lights

This is my code: void setup() { pinMode(2, OUTPUT); } void loop() { digitalWrite(2, HIGH); } This is my circuit: Problem: Light A and B doesn't work when I plug the red cable to 4 and 5. ...
  • 13
0 votes
1 answer
789 views

Something's wrong with my code for a 4 digit 7 segment clock display

I'm trying to do a clock using 4x7 segment displays but once I run the code the Display doesn't turn on here's my Code that I'm like 90% sure that there's nothing wrong with it bool A = 2; bool B = ...
0 votes
1 answer
212 views

Multiplex 7 segment during delay (external IC?)

I am using some sensors with the arduino which take a second to receive the data from them. My guess is that there is a delay used somewhere in the library. During this time the multiplexed displays ...
2 votes
1 answer
8k views

74HC595 with 4 digit 7 segment display. Any way to get rid of leading zeros?

I am working on an Arduino based temperature reader using a DS18B20 temperature IC. The display is a 4 digit 7 segment LED common anode display driven by a single 74HC595 shift register. Currently, it ...
0 votes
1 answer
1k views

Correct connections: 7-segment, 4-digit display with common anode

I see this connections for 4-digit display. All used pins set up on output. But, really, is it correct connections? Why it used A* input pins, and, digital pins set up on output, it is right? Maybe ...
  • 103
2 votes
3 answers
546 views

How to multiplex multiple displays?

I want to use 2 "displays" with 4 digits. The displays are common cathodes with cathode transistors connected to the digits, as the figure: The segments of both displays are connected together on the ...
  • 31
6 votes
2 answers
2k views

7 Segment display dimming

I've got project that needed to have some (4) digits display, and had plenty of 7 seg. displays lying around. I didn't have any multiplexers left but have instead wired it up as per this diagram: I'...
0 votes
1 answer
3k views

Interfacing key-pad with arduino with 7 segment display [closed]

I have the following components: Arduino Mega 7-segment display 12-digit key-pad For my project, I would like to display on the 7-segment display the number that the user presses on the keypad.
1 vote
2 answers
3k views

Switching methods/functions with a button

I am trying to program a basic counter using 7segment display and a button. What I am trying to achieve is the following: Display 0 at the beginning. When the button is pressed: Start Loop 0-9 ...
  • 11