Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?

[Ideas For Design]
DOWNLOAD THE CODE:
3648.zip


Four-Digit Panel Meter Costs Less Than Six Dollars



Contributing Author  |   ED Online ID #3648  |   October 15, 2001

Article Rating: Not Rated

While many products can be improved by the incorporation of a digital panel meter, the price of the device often precludes its inclusion. The circuit shown offers a low-cost solution (see the figure). As an added bonus, the circuit is pin-selectable for three different display ranges. The total parts cost is less than $6.00 in quantities of 100.

The low-cost PIC16C711 forms the heart of the panel meter. It is configured with two of its inputs as 8-bit analog-to-digital converters (ADC). While AD0 is the voltage input, AD1 is the range-select input. If AD1 is wired to ground, the unit will display a range of 0.00 to 5.10 V with a 20-mV resolution (the left digit is blank).

With AD1 wired at mid-voltage, the display reads 00.00 to 12.75 V with a 50-mV resolution. With AD1 wired to VCC, the display reads 00.0 to 25.5 V with a 100-mV resolution (the right digit is blank). A total of 256 voltage increments are displayed.

Since the voltage reference is the VCC supply, the accuracy after calibration is as stable as VCC. The 16C711 is rated for ±1/2-LSB over temperature. The micro has an open drain output on RB4, requiring an external pull-up resistor. Also note that external voltage attenuators are required for the upper voltage ranges.

The PIC chip functions as a seven-segment decoder/driver, driving all four seven-segment LEDs at once. Only one of the four seven-segment LEDs is illuminated at a time. It is pulled to ground on the common cathode terminal by Q1 through Q4, respectively. The decimal point is selected through an independent resistor.

The LED pack is MSQC6940C, available from Mouser for $2.06 per 100 units. The PIC16C711-04P is available from Digikey for $2.23 per 100 units. The 4-MHz resonator is ZTT-4.00MG, also available from Digikey at $0.45 per 100 units. The PIC code listing for the PIC16C711 can be viewed or downloaded.




Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (183 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (170 views today)
    3) GPS-Derived Grandmaster Clock Delivers Ultra-Precise Time And Frequency Sync
    (91 views today)
    4) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (84 views today)
    5) Downconverting Mixers Lower Power Consumption While Improving Performance
    (72 views today)
    ALL TOP 20







    POST YOUR COMMENTS HERE

    Name:

    Email:
    Rate this article:

     less useful more useful 
    1
    2
    3
    4
    5
    Your Comments:

    Enter the text from the image below




    Please refresh the page if you have trouble reading this text.
    (Acceptable Use Policy)
     
     

    PartFinder

    Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
    GlobalSpec

    PART SEARCH :
    Powered by: GlobalSpec - The Engineering Search Engine
    Sponsored Links

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources