Perl uses a multimeter to report power consumption

ELECTRICKERY

Article from Issue 83/2007
Author(s):

Today’s digital multimeters can do more than measure current and voltage. Multimeters also measure capacity and temperature. An inexpensive multimeter can talk to your PC via the serial port, and simple Perl scripts let you read and visualize data in neat charts.

I was browsing a mail order catalog for electronics the other day when I noticed a couple of low-budget, digital multimeters with RS 232 interface. I discovered the MAS-345 model by Mastech on eBay for US$ 35 and quickly pressed the “buy-it-now” button.
When the device arrived, it came with just a Windows CD. After a quick search on the web, I discovered the Marsh project, which uses a bit of C code to address the Mastech MAS-345 among other multimeters.

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Rasp Pi Symfonisk

    Build open software, open hardware smart WiFi speakers for the home with the Sonos and Ikea Symfonisk.

  • Netdata

    What cannot be measured cannot be improved. Netdata lets you measure almost anything – at least as long as it's about the performance and health of a Linux computer.

  • WiFi Thermo-Hygrometer

    A WiFi sensor monitors indoor humidity and temperature and a Node-RED dashboard reports the results, helping you to maintain a pleasant environment.

  • Charly's Column: Smart Meter Monitoring

    If you've been forced to deliver Linux magazines to pay for your last electric bill, we’ll help you discover why, assuming you have a state-of-the-art electricity meter.

  • Saving Power

    Save power by choosing the right system and software configuration.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News