Get your programmer ready!
v1.33m 2018-05
I don't know why your tester reads larger caps a few percent low, but you could change the correction factor. Look for following lines in function LargeCap() in cap.c:Code: [Select]if (Mode & PULL_10MS) Value /= 109; /* -9% for large cap */
else Value /= 104; /* -4% for mid-sized cap */
Large cap means capacitance > 47µF, and mid-sized cap 4.7 - 47µF. Simply lower the divisor to get a higher capacitance value.
if (Mode & PULL_10MS) Value /= 102; /* -9% for large cap */
else Value /= 99; /* -4% for mid-sized cap */
/*
* Correction factors for capacitors (in 0.1%)
* - positive factor increases capacitance value
* negative factor decreases capacitance value
* - CAP_FACTOR_SMALL for caps < 4.7µF
* - CAP_FACTOR_MID for caps 4.7 - 47µF
* - CAP_FACTOR_LARGE for caps > 47µF
*/
#define CAP_FACTOR_SMALL 0 /* no correction */
#define CAP_FACTOR_MID -40 /* -4.0% */
#define CAP_FACTOR_LARGE -90 /* -9.0% */
Have you enabled HW_DISCHARGE_RELAY in config.h?
I pray information and a scheme to be able to do it.
If you get an AY-AT Clone, the following is a list of hardware corrections to order if you would like to optimize it's operation on M-Firmware. If you normally order parts from Mouser or Digikey all information and links are provided. (No Supplier Affiliation/No...
<clip>
(3×)470k Resistors
TE Connectivity
MPN: H8470KBZA
Metal Film Resistors - Through Hole H8 470K 0.1% 100PPM
MoPN: 279-H8470KBZA
$0.97each (8/2017)
$2.91 (×3)
DkPN: PTF475KCCT-ND (not stocked)
Dk Alt:
475k 0.1% 1/8W
Vishay Dale
MPN: PTF56475K00BYEB
DkPN: PTF475KCCT-ND
$1.64each (8/2017)
(3×)680ohm Resistors
TE Connectivity
MPN: H8680RBYA
Metal Film Resistors - Through Hole H8 680R 0.1% 15PPM
MoPN: 279-H8680RBYA
$1.14each (8/2017)
$3.42 (×3)
DkPN: H8680RBYA-ND(not stocked)
Dk Alt:
681ohm 0.1% 1/4W
Note: listed as discontinued by digikey (w/available stock 8/2017)
TT Electronics/Welwyn
MPN: RC55Y-681RBI
DkPN: 985-1036-1-ND
$1.70each (8/2017)
<clip>
The Atmega168 has already been changed to the 328, in addition to a 20MHz crystal.
What Software do I have to put? Mount an LCD SCM1602c 2x16
I can't imagine the recommendations are "wrong" and just uncaught after this long, but the only other conclusion I could come to would be that the 0.1% resistor tolerance is at least an order of magnitude above what the device's precision could resolve anyway. If a 475k 0.1% resistor is for all practical purposes equivalent to a 470k 0.1% resistor, doesn't that indicate that one would likely still be just fine using a 470k 1% resistor? (And in fact, perhaps even more so than using a 475k 0.1% resistor, as if the calculations depend fairly tightly on the 470k value then probability is on your side that you're better being +-1% off than starting at +1.1% and then being +-0.1% off from there.)
I think the idea is that the exact value of the resistor is not super important. The software can compensate for the actual value. Most important is that the resistor is stable, and doesn't drift. I could be wrong though.
The values of the probe/test resistors R_low and R_high can be changed in a config file for the source code. If you go for different values please update the config file. Very simple, isn't it?
I think the idea is that the exact value of the resistor is not super important. The software can compensate for the actual value. Most important is that the resistor is stable, and doesn't drift. I could be wrong though.
I imagine it's largely a thought-experiment kind of question, then, but how precise can these values get before they are *too* precise to make a difference?
The values of the probe/test resistors R_low and R_high can be changed in a config file for the source code.
I imagine it's largely a thought-experiment kind of question, then, but how precise can these values get before they are *too* precise to make a difference?
The values of the probe/test resistors R_low and R_high can be changed in a config file for the source code.Does the calibration/self test not adjust for the resistors too?
I'd guess 0.01%. Instead of buying 0.1% resistors you could also use a proper bench DMM to measure and select 1% metal film resistors. They don't have to be exactly 680 or 470k as you can change the values in the config file. We recommend the 0.1% types because they are much cheaper than a 6-1/2 digit or better DMM
One more quick question on this topic (which worst case I can answer myself by actually grabbing the code, I suppose): I mentioned that I didn't see r_low and r_high in Karl-Heinz' documentation. Does that mean that the config values are only in the m-version, and not the k-version? Will I have to go ifdef-hunting in the code if I want the k-version to use different cap values?
Receiving data from the tester to the terminal program is working, but if I send OFF or PROBE or MSG or something else, the tester goes to a closed loop(it's look like the tester reboot endless) and I don't get a messages back on the terminal screen (e.g. OK or ERR).
After a restart, the receiving data from the tester is working again till I send something to the tester.
Any ideas or are more modifications necessary?