Hello
Got 2 LCR Testers today from AliXpress.. New LCR-T4 and LCR-T7 Color
Both have new firmware version 3.12K
Does anybody know where to find this firmware.. or is it a hoax.. mean Chinese Variants.. ?
tnx for info. JP
Summary:
ATmega324 MCU: 44-pin TQFP package. Fully supported by official OSHW Transistor Tester software. DIY upgrade to ATmega644 is possible.
Alternate Chinese MCU, APT32F172K8T6 or LGT8F328P: 32-pin TQFP package. Software cannot be upgraded. Not supported by the OSHW Transistor Tester project.
Summary:
ATmega324 MCU: 44-pin TQFP package. Fully supported by official OSHW Transistor Tester software. DIY upgrade to ATmega644 is possible.
Alternate Chinese MCU, APT32F172K8T6 or LGT8F328P: 32-pin TQFP package. Software cannot be upgraded. Not supported by the OSHW Transistor Tester project.... DIY upgrade to ATmega1284 is also possible:
Hope you guys can help me fix my T-4. I managed to break the LCD screen, so I bought a replacement off of aliexpress, but it's not working. Is this the right way to solder it, please? Also attached a pic showing what it does when I power it up.
Hope you guys can help me fix my T-4. I managed to break the LCD screen, so I bought a replacement off of aliexpress, but it's not working. Is this the right way to solder it, please? Also attached a pic showing what it does when I power it up.Could you post photos of your old broken LCD screen for comparison?
Do the flat flex PC cables look exactly the same for both old and new screens?
They look the same to me, have a look:
They look the same to me, have a look:And now take a close look and compare how the cable should be soldered on the same clone as yours.
You turned the cable over.
What gives? Was the screen not properly assembled or something?
What gives? Was the screen not properly assembled or something?The most important thing is that you do not damage the display cable.If there is a picture on the display, but it is mirrored, all this can be fixed with another firmware.
Did I buy the wrong screen or something?
EDIT: Something else seems wonky. Now I need to keep the button pressed, or else the screen goes blank
Did I buy the wrong screen or something?Yes, this display is working, but it is different from the one that was damaged.EDIT: Something else seems wonky. Now I need to keep the button pressed, or else the screen goes blankYou need to connect the backlight LED to avoid this effect
volume = eeprom_read_byte(&EE_Volume_Value); // read Vop
lcd_command(CMD_SET_VOP_UPPER | ((volume >> 5) & 0x07)); // set upper Vop
lcd_command(CMD_SET_VOP_LOWER | (volume & 0x1f)); // set lower Vop
lcd_command(CMD_SET_START_LINE | (LCD_ST7565_Y_START & 0x3f)); // Set the Start line 0
lcd_command(CMD_SET_ALLPTS_NORMAL); // 0xa4 set display to normal
lcd_command(CMD_SET_POWER_CONTROL | 4); // 0x28|4 Charge Pump ON
lcd_command(CMD_SET_COM_REVERSE); // 0xc8
lcd_command(CMD_SET_COM_NORMAL); // 0xc0 set normal Y orientation
lcd_command(0xa1); // set MX, X orientation, is pad selectet!
lcd_command(0xaa); // set horizontal mode
lcd_command(0xac); // set initial row
lcd_command(0x08); // initial row = 8 (0-7)
lcd_clear();
lcd_command(CMD_DISPLAY_ON); // 0xaf Display on
lcd_set_cursor(0,0);
They look the same to me, have a look:And now take a close look and compare how the cable should be soldered on the same clone as yours. You turned the cable over.WTF? I reversed the cable orientation (and I don't know how a would mount it that way) and it works, but the text is all flipped horizontally. What gives? Was the screen not properly assembled or something? I'll try to get a picture, but I need extra hands for that
OK, I've decided to try and flash a modified version of the firmware to fix the orientation of the text, then I'll run wires from the pcb to the flex cable and fix that in place with hot glue.
Is this the part of the code in lcd-routines.c that needs tweaking to mirror the display?
This same type of thing has happened to me: Although frustrating and time consuming, I prefer to think of these events as “learning experiences.” One new habit I’ve developed is to take plenty of photos before and during the disassembly process.
Also not every LCD screen of similar dimensions and specs has its flex cable oriented the same way. I’ve run into this myself.
No, you don't need to delve so deeply into the code to correct the orientation of the image.
All the necessary settings that you need to configure are in the Makefile file from the folder "mega328_T4_v2_st7565":
# If LCD_ST7565 option is set to 1: Flip the display's horizontal direction.
#CFLAGS += -DLCD_ST7565_H_FLIP=1
# With LCD_ST7565_H_OFFSET you can specify a horizontal pixel offset to the display window.
# The controller knows 132 horizontal pixel, the window shows only 128 pixel.
# OFFSET values can vary for the connected display type to 0, 2 or 4.
CFLAGS += -DLCD_ST7565_H_OFFSET=0
# If LCD_ST7565 option is set to 1: Flip the display's vertical direction
#CFLAGS += -DLCD_ST7565_V_FLIP=1
OK, I've decided to try and flash a modified version of the firmware to fix the orientation of the text, then I'll run wires from the pcb to the flex cable and fix that in place with hot glue.
Is this the part of the code in lcd-routines.c that needs tweaking to mirror the display?
No, you don't need to delve so deeply into the code to correct the orientation of the image.
All the necessary settings that you need to configure are in the Makefile file from the folder "mega328_T4_v2_st7565":
# If LCD_ST7565 option is set to 1: Flip the display's horizontal direction.
#CFLAGS += -DLCD_ST7565_H_FLIP=1
# With LCD_ST7565_H_OFFSET you can specify a horizontal pixel offset to the display window.
# The controller knows 132 horizontal pixel, the window shows only 128 pixel.
# OFFSET values can vary for the connected display type to 0, 2 or 4.
CFLAGS += -DLCD_ST7565_H_OFFSET=0
# If LCD_ST7565 option is set to 1: Flip the display's vertical direction
#CFLAGS += -DLCD_ST7565_V_FLIP=1
https://github.com/Mikrocontroller-net/transistortester/tree/master/Software/trunk
Here is the current actual k-firmware distribution 07.10.2021