Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Connection between Gas Meter and Microcontroller

Status
Not open for further replies.

engr_vilayat

Newbie level 5
Joined
Mar 6, 2008
Messages
10
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,347
gas meter hokup

I want to connect my natural Gas meter to microcontroller but the problum is that microcontroller take 8 bits digital iinput and the output of Gas meter is analog so how can i convert that analog output og gas meter into digital input of microcontroler?:!:
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
46,911
Helped
13,916
Reputation
28,080
Reaction score
12,562
Trophy points
1,393
Location
Bochum, Germany
Activity points
273,618
gas meter tutorial

Some uP have analog inputs, others need a suitable external ADC.
 

banjo

Advanced Member level 2
Joined
Dec 24, 2005
Messages
651
Helped
127
Reputation
254
Reaction score
8
Trophy points
1,298
Activity points
8,070
measure gas flow microcontroller

You need an analog to digital converter, usually abbreviated ADC. Take a read of :

http://www.pages.drexel.edu/~dwk24/ADC.htm

This will give a basic overview. You have several options, you can add an external ADC chip to your system. Or you can change your microcontroller to one that already includes an ADC function internally. Many larger microcontrollers have this function already. You just need to feed the analog voltage to the ADC input pin of the microcontroller and then write the code to read the internal analog to digital value.
 

amol_shah

Full Member level 3
Joined
Apr 21, 2008
Messages
153
Helped
31
Reputation
62
Reaction score
15
Trophy points
1,298
Location
Nasik
Activity points
2,034

engr_vilayat

Newbie level 5
Joined
Mar 6, 2008
Messages
10
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,347
gas microcontroller

But if analog reading og the meter is not so efficient then......?:cry:

i want a connection in which i can directly measure the usage quantity of natural gas and then convert that measurement in digital form.........can i use any type of sensor which measure the gas flow and convert that in digital form?
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
46,911
Helped
13,916
Reputation
28,080
Reaction score
12,562
Trophy points
1,393
Location
Bochum, Germany
Activity points
273,618
reflective sensor gas meter

The accuracy limitation is usually caused by the metering device (or the sensor) itself. Errors by analog signal transmission would be additive, but are most likely not dominant.

If a calibrated mechanical gas meter is involved with your installation, the best option is get a type with additional electrical output (a pulse contact). Some devices also allow to mount an optical reflective sensor.
 
Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top