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
0
votes
1 answer

4bit number to seven segment

I have a 4 bit output number as output. How can it be seen on seven segment display as hexadecimal number? I'm new and mentioning verilog. So, I have a four bit binary number and want to display it as hexadecimal. Ex. 1010(10) as A case…
user4134614
0
votes
1 answer

hexadecimal seven segment display verilog

I've taken a project using verilog. We have two 4-bits number, a multiplexer(S0,S1) and four module(adder,substractor,and,xor). Output is 4 bit. I think it seems simple alu. I have written a verilog code that contains all of them as modules. I have…
user4134614
0
votes
1 answer

display a random generated number on 7 segment

I can only use one of the four 7-segment displays. If I comments this line of code led ledh(rn1_temp[7:4], segh_temp); , it will run well, even though with some warning message. But when I try to use two of them to display a 5-bit number, it gave me…
n00d1es
  • 33
  • 3
0
votes
1 answer

Counters VHDL multiplexer 7 segment

I am new to VHDL and my code may seem stupid but I am still struggling. I am trying to make a BCD counter using Spartan 3 kit. I have a problem multiplexing the 7 segment, and I know i should use components but I went with the easier way. I get…
0
votes
1 answer

Behavioral verilog bcd up down counter with enable and reset

I recently need to make a BCD up down counter with enable and reset. I have three always blocks but i dont know how to connect them together. I have my code from code segments given by my teacher. I wrote a structural verilog doing the same…
Ruka Tsoi
  • 45
  • 2
  • 3
  • 12
-1
votes
1 answer

Counting number on the seven segment with AVR

I have written a program for my At-mega 32 in order to increase and decrease numbers from 0 to 9 and reverse (9 to 0) with the two tactile switch witch you can see in the picture. But the problem is that while all of the numbers are demonstrated by…
a2640
  • 1
  • 2
-1
votes
1 answer

First project! Arduino uno r3 says "no matching function for call to 'SevSeg::SevSeg()'"

I was following this tutorial, and everything is wired correctly as far as I can tell, but my 7seg display is only showing 8888. I tried uploading the code to the controller but I get back "no matching function for call to 'SevSeg::SevSeg()'" I'm…
Cel F
  • 1
-1
votes
1 answer

Questions about displaying 0x00 to 0xFF with two seven segment Lights

Can someone please help me with this? I have been researching and trying to get this working, but I'm out of luck. All the codes I found online were not working... The output, for now, is 00, 11, 22, 33, ... FF and lop back to 00. How do I separate…
-1
votes
2 answers

How to i make a program in arduino to change a variable from 0 to 9, then from 9 to 0 and so on?

I'm currently building a seven segments display and i want it to display all the numbers from 0 to 9, and the viceversa. I've been able to display all the numbers between 0 and 9, but i'm stuck trying to display the ones between 9 and 0. Once it…
-1
votes
1 answer

problems with implementation of 0000-9999 counter on fpga(seven segment)

EDIT1 okay i couldnt post a long comment(i am new to the website so please accept my apologies) so i am editing my earlier question. I have tried to implement multiplexing in 2 attempts: -2nd attempt -3rd attempt in 2nd attempt i have tried to send…
-2
votes
2 answers

What is wrong with this Verilog code?

I wrote a module that works as a counter (seconds) and displays the number on two seven segment displays on an Altera board, one for each digit. Here is the module: module assignment2_sevenseg(clkin, seg1_output, seg2_output); input clkin; output…
ninesalt
  • 4,054
  • 5
  • 35
  • 75
-2
votes
2 answers

Assembly 2 digit 7 segment display

I have got a little problem of understanding how is suppose to work. Basically all what I need is to light up a led on each side of 7 segment display. They overlapping each other or only showing on left or right side. If someone can put me on right…
-3
votes
2 answers

Converting seven segment to number

I want to convert seven segment numbers to normal string in java. For example, if input string like this input _ _ _ _ _ _ _ _ | _| _||_||_ |_ ||_||_|| | ||_ _| | _||_| ||_| _||_| output should be like 1234567890 I have…
Devy
  • 703
  • 6
  • 17
-3
votes
1 answer

How can I make my current code efficient by avoiding if-else conditions?

Programming language: C Platform: PIC Microcontroller 8-bit Number of problems: 2 I'm using a 4-digit 7-segment display for showing numbers. I've a few functions that display some letter/digit on the 7-segment like: zero() // displays 0 on the…
Faraz Ahmad
  • 515
  • 1
  • 6
  • 13
1 2 3 4
5