3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Low speed AVR oscilloscope V2.00 (Is updated on 19 Mar 2011)

Low speed AVR oscilloscope V2.00 (Is updated on 19 Mar 2011)
«
  • avr_oscilloscope_V2.0_pic1.JPG
  • DSC06118_.jpg
>> The firmware was updated on 19 Mar 2011 <<

A few months ago a friend of mine -car mechanical at profession- told me that he had problem with some car sensors. He couldn't check, with a simple multimeter, if a sensor was working properly. I advised him to buy a LCD oscilloscope instead of a normal oscilloscope, because of its small size. The use of an oscilloscope is very helpful because you can see the waveform that is produced by a "healthy" in-circuit-sensor* and you can compare it with the waveform of a "suspect" in-circuit-sensor.
After that, he told me that this oscilloscope costs a "fortune" for him as he has a small car service shop. I offered to help him by designing and constructing a small, cheap and workable LCD oscilloscope for him.

*in-circuit-sensor is the sensor which is connected on a board (PCB) or it's connected somewhere in the car. It's not a disconnected sensor.

You can download the source code, hex, schematic diagram,PCB and picture of the circuit .
 
Remove these adsRemove these ads by Signing Up
 

Step 1Selecting the components

Selecting the components
As the circuit has to be constituted by a few and cheap components, I chose the DEM128064A graphical LCD based on KS0108 controller chip to display the measured signals. The ATmega32 microcontroller is chosen because it has a lot of IN/OUT pins and a 2kB RAM size. 1kB is needed from gLCD and some bytes of the rest 1kB are used in C source code as registers. Because my oscilloscope has to read both AC and DC currents and at the same time it should have a High input resistance, I chose to use an LM358 which is a dual operational amplifier. The rest components like LM7805 , capacitors and resistors are very common and I won't refer to them.
« Previous StepDownload PDFView All StepsNext Step »
59 comments
1-40 of 59next »
Dec 17, 2011. 6:26 AMnehanikita says:
this display is not available at my place...so any other option for this?
Mar 1, 2012. 10:00 AMWakeUpWolfgang says:
Look at adafruit.com that is where I bought mine you can get it with a blue background with white text or black background and white text
Oct 28, 2011. 5:39 AMWakeUpWolfgang says:
I know most of the parts are common but it is hard to read what they are from the schamatic may I have the parts list? I have the micro controller, screen and the amplifer but I am having a hard time reading the values of the other compoients.
Nov 3, 2011. 4:46 PMWakeUpWolfgang says:
My total price is just under $42 I have some parts still in the mail but I will post a photo of it once I have it together and working
Oct 28, 2011. 9:27 AMWakeUpWolfgang says:
I have a list of most of the parts but I don't know what the vale of D1. I did a searchfor 8V2(that is what it says on the schematic) and could not find it on jameco.
Oct 28, 2011. 4:52 PMWakeUpWolfgang says:
Thanks I have found the parts at jameco.com but the screen I found the screen at adafruit.com and my total price is around $45 -50 USD if you buy all new parts and 30 of it is the screen
Oct 10, 2011. 9:01 AMWakeUpWolfgang says:
(removed by author or community request)
Jun 7, 2011. 7:55 AMCBX says:
have you considered using an external ADC?

Will it work at 8mhz?
Aug 31, 2011. 8:25 PMhATEmATH says:
great! i'd like to make one also.
May 11, 2011. 12:40 AMmtnkh says:
hi
thanks for your perfect site.
I need some explanation for the structure of the c file of this project.could you help me please?
if you mail me that i will be pleased.
this is my email address:matin_lili@yahoo.com
Nov 23, 2010. 2:58 PMrolocz says:
Hello, nice project. Some time ago I (re) built and XY oscilloscope that uses external ADCs. That makes it a lot faster and a lot of nice curves can be displayed. Not as well finished or as useful as yours, but still fun to build and try. If you please you can check it in my website: http://eercz.com/en/avr_xy_oscilloscope_nokia_lcd

Regards
Jul 14, 2010. 7:03 PMqz9090 says:
Would you recommend a inexpensive 1:10 probe that I can used with this scope? Maybe a supplier and part number? Thanks.
May 1, 2010. 6:56 AMcom4both says:
 very good project..i have seen pc based oscilloscope...
but this one is very good.....

where can i get the lcd....its not available here at my place...
i can make online shopping..
can anybody  who made this project, send me few links for online shopping

what will be the cost of the LCD?

what is ks0108...do i need to buy this controller or simply lcd?

make my doubt clear....
Sep 23, 2009. 8:11 AMdan_dan says:
how much did the lcd display cost, nice design tho.
Feb 27, 2009. 1:27 PMmatchett808 says:
hey....what was your total cost? Very nice job though...am needing a oscilloscope so wondering if this is the cheapest way to skin this particular cat.lol
Aug 28, 2009. 10:41 PMgeeklord says:
The Pololu AVR programmer has a built in SLO-scope that I really like. It only works from 0-5v, and only on windows, however. But its only $20(USD), so its great for simple low voltage applications.
May 11, 2009. 1:20 PMmog123 says:
I did the whole project in ~20-30 euro (<100 PLN)
Feb 28, 2009. 12:05 PMmatchett808 says:
nice one....good build and quite cheep.....compared to the commercial ones i have sourced.
Jun 14, 2009. 6:53 AMjamilm9 says:
if you don't want to make this get this $50 prebuilt o-scope.
http://www.seeedstudio.com/depot/digital-storage-oscilloscope-with-panels-p-167.html
there is also a kit but it needs smd soldering.
May 21, 2009. 7:48 PMsenfield says:
hello serasidis, we can use the mega32l instead mega32, the code is the same? , about the xtal, change the frequency or something? (cause the max clock of the mega32 (16mhz) , i have a mega32l-8pi (8mhz) max, thanks
May 14, 2009. 8:29 PMwithume says:
hlp, me to display the voltage,and frequency in the display........what changes hv 2 be done with this.
May 13, 2009. 11:15 PMpkumarhu says:
hi my name is pramod i hve done tis project it is very nice but i like to do some modifications i like to display the voltage and frequency on the lcd screen so pls help me in changing the code
May 11, 2009. 5:57 AMadie_hendri says:
hi to ALL heloo Mr serasidis mr serasidis giveme advise u havent my question
May 6, 2009. 6:59 AMmog123 says:
Hey, I finished my oscilloscope!

http://i39.tinypic.com/30vk45l.jpg

It turns out i didn't need to use an inverter, your screen is the same as mine!
Although I have a problem: I'm using software 1.01 and I can't use the time/div buttons (left and right). Do you know a solution?
May 3, 2009. 1:52 AMwithume says:
can this project be done using atmega32L, instead of 32 since atmega32 is not available for us.........pls reply me as soon as possible
Apr 8, 2009. 2:22 PMmog123 says:
Hey, I found an LCD that input matches yours (and its a KS108). But 3 bits are negated (CS1 CS2 RST). Could you look in the datasheet if it will work like yours or will I have to change something in the sourcecode?
Heres the datasheet
http://www.artronic.pl/o_produkcie.php?id=612
Apr 9, 2009. 1:41 PMmog123 says:
so will this code be ok? I can't seem to find a screen with a compatible pinout ;/

http://mog123123.googlepages.com/glcd2.c

Besides I see that the "signal wire" of the probe connector (K1) is soldered to both ground(0V) and Capacitor (C2) why is that?
Apr 14, 2009. 5:35 AMmog123 says:
OK I'm gonna use a 74hct04 with the screen I showed you to invert CS1 CS2 and RSTB. I have one question though: Can I use an ATMEGA16 instead of 32? The hex file is only 10kB so it should fit or am I missing something important? Please reply.
Mar 15, 2009. 8:14 AMadie_hendri says:
hello im ADIE im so excited, so proud this great why in serasidis web , i can't join in forum . server not fungtion i will build up avr oscilosope u can help, an give me advise?? oh yeah why this project is the limit 5khz, can you explain?? thanks best regars
Feb 26, 2009. 4:56 AMthatonekid says:
please post the schematic as a file so that it can be downloaded. thank you
Dec 28, 2007. 11:53 PMDELETED_toolazy2p says:
(removed by author or community request)
May 6, 2008. 8:07 PMbiojae says:
So if i used a 1.2 ghz adc i could get that much more precission?
1-40 of 59next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
9
Followers
1
Author:serasidis