Component tester with STM32 : Part 1 ADC, Resistor
I was always fascinated by the so call "transistor testers" that identify and report pin out, features of pretty much whatever you throw at it. They are based on Atmel 328p chip, the same as arduino nano. So why not do the same thing with a STM32/Bluepill ? The STM32 is faster, has a better ADC accuracy, more memory, can do float etc... and is not more expensive. Warning : I'm doing this for fun & to learn, it might contain error & plain misunderstanding So, i watched a couple of video on the general principle on how they work. This is not a "port" but a rewrite from ~ scratch. When something is weird, i check what the original one does for comparison. Measuring resistance So first thing first : Resistance & Capacitance. These 2 will unlock the other ones. So how do we measure resistance ? What we do is a resistor divider with a know resistance value: Measure = Vcc*(RtoTest/(RtoTest+Rknown)) As far as the ADC goes, it means ADC=...
fnirsi is using ch32, after comparing with jyetech's dso150 pcb I found only a few resistors not installed, can I replace it with gd32f303 and add some missing resistors so it can be used like jyetech's pcb?
ReplyDeleteThere are some minor differences also in the way the AC/DC button switch is wired and some buttons wiring. You can use a lnDSO150 firmware with fnirsi pcb + gd32f103 , it must be built with that combo. (The official jyetech or fnirsi fw will not work). If you need it, please open a ticket on github, i'll attach the corresponding fw
ReplyDeletethank you sir, I will try the fnirsi pcb with gd32f103 first,, because I really like lnDSO150 since it was first released,
ReplyDeleteCareful : If you use a GD32F103 it will be ~ the same as the CH32F103, the main issue is that they have only 64 kB of flash. May not be worth the update. Just use lnDSO150+CH32F103 ?
ReplyDelete