![]() ![]() ![]() If you find it useful, please vote for me in the contests. ![]() Hope you enjoyed reading and hopefully building this instructable. I used a LM 317 voltage regulator, and a 555 IC timer as an astable ocillator, to create the signals used to test the oscilloscope input. The graphics and touch functions were modified, and borrowed, from the Henning Karlsen examples provided in his libraries. I used some code I found at: to adjust the ADC sample time. The input is limited to a 5volt peak to peak waveform, unless you use a voltage divider at the input, and also limited to positive waveforms from 0 to 5 volts. The Oscilloscope bandwidth is limited to about 1 khz, but there is room for improvement. The code is well documented, but, if you have trouble understanding it, leave a comment and I'll try to explain it. I divided the program into several subrutines to make it easier to understand. I've had to do a fair amount of research to come up with the code, and many snippets have been 'borrowed' from several sources. Before we copy and paste the program, let's review some limitations and explain the program. Below, you will find the sketch for the Oscilloscope. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |