Is there a low-cost programmable DC ammeter with serial port connectivity?

In summary, Jason is looking for a low cost solution to programmable data logging for current flows up to 1A. He is considering making his own, but is unsure of how to go about it. He has read that there are DMMs available for under $10, and that they may have isolated serial interfaces.
  • #1
Jdo300
554
5
Hello All,

I've began to look all over the net to see if there are any programmable DC ammeters out there. For some of my projects, I want to have something like a current-flow data logger that I can read values directly from using the serial port. I have thought about making my own, but before I jump into that, I thought i would pop in and ask if anyone knows of such a thing (or plans out there to make one). I know that a lot of high-end equipment can perform this function using GPIB and other protocols, but is there a low-cost solution out there that does just this?

Thanks,
Jason O
 
Engineering news on Phys.org
  • #2
http://www.omega.com/toc_asp/subsectionSC.asp?subsection=E01&book=DAS":biggrin:
 
Last edited by a moderator:
  • #3
Hi,

Thanks for the great link. I checked through that site's product finder and most of those data loggers are waaay out of my budget range... I may have to buld my own from scratch. What I'm aiming for is really not that deep. Just a simple DC ammeter that can measure in real time, currents from about 0.5 mA up to 1A for most of the experiments I would use it for. IF I wanted to get fancy, maybe I would enable it to measure negative currents too just for the flexibility.

But I'm not exactly sure how to most simply accomplish this. My first thought was to use a shunt with an op-amp to amplify the signal and a A/D converter to send the data to a micro and output to a PC. Does anyone know if there are any ICs out there that are specialized for this type of device?

Thanks,
Jason O
 
  • #4
I don't think it would be cheaper to build than to buy in this case, dataloggers aren't that expensive. Also, sending data to a PC without using controller of some sort is somewhat tricky; most AD converters are designed to work with something like a PIC and can't send data directly to a serial port.
It is possible to do it using a parallel port but if you have a new computer it is not likely to have one.

If you really want to build something I would suggest using the line-in port of a cheap soundcard instead. You can either just read-put the voltage over a shunt directly, or even better, amplify the signal first with e.g. a differential op-amp. That way there is also less risk of burning the input of the soundcard.
 
  • #5
This would actually be WAY easy. PIC processors (as mentioned in the above post) have built in A/D convertors and serial ports.
 
  • #6
Hmmmm... actually I like the sound card idea. Do you know what the average sound card's voltage resolution is? I know the sample rate is usually something like 44100Hz but not sure about the rest.

If I could pull this off, it would definitely be much simpler than rigging up a board with a microcontroller and A/D setups. Currently I'm working with a BASIC Stamp. I would go for the PICs but I'm not ready to go on another learning curve just yet. However, I can program pretty well and could sample the sound card mic input.

- Jason O
 
Last edited:
  • #7
Audio is usually about 2V p-p, and sound cards typically record with a resolution of 16 bits (though, admittedly, the last couple of bits are probably mostly noise).

- Warren
 
  • #8
Thanks for the info Warren,

I did some more reading on the idea and found out that most sound cards AC couple the mic input (which makes sense). So I just thought of an alternate way to do this. I could use an op-amp to measure across a shunt and run that output into a Voltage to frequency converter such as the LM231, which has an output of 1Hz to up to 100 kHz depending on the voltage input. I could use that to modulate the voltage and send it through to the sound card.

Then on the software end, I could use something like a FFT algorithm to sample the sound and decompose it into the first order frequency. Since the LM231's frequency output is supposed to vary linearly with the input voltage, I can simply convert the frequency value back to a voltage.

I was also thinking about how I might implement different current ranges. Assuming that the input bandwidth is not great enough to handle the full range I need, I could use a range knob on the device to set the sensitivity level, and, perhaps superimpose a 'range signal' on top of the LM231 output signal to tell my program what current range I'm reading in. It sounds crazy but it just might work :smile:.
 
  • #9
You can buy cheap DMMs with a serial interface these days...

I saw an advert for one at £10... though I'd check that the serial i/f is isolated from the measuring side...
 
  • #10
If you want to go the sound card route, you might want to consider simply buying a $10 el-cheapo board, and then hacking it to short its input coupling cap. You'd then be able to measure DC voltages with it. Just make sure you don't throw it signals outside the range 0-2V, with respect to the computer's power supply ground.

- Warren
 

1. What is a programmable DC ammeter?

A programmable DC ammeter is a device used to measure the amount of direct current (DC) flowing through a circuit. It can be programmed to take measurements at specific intervals and can also store the data for analysis.

2. How does a programmable DC ammeter work?

A programmable DC ammeter works by using a shunt resistor to measure the voltage drop across it, which is proportional to the current flowing through the circuit. This voltage is then converted into a digital signal and displayed on the ammeter's screen.

3. What are the advantages of using a programmable DC ammeter?

The main advantage of using a programmable DC ammeter is its ability to take measurements at specific intervals, making it useful for monitoring changes in current over time. It also allows for data storage and analysis, making it a valuable tool for research and experimentation.

4. How accurate is a programmable DC ammeter?

The accuracy of a programmable DC ammeter depends on various factors such as the quality of its components, calibration, and environmental conditions. However, most modern programmable DC ammeters have a high level of accuracy, typically within 1% of the measured value.

5. Can a programmable DC ammeter measure other types of current?

No, a programmable DC ammeter is specifically designed to measure direct current. To measure other types of current, such as alternating current (AC), a different type of ammeter, such as a clamp meter or multimeter, would be needed.

Similar threads

  • Electrical Engineering
Replies
7
Views
3K
Replies
6
Views
2K
  • Electrical Engineering
Replies
2
Views
2K
Replies
13
Views
4K
Replies
2
Views
1K
  • Electrical Engineering
Replies
19
Views
7K
Replies
1
Views
5K
  • Electrical Engineering
Replies
2
Views
3K
  • Electrical Engineering
Replies
8
Views
6K
  • Introductory Physics Homework Help
Replies
2
Views
1K
Back
Top