Home Community

Designing a computer based voltmeter
Welcome, Guest. Please login or register.
June 17, 2013, 11:57:15 PM
Home Help Search Calendar Login Register
News: trade your components on this new board: "Components trade"

Advertisements
No New Posts
Today at 01:39:33 AM
in
Advertisements
by google

+  Electronics-Lab.com Community
|-+  Electronics Forums
| |-+  Electronic Projects Design/Ideas (Moderators: Dazza, gogo2520, Herman the German)
| | |-+  Designing a computer based voltmeter
« previous next »
Pages: [1] 2 Print
Author Topic: Designing a computer based voltmeter  (Read 2169 times)
adrobnis
Newbie
*
Posts: 4


I'm a llama!


View Profile
« on: September 23, 2004, 11:11:51 PM »

I would like to monitor multiple voltage signals at the same time through the parallel, serial or usb port.

The signals can be monitored on a rotating basis based on the speed of switching from one line to the other, however; I am not familiar with how to read the voltage.

For example, I want to monitor the voltage fluctuations on a circuit board, anywhere from 0 - 12 V DC.  How could I do that?

From the programming (software) side, I have a reasonable idea on how to monitor the port, but from a hardware side, I do not.

I appreciate any help you can provide.

Thank you.
Logged

Suraj
Sr. Member
****
Gender: Male
Posts: 251


Keep It Simple Stupid

surajbarkale
View Profile
« Reply #1 on: September 24, 2004, 05:05:36 AM »

You need an ADC & a microcontroller if you want to put data through USB or serial port. However for parallel port you can get away by using ADC & some logic chips. The selection of ADC will depend upon the resolution you want you can use any 10bit or 12bit ADC with integrated mux for the inputs. You will also need an attenueator at the input to protect ADC.
This is very similar to a Data Acquizition System take a look at http://www.geocities.com/hagtronics/pic_das/
Logged

if(have_knowladge==TRUE) share_it(); //that's my code
Search Electronics Lab
Search the internet

Ante
Electronics God
*****
Gender: Male
Posts: 4102


Never stop learning!


View Profile
« Reply #2 on: September 24, 2004, 10:32:25 AM »

You can get away with a simple ADC and a multiplexer circuit.
Logged


adrobnis
Newbie
*
Posts: 4


I'm a llama!


View Profile
« Reply #3 on: September 24, 2004, 09:16:01 PM »

Thank you both for the information.  I read the information on the ADC but I do not fully understand the process.

Programming the picmicro seems easy enough, but wiring it, knowing what resistance to use, etc., I have not completed figured out.

Can you suggest a location to learn more information or possibly a site with a similar project.

Thank you.
Logged

MP
Electronics God
*****
Posts: 3352


30+ Years Engineer


View Profile
« Reply #4 on: September 25, 2004, 10:22:18 PM »

...and how were you going to run 12 VDC into the ADC of a PIC? Better figure this into the design, cause the ADC is not going to like more than 5 VDC.

MP
Logged

Ante
Electronics God
*****
Gender: Male
Posts: 4102


Never stop learning!


View Profile
« Reply #5 on: September 26, 2004, 02:38:34 AM »

Velleman has a kit with many nice options at a very reasonable prize
Logged


adrobnis
Newbie
*
Posts: 4


I'm a llama!


View Profile
« Reply #6 on: September 26, 2004, 11:52:22 AM »

Thank you.

The K8048 also looks interesting w/ a max input of 20V/40mA on the digital input side.

But, that begs the question - what is the difference between an analog signal and a digital signal when it comes to measuring voltage?

Being the "newbie" I have no clue, however; I would guess analog since the voltage fluctuates, rather than being "on" and "off."  And, in the instance of measuring voltage, I want to know more than just "on" or "off."

Taking that into account, the K8055 only has 2 analog inputs, and the K8048 has 4, both with a potential maximum of 5V.

Again, I am not quite sure even where to start with this project, but I would like to try.

The parameters are to measure voltage from multiple inputs at the same time (or switching between them on the millisecond level is fine) and record the values through a computer program.

Obviously I can take a voltmeter and measure and watch the voltages but only one at a time, and I cannot record the information in a graph format.

So, I suppose you could say I want to build multiple voltmeters which take the information and save it on the computer.

Thoughts on how to tackle this project and/or where to start?
Logged

FRIED
Jr. Member
**
Posts: 71



View Profile
« Reply #7 on: September 26, 2004, 08:23:54 PM »

What resolution do you need?
Logged

adrobnis
Newbie
*
Posts: 4


I'm a llama!


View Profile
« Reply #8 on: September 27, 2004, 02:40:10 PM »

Good Afternoon,

  I am not sure I understand your question.  If you are talking about computer resolution - 640x480, 800x600, or 1024x768 is fine.

  Would that make a difference?

  If you are speaking of something else, please elaborate.
Logged

FRIED
Jr. Member
**
Posts: 71



View Profile
« Reply #9 on: September 27, 2004, 10:22:48 PM »

Bits of resolution for voltage measurement
Logged

MP
Electronics God
*****
Posts: 3352


30+ Years Engineer


View Profile
« Reply #10 on: September 27, 2004, 11:30:52 PM »

Just thought I would post some ideas for you:
Depending upon the range of input voltage, you could use a voltage divider to scale the voltage down to 0-5. This would limit the range you would be able to measure due to resolution limitations and you would want to use precision resistors with a very tight tolerance.

Another method is to use a voltage to frequency converter chip. Then read the frequency with the pin of a micro or with the PC port.

A third option is to use a voltmeter chip such as the one in our projects section and to read the lines that go to the LEDs as a binary word on the parallel port or a micro.

Hope it is helpful.

MP
Logged

Suraj
Sr. Member
****
Gender: Male
Posts: 251


Keep It Simple Stupid

surajbarkale
View Profile
« Reply #11 on: September 28, 2004, 04:26:31 AM »

Sorry if i confused you but i have found a better link Cheesy http://www.qsl.net/zl1bpu/micro/SerialDVM/AVRDVM.htm this projects uses Atmel AVR uC i could not find one using PIC sorry Sad
Logged

if(have_knowladge==TRUE) share_it(); //that's my code
Search Electronics Lab
Search the internet

MP
Electronics God
*****
Posts: 3352


30+ Years Engineer


View Profile
« Reply #12 on: September 29, 2004, 10:50:51 PM »

Suraj,
Are you familiar with the project in the link you posted. I saw this earlier when I was looking for AVR based voltmeters, but I do not see how this unit accepts an analog voltage. There is also no source code posted so I was not able to check that. I was hoping you might know something about it.

MP
Logged

Suraj
Sr. Member
****
Gender: Male
Posts: 251


Keep It Simple Stupid

surajbarkale
View Profile
« Reply #13 on: September 30, 2004, 02:14:30 AM »

First of all i am sorry because i have posted a half-cooked link. The link to bas file is not working Angry. I didn't checked that link prior to posting.
Anyway, the AVR used AT90S4433 has in built 6 channel ADC. So accepting analog voltage is no problem. (however atmel recommends you use Atmega8 insted of it).  
Logged

if(have_knowladge==TRUE) share_it(); //that's my code
Search Electronics Lab
Search the internet

Pages: [1] 2 Print 
« previous next »
Jump to:  

Advertisements
No New Posts
Today at 01:39:33 AM
in
Advertisements
by google


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!

 

 

Search Site | Advertising | Add your link here | Contact Us | Android TV Box
Elektrotekno.com | Free Schematics Search Engine | Electronic Kits | Electronic Accessories