$10 O-Scope revisited

What are you developing?
mausi_mick
Posts: 129
Joined: Fri Aug 12, 2016 1:40 pm

Re: $10 O-Scope revisited

Post by mausi_mick » Wed Mar 08, 2017 2:19 pm

ThunderOwl,

have you seen the GD32BluePill (with 120MHz) :

http://www.ebay.de/itm/272292269104

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

Re: $10 O-Scope revisited

Post by RogerClark » Wed Mar 08, 2017 9:25 pm

mausi_mick wrote:ThunderOwl,

have you seen the GD32BluePill (with 120MHz) :

http://www.ebay.de/itm/272292269104
LOL.

I suspect they got the value of 120MHz from the tests I did, because unless they changed the spec recently, the max speed was 108MHz and USB doent work at that speed because of the lack of USB PLL settings.
The fasted speed that USB is supposed to be supported is 96MHz, but you can overclock to 120MHz and there is USB PLL setting for that frequency.

PS. I have several 64k versions (C8) but found various incompatibilities between the GD32 and the STM32, so gave up using them .
e.g. I recall SPI to the ILI9341 display didn't work.

But I simply don't have time to debug why that was.

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

Re: $10 O-Scope revisited

Post by rexnanet » Thu Mar 09, 2017 9:41 am

mausi_mick wrote:ThunderOwl,

have you seen the GD32BluePill (with 120MHz) :

http://www.ebay.de/itm/272292269104
If you don't need USB you can overclock STM32 to 128Mhz :D I've done it and works ok :D
But... it's not guaranteed it will work without problems. It's outside the specs...but hey, the flash size is also outside of specs and works great :D

The only main issue is power consumption :) it will go up..up..up :)

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 » Thu Mar 09, 2017 9:59 am

Proud me 8-) , i am featuret at tomeko.net (bottom of "v2d" page) :

http://tomeko.net/miniscope_v2d/index.php?lang=en
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 » Thu Mar 09, 2017 10:37 am

ThunderOwl wrote:Proud me 8-) , i am featuret at tomeko.net (bottom of "v2d" page) :

http://tomeko.net/miniscope_v2d/index.php?lang=en
Yep! :)
Nice! :)

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

Re: $10 O-Scope revisited

Post by mausi_mick » Sat Mar 11, 2017 3:34 pm

hi,

to the GD32F103 "Bluepill" exist a schematic:
GD32F103C8T6_CoreBoard(New_Version).pdf
(52.24 KiB) Downloaded 96 times

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

Re: $10 O-Scope revisited

Post by rexnanet » Mon Mar 20, 2017 9:23 am

The code was working fine after all :D
The issue was that it was jumping to "normal" trigger and it stopped (it's a bug because it should run because it had valid trigger but... :) )
If you go to the trigger menu and select "auto" it runs ok.

I've tested the 2 MCP6S in series and it's running ok too. Still have to check if the gain settings are ok but they are working.
Noticed that at max gain the second MCP6S rises the GND level a bit. Maybe there's an offset issue somewhere... but don't have a scope to measure it :lol:

Here's the code if someone wan't to test it:
STM32-O-Scope-byRex-v0.92.rar
(11.81 KiB) Downloaded 74 times
I've resized the wave area so now there's a free area down below.
I'll add the ADS9851 frequency down there and maybe the send some other menu's there too.

Encoder is still not ok for me and will go crazy after a few minutes of use. Have to create a setup to test it...

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 » Mon Mar 20, 2017 9:34 am

Thank You, rexnanet, for interesting news! Did I miss MCP connection diagram somewhere, what schematics you use? Or supposedly just figure that out of INO file?
About DDS option(s), I have module with ADS9833 chip (not 9850/51), I think it has SPI control. I wonder if that will work with upcoming code too, hmm. Did not order ADS9851 yet, maybe later...
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 » Mon Mar 20, 2017 10:50 am

Nop, didn't miss it, no schematic but... Its a bit self explained in the .ino file.

MCP6S92_A1_CS PA9
MCP6S92_A1_DIN PB10
MCP6S92_A1_CLK PB11

MCP6S92_A2_CS PA10
MCP6S92_A2_DIN PB10
MCP6S92_A2_CLK PB11

Others are +3.3V, GND and Vin and Vout...

Meanwhile, I'll try to draw something.

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

Re: $10 O-Scope revisited

Post by mausi_mick » Thu Mar 23, 2017 3:26 am

Hi rexnanet,

thanks for the code.

at present I am testing the amplifier hardware, a mixture from DSO150 reducer and an amplifier with MCP6S91.
I have some problems with noise , therefore I have to shield it. For the negative supply-voltage I take a MAX660 , its' better than ICL7660 ( smaller R-on and higher switch frequency (about 80kHz)).

For the AD9850 exists a SPI-Lib for Arduino UNO, but I think we have it to modify ...

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests