Coder Social home page Coder Social logo

mean00 / lndso150 Goto Github PK

View Code? Open in Web Editor NEW
46.0 8.0 5.0 21.42 MB

Newer alternative firmware for the DSO150/DSO shell small oscilloscope

License: Other

CMake 4.41% C 28.40% C++ 37.24% Python 10.19% Shell 0.48% Assembly 19.27%
dso arm embedded riscv firmware

lndso150's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lndso150's Issues

Hangs on first calibration screen --processing--

The whole procedure has apparently gone well, but when I start the device for the first time, it asks me to place the probe to ground, then to put it in DC mode and when I click ok it indicates --processing-- and it hangs... Any suggestion?

2022-10-11 12 02
2022-10-11 12 03 (1)
2022-10-11 12 03

Any chances of building on 64kB Chip? (FNIRSI/CH32F103 compatibility)

Hi,

first of all - I love this project! It really improves the UI and overall look and feel of the DSO.
Do I have any chance to get it small enough to fit my STM32F103C8? With picolibc I manage to get it as low as 66kB. Do you have any idea how I could improve or compress anywhere?

Clone FNIRSI replace with ST32F103C8

mean00 can you compile me the firmware for the fnirsi clone which has been replaced with st32f103c8 so that it has all the features in InDSO150, at first I wanted to compile it myself, but I don't know what configurations to change, thank you...

calibrate voltage / wrong voltage

Hello,
I successfully flashed my old original DSO150 with STM32F103CB.
The only thing I observed is that the measured voltage is around 25% to low. The test signal is shown as 2.5V and an AA battery I checked with my multimeter at 1.18V is shown at 0.9V.
Is this adjustable? Or have I done the calibration wrong (connect probe clamp to the ground clamp and leave connected while pressing ok and switching to AC/DC as stated)?
PXL_20221213_232847394~2

Toolchain - building issues (CH32F103)

Hi, I think I managed to install the toolchain with xpm but I cannot seem to "give the path to the toolchain". I thought I have to edit it in the platformConfig.cmake file on line 20 but seemingly without any effect.

Thanks, Vit

Problem with Voltage range selection

This has been manually split from #7

[marianomd]
This is stopping me from using this great piece of software. Furthermore, I already rewired the encoder, so for the time being I have a paperweight. I'm on FNIRSI.

[mean00]
BTW you can easily revert the rotary encoder change
https://user-images.githubusercontent.com/8426909/243091951-295a699b-577f-48be-8f14-84da3012ba1d.png

Just connect the 2 modified pins of the rotary encoder to the bottom side of R5 and R6
You can then switch easily between the 2 configurations
Also it would be interesting to get the voltage on the ASM117 chip
It should be 3.3v
Attached is a test fw for FNIRSI
Could you report the number at the bottom right ?
It should be around 3300.0

[marianomd]
Measured voltage with multimeter on AMS1117: 3.316v

Run the binary, here is the shot:

[mean00]
Thanks
The VCCA is off by 5% much less than the error, so there's something else
Could you take a picture of the analog board (the one with the BNC connector) to check the resistor values ?

[marionomd]
Let me tell you my error:
3.31 are read as 3.25 - 3.27 (good!)
5.05 V are read as 4.95 - 5.06 (good!)
10V are read as 9.59V
20V are read as 9.59V
28V are read as 9.59V

It's like capped !

Seems to be not exactly the same problem as OP.

[mean00]
Thanks for the image.

yes it looks like saturation
I just tried on mine and i can go at least up to 18V without problem

Might be interesting to check the voltage on pin 9 10 and 11 of the 74HC4051 when you use 1v and 5v
They are the command pins to select the input gain/attenuation

They are also available on the interboard connector, easier to check

[marianomd]
It's always the same, tested with 1, 5 and 10V.

SENSE0: 0
SENSE1: 0
SENSE2: 3.3
SENSE3: 0

[mean00]
Ok, that's the problem
Let me double check on my end but i think it worked last time i checked
tested on my FNRISI unit
1v : 0 0 1 0
2v : 0 1 1 0
5v: 1 1 1 0
So in your case it seems to be stuck at the 1v setting

[marianomd]
What does that mean? Can it be corrected by software?

Could you try with the attached version ?
Are the others voltage ranges working fine ? In particular 10mv,
fnirsi_const.zip
20mv and 50mv/div ?

Thanks for the follow up.

Mode: DC
1 V: down to 100 mV range, reading is correct, less is wrong (50 mV reads 381 mV, 20 mV reads 191 mV, 10 and 5 mV read 96 mV)
2 V: down to 500 mV range, reading is correct, less is wrong (200 mV reads 1.42 V, 100 mV read 0.95 V, less ranges same as above)
5 V: exactly the same as 2 V.
10 V: reads OK down to 2V range. 1V and 500mV ranges give 9.50 V. 200mV and down, same as above)
20 V: reads OK (19.53-19.72) at 5V range. On 2V range it gives 19.01V, on 1V range it gives 9.50V (same as above all the way down)

Seems the reads are ok if the waveform is on screen. When it goes offscreen it is capped.

[mean00]
It looks like the command signal to switch voltage range is not working
These are the SENSL0...3 pins
If it behaves the same without the analog board, it points to either a different board layout (unlikely) or a damaged chip (?)

Thanks a lot!

Now I know how to get a valid reading, by setting the correct range. It's not clear if this can be done on the official release, or only in the bin you sent me.

[mean00]
You can check with any version, it's the way the hw is wired

Updating clone

Hello. Haven't been here in a while. With past experiments, I burned a few stones and abandoned the dso. Let me remind you that I have a fake fee. one of the first. without stabilizers 7905 and 7805. at the moment I have finalized the entire analog part according to your posts. with the replacement of 084 and 082 with 074 and 072. the signal has become better. now firmware 064a/ for fake. I read here that with the installation of ad8066 in dso 138, the device began to see up to 1mgz. perhaps a remake is also suitable for 150. the question is how to spill the firmware on a fake with a stm stone. filled with the help of STMicroelectronics flash loade with a cp341 progromator. White screen. last time with dino firmware, Dso150STM32F103_vanilla came up to me. I want to try a new one. can you help me get started?
https://drive.google.com/file/d/1lzQlFXOq2Z_5uclFOH2eR5vWNjiQjaSW/view?usp=sharing
https://drive.google.com/file/d/13z6JRWlvq_LokcrmemqqMT7vMMrT6OBl/view?usp=sharing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.