$10 O-Scope revisited

What are you developing?
User avatar
ahull
Posts: 1597
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: $10 O-Scope revisited

Post by ahull » Thu Jan 05, 2017 11:36 pm

zhanx wrote:
My take on the Scope Sketch is here..

https://github.com/pingumacpenguin/STM32-O-Scope

Its a fun little project and well worth building just for the entertainment value. Currently bandwidth is a little limited, but with a little extra effort it would be possible to make a fully functional 2MHz Scope for next to nothing. Ideal for probing i2c, audio and other low speed signals.

Andy are you still maintaining the GIT on this?

UTouch has changed the name of the Library and

Code: Select all

#include <URTouch.h>
URTouch  myTouch( PB12, PB13, PB14, PB15, PA8);
#endif
Is all that needs to be changed, I downloaded everything and tested today ( i lost my DSO and this was a cheap replacement for now)
I'll try and remember to update that tomorrow. :D
- Andy Hull -

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

Re: $10 O-Scope revisited

Post by mausi_mick » Fri Jan 06, 2017 4:41 pm

I have connect the last ? free pins of the maple mini with a AD9851 DDS board.
And with a small modification (function 7: set frequency AD9851) I can set the frequency of the AD9851
and display it on O-Scope:
P1020613.JPG
P1020613.JPG (31.06 KiB) Viewed 779 times

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

Re: $10 O-Scope revisited

Post by rexnanet » Fri Jan 06, 2017 4:58 pm

mausi_mick wrote:I have connect the last ? free pins of the maple mini with a AD9851 DDS board.
And with a small modification (function 7: set frequency AD9851) I can set the frequency of the AD9851
and display it on O-Scope:
Great stuff!!! I have one lying around waiting for me to put it to use! :) This might be it! :D

Please share the code after ;)

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

Re: $10 O-Scope revisited

Post by mausi_mick » Fri Jan 06, 2017 5:22 pm

It's only a test with some fix frequency (0,1,2,....20kHz, 0: DDS stopped), perhaps it's possible to change frequency via a second encoder.
STM32-O-Scope-AD9851_00.ino
(33.92 KiB) Downloaded 45 times

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

Re: $10 O-Scope revisited

Post by ThunderOwl » Fri Jan 06, 2017 8:40 pm

Great, mausi_mick! That is so logical and eventually useful addition! Need to get some such module for myself, I guess.
In every man's childhood, first 40 years are the hardest

User avatar
RogerClark
Posts: 6918
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: $10 O-Scope revisited

Post by RogerClark » Fri Jan 06, 2017 11:15 pm

mausi_mick wrote:I have connect the last ? free pins of the maple mini with a AD9851 DDS board.
And with a small modification (function 7: set frequency AD9851) I can set the frequency of the AD9851
and display it on O-Scope:
P1020613.JPG
Very interesting.

I can see the advertising slogan now...


"All new Pig-O-Scope, with optional signal generator!"


BTW.

Why are there two calls to delay(1000); in setup(). One either side of the attachInterrupt calls ?

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

Re: $10 O-Scope revisited

Post by ThunderOwl » Fri Jan 06, 2017 11:19 pm

Pig-Gen-O-Scope ...

Edit:
mausi_mick and anyone else who used such generator modules (from "usual sources", I suppose), a question - are they allright? I ask because chips are most likely chinese copies, am I right? Usually common sense goes like this: digital ICs copies are okay, but analog IC devices better buy form official sources. So, do these chinese generator chips work okay? Thanks.
In every man's childhood, first 40 years are the hardest

User avatar
RogerClark
Posts: 6918
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: $10 O-Scope revisited

Post by RogerClark » Sat Jan 07, 2017 12:49 am

ThunderOwl wrote: So, do these chinese generator chips work okay? Thanks.
I have an AD9850 which seemed to work OK, though I didnt do anything "serious" with it.

As an experiment, I made an ultra low power FM radio transmitter (88 - 108Mhz band) using the AD9580, by constantly changing its operating frequency very slightly, many times per second, and it did work, but at those frequencies, the output signal on the AD9850 is significantly less powerful, as its spec is up t0 40Mhz

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

Re: $10 O-Scope revisited

Post by mausi_mick » Sat Jan 07, 2017 2:35 am

I have changed a little bit more and integrate touch-function for type in frequency.
It's from the example in URTouch-Lib. If you rotate with the encoder to function 7 (DDS-Frequency) and select parameters, the display changed to touch mask. You can type in the frequency and touch the "ENTER" button,
the osci shows the Sinus - Function with this frequency:
P1020614.JPG
P1020614.JPG (55.74 KiB) Viewed 723 times
and here the video:

https://youtu.be/QddAGVum5B4

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

Re: $10 O-Scope revisited

Post by mausi_mick » Sat Jan 07, 2017 3:06 am

Hi ThunderOwl,

I think the modules are ok for hobby, I have one with AD9850 on an Arduino Nano with frequency counter (10 Hz ... 4MHz).
On the picture its on the bottom of the display. On the right you can see the step width (changing with the red and green buttons) for the rotary encoder.
P1020618.JPG
P1020618.JPG (54.41 KiB) Viewed 718 times

Post Reply