Description: Video-DVM is a very cheap DVM that shows how an output as complex as a videocomposite signal can be generated entirely in software: two I/O pins and three resistors are all the hardware required. Connected to any TV set it displays voltages, included max and min peaks, using both giant digits and an analog bar-display. A serial data output for computer data logging is provided, too. The micro is the Atmel’s AT90S1200, ideally suited for hobbysts thanks to its 512 words flash memory, public programming protocols, free assembler and simulator available at www.atmel.com. More recently, other tools as free Basic and C compilers appeared on the Internet. The circuit is not only a working project but also a guideline for any application using a tv set as giant display: all the hard work (interrupt driven, time balanced display software) is ready made, letting even novices to modify the code to build anything ranging: from a multimeter... to a frequency meter.... to a game scoreboard.... to a watering timer.... to a video pattern generator.... to a weight scale.... The detailed flash programming protocol is available on the web site, too. The chip has 32 bytes of RAM, 64 byte of EEPROM, 512 words of program memory, and an 8 bit timer. The instruction set is concise and very well balanced, and thanks to a Harvard RISC architecture even a complex task as the one described here is accomplished using only about 400 instructions. The instruction cycle time is very short, letting software video synthesis possible. A simple two bits, asymmetrical DAC built around three resistors feeds the composite video signal at a standard level of 1 Vpp suitable to be input to any TV set with a SCART connector or an AV (VCR) input. Even the serial datastream (ASCII data at 1200 baud, no parity, 8 data bits, 1 stop bit) is generated by software. The level is TTL: most personal computers work with TTL levels as well as with standard RS232 levels, provided that the connecting cable is not too long, so I found a voltage translator like the MAX232 not necessary. If you want, you can add it externally; in that case you must invert the polarity inverting the "set bit" and "clear bit" instructions in code (the position is clearly annotated on the listing). All input pins have internal pullups and high current sink, so the max-min clear” button and the three decimal point selection dipswitch or jumpers are connected directly between the pins and ground. A led, flashing each time a measurement is completed, is connected to an output pin. The voltage is read using a 10 bit serial ADC converter.
The Video-DVM circuit utilizes the Atmel AT90S1200 microcontroller, which is characterized by its 512 words of flash memory, 32 bytes of RAM, and 64 bytes of EEPROM, making it suitable for a variety of applications. The microcontroller's Harvard RISC architecture allows for efficient instruction execution, enabling complex tasks to be performed with minimal instruction cycles. The circuit design incorporates a simple two-bit asymmetrical digital-to-analog converter (DAC), constructed from three resistors, which generates a composite video signal at a standard voltage level of 1 Vpp. This output is compatible with most television sets equipped with SCART or AV inputs.
The device's functionality extends beyond a basic digital voltmeter (DVM) and can be adapted for multiple applications, including frequency measurement, game scorekeeping, irrigation timing, video pattern generation, and weight measurement. The software is designed to be interrupt-driven and time-balanced, allowing for real-time data display on the TV set. The display features both large digit readouts and an analog bar display, enhancing user interaction.
For data logging purposes, the Video-DVM includes a serial data output that transmits ASCII data at a baud rate of 1200, utilizing standard TTL levels, which are compatible with most personal computers. This eliminates the need for additional voltage level translation, although an external MAX232 can be added if required.
Input functionality is enhanced with internal pull-up resistors on all input pins, which facilitate easy connection of external components such as buttons and switches. A "max-min clear" button and a three-position dip switch for decimal point selection are directly interfaced with the microcontroller pins. Additionally, an LED indicator is included to signal the completion of each measurement, providing visual feedback to the user.
Overall, the Video-DVM circuit serves as both a practical measurement tool and a versatile platform for educational and hobbyist applications, demonstrating the capabilities of software-driven electronics in generating complex output signals.Video-DVM is a very cheap DVM that shows how an output as complex as a videocomposite signal can be generated entirely in software: two I/O pins and three resistors are all the hardware required. Connected to any TV set it displays voltages, included max and min peaks, using both giant digits and an analog bar-display .
A serial data output for computer data logging is provided, too. The micro is the Atmel’s AT90S1200, ideally suited for hobbysts thanks to its 512 words flash memory, public programming protocols, free assembler and simulator available at www.atmel.com. More recently, other tools as free Basic and C compilers appeared on the Internet. The circuit is not only a working project but also a guideline for any application using a tv set as giant display: all the hard work (interrupt driven, time balanced display software) is ready made, letting even novices to modify the code to build anything ranging:
from a multimeter... to a frequency meter.... to a game scoreboard.... to a watering timer.... to a video pattern generator.... to a weight scale.... The detailed flash programming
protocol is available on the web site, too. The chip has 32 bytes of RAM, 64 byte of
EEPROM, 512 words of program memory, and
an 8 bit timer. The instruction set is coincise
and very well balanced, and thanks to an
Harward RISC architecture even a complex
task as the one described here is accomplished
using only about 400 instructions.
The instruction cycle time is very short, letting
software video synthesis possible. A simple two bits, asymmetrical DAC built
around three resistors feeds the composite
video signal at a standard level of 1 Vpp
suitable to be input to any TV set with a
SCART connector or an AV (VCR) input. Even the serial datastream (ASCII data at 1200
baud, no parity, 8 data bits, 1 stop bit) is
generated by software.
The level is TTL: most
personal computers work with TTL levels as
well as with standard RS232 levels, provided
that the connecting cable is not too long, so I
found a voltage translator like the MAX232 not
necessary. If you want, you can add it
externally; in that case you must invert the
polarity inverting the "set bit" and "clear bit"
instructions in code (the position is clearly
annotated on the listing).
All input pins have internal pullups and high
current sink, so the max-min clear” button and
the three decimal point selection dipswitch or
jumpers are connected directly between the
pins and ground. A led, flashing each time a measurement is
completed, is connected to an output pin. The voltage is read using a 10 bit serial ADC
converter.
Many of today's appliances feature displays and buttons. Instead of relying on motors and gears, numerous household items now incorporate embedded microcontrollers. This exploration focuses on how to experiment with microcontrollers at home.
Microcontrollers serve as the central processing units for...
Another cause of voltage drift is the input current of IC1, which slowly charges capacitor C1. This effect is particularly noticeable when the output voltage is approximately 0 volts.
The circuit in question involves an integrated circuit (IC1) whose input current...
The schematic for controlling the motors is divided into three main sections, each serving a distinct function. The primary components featured in the schematic include the PIC 18F252 microcontroller, the SN754410 motor driver, and 2N2222 transistors. At the top of...
Digital output from a microcontroller is typically a low-amperage signal. For example, when a pin is set HIGH on the microcontroller (in Wiring/Arduino, it is digitalWrite(somePin, HIGH);), the voltage from that pin is usually +3.3V or +5V, with the current...
The SP6691 circuit is designed to provide a high output voltage using a lower voltage boost regulator by incorporating a charge pump circuit. This configuration can convert a standard 30V boost regulator into a 60V boost regulator if necessary. Testing...
This circuit utilizes an 87C57 microcontroller along with several peripherals to convert X-10 power-line carrier-code formats from a personal computer for use with an X-10 power-line interface in a home control system. Software details can be found in the reference....
This device enables remote control of various appliances (up to eight with suitable add-on expansion boards) such as lights, water heaters, air conditioning, plant watering systems, alarms, etc., via a relay. It allows users to perform actions such as watering...
Automated frog call data loggers have been effectively utilized to gather information on: (1) species presence during sampling, enabling the reliable recording of species that may be overlooked due to time constraints; (2) life history and phenology details, such as...
This project was designed to introduce a friend to microcontrollers and circuits using various functionalities and spare parts. A PS2 numpad was utilized as the key entry mechanism, which was found at a thrift store and included the necessary connector....
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more