Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 25th May 2006, 01:22 AM   (permalink)
Default convert hex code to 7 seg display

I need help to convert a code hex to 7 seg display.
electroicarus is offline  
Old 25th May 2006, 01:32 AM   (permalink)
Default

thats nice....


a bit more detail abt what exactly do you need?
__________________
Nothing is impossible.
Once a problem is realised, the rest is just details


Styx is offline  
Old 25th May 2006, 04:41 AM   (permalink)
Default

It is almost trivial.
You make a lookup table with ten entries, one for each digit in the range 0-9.
Each entry in the table has a one to turn on the appropriate segments.
Use the digit as an index into the table.
For each digit you want to display, output the contents of the corresponding table entry.

Last edited by Papabravo; 25th May 2006 at 04:44 AM.
Papabravo is offline  
Old 25th May 2006, 05:41 AM   (permalink)
Default

The circuit consists of a thermometer to meassure 0 to 99 centigrade degree ,i use a ADC0804 ,and the output goes connected to a 7seg display.I am looking for some integrated circuit that make this task.
electroicarus is offline  
Old 25th May 2006, 05:47 AM   (permalink)
Default

I was confused ,was convert the binary ouput to bcd 7 seg.
electroicarus is offline  
Old 25th May 2006, 09:53 AM   (permalink)
Default

Quote:
Originally Posted by electroicarus
The circuit consists of a thermometer to meassure 0 to 99 centigrade degree ,i use a ADC0804 ,and the output goes connected to a 7seg display.I am looking for some integrated circuit that make this task.
Throw the ADC0804 away, and use a PIC - this can read the analogue input and display directly on the 7 segment displays - you just need to write the software to do it. But all the code you require is in my tutorials.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 26th May 2006, 08:29 AM   (permalink)
Default

Quote:
Originally Posted by electroicarus
I was confused ,was convert the binary ouput to bcd 7 seg.
are u looking for something like these .?
http://www.alldatasheet.com/datashee.../TI/74185.html
http://www.alldatasheet.com/datashee...I/SN7447A.html
__________________
Gods own Country
Incredible !ndia

www.flickr.com/photos/_akg/

"Give a man a fish, and he will eat for a day. Teach that man to fish, and he will eat for a lifetime."
akg is offline  
Old 27th May 2006, 07:18 AM   (permalink)
Default

Thanks to all for its answers.
electroicarus is offline  
Old 26th July 2006, 03:23 AM   (permalink)
Default

Quote:
Originally Posted by akg
Hi akg, do you know where I can find datasheet on HEX-to-seven segment decorder?

Thank you
synckewl is offline  
Old 26th July 2006, 04:00 AM   (permalink)
Default

Synckewl, I think this is close to what you want:

http://www.fairchildsemi.com/ds/CD/CD4511BC.pdf

There are several types of these legacy parts around.
kchriste is offline  
Old 26th July 2006, 07:01 AM   (permalink)
Default

Quote:
Originally Posted by synckewl
Hi akg, do you know where I can find datasheet on HEX-to-seven segment decorder?

Thank you
alldatasheets.com or datasheetarchive.com
__________________
Gods own Country
Incredible !ndia

www.flickr.com/photos/_akg/

"Give a man a fish, and he will eat for a day. Teach that man to fish, and he will eat for a lifetime."
akg is offline  
Old 26th July 2006, 07:31 AM   (permalink)
Default

Quote:
Originally Posted by kchriste
Synckewl, I think this is close to what you want:

http://www.fairchildsemi.com/ds/CD/CD4511BC.pdf

There are several types of these legacy parts around.
thanks,
I looking for the basic gates (eg: AND) for Hex-7 segment decoder.
synckewl is offline  
Old 26th July 2006, 02:58 PM   (permalink)
Default

This pdf has the logic diagram for digits 0-9.

http://www.ee.washington.edu/stores/...000/cd4511.pdf
__________________
Bill
Home of the
Firefly PIC Tutor
Inchworm ICD2

http://www.blueroomelectronics.com
William At MyBlueRoom is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 11:32 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker