ELM304 NTSC Video Generator
Description
The ELM304 is a low-cost NTSC video signal generator in an 8 pin package. Requiring only an external crystal and a few passive components, this circuit produces a stable raster that is suitable for a variety of video applications. The ELM304 can be ‘programmed’ to generate either a solid white raster or a four-level gray scale pattern simply by changing the logic level at the mode input pin. A supplied internal pullup resistor further simplifies the circuitry when interfacing to mechanical switches. Although originally designed to provide a stable video input signal for use while recording audio on video cassette recorders, this circuit can also be used for many other instructional and test purposes. The low power consumption and small size of the circuit also makes it ideal for battery-powered applications.
Features
• Low power CMOS design - typically 1mA at 5V • Wide supply range - 3.0 to 5.5 volt operation • Uses a standard 3.58MHz crystal • Generates both solid and bar type patterns • No external amplifier required • Standard 1V p-p NTSC sync negative output • Requires no adjustments
Connection Diagram PDIP and SOIC (top view)
VDD
1 2 3 4
8 7 6 5
VSS V1 V2 V3
Applications
• Video Source for Video Cassette Recorders • Classroom Instructional Aid • Test Bench Video Generator
XT1 XT2 Mode
Block Diagram
7
V1 V2 V3
XT1 XT2
2
Master Oscillator
3
Pattern Generator
Output Matrix
6
5
VDD Mode
4
ELM304DSB
Elm Electronics – Circuits for the Hobbyist < http://www.elmelectronics.com/ >
1 of 4
ELM304
Pin Descriptions
VDD (pin 1) This pin is the positive supply pin, and should always be the most positive point in the circuit. Internal circuitry connected to this pin is used to provide power on reset of the microprocessor, so an external reset signal is not required. Refer to the Electrical Characteristics section for further information. XT1 (pin 2) and XT2 (pin 3) A 3.579545MHz NTSC television colourburst crystal is connected between these two pins. Crystal loading capacitors (typically 27pF) will also normally be connected between each of the pins and Vss. Mode (pin 4) The ELM304 can be selected to operate in one of two modes depending on the logic level on this pin. When at a high level (or open-circuited), the generated raster is solid white in colour. If this pin is held at a low level, the circuit will generate a four-level pattern of typically 100%, 60%, 40% and 20% white. V3, V2, and V1 (pins 5, 6, and 7) These are the digital to analog converter’s logic level output signals. When combined through a few appropriate resistors (see the example application section), a standard 1Vp-p NTSC video signal is created. Output levels during the signal phases are as follows:
Signal Phase Sync Blanking 20% White 40% White 60% White 100% White
V3 L L H L H H
V2 L L L H L H
V1 L H L H H H
VSS (pin 8) Circuit common is connected to this pin. This is the most negative point in the circuit.
Ordering Information
These integrated circuits are available in either the 300 mil plastic DIP format, or in the 200 mil SOIC surface mount type of package. To order, add the appropriate suffix to the part number: 300 mil Plastic DIP............................... ELM304P 200 mil SOIC..................................... ELM304SM
All rights reserved. Copyright ©1999 Elm Electronics. Every effort is made to verify the accuracy of information provided in this document, but no representation or warranty can be given and no liability assumed by Elm Electronics with respect to the accuracy and/or use of any products or information described in this document. Elm Electronics will not be responsible for any patent infringements arising from the use of these products or information, and does not authorize or warrant the use of any Elm Electronics product in life support devices and/or systems. Elm Electronics reserves the right to make changes to the device(s) described in this document in order to improve reliability, function, or design.
ELM304DSB
Elm Electronics – Circuits for the Hobbyist < http://www.elmelectronics.com/ >
2 of 4
ELM304
Absolute Maximum Ratings
Storage Temperature....................... -65°C to +150°C Ambient Temperature with Power Applied.................................... -40°C to +85°C Voltage on VDD with respect to VSS............ 0 to +7.5V Voltage on any other pin with respect to VSS........................... -0.6V to (VDD + 0.6V) Note: Stresses beyond those listed here will likely damage the device. These values are given as a design guideline only. The ability to operate to these levels is neither inferred nor recommended.
Electrical Characteristics
All values are for operation at 25°C and a 5V supply, unless otherwise noted. For further information, refer to note 1 below.
Characteristic
Supply Voltage, VDD VDD rate of rise Average Supply Current, IDD Input low voltage Input high voltage Internal pullup resistance (pin 4) Output low voltage Output high voltage Timing accuracy
Minimum
3.0 0.05
Typical
5.0
Maximum Units
5.5 V V/ms
Conditions
see note 2 see note 3
1.0 VSS 0.85 VDD 300 500
2.4 0.15 VDD VDD 600 0.6
mA V V KΩ V V
see note 4 Current (sink) = 8.7mA Current (source) = 5.4mA see note 5
VDD - 0.7 0.25
%
Notes:
1. This integrated circuit is produced with a Microchip Technology Inc.’s PIC12C5XX as the core embedded microcontroller. For further device specifications, and possibly clarification of those given, please refer to the appropriate Microchip documentation. 2. This spec must be met in order to ensure that a correct power on reset occurs. It is quite easily achieved using most common types of supplies, but may be violated if one uses a slowly varying supply voltage, as may be obtained through direct connection to solar cells, or some charge pump circuits. 3. Device only. Does not include any current supplied to external circuits. 4. The value of the internal pullup resistance is both supply and temperature dependent. 5. This assumes that the recommended 3.58MHz crystal is used.
ELM304DSB
Elm Electronics – Circuits for the Hobbyist < http://www.elmelectronics.com/ >
3 of 4
ELM304
Example Application
The ELM304 is typically used in a circuit such as the one shown in Figure 1 below. The type of application determines the supply used – if an AC type supply is available, 5V is likely to be the best choice, but battery operation is also a good alternative. Typical current drain for this circuit is only about 10mA at 3V for the bar pattern, and 13mA for the white. At this rate AAA type alkaline batteries are likely to last about 30hrs while AA alkalines should provide closer to 100hrs of service. Once the power supply voltage is determined, the values of the summing resistors are chosen using Table 1 as a guideline. Depending on the accuracy desired, some trimming of the values may be required, but these values are likely to provide satisfactory levels for most applications. Finally, the required type of output pattern should be determined. If it is desirable to be able to change patterns ‘on the fly’, a switch connected as shown is likely required, but if only one pattern is required, the Mode input can be connected directly to VDD (white) or VSS (bars). When testing, keep in mind that the output voltage varies directly with loading. Resistor values shown assume a load resistance of 75Ω connected to the output, and if this is not present, levels will be considerably higher than the 1V p-p that is expected. As always, good wiring practices should be followed when wiring this circuit. In this case ringing on the supply lines, stray capacitance, etc. are likely to result in visible problems however, so take a little extra care.
3V R1 R2 R3 R4 330Ω 330Ω 220Ω 470Ω
5V 680Ω 680Ω 430Ω 150Ω
Table 1 Typical Resistor Values VDD 0.1µF
1 2
8 7 6 5
R1 R2 R3 75Ω (unbalanced) video signal
27pF
3.58MHz
3 4
27pF Mode – switch closed for bars, open for white R4
Figure 1. Typical Circuit Configuration
ELM304DSB
Elm Electronics – Circuits for the Hobbyist < http://www.elmelectronics.com/ >
4 of 4