seven-segment-display

Seven Segment Display outputs are unknown

不羁岁月 提交于 2021-02-17 03:28:08
问题 I'm trying to make a counter that counts from 0-9 and displays on my Nexys A7's seven segment display. The code compiles, but in the testbench it shows that all the outputs are unknown. I tested my clock divider module, and it looks fine. I'm not sure why it isn't working. module BCD_sevenseg( input clk, output segA, segB, segC, segD, segE, segF, segG, segDP, div_clk ); counter module1( .clk(clk), .div_clk(div_clk) ); reg[3:0] BCD; //BCD signal is 4 bits wide always@(posedge clk) //check

Pic16f684 & dual seven seg display program: random number generator in C

萝らか妹 提交于 2020-08-08 05:50:18
问题 I'm trying to convert this code to be able to generate random numbers 1-56. I would understand, but because the program has to switch back and forth to be able to show both digits, I'm confused. I know in some respect, I can use rand() to choose. I will eventually use this code in junction with an lcd screen to display the numbers as well as the dual seven segment display, but for now, just trying to figure out to program a PIC16F684 to generate the random number on the dua84l seven seg

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

早过忘川 提交于 2020-06-23 12:45:30
问题 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 7-segment-device, see Wikipedia. I am NOT using any external device. I only need it to print to my own terminal. All the other StackOverflow solutions I found are related to using actual devices and didn't help. Lab Link: https://edube.org/learn/programming

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

随声附和 提交于 2019-12-25 18:48:16
问题 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 the first and second digit displays? Like I want it to display from 0 to 255 (00, 01, 02...FF)? Requirements: When the circuit is first energized, the seven-segment LEDs will start counting at 0x00. The duel segment LEDs will count up to 0xFF,

Text detection on Seven Segment Display via Tesseract OCR

时光总嘲笑我的痴心妄想 提交于 2019-12-03 06:46:14
问题 The problem that I am running with is to extract the text out of an image and for this I have used Tesseract v3.02. The sample images from which I have to extract text are related to meter readings. Some of them are with solid sheet background and some of them have LED display. I have trained the dataset for solid sheet background and the results are some how effective. The major problem I have now is the text images with LED/LCD background which are not recognized by Tesseract and due to

Text detection on Seven Segment Display via Tesseract OCR

旧巷老猫 提交于 2019-12-02 19:19:45
The problem that I am running with is to extract the text out of an image and for this I have used Tesseract v3.02. The sample images from which I have to extract text are related to meter readings. Some of them are with solid sheet background and some of them have LED display. I have trained the dataset for solid sheet background and the results are some how effective. The major problem I have now is the text images with LED/LCD background which are not recognized by Tesseract and due to this the training set isn't generated. Can anyone guide me to the right direction on how to use Tesseract

7-Segment Display OCR

瘦欲@ 提交于 2019-11-29 07:44:02
问题 I'm building an iOS application (take a picture and run OCR on it) using Tesseract (an OCR library) and it is working very well with well written numbers and characters (using usual fonts). The problem I am having is that if I try it on a 7-Segment Display, it gives very very bad results. So my question is: Does anyone know how I can approach this problem? Is there a way for Tesseract to recognize these characters? 回答1: I too had great difficulty in getting tesseract to recognize digits from