@toshi
Thank you, was right. Sorry for the mistake.
I had a quick look in the "Command.c " file.
The values for Threshold_High and Threshold_Low explain the missing of the DC selection on the LCD.
0x300 is a value 0f 3*256* /4096*3.3=0.62V and 0x900 gives 1.86V at CPLSEL. The divider with the R17/R18 gives 2.5V (5V/2).
So the mid-position of the coupling switch gives 2.5V and the window is 0.62V-1.8V ???
I wonder how it worked originally ????
Or does the "tmp1 = ADC_Poll(ADC2, 5);" give other result than the raw 12bit ADC value?
Modification of software and hardware
Re: Modification of software and hardware
Hello OldHunter,OldHunter wrote: @Rudolf
You can fix the problem with the "no DC" appearance by changing the R18 resistor
from 10K to 5K6. See Schematic _150analog.pdf near SW1A
Since firmware version 113-15001-110 the problem with the missing "DC" appearance on the LCD screen is fixed.
Regards, Rudolf
Re: Modification of software and hardware
Hi Rudolf,
Thanks for the reply.
I insist that this is a bug here, also in the newest firmware from JYE. They should have a look.
But obviously it still works. Why? my guess/explanation ist that something is wrong with the ADC_Poll() function.
The second argument ( ,5) is the number of samples to build an average? i cannot find any description of that function (propably in the closed libraries from JYE).
But i think it does not execute correctly, gives a wrong value, which in turn hides the "wrong" thresholds.
I guess that the R18/R17 divider was fed from 3.3V and at some time it changed to 5V and the divider was not corrected accordingly.
Best Regards
Thanks for the reply.
I insist that this is a bug here, also in the newest firmware from JYE. They should have a look.
But obviously it still works. Why? my guess/explanation ist that something is wrong with the ADC_Poll() function.
The second argument ( ,5) is the number of samples to build an average? i cannot find any description of that function (propably in the closed libraries from JYE).
But i think it does not execute correctly, gives a wrong value, which in turn hides the "wrong" thresholds.
I guess that the R18/R17 divider was fed from 3.3V and at some time it changed to 5V and the divider was not corrected accordingly.
Best Regards
Re: Modification of software and hardware
What does the 03DA at the top right of screen mean? Checksum?
Re: Modification of software and hardware
I think Toshi's mods apply to a very early version of the Shell, both hardware and software. Some of the software changes have been encorporated. I think the current version doesn't need any mods unless you want to add a battery or internal USB adapter.