Good day. I would like to contact madires. I have an original Hiland m644 bought on aliexpress and an ILI9341 display connected that works in software SPI, and I cannot get it to work through hardware SPI. I am attaching two fragments of the config_644.h file, working and not working. I would like you to explain what I am doing wrong. It could be left as is, with software SPI, but I really want to get to the bottom of the details.
The pin assignment for hardware SPI is fine. Since the display is running with bit-bang SPI the wiring is also correct. And the Hiland's rotary encoder in parallel with PB5 and PB7 shouldn't cause any issues. Which firmware version are you using? Are the level shifters fast enough (ILI9341's Vcc is 3.3V)? The clock for hardware SPI is set to f_MCU/2 for the ILI9341.
Hi
I have a LCR T4 and I have update it to 1.13k firmware version (with the files inside mega328_GM328 folder) and it works well. Now, I want to test the 1.40 M firmware but I can't find how to modify the files to fit my device.
I have used this guide: https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg1011926/#msg1011926 and I have completed the compilation, but when I uploaded the firmware to the transistor tester the screen was very dark, the letters are reversed but the device measures well the components. So I don' t know how to adapt the 1.40M files to my transistor tester. Could you help me?
Thanks
Read the provided CLONES text document, it is included in ComponentTester-1.40m.tgz
Then, modify the Makefile, config.h and config_328.h with the appropriate parameters from the CLONES document.
I am not sure but it should be the T3/T4 paragraph of settings in CLONES.
These are described in the 1.40m document here
https://github.com/madires/Transistortester-Warehouse/blob/master/Documentation/English/ctester-1.40m.pdf
"1.8. Building the firmware", page 9
Ok, I coudn't find the file with the instructions. I will read it.
Thanks
Congratulations!
Did you measure and note some more characteristic voltages and signals in the "bad" system? Could you share them?
Could you also provide more info on the U4 FW - links, versions and dates? What tools did you use?
[It seems the only source is https://github.com/atar-axis/tc1-u4 - binaries are 1 day/update off!]
Probably presenting of proper settings for T7/TC1 M324PA would be also very helpful for many.
Well, I haven't done much. I've just recompiled the U4 firmware with Keil.
Before updating, with the T7 turned off, I had about 2.8v on PD1 which seemed to power U1 as well (mesured 2V on Vcc pins)
I am using ComponentTester-1.40m firmware with 16 MHz alum. At the expense of the speed of the level switches, I have 10 kΩ resistors installed. But this phrase "Clock for hardware SPI is set to f_MCU / 2 for ILI9341", I did not understand. I have an 8 channel TXS0108E level converter available. Maybe you should try to install it?
I am using ComponentTester-1.40m firmware with 16 MHz alum. At the expense of the speed of the level switches, I have 10 kΩ resistors installed. But this phrase "Clock for hardware SPI is set to f_MCU / 2 for ILI9341", I did not understand. I have an 8 channel TXS0108E level converter available. Maybe you should try to install it?
I see, you have in-series resistors to limit current and rely on the internal clamping diodes. Seems to be a timing issue. One solution is to replace the in-series resistors with a proper level shifter, as you already suggested. The other solution is to lower the clock rate of the hardware SPI. That can be done in function LCD_BusSetup() in the section for SPI in ILI9341.c. The line to modify is:
SPI.ClockRate = SPI_CLOCK_2X;
For half the clock rate:
SPI.ClockRate = 0;
And for a quarter:
SPI.ClockRate = SPI_CLOCK_R0 | SPI_CLOCK_2X;
The ILI9341 driver's default clock rate for hardware SPI is f_MCU / 2, i.e. with a 16MHz MCU clock the SPI clock is 8MHz. Half would be 4MHz and quarter 2MHz. And that wouldn't be really faster than bit-bang SPI. IIRC, with an 8MHz MCU clock and bit-bang SPI clearing an ILI9341 based display takes about 3 seconds. So I would go for the level shifter IC to get maximum performance.
madires, I got it. The situation is starting to clear up. I will experiment with TXS0108E. Thank you for participating.
madires, I followed your recommendation for TXS0108E and the result is excellent. With the level converter, the hardware SPI is working. It would be nice to note this in the documentation. Many thanks for the help. Another blank spot for me became smaller.
Hello, I just came across this thread.
sadly its so long I can not possible read all, I hope that is understandable.
i have two questions:
first: which tester is at the moment the "best"? the M644?
added features:
50V Zener measure
better range resistor
second: I read in the firmwares from
https://www.mikrocontroller.net/svnbrowser/transistortester/Software/Markus/ComponentTester-1.40m.tgz?view=log some indications o relays for capacitor discharge, reverse hFe and some other cool nice to haves
is there any new model out here?
can someone point me to instructions, if possible video, on how to flash the new 1.40m firmware from Markus on the m644?
thank you all in advance
The README.de and PDF both tell you to simply run "make upload" or to use your IDE. And the last answer to the common "which clone is the best?" question is just 4 pages away: https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg3127858/#msg3127858. Neither hard to understand nor hard to find.
thank you, that two I also found, if that's the common sense now that that are the best all-round testers in this category that's fine, than I guess the stuff with the relays is only found in DIY versions of them.
one more thought is why do they still use the AVR chips and not a STM32 or at least external ADCs like ads1115?
thank you again for your answer. I will try with a real linux installation and not vm. as an IDE I can only think of maybe Arduino or similar?
That was also answered in the last 10 pages.
You can get free IDEs from Atmel/Microchip for example.
I'm looking for samples of Schottky transistors (AKA Schottky-clamped transistors). The next firmware version will support them and I'm simply connecting a Schottky diode to a BJT for testing. But Schottky-clamped transistors can also have the Schottky diode integrated on the same die which provides some benefits. So I'd like to test those too.
Would you like to know if the hFE of a BJT was measured in the common emitter or common collector circuit?
Hi guys,
Having some problems with my BSIDE ESR2 Pro running 1.40m
It has started 'freezing'/hanging on the 'Bye!' shutdown screen. The only way to turn the unit off at this point is by removing the battery. Any clues on where to start looking for the fault?
I'd start with PD6 which switches the power and check the circuit around Q3 and Q2.
Hello owners of the popular LCR-T1 clone!
For ATMega644 only!With the help of my friend
bdk100@vrtp.ru I managed to adapt k-firmware 1.13k(revision 813) for this device.
It was entertaining in terms of gray matter warm-up.
The archive, which I attach below, contains a modified configuration file config.h, firmware files in English, and a description file Readme.txt.
Please read it carefully. Happy testing!
Photos were kindly provided by
bdk100, who checked and tested this firmware in Russian.
There is no support for testing IR RC Detector/Decoder in k-firmware yet.
... LCR-T1 clone! For ATMega644 only!
Hello indman, madires and all the other members here in this forum,
my Multi-Funktion-Tester - T7 (the same PCB and all the same Components as LCR-T1) has now I modificated with TC1-Mod, a Rotary-Switch and change the controller to ATmega644PA U-TH.
The k1.13 firmware and also the m1.40 firmware I flashed successfully and the tester works fine (nearly)!
1. The k1.13 works fine, but at the top of the display the first 8 rows are wrong pixel?
Have anyone a idea about this wrong pixel???
2. The m1.40 works also fine, the display looks good - but has a problem with hFE results. Not so great deviations like the "Hiland m644", but clear enough. If I take the workaround for this problem and the hFE results are good.
Best Regards Horst
(Attachment Link)
1. The k1.13 works fine, but at the top of the display the first 8 rows are wrong pixel?
Have anyone a idea about this wrong pixel???
Replace the lcd_defines.h file that I attached below and compile again
You can make 8 lines in the main menu if you use the flag in the makefile
CFLAGS + = -DMAX_MENU_LINES = 8
Hi indman,
thanks for the prompt reaction at my call for help.
But first, for a old man, needs time for a good breakfast! Later I go to install your hints and report it. In the last night I have detekt an other little bug, but report also later.
Regards Horst
... and report it.
Hi indman,
now the changing are tested - it works, but no 8 wrong lines, now 1. So I set the entry 130 to 131 and no longer wrong lines are in the display!
Many thanks for the right trigger.
The other "little problem": the examples with ATmega644 has all the menu-entrys for Counter with prescaler and xtal messurement for high and lo types as needed vor the example from documentation of Karl-Heinz in the "Figure 2.26. Extended Transistor Tester circuit with ATmega644".
Only the clon "Hiland 644m" comes with this additional hardware <AFAIK>. Is it possible, for testers without this hardware (f.e. TC-1; T7), the unusable menu-entrys deleting?
Best regards Horst
Only the clon "Hiland 644m" comes with this additional hardware <AFAIK>. Is it possible, for testers without this hardware (f.e. TC-1; T7), the unusable menu-entrys deleting?
Possible! I did this in the firmware I attached above in the archive.
To do this, you need to very very carefully and properly correct the menu items in the function menu.c file.