|This is a pattern generator with 13 images and 1KHZ tone, good for testing LCD TV’s, projectors and cathode ray tube TV’s.
The project is based on ATtiny2313 running at 20MHZ. The horizontal frequency is 15625HZ and the vertical frequency is 50HZ (Europe standard).
With the button S1 you can select the images one by one and with the button S2 you can turn the sound on and off (see the pictures below).
|This is the schematic:|
|And this is the PCB and silkscreen:|
|You can download a pdf file with the schematic and pcb from here:
Here are the files for Cadsoft’s eagle design program:
| ATtiny2313 pattern generator simple.sch
ATtiny2313 pattern generator simple.brd
|The program inside the AVR was made with BASCOM-AVR. With the trial version provided you can make modifications in the program if you want to.
Here are the source code and hex file:
| ATtiny2313 pattern generator simple.bas
ATtiny2313 pattern generator simple.hex
|The ATtiny2313 is shipped with internal oscillator activated by default, so you have to program the appropriate fuses yourself. Goto Engbedded AVR Fuse Calculator site, select the appropriate microcontroller and set the settings as you see in the picture below. The program will calculate the appropriate fuses settings. Put them in your programmer and program the chip.
This is the picture of the settings (click for larger view):
A bug found in the placement of transistor T1 in PCB.
|For any questions submit a comment or mail me to: dselecdim at gmail dot com|