I found I could take 60 readad samples and store them then display the points joined with lines on a glcd.
Thing was 1KHz displayed ok, 2KHz was half resolution and 3KHz was not a sine wave,just 6 samples.
Well I couldn't increase sample rate but I stored the samples after an increasing delay.
It's a repetative wave form so it appears to have more detail..please see video.
Not scientific but interesting. https://www.youtube.com/watch?v=nyCjT879oZk&feature=youtu.be
forptr1=1toxsamples;get new sampleswaituntilportc.0offwaituntilportc.0on;triggerfortmp=1toptr1nexttmp;delayvolt=READAD(an0)buffer2(ptr1)=buffer1(ptr1);new data to old databuffer1(ptr1)=255-volt;set 0,0 top left screen and update new datanextptr1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
50 and 30 KHz and no x axis expand. How's it work? Luck? https://youtu.be/M-yyBtpA2sY
With a freq meter maybe actual basis of something useful project.
Last edit: stan cartwright 2017-07-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found I could take 60 readad samples and store them then display the points joined with lines on a glcd.
Thing was 1KHz displayed ok, 2KHz was half resolution and 3KHz was not a sine wave,just 6 samples.
Well I couldn't increase sample rate but I stored the samples after an increasing delay.
It's a repetative wave form so it appears to have more detail..please see video.
Not scientific but interesting. https://www.youtube.com/watch?v=nyCjT879oZk&feature=youtu.be
You can see something interesting when the program starts. Successive approximation..did I just discover it? not
https://www.youtube.com/watch?v=zdNEPi1uk-4&list=UUwOlmqc5IB4FhvS5XKu1sLw
50 and 30 KHz and no x axis expand. How's it work? Luck? https://youtu.be/M-yyBtpA2sY
With a freq meter maybe actual basis of something useful project.
Last edit: stan cartwright 2017-07-21
I'm posting more in projects although working on if that's ok. I am liking this idea,hope others to.