So I did this project a few months ago, actually probably almost eight. Anyway, time flew by and I finally got it posted up on the net.
Basically, this project uses SparkFun's Color LCD Shield to graph voltage on an analog pin in real time across the screen.
http://peterdavenport.posterous.com/2011/04/arduino-o-scope.html
Oh wow - an arduino oscilloscope! Well done, it looks very professional.
Was it not hard to get graphics up on the LCD using the arduino?
Onions.
It looks like the beginnings of an o-scope, but an o-scope performs a ton of more functions than simply graphing a changing voltage over time; maybe version 2 should allow for changing volts per division, time bases, showing some more measurement details, allowing for AC voltage measurements, etc... Good showing for v1 though!
![]()
Well cr0sh I agree with you on that. In the next version I would like to have dual trace and have better time info. Perhaps even some memory features.
@Onions: Using the library I have (also on my website peterdavenport.posterous.com) it is really simple to write code for the screen.
LCDSetLine(45, 5, 21, 130, BLACK); Is basically the form all the screen commands are in with the numbers being ordered sets of the x and y positions of the object to be drawn. The library takes care of the LCD protocol stuff.
I did not realise it was so simple! Now which other colour LCDs will it work with... ![]()