Do you have a Hiland M644 or a DYI version with the extended frequency counter? Have you checked the oscillator frequency of the extended frequency counter with a scope?
Hello everybody! I'm new to the forum, but old in electronics!
I have a request for
indman: please tell me with what software you compiled the 1.41m version. I have an M328 AY-AT on which I want to put the 1.41m software customized (special thanks
madires!). I tried
make in Debian and cygwin / Win7-64; I have compilation errors in both variants. I get error messages that some variables are not declared.
Thank you.§
indman thanks for the quick reply, but ...
I downloaded the tools package, I installed it according to README. I ran pn and got the same error message!
> "make.exe" all
avr-gcc -mmcu=atmega328 -Wall -I. -Ibitmaps -DF_CPU=8000000UL -DOSC_STARTUP=16384 -gdwarf-2 -std=gnu99 -Os -mcall-prologues -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT main.o -MF dep/main.o.d -c main.c
main.c: In function 'Show_Fail':
main.c:360: error: 'Failed1_str' undeclared (first use in this function)
main.c:360: error: (Each undeclared identifier is reported only once
main.c:360: error: for each function it appears in.)
main.c:361: error: 'Failed2_str' undeclared (first use in this function)
main.c: In function 'Show_Error':
main.c:376: error: 'DischargeFailed_str' undeclared (first use in this function)
main.c: In function 'Show_BJT':
main.c:1095: error: 'BJT_str' undeclared (first use in this function)
main.c: In function 'Show_ThyristorTriac':
main.c:1567: error: 'Thyristor_str' undeclared (first use in this function)
main.c:1573: error: 'Triac_str' undeclared (first use in this function)
main.c: In function 'Show_PUT':
main.c:1608: error: 'PUT_str' undeclared (first use in this function)
main.c: In function 'Show_UJT':
main.c:1643: error: 'UJT_str' undeclared (first use in this function)
main.c: In function 'PowerOff':
main.c:1728: error: 'Bye_str' undeclared (first use in this function)
main.c: In function 'ShowBattery':
main.c:1758: error: 'Battery_str' undeclared (first use in this function)
main.c:1788: error: 'Low_str' undeclared (first use in this function)
main.c:1795: error: 'Weak_str' undeclared (first use in this function)
main.c:1802: error: 'OK_str' undeclared (first use in this function)
main.c: In function 'main':
main.c:1985: error: 'Timeout_str' undeclared (first use in this function)
main.c:1986: error: 'Error_str' undeclared (first use in this function)
main.c:2103: error: 'Tester_str' undeclared (first use in this function)
main.c:2263: error: 'Probing_str' undeclared (first use in this function)
make.exe: *** [main.o] Error 1
> Process Exit Code: 2
> Time Taken: 00:03
Where is the mistake? How do I solve the problem?
Please explain to me in more detail, I am a beginner in programming.
Dumidan,publish your madires 1.41m source folder where you are compiling?
You can zip file archive
I have Hiland M644 with 8MHz resonator. No, no i didn't check and now it's impossible. My conclusions: when run freq counter and try measure BNC, HF and LF I have in dedicated places is still "0" value. I have DMM with L measure so connect probes to BNC Tester because this is generator 1,394kHz and voilà - DMM "unlock" tester and now I can take a measurement so BNC work, LF work because have 2 small different resonators and HF work, max freq I get 28MHZ (49MHz not anymore) but in this HF counter mode is one problem - I can't take measurement near 8MHz and 16MHz. When put this resonators I have ca 800kHz. So what's going on here?
This is the folder with the custom version. We modified some values of constants, according to the parts on the PCB, values actually measured.
I can't take measurement near 8MHz and 16MHz. When put this resonators I have ca 800kHz. So what's going on here?
The best way for finding the cause in this case is to start with the hardware. Therefore I asked for checking the oscillators.
BTW, the theoretical maximum of the frequency counter is 1/4 MCU clock * precscaler (for 8 MHz: 2 MHz * 16 = 32 MHz). Based on the ICs used for the oscillators that limit can be lower.
This is the folder with the custom version. We modified some values of constants, according to the parts on the PCB, values actually measured.
Madires does not yet support Romanian language, so there are compilation errors. Add #include "var_romanian.h" line to variables.h file
I compiled the firmware from your archive, but it is 129% in size and will not fit into ATMega328 memory. You need to disable those options config.h that you do not use very often.
I've added Dumidan's var_romanian.h to the source code.
indman thanks for the directions. I managed to compile after correcting the omission from variables.h and I changed / supplemented the translation var_romanian.h (it is my contribution to the project, after I check its functionality, I will send it to
madires to add it, if it wants).
After reducing the options, I reached "only" 117.9% flash and 102.8% EEPROM.
Let's see what else I get out of the program ...
Beginner's question of m328 programming: can an external 24Cxx memory be used to store some of the program's routines? I know that this way the original hardware configuration is no longer respected, but I would be willing to build a multitester variant with m328p, 24cxx, frequency meter extensions, quartz crystal testing, zenner diodes, optocouplers ...Am I just a dreamer? Or is it possible?
I have one of these testers that I got as a Banggood kit in October 2015. It was working well, but over a few minutes today the screen lost most, and then all, contrast. As a result, I can't bring up its menu to adjust the contrast, because I can't tell where in the menu system I am, or if I've even got into it. Installing a fresh battery doesn't help.
Because I can't interrogate it through its own menus, I can't tell what version of the software it has. FWIW, it has a 1" x 2" blue/white monochrome graphic screen and a 28-pin ZIF socket on a 2.5" x 3" red PCB. The processor is an ATMega328.
Of course, the display unit could have irreversibly failed, in which case I'll just get a whole new kit from Banggood (or elsewhere, if the old tester hands here have a recommendation). Before I do that, is there a reset worth attempting?
Beginner's question of m328 programming: can an external 24Cxx memory be used to store some of the program's routines? I know that this way the original hardware configuration is no longer respected, but I would be willing to build a multitester variant with m328p, 24cxx, frequency meter extensions, quartz crystal testing, zenner diodes, optocouplers ...Am I just a dreamer? Or is it possible?
All this is possible, but it will be a completely different project with different software. The authors adhere to the original version hardware of the project and this is supported by many. You can use a processor with more memory than the ATMega328 and enable features and modes that do not fit in 32KB of memory.
indman thanks for the directions. I managed to compile after correcting the omission from variables.h and I changed / supplemented the translation var_romanian.h (it is my contribution to the project, after I check its functionality, I will send it to madires to add it, if it wants).
If you send me an updated version I'll add it.
Beginner's question of m328 programming: can an external 24Cxx memory be used to store some of the program's routines?
The ATmega's architecture doesn't support that. Better go for an ATmega644 or 1284.
I've added Dumidan's var_romanian.h to the source code.
Thanks
madires for adding, but i think the file is only valid for ver.
1.40m. I am attaching the translation for
1.41m which has some modifications, according to the original from English.
I have one of these testers that I got as a Banggood kit in October 2015. It was working well, but over a few minutes today the screen lost most, and then all, contrast. As a result, I can't bring up its menu to adjust the contrast, because I can't tell where in the menu system I am, or if I've even got into it. Installing a fresh battery doesn't help.
Because I can't interrogate it through its own menus, I can't tell what version of the software it has. FWIW, it has a 1" x 2" blue/white monochrome graphic screen and a 28-pin ZIF socket on a 2.5" x 3" red PCB. The processor is an ATMega328.
Could be a bad display. If you post a picture of your tester we might be able to tell you the display controller.
@madires:To clarify any confusions, I am attaching the files with the Romanian translation for the 1.40m and 1.41m versions. I also tried a size optimization using some abbreviations. I will try to do translations in Romanian for the next versions as well - if Karl agrees, I will translate the last 2-3 versions of it plus the following ones. A good day!
Thanks for your rapid response. Here are two pictures of my tester, one complete, and one with the display removed.
That's an M328Kit with an ST7565 based 2.4" display (SPI interface).
Basically you can use any supported display with an SPI interface as a replacement. You just need to compile a new firmware with the matching driver enabled. It's up to you to decide whether to buy a replacement display or a new tester. If you go for a new tester I'd recommend one with an ATmega644 and a rotary encoder.
I have one of these testers that I got as a Banggood kit in October 2015. It was working well, but over a few minutes today the screen lost most, and then all, contrast. As a result, I can't bring up its menu to adjust the contrast, because I can't tell where in the menu system I am, or if I've even got into it.
You need to understand the reason why the display has lost image. If you have a multimeter, then first of all you can check the + 5V supply voltage, which goes to the LM1117 integrated stabilizer. The output of the stabilizer should be 3.3V. I have shown in the photo the points that need to be checked.You can also check the voltage that should come to the display backlight. The backlight LED may be damaged
Thanks for your interest. The voltages at U1 are 3V3 and +5V as they should be. At BL, I see +2.65V. The VSS & VDD points are GND and +5V.
The TC-1 has a color display, IR receiver module and boost converter for the Zener check (up to about 35V). And it comes with an ATmega324 or 644
Can't that Zenerboost be used for TRIACS as well?
TC1 with 644? I think that would be the best base device to start with at the moment. I couldn't find one though. Anyone know a reliable source for TC1/644 devices?