Skip to content

Commit

Permalink
Merge pull request #2 from semka95/1.47m
Browse files Browse the repository at this point in the history
update to 1.47m
  • Loading branch information
semka95 authored Oct 25, 2022
2 parents e518906 + 552a4b9 commit a6f300d
Show file tree
Hide file tree
Showing 74 changed files with 5,610 additions and 269 deletions.
48 changes: 48 additions & 0 deletions firmware/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,54 @@

------------------------------------------------------------------------------

v1.47m 2022-07
- Fixed swapped resistor symbols in font_8x12t_iso8859-2_vfp.h and
font_8x12t_iso8859-2_hf.h (reported by b0hoon@EEVblog).
- Added option to display quartz crystal symbol for LF/HF modes in extended
frequency counter (UI_QUARTZ_CRYSTAL, suggested by indman@EEVblog).
- Added fonts font_8x12t_iso8859-2_hf.h (FONT_8X12T_ISO8859_2_HF) and
font_8x16_iso8859-2_hf.h (FONT_8X16_ISO8859_2_HF, thanks to b0hoon@EEVblog).
- Fixed wrong reference of '\' in font_8x8_iso8859-2_h.h, broken diode symbol
A-C and 'W' in font_6x8_iso8859-2_hf.h (Thanks to b0hoon@EEVblog).
- Added option to display a Zener diode symbol in any Zener check
(UI_ZENER_DIODE, suggested by indman@EEVblog).
- New 32x39 symbol set to match 26 pixel high fonts (SYMBOLS_32X39_HF,
thanks to indman@EEVblog).
- Added options to auto-hold ESR and inductance for C and L monitor (
SW_MONITOR_HOLD_ESR, SW_MONITOR_HOLD_L, suggested by theHWcav@EEVblog).
- Added character translations for inversed pin numbers to Serial_Char().
- Added option for /RESX line on separate MCU port to ST7735 driver (
LCD_RES_PORT, LCD_RES_DDR, based on idea from lhlad@EEVblog).
- Added option to display a question mark symbol in case of a failed test
run (UI_QUESTION_MARK, suggested by indman@EEVblog).
- Added symbols for question mark, Zener diode and quartz crystal to all
symbol sets (thanks to indman@EEVblog).
- Added additional positioning flags for fancy pinout (PIN_CENTER,
PIN_ALT_CENTER, suggested by indman@EEVblog).
- Display small diode symbol before Vf for MOSFETs and IGBTs (suggested by
indman@EEVblog).
- Added numbers 1-3 and character x with reversed color plus degree character
to font_8x16alt_win1251_hf.h. Also updated 1-3 and x with reversed color in
font_8x8alt_win1251_vf.h, Same for font_16x26_win1251_hf.h (thanks to
indman@EEVblog).
- Added option to disable display of text based pinout of the body diode for
MOSTFETs (UI_NO_BODYDIODE_TEXTPINOUT, suggested by indman@EEVblog).
- Added symbol set 32x39 (SYMBOLS_32X39_HF, thanks to indman@EEVblog).
- Added alternative symbols sets 24x24 (SYMBOLS_24X24_ALT1_H,
SYMBOLS_24X24_ALT2_H, SYMBOLS_24X24_ALT1_HF, SYMBOLS_24X24_ALT2_HF,
SYMBOLS_24X24_ALT1_VFP, SYMBOLS_24X24_ALT2_VFP, SYMBOLS_24X24_ALT1_VP_F and
SYMBOLS_24X24_ALT12_VP_F), 30x32 (SYMBOLS_30X32_ALT1_HF and
SYMBOLS_30X32_ALT2_HF) and 32x32 (SYMBOLS_32X32_ALT1_HF and
SYMBOLS_32X32_ALT2_HF, thanks to indman@EEVblog).
- Added option to fancy pinout to show right-hand probe numbers above/below
the symbol (UI_PINOUT_ALT, suggested by indman@EEVblog).
- Fixed issue in FontTest() with missing spaces for some display drivers.
- Added test output of component symbols (SW_SYMBOL_TEST, suggested by
indman@EEVblog).
- Updated Russian texts (thanks to indman@EEVblog).
- Fixed missing ')' character and broken '*' in font_10x16_hf.h (reported by
pepe10000@EEVblog).

v1.46m 2022-04
- Added option to disable text based pinout for 3-pin semiconductors when
component symbols are enabled (UI_NO_TEXTPINOUT, suggested by
Expand Down
50 changes: 50 additions & 0 deletions firmware/CHANGES.de
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,56 @@

------------------------------------------------------------------------------

v1.47m 2022-07
- Korrektur von verdrehten Widerstandssymbolen in font_8x12t_iso8859-2_vfp.h
und font_8x12t_iso8859-2_hf.h (gemeldet von b0hoon@EEVblog).
- Option zum Anzeigen eines Schwingquartzsymbols f�r LF/HF-Modi im erweiterten
Frequenzz�hler (UI_QUARTZ_CRYSTAL, Vorschlag von indman@EEVblog).
- Neue Zeichens�tze font_8x12t_iso8859-2_hf.h (FONT_8X12T_ISO8859_2_HF) und
font_8x16_iso8859-2_hf.h (FONT_8X16_ISO8859_2_HF, thanks to b0hoon@EEVblog).
- Korrektur von fehlerhafter Referenz f�r '\' in font_8x8_iso8859-2_h.h,
vermurkstem Diodensymbol A-C und 'W' in font_6x8_iso8859-2_hf.h (
Dank an b0hoon@EEVblog).
- Option zum Anzeigen eines Zenerdiodensymbols bei allen Zener-Tests (
UI_ZENER_DIODE, Vorschlag von indman@EEVblog).
- Neuer Symbolsatz 32x39, ideal f�r Zeichens�tze mit H�he von 26 Pixel (
SYMBOLS_32X39_HF, Dank an indman@EEVblog).
- Optionen zum Halten von ESR und Induktivit�t f�r C und L-Monitor (
SW_MONITOR_HOLD_ESR, SW_MONITOR_HOLD_L, Vorschlag von theHWcav@EEVblog).
- Zeichen�bersetzung f�r inverse Testpinnummern in Serial_Char() erg�nzt.
- ST7735-Treiber um Option f�r /RESX auf separatem Port erweitert (
LCD_RES_PORT, LCD_RES_DDR, nach Idee von lhlad@EEVblog).
- Option zum Anzeigen eines Fragezeichensymbols bei fehlgeschlagenem
Suchlauf (UI_QUESTION_MARK, Vorschlag von indman@EEVblog).
- Symbole f�r Fragezeichen, Zenerdiode und Quarz in allen Symbol-S�tzen
erg�nzt (Dank an indman@EEVblog).
- Zus�tzliche Positionierungsm�glichkeiten f�r Bauteilesymbole (PIN_CENTER,
PIN_ALT_CENTER, Vorschlag von indman@EEVblog).
- Kleines Diodensymbol vor Vf f�r MOSFETs und IGBTs anzeigen (Vorschlag von
indman@EEVblog).
- Zahlen 1-3 und x-Zeichen in invertierter Darstellung plus Grad-Zeichen in
font_8x16alt_win1251_hf.h erg�nzt; sowie 1-3 und x in invertierter
Darstellung in font_8x8alt_win1251_vf.h aktualisiert. Das gleiche auch f�r
font_16x26_win1251_hf.h (Dank an indman@EEVblog).
- Option zum Abschalten der Ausgabe vom text-basierten Pinout der Body-Diode
von MOSFETs (UI_NO_BODYDIODE_TEXTPINOUT, Vorschlag von indman@EEVblog).
- Symbole 32x39 (SYMBOLS_32X39_HF, Dank an indman@EEVblog).
- Alternative Symbole 24x24 (SYMBOLS_24X24_ALT1_H, SYMBOLS_24X24_ALT2_H,
SYMBOLS_24X24_ALT1_HF, SYMBOLS_24X24_ALT2_HF, SYMBOLS_24X24_ALT1_VFP,
SYMBOLS_24X24_ALT2_VFP, SYMBOLS_24X24_ALT1_VP_F und
SYMBOLS_24X24_ALT12_VP_F), 30x32 (SYMBOLS_30X32_ALT1_HF und
SYMBOLS_30X32_ALT2_HF) und 32x32 (SYMBOLS_32X32_ALT1_HF und
SYMBOLS_32X32_ALT2_HF, Dank an indman@EEVblog).
- Option f�r Bauteilesymbole: rechte Testpinnummern ober/unterhalb vom Symbol
ausgeben (UI_PINOUT_ALT, Vorschlag von indman@EEVblog).
- In FontTest() Problem mit fehlenden Leerzeichen f�r manche Anzeigentreiber
beseitigt.
- Testausgabe von Bauteilesymbolen (SW_SYMBOL_TEST, Vorschlag von
indman@EEVblog).
- Russische Texte aktualisiert (Dank an indman@EEVblog).
- Fehlendes ")"-Zeichen in font_10x16_hf.h erg�nzt und auch '*' wieder
hergestellt (gemeldet von pepe10000@EEVblog).

v1.46m 2022-04
- Option zum Abschalten des Text-Pinouts f�r 3-Pin-Halbleiter, wenn die
Bauteilsymbole aktiviert sind (UI_NO_TEXTPINOUT, Vorschlag von
Expand Down
99 changes: 96 additions & 3 deletions firmware/Clones
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ LCD module:
#define SPI_SCK LCD_SCL /* port pin used for SCK */
#define SPI_MOSI LCD_SI /* port pin used for MOSI */

Some T4 variants use a slightly different pin assignment:
Some T4 variants use a slightly different pin assignment for the display:
#define LCD_RESET PD0 /* port pin used for /RES */
#define LCD_A0 PD1 /* port pin used for A0 */
#define LCD_SCL PD2 /* port pin used for SCL */
Expand All @@ -472,7 +472,7 @@ Some T4 variants use a slightly different pin assignment:

------------------------------------------------------------------------------

Multifunction Tester TC-1 and family (T7)
Multifunction Tester TC-1 and family (T7) with ATmega324/644
- ATmega324 (very poor pin assignment), 16MHz clock
later models may have an ATmega644
- ST7735 color display (bit-bang SPI)
Expand All @@ -492,7 +492,7 @@ Hints:
current in total) or reprogrammed with a modified firmware (see
https://github.com/atar-axis/tc1-u4). The designator can be also U3 (T7 Plus)
or U5 for newer PCBs.
The latest PCB revision has also a footprint for an alternative MCU (details
A later PCB revision has also a footprint for an alternative MCU (details
unknown). The hardware mod should still work.
- Set extended fuse byte to 0xfd (brown-out detection).
- If D2 (rectifier diode for Zener test voltage) gets hot replace it with a
Expand Down Expand Up @@ -598,3 +598,96 @@ Pinout for fixed cap for self-adjustment:
#define ADJUST_RH PC6 /* Rh (470k) for fixed cap */

------------------------------------------------------------------------------

Multifunction Tester T7 with ATmega328
- ATmega328, 16MHz clock
- ST7735 color display (hardware SPI)
/RESET line on separate MCU port
- fixed IR receiver module
- boost converter for Zener check
(runs all the time, about 26V, non-standard voltage divider 100k/12k)
- connector for serial TTL interface (J5, 5V)
- settings provided by lhlad@EEVblog (see https://gitlab.com/a11059/t7_328_m)

Hints:
- This model can't provide any signal output (PWM/squarewave/etc.).
- Purpose of additional MCU (STC15L104W) is unknown.

Hardware Options:
#define HW_ZENER
#define ZENER_DIVIDER_CUSTOM
#define ZENER_R1 100000
#define ZENER_R2 12000
#define ZENER_UNSWITCHED
#define HW_IR_RECEIVER

Optionally:
#define HW_PROBE_ZENER
#define ZENER_VOLTAGE_MIN 500
#define ZENER_VOLTAGE_MAX 25500

Power management settings:
#define BAT_DIRECT
#define BAT_OFFSET 0
#define BAT_WEAK 3600
#define BAT_LOW 3400

LCD module:
#define LCD_ST7735 /* display controller ST7735 */
#define LCD_GRAPHIC /* graphic display */
#define LCD_COLOR /* color display */
#define LCD_SPI /* SPI interface */
#define LCD_PORT PORTB /* port data register */
#define LCD_DDR DDRB /* port data direction register */
#define LCD_RES PC5 /* port pin used for /RESX (optional) */
#define LCD_RES_PORT PORTC /* separate port for /RESX (optional) */
#define LCD_RES_DDR DDRC /* separate port for /RESX (optional) */
//#define LCD_CS PB? /* port pin used for /CSX (optional) */
#define LCD_DC PB2 /* port pin used for D/CX */
#define LCD_SCL PB5 /* port pin used for SCL */
#define LCD_SDA PB3 /* port pin used for SDA */
#define LCD_DOTS_X 128 /* number of horizontal dots */
#define LCD_DOTS_Y 160 /* number of vertical dots */
#define LCD_OFFSET_X 2 /* enable x offset of 2 or 4 dots */
#define LCD_OFFSET_Y 1 /* enable y offset of 1 or 2 dots */
#define LCD_FLIP_X /* enable horizontal flip */
//#define LCD_FLIP_Y /* enable vertical flip */
#define LCD_ROTATE /* switch X and Y (rotate by 90�) */
//#define LCD_BGR /* reverse red and blue color channels */
#define LCD_LATE_ON /* turn on LCD after clearing it */
#define FONT_10X16_HF /* 10x16 font */
#define SYMBOLS_30X32_HF /* 30x32 symbols */
#define SPI_HARDWARE /* hardware SPI */

Pinout for test probes:
#define TP_ZENER PC3 /* test pin with 10:1 voltage divider */
#define TP_BAT PC4 /* test pin with 4:1 voltage divider */

Pinout for probe resistors:
#define R_PORT PORTD /* port data register */
#define R_DDR DDRD /* port data direction register */
#define R_RL_1 PD2 /* Rl (680R) for test pin #1 */
#define R_RH_1 PD3 /* Rh (470k) for test pin #1 */
#define R_RL_2 PD4 /* Rl (680R) for test pin #2 */
#define R_RH_2 PD5 /* Rh (470k) for test pin #2 */
#define R_RL_3 PD6 /* Rl (680R) for test pin #3 */
#define R_RH_3 PD7 /* Rh (470k) for test pin #3 */

Pinout for power control:
#define POWER_PORT PORTB /* port data register */
#define POWER_DDR DDRB /* port data direction register */
#define POWER_CTRL PB1 /* control pin (1: on / 0: off) */

Pinout for test button:
#define BUTTON_PORT PORTB /* port data register */
#define BUTTON_DDR DDRB /* port data direction register */
#define BUTTON_PIN PINB /* port input pins register */
#define TEST_BUTTON PB4 /* test/start push button (low active) */

Pinout for fixed IR detector/decoder:
#define IR_PORT PORTB /* port data register */
#define IR_DDR DDRB /* port data direction register */
#define IR_PIN PINB /* port input pins register */
#define IR_DATA PB0 /* data signal */

------------------------------------------------------------------------------
4 changes: 2 additions & 2 deletions firmware/HD44780.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* - 1 to 4 lines, 16 to 20 characters
* - 4 bit parallel interface
* - 8 bit parallel interface (not supported)
* - I2C via PCF8574 based backpack
* - I2C via PCF8574 based backpack (driving 4 bit parallel interface)
*
* (c) 2015-2021 by Markus Reschke
* (c) 2015-2022 by Markus Reschke
*
* ************************************************************************ */

Expand Down
10 changes: 10 additions & 0 deletions firmware/ILI9163.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,23 @@
#include "font_8x8_hf.h"
#include "font_10x16_hf.h"
#include "font_8x8_iso8859-2_hf.h"
#include "font_8x12t_iso8859-2_hf.h"
#include "font_8x16_iso8859-2_hf.h"
#include "font_10x16_iso8859-2_hf.h"
#include "font_8x16_win1251_hf.h"
#include "font_8x16alt_win1251_hf.h"
#include "symbols_24x24_hf.h"
#include "symbols_24x24_alt1_hf.h"
#include "symbols_24x24_alt2_hf.h"
#include "symbols_24x24_old_hf.h"
#include "symbols_30x32_hf.h"
#include "symbols_30x32_alt1_hf.h"
#include "symbols_30x32_alt2_hf.h"
#include "symbols_30x32_old_hf.h"
#include "symbols_32x32_hf.h"
#include "symbols_32x32_alt1_hf.h"
#include "symbols_32x32_alt2_hf.h"
#include "symbols_32x32_old_hf.h"

/* sanity check */
#ifndef FONT_SET
Expand Down
9 changes: 9 additions & 0 deletions firmware/ILI9341.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,25 @@
/* fonts and symbols */
/* horizontally aligned, horizontal bit order flipped */
#include "font_8x8_hf.h"
#include "font_8x16_win1251_hf.h"
#include "font_8x16alt_win1251_hf.h"
#include "font_12x16_hf.h"
#include "font_16x26_hf.h"
#include "font_8x12t_iso8859-2_hf.h"
#include "font_8x16_iso8859-2_hf.h"
#include "font_10x16_iso8859-2_hf.h"
#include "font_12x16_iso8859-2_hf.h"
#include "font_16x26_iso8859-2_hf.h"
#include "font_16x26_win1251_hf.h"
#include "symbols_24x24_hf.h"
#include "symbols_24x24_alt1_hf.h"
#include "symbols_24x24_alt2_hf.h"
#include "symbols_24x24_old_hf.h"
#include "symbols_32x32_hf.h"
#include "symbols_32x32_alt1_hf.h"
#include "symbols_32x32_alt2_hf.h"
#include "symbols_32x32_old_hf.h"
#include "symbols_32x39_hf.h"

/* sanity check */
#ifndef FONT_SET
Expand Down
5 changes: 5 additions & 0 deletions firmware/ILI9481.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,14 @@
#include "font_16x26_iso8859-2_hf.h"
#include "font_16x26_win1251_hf.h"
#include "symbols_24x24_hf.h"
#include "symbols_24x24_alt1_hf.h"
#include "symbols_24x24_alt2_hf.h"
#include "symbols_24x24_old_hf.h"
#include "symbols_32x32_hf.h"
#include "symbols_32x32_alt1_hf.h"
#include "symbols_32x32_alt2_hf.h"
#include "symbols_32x32_old_hf.h"
#include "symbols_32x39_hf.h"

/* sanity check */
#ifndef FONT_SET
Expand Down
5 changes: 5 additions & 0 deletions firmware/ILI9486.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,14 @@
#include "font_16x26_iso8859-2_hf.h"
#include "font_16x26_win1251_hf.h"
#include "symbols_24x24_hf.h"
#include "symbols_24x24_alt1_hf.h"
#include "symbols_24x24_alt2_hf.h"
#include "symbols_24x24_old_hf.h"
#include "symbols_32x32_hf.h"
#include "symbols_32x32_alt1_hf.h"
#include "symbols_32x32_alt2_hf.h"
#include "symbols_32x32_old_hf.h"
#include "symbols_32x39_hf.h"

/* sanity check */
#ifndef FONT_SET
Expand Down
5 changes: 5 additions & 0 deletions firmware/ILI9488.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,14 @@
#include "font_16x26_iso8859-2_hf.h"
#include "font_16x26_win1251_hf.h"
#include "symbols_24x24_hf.h"
#include "symbols_24x24_alt1_hf.h"
#include "symbols_24x24_alt2_hf.h"
#include "symbols_24x24_old_hf.h"
#include "symbols_32x32_hf.h"
#include "symbols_32x32_alt1_hf.h"
#include "symbols_32x32_alt2_hf.h"
#include "symbols_32x32_old_hf.h"
#include "symbols_32x39_hf.h"

/* sanity check */
#ifndef FONT_SET
Expand Down
5 changes: 2 additions & 3 deletions firmware/IR_TX.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* IR remote control: sender
*
* (c) 2015-2021 by Markus Reschke
* (c) 2015-2022 by Markus Reschke
*
* ************************************************************************ */

Expand Down Expand Up @@ -1436,8 +1436,7 @@ void IR_RemoteControl(void)
/* just let the protocol set the carrier frequency */

/* display frequency */
LCD_ClearLine(3); /* line #3 */
LCD_CharPos(1, 3); /* start of line #3 */
LCD_ClearLine3(); /* clear line #3 */
MarkItem(MODE_FREQ, Mode); /* mark mode if selected */
Display_Value(Carrier, 3, 0); /* display frequency */
Display_EEString(Hertz_str); /* display: Hz */
Expand Down
2 changes: 1 addition & 1 deletion firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Makefile
#
# (c) 2012-2021 by Markus Reschke
# based on code from Markus Frejek and Karl-Heinz Kübbeler
# based on code from Markus Frejek and Karl-Heinz K�bbeler
#

PROJECT = ComponentTester
Expand Down
4 changes: 4 additions & 0 deletions firmware/PCD8544.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
#include "font_6x8_vf.h"
#include "font_6x8_iso8859-2_vf.h"
#include "symbols_24x24_vfp.h"
#include "symbols_24x24_alt1_vfp.h"
#include "symbols_24x24_alt2_vfp.h"
#include "symbols_24x24_old_vfp.h"
#endif

Expand All @@ -64,6 +66,8 @@
#include "font_6x8_v_f.h"
#include "font_6x8_iso8859-2_v_f.h"
#include "symbols_24x24_vp_f.h"
#include "symbols_24x24_alt1_vp_f.h"
#include "symbols_24x24_alt2_vp_f.h"
#include "symbols_24x24_old_vp_f.h"
#endif

Expand Down
2 changes: 2 additions & 0 deletions firmware/PCF8814.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
#include "font_6x8_vf.h"
#include "font_6x8_iso8859-2_vf.h"
#include "symbols_24x24_vfp.h"
#include "symbols_24x24_alt1_vfp.h"
#include "symbols_24x24_alt2_vfp.h"
#include "symbols_24x24_old_vfp.h"

/* sanity check */
Expand Down
Loading

0 comments on commit a6f300d

Please sign in to comment.