$10 O-Scope revisited

What are you developing?
User avatar
rexnanet
Posts: 190
Joined: Wed Mar 16, 2016 10:34 am

Re: $10 O-Scope revisited

Post by rexnanet » Sun Feb 12, 2017 8:38 pm

ThunderOwl wrote:Thank You, Rex! Will test soon, unless some even newer version pops up very soon :)
You're welcome :)

That's some nice speeds! But lots of pins used... I've managed to get similar performance but from an SPI Flash, SD cards I've tested where a bit slow...

I think a version of the scope using this is "doable" but these displays are a bit hard to find with the right specs at a good price.
I bought one "uno" compatible but I'm still to find out which controller he uses...

User avatar
ThunderOwl
Posts: 128
Joined: Fri Oct 28, 2016 6:04 am
Location: Riga, Latvia
Contact:

Re: $10 O-Scope revisited

Post by ThunderOwl » Sun Feb 12, 2017 8:50 pm

I also have one "UNO Shield" type, and I know it is working, tested with project "Pultoskop":
http://bildites.lv/a/daxkuzd2#8stbtwj7
If it looks like yours, I can point you to code, so probably you will see what libraries (what chipset) are used.
In every man's childhood, first 40 years are the hardest

User avatar
rexnanet
Posts: 190
Joined: Wed Mar 16, 2016 10:34 am

Re: $10 O-Scope revisited

Post by rexnanet » Sun Feb 12, 2017 9:29 pm

The seller says it's ILI9481 but I have my doubts...

https://pt.aliexpress.com/item/3-2-inch ... 19747.html

I have a Mega now (3d printer project :) ), probably it's easier to test it on it...

User avatar
zoomx
Posts: 450
Joined: Mon Apr 27, 2015 2:28 pm
Location: Mt.Etna, Italy

Re: $10 O-Scope revisited

Post by zoomx » Mon Feb 13, 2017 2:15 pm

Very often these mcufriend LCD TFT shields arrive with a printing that says which chip is used inside. I believe that a manual timbre is used.

In the David Prentice TFT library there is a sketch capable of identify the chip in most of the cases.

User avatar
ThunderOwl
Posts: 128
Joined: Fri Oct 28, 2016 6:04 am
Location: Riga, Latvia
Contact:

Re: $10 O-Scope revisited

Post by ThunderOwl » Wed Feb 15, 2017 2:35 pm

Today I got nice package from "Microchip":
http://bildites.lv/images/vf8ywtw5/19940/original.jpg
Well, it is not free samples (I did write earlier why), but still manufacturers prices with special offer - free shipping (with fast express).
If nothing else - I am kind of pretty sure, those are originals, not some re-marked chinese fakes :D
In every man's childhood, first 40 years are the hardest

mausi_mick
Posts: 129
Joined: Fri Aug 12, 2016 1:40 pm

Re: $10 O-Scope revisited

Post by mausi_mick » Sun Feb 19, 2017 2:49 pm

Hi ThunderOwl,

I am back , I was in holidays near the "antipodes" ? - in Srilanka, its's really warmer at this time as the weather in Germany or in Lithuania !

I have the program with the AD9851 modified a little bit, and integrate the frequency-counter function (on PA15) from the forum. Therefore I have moved the display pins CD / CS to PA14 / PA13.
STM32_O_Scope_AD9851_FreqCounter_PA15.JPG
STM32_O_Scope_AD9851_FreqCounter_PA15.JPG (47.08 KiB) Viewed 321 times
You can see the manual frequency (Input of AD9851: 3400Hz on the bottom) and the measured freequency across on the right.

User avatar
ahull
Posts: 1528
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: $10 O-Scope revisited

Post by ahull » Sun Feb 19, 2017 8:13 pm

Nice! :D

BTW which is closer to the truth? 3384Hz or 3400Hz ? having said that... 99.529% accuracy 'aint bad for us amateurs. ;)
- Andy Hull -

User avatar
ThunderOwl
Posts: 128
Joined: Fri Oct 28, 2016 6:04 am
Location: Riga, Latvia
Contact:

Re: $10 O-Scope revisited

Post by ThunderOwl » Sun Feb 19, 2017 9:11 pm

Welcome Back, Mausi Mick! :)
Hmm, I probably will need to make some jumpers in my construction, to be able to try andy's, rexnanet, and your versions. Or, maybe make remap in INO files, to some unified connections to screen, encoder. Have to look into that.
In every man's childhood, first 40 years are the hardest

mausi_mick
Posts: 129
Joined: Fri Aug 12, 2016 1:40 pm

Re: $10 O-Scope revisited

Post by mausi_mick » Mon Feb 20, 2017 4:53 am

hi Andy,

I have heard for some times that the last 1% of accuracy cost more than 95% of money/time !
( I think it was for the accuracy of the tank Leopard). But now I have time ? :lol:

The accuracy of the counter was most better than 7 Hz, but at some frequency (3000Hz -> 3095, 5000 Hz -> 4762, 7000Hz -> 7205, 9000Hz -> 8538...)
the error was very big.
I think it was a problem with the AD8951, perhaps with the generated frequency from 180 MHz at 3.3V.

I changed the SW:
http://www.changpuak.ch/electronics/AD9851.php

and modified it a little bit (DDS_CLOCK 120MHz) ...

Now its work stable with an error less than 1 Hz until 10 kHz and 7 Hz until 300 kHz.

mausi_mick
Posts: 129
Joined: Fri Aug 12, 2016 1:40 pm

Re: $10 O-Scope revisited

Post by mausi_mick » Mon Feb 20, 2017 7:10 am

here a picture:
DSC00012.JPG
DSC00012.JPG (59.11 KiB) Viewed 279 times

and the code:
STM32-O-Scope-AD9851_04.zip
(20.39 KiB) Downloaded 66 times

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests