Wednesday, July 15, 2009

Low Speed AVR Oscilloscope

This project by Vassilis Serasidis. You can fing his original page at http://www.serasidis.gr/circuits/AVR_oscilloscope/avr_oscilloscope.htm


Features

Frequency measurement

Voltage input

Power supply

Liquid Display Crystal

Measurement display area

Auto trigger

up to 5 kHz (square wave)

24V AC / 30V DC

12V DC

128x64 pixels

100x64 pixels


The maximum signal speed who can show up this oscilloscope is 5 kHz in square signal. For other signals (sine or triangle) the frequency is lower ( almost 1 kHz) for having clear view of the signal.

Below is the schematic.

Description

The operating voltage of the circuit is 12V DC. By this voltage, the power supply is producing 2 voltages. +8.2V for IC1 and +5V for IC2 and IC3. This circuit can measure from +2.5V to -2.5V or from 0 to +5V dependent by S1 position (AC or DC input). By using probe with 1:10 division you can measure almost 10 times higher voltages. Moreover, with S2 you can make an extra division by 2 the input voltage.

Programming The ATmega32

Burn the ATmega32 with AVR_oscilloscope.hex and select external crystal at the fuses section.

After that, you Must disable the JTAG interface from your ATmega32 microController. If you don't do that, the mega32 will show you the initial screen and when it go to the oscilloscope screen it will restart immediately to the initial screen and it will stay there for ever.

Calibrations

The only 2 things you have to calibrate is the LCD contrast trimmer P2 and the P1, to move the beam at the center of the LCD. To do that, apply only the power supply to the circuit and adjust the P2 up to the point you will see clear the appeared pixels on the screen. Then, adjust the P1 up to the point the beam is moved at the middle of the LCD (at the horizontal line of the cross).

Usage

You can move the beam up or down the screen by pressing the buttons S8 or S4 correspondingly to measure the voltage of the signal. 1 volt is taking up 1 square height. With S7 and S3 you can increase or decrease the measurement speed. This oscilloscope has an automatic trigger. That means, if you have a continuous signal (ex a triagle waveform) the auto trigger will work perfect. If your signal is not stable (ex a serial transmittion) you can freeze the screen by pressing S6 switch. At his case you can get a snapshoot of your measurment signal. By the time you release the S6, the snapshoot will end.


PCB (101x160mm) and components placing

V1.01 Download the source code and the hex file of AVR oscilloscope.

V1.00 Download the source code, hex, schematic and PCB of AVR oscilloscope.

Software to make your own 128x64 pixel logos for graphical LCDs .

So, what do you think guy's? isn't this is great projects? thanks to Mr Vassilis Serasidis for this great projects.

If you have any doubt, please go to http://www.serasidis.gr/circuits/AVR_oscilloscope/avr_oscilloscope.htm










No comments:

Post a Comment