Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 11th October 2007, 05:20 PM   (permalink)
Default Analog to BCD

How do I convert an analog signal to an 8-bit BCD signal? which component should i use?

also how do i do a multiplication to the number represented by the 8-bit BCD? what component should i use? i want to multiply the 8-bit BCD to a constant.
forder is offline   Reply With Quote
Old 11th October 2007, 05:37 PM   (permalink)
Default

Quote:
Originally Posted by forder
How do I convert an analog signal to an 8-bit BCD signal? which component should i use?

also how do i do a multiplication to the number represented by the 8-bit BCD? what component should i use? i want to multiply the 8-bit BCD to a constant.
You require a 8 bit ADC [analog to digital convertor], this will give a binary output, which you then have to convert to BCD.

The decimal value for 8 bits is 0 thru 255.

Depending upon what value your multiplier Constant is will determine which multiplication method is used.

We need more details.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now   Reply With Quote
Old 11th October 2007, 06:07 PM   (permalink)
Default

well, i'm converting an analog signal (voltage difference), sent from a temperature sensor (thermocouple).. i need the signal to be in BCD so that i can display them on 7 segment.. i know that ordinary A/D converter only converts to binary.. like u mentioned, i need to convert them into BCD.. but i don't know how..

the second problem is that.. when i convert the analog signal, the resulting binary value represents the voltage difference from the sensor (am i right?), not the actual temperature value. so i figured that i need to have a constant that relates the voltage difference and the temperature, which then the constant can be multiplied to the voltage difference (in the form of BCD) so that the BCD represent the temperature value.

this is how i see and plan to tackle my project.. correct me if i'm wrong. any suggestions or hints are deeply appreciated.
forder is offline   Reply With Quote
Old 11th October 2007, 08:02 PM   (permalink)
Default

I would approch the problem in one of two ways:

1 Use a micro processor such as a PIC. These have a built in ADC and can drive a display.
Any maths which need to be done on the digitised reading from the thermocouple can be done in the PIC.

2 Use an ADC such as an 7106 or 7107 (OK maybe they are ancient and obsolete, but bear with me guys).
These ADCs have a 0 to 200mV input range.
The output of the thermocouple will be a only few mV and so will need some amplification.
So, say you want the meter to read 100 degrees, set the gain of the TC amplifier to give 100mV when there is 100 degrees on the thermocouple.
Connect the output of the amplifier to the input of the ADC.
Job done!

However, are you really sure you want to use a thermocouple?
They have a low (mV) output, they also require cold junction compensation, otherwise they will just read the temperature difference above or below ambient temperature.

JimB
__________________
Experience is directly proportional to the value of the equipment ruined.
JimB is offline   Reply With Quote
Old 11th October 2007, 09:07 PM   (permalink)
Default

i'm required to use thermoucople. and also i'm not allowed to use micro controllers / micro processors.. so the only option i have is using IC's.

thank you for the amplification suggestion.. it does make sense.
so, after I convert the analog signal into binary, how should i convert the signal into BCD?
forder is offline   Reply With Quote
Old 12th October 2007, 12:33 AM   (permalink)
Default

Quote:
Originally Posted by forder
so, after I convert the analog signal into binary, how should i convert the signal into BCD?
Look here:
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1353

and download the datasheet.

The 7106 and 7107 drive a display (seven segment LED or liquid crystal) directly, you dont need to mess about converting binary to bcd.

JimB
__________________
Experience is directly proportional to the value of the equipment ruined.
JimB is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
The Oscilloscope ElectroMaster Electronic Theory 12 3rd February 2008 01:45 PM
Searching for Analog Switch - enable on LOW toodles Datasheet/Parts Requests 5 31st July 2007 07:13 AM
Analog Switches & Tri-state buffers ChemE General Electronics Chat 2 3rd July 2007 01:29 AM
analog function generator theory schematic walters General Electronics Chat 13 16th December 2005 04:28 PM
Panel meter, analog VS digital Johnson777717 General Electronics Chat 7 22nd June 2004 11:33 PM



All times are GMT. The time now is 10:54 AM.


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