eBay digital voltmeter modification
RogerClark Fri Jan 15, 2016 10:43 am
I bought a voltmeter on eBay the other day thinking it had a STM8, which I could reprogram (as its been hacked before and there is source code available to re purpose the 3 digit display to do anything that the STM8 is capable of…
However, like I said, its not got an STM8 and the chip has been sanded so there aren’t any markings ![]()
But looking at the PCB has does throw some light on what how it works.
Power in via red and black wires. I don’t think the LED is voltage regulated as it gets brighter as more voltage is applied.
I think R15 and R16 must be the sense input divider, i.e 8.2k / 120k , but also that R12 and R13 end up in parallel with R16, but are much higher values, i.e R12 is 240k and R13 is 510k (if I’m reading the values correctly)
So perhaps R12 and R13 are some sort of calibration ?
BTW the red wire hides a track down and then up the left side of the photo, which is the power input which eventually gets to the 5V reg.
So what I can do is remove R3 and use VT as the input, if I want to use this as a current meter.
As a matter of interest I shorted the missing S1 through an analog current meter and it drew very little current , so I soldered it to simulate a closed switch and the range on the meter gets even more sensitive than before. As far as I can tell its 4 times more sensitive with the switch closed
Anyway. I wanted to make a current meter that will read 0 to 30mA, so I think armed with this knowledge I should be able to convert it, as I can set it to 4 x the normal range and the input voltage that gives a reading of 30.0V is 7.5V
Hence the input pin of the chip is 1/(1/8.2k + 1/240k + 1/510k) / 120k * 7.5 v = 0.487V (if my maths are correct)
So…
Ohms law…
R = V / I
R = 0.487 / 0.03
R= 16.23 ohms.
Which I can probably make 18 ohms in parallel with 180 ohms to be within 1% of the desired resistance.
BTW. I looked at R11 the variable resistor and U2, but I don’t think this is an adjustment, I think its an alternative voltage regulator
Well I guess if the overall voltage changes so does the voltage reference, but its probably easier to just modify the input resistors to get the meter calibrated as a current meter
