Design Con 2015
Breaking News
Comments
Newest First | Oldest First | Threaded View
Max The Magnificent
User Rank
Blogger
re: Men versus Women: Help required controlling meters!
Max The Magnificent   3/5/2009 2:26:10 PM
NO RATINGS
Thanks for the input -- I agree about the PWM -- and also the way you were talking about doing it (register, counter, comparator) -- in fact I'm going to use a cheap-and-cheerful 50 cent PIC for each meter to implement the PWM -- each of these PICS will be told what to do by my PICAXE ... still fine-tuning the details. Cheers -- Max

Bob Lindner
User Rank
Rookie
re: Men versus Women: Help required controlling meters!
Bob Lindner   2/26/2009 3:20:10 PM
NO RATINGS
You can use a resistor ladder network much like D to A chips do.

EDW
User Rank
Rookie
re: Men versus Women: Help required controlling meters!
EDW   2/19/2009 4:21:44 PM
NO RATINGS
Also, you might want to put your LEDs in a XY grid and multiplex them. LEDs are more power efficient when multiplexed, and you would drastically reduce your IO pin count & wiring.

EDW
User Rank
Rookie
re: Men versus Women: Help required controlling meters!
EDW   2/19/2009 4:17:48 PM
NO RATINGS
All meters are basically a spring loaded coil of wire placed in a magnetic field. Input current causes a magnetic force, which balances with the spring force to produce a equilibrium position. To make it read bigger amps add a low shunt resistance. To make it read volts add high series resistance. In your case I think you should not use any shunt resistance (so as to limit the power dissipated by the meter) and only use series resistors. Take the PIC output voltage and apply it to the meter with a 1 meg pot in series (set to max resistance!). Dial the pot down until you get full deflection, then measure the pot with a DMM and put a fixed resistor of this value permanently in series with the meter. You might want to add a fixed resistor to your test setup, say 10k or so, to prevent accidents from happening. Have you considered using PWM for the meters? Even a simple first order PWM should work fine. This would give you very fine grained control of the meter position and would drastically reduce pin count and external components. In CPLDs and FPGAs I implement PWM via an up-counter, a comparator, and a register. if the up-counter is less than the register value, make the output high. If it is greater than or equal, make the output low. If the clock into this process is fast enough the meter will act like a low pass filter and display a steady value. To use a slower clock, add a capacitor to the meter. Width (bits) of the counter and register determine the resolution. For audio you should use at least a second order modulator in order to obtain reasonable clock speeds and low noise floor.



Most Recent Comments
Top Comments of the Week
Flash Poll
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Max's BADASS Display: A Comedy of Errors
Max Maxfield
5 comments
Good grief -- where does the time go? I first determined to build my Bodacious Acoustic Diagnostic Astoundingly Superior Spectromatic (BADASS) display way back in the mists of time we used ...

<b><a href=Betajet">

The Circle – The Future's Imperfect in the Present Tense
Betajet
5 comments
The Circle, a satirical, dystopian novel published in 2013 by San Francisco-based writer Dave Eggers, is about a large, very powerful technology company that combines aspects of Google, ...

Martin Rowe

Make This Engineering Museum a Reality
Martin Rowe
Post a comment
Vincent Valentine is a man on a mission. He wants to make the first house to ever have a telephone into a telephone museum. Without help, it may not happen.

Rich Quinnell

Making the Grade in Industrial Design
Rich Quinnell
16 comments
As every developer knows, there are the paper specifications for a product design, and then there are the real requirements. The paper specs are dry, bland, and rigidly numeric, making ...

Special Video Section
The LT8640 is a 42V, 5A synchronous step-down regulator ...
The LTC2000 high-speed DAC has low noise and excellent ...
How do you protect the load and ensure output continues to ...
General-purpose DACs have applications in instrumentation, ...
Linear Technology demonstrates its latest measurement ...
10:29
Demos from Maxim Integrated at Electronica 2014 show ...
Bosch CEO Stefan Finkbeiner shows off latest combo and ...
STMicroelectronics demoed this simple gesture control ...
Keysight shows you what signals lurk in real-time at 510MHz ...
TE Connectivity's clear-plastic, full-size model car shows ...
Why culture makes Linear Tech a winner.
Recently formed Architects of Modern Power consortium ...
Specially modified Corvette C7 Stingray responds to ex Indy ...
Avago’s ACPL-K30T is the first solid-state driver qualified ...
NXP launches its line of multi-gate, multifunction, ...
Doug Bailey, VP of marketing at Power Integrations, gives a ...
See how to ease software bring-up with DesignWare IP ...
DesignWare IP Prototyping Kits enable fast software ...
This video explores the LT3086, a new member of our LDO+ ...
In today’s modern electronic systems, the need for power ...