Logo Design by FlamingText.com
Logo Design by FlamingText.com

Monday, 15 August 2016

DIY Arduino Uno Oscilliscope

DIY Arduino Uno Oscilloscope

If you are looking for a straight forward instruction on how to get this project up and going then keep reading, By the end of this walk through you will have your own Arduino Oscilloscope.  Included will be the necessary libraries as well as the sketch. A big big shout out goes to my new buddy Dani Ardianto.

STEP 1:  Gather Materials

The hardware for this project is extremely simple to construct, you will only need an Arduino Uno, as well as a LCD shield. The shield I have used and finally had success with was obtained from ebay and was rather inexpensive. This shield is really cool and simple to use and as a bonus it comes with an SD slot which allows you to be able to display pictures. This is simple to plug into the Arduino and away you go.



As you can see from the picture on the left the pins are clearly defined which makes life a tad easier. As well as the pinouts you can see the website listed: http://www.mcufriend.com. I would recommend if you are have issues that you google that phrase and find your solutions there.



 Next you will need your trusty old Arduino Uno, which I hope does not need an introduction. If so then refer to my Arduino posts which cover all aspect from buying to using.




STEP #2: Connect The Hardware







Well this step is super easy. simply connect the shield onto the Arduino by aligning the pins and squeezing it together. Easy peasy.
STEP #3: Software & Libraries 

After you have connected your Arduino to your computer you now will need to access Arduino. For this Oscilloscope I had a hell of a time finding the correct library to work. Some worked halfway some libraries did not work at all. Not only did I create a mess downloading tons of libraries but the aftermath of all those files further made life difficult. So if your having issues first off check that your libraries are the right ones as well as placed correctly. ** This may apply to you** The LCD shields contain different ID chips which was why mine never was able to quickly work like those I seen on youtube and such. Believe you me I downloaded smoke and wires too many times to count. So follow this exactly and you will have success.

Install libraries: 




Sketch: 





STEP #4:  Completion




                                                                                                                                                          After you have successfully installed the library and compiled and upload the sketch unto the Arduino you are now on your way to some fun. To use the Oscilloscope you will now need to create a probe or for the time being you can do this.
Connect a RED jumper or wire to the A05 pin on the Arduino. This is used to test.
Connect a Black jumper or wire to the Ground to ground.


That's it. As always enjoy and look back for the next project:  DIY Oscilloscope Probe






No comments:

Post a Comment