Questions tagged [seven-segment-display]

Numeric display formed by seven line segments, often with additional decimal points or colons.

Examples of a seven segment display format.

 _           _   _   _   _           _   _   _   _
|_|         |_| |_|.|_| |_|         |_| |_| |_| |_| 
|_|.        |_| |_|.|_| |_|         |_|.|_|.|_|.|_|.
74 questions
1
vote
1 answer

Random number generator with corresponding letter

I have 2 circuits, both made up of a dual seven segment display and A pic16f684 (As shown below) the first circuit uses the code supplied to generate a random number 1-26. The letter portion is the same circuit, but with one of the transistor…
tjpplay
  • 45
  • 4
1
vote
0 answers

How to detect seven-segment digits from a picture on a computer screen with Python?

I need to detect seven-segment digits from a pc screen and then print the digits it sees out or gives the information to other programs so I can use the information. I would also like it to do it automatically without user input. I really haven't…
Fanfer123
  • 67
  • 11
1
vote
1 answer

ESP8266 rshell repl freezes

I wanted to define some pin variables before experimenting with a seven-segment 4-digit display which is connected to my ESP8266. On the interpreter, the following lines of code work fine, and they do not raise any errors: from machine import…
a135
  • 119
  • 1
  • 6
1
vote
1 answer

2 digit seven segment display

I am coding for a two digit seven segment display that counts up to 99, it is being called in a timer function that is fast enough so both digits are displayed at the same time with no flickering. However the display is not outputting the correct…
Mgert33
  • 83
  • 10
1
vote
1 answer

Python3 Print on Same Line - Numbers in 7-Segment-Device Format

I'm new to Python and having difficulty getting the output to print on one line. This is pertaining to the online Python class Learning Python Essentials Lab 5.1.10.6 and printing to a 7-segment-device. If you are unfamiliar with a…
PSn00b
  • 23
  • 1
  • 6
1
vote
0 answers

Why is my seven segment display only showing 0's?

I am trying to write code for my Nexys 4 DDR to display 4 digits which are chosen from a keypad. They keypad is fed into port JA and then decoded and displayed on the seven segment displays. The numbers are supposed to shift left after a new key is…
Mesuzuko
  • 11
  • 2
1
vote
3 answers

how to convert kotlin code to java format for android

I don't know kotlin, I had convert the kotlin code in java and paste that code but there is lots of confusion to read that bytecode. can anyone help me, please to convert this code. please convert this code in java…
rachna
  • 124
  • 8
1
vote
1 answer

What should I do if I have seven segment pins in different ports?

In my circuit, 7 segment pins is in different port like:Seg A to SegD (in RA0 to RA4) SegE(in RF1) SegF (RG4) SegG(RG3). I can count 0 to 9 with setting bits one by one. I need to count 0-9999 but ı can't store values. How can ı do that for my…
1
vote
1 answer

(VHDL) I'm Receiving an Error When Trying to Output from an Array

I'm trying to output data inside an array to the 7-segment display on my DE1-SoC board. Here are my variables: display : out std_logic_vector (6 downto 0); type bigDisplay is array (0 to 4, 0 to 6) of bit; signal displayArray : bigDisplay; Here is…
Luke R
  • 33
  • 1
  • 4
1
vote
1 answer

Javascript seven segment display not lighting up or responding to event clicks

I'm brand new to coding, can anyone tell me whats wrong with my code? It's probably some mistake I made within the code, but I've been trying at it for a few hours now, any help would be appreciated! var theCanvas =…
Kevin
  • 13
  • 2
1
vote
0 answers

Keypad remember last pressed number VHDL

First of all sorry for my bad English, hope you understand my problem I have an project "time bomb". I work with a keypad and Nexys 3 FPGA. I have to click two numbers for example 1 and 2 and confirm by definied number or letter on keypad. Then it…
KJanek
  • 147
  • 1
  • 11
1
vote
1 answer

Incrementing a seven segment display in a state machine for de1 board

I am using a state machine to create a countdown timer that on startup, displays 00:00 and when Key1 is pressed, you can input a time by incrementing/decrementing minutes by 1 and if the up/down button is held for 5 cycles it will go up/down by 5.…
1
vote
1 answer

Seven Segment Decoder

So I'm trying to design Seven Segment Decoder. When Button is pressed at 110, then the LED Display should display 1 digit hex number: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. But, when Button is pressed at 101, then the LED Display should display 1 digit…
Eduardo Romero
  • 13
  • 1
  • 1
  • 4
1
vote
1 answer

VHDL Counter using switch on 7-segment - not working

I'm trying to code for a simple counter (0 to 9) displaying on a seven segment display. The way it increments is via a switch - going from a logic 0 to logic 1 which increments it by 1. There is also a rest capability which is meant to reset the…
Ozzy1990
  • 13
  • 1
  • 4
1
vote
1 answer

Case statement returning incorrect value

I am trying to do this 7segment display function. The input "rn" is the number i want to display, but while I do the simulation on ISE suite, it just can recognize the "rn"'s when it is equal to 0 or 1. Any value greater than that will fail, so the…
n00d1es
  • 33
  • 3