-16-bit/pixel: RGB=(565) using the 384k-bit frame
memory and LUT
avr-gcc -mmcu=atmega328p -Wl,--relax,-Map=TransistorTester.map lcd_hw_4_bit.o lcd-routines.o i2lcd.o PinLayout.o RvalOut.o UfAusgabe.o DisplayValue.o lcd-draw.o swuart.o wait1000ms.o sleep_5ms.o ReadADC.o wait_for_key_ms.o RefVoltage.o get_log.o main.o Battery_check.o CheckPins.o GetResistance.o ChargePin10ms.o EntladePins.o ReadCapacity.o GetRLmultip.o Calibrate_UR.o show_Resis_Cap.o ReadInductance.o GetESR.o GetVloss.o GetFrequency.o function_menu.o message_key_released.o ReadBigCap.o CheckRotaryEncoder.o CalibrationCap.o ShowData.o CheckUJT.o EE_check_init.o samplingADC.o sampling_cap.o sampling_lc.o sampling_xtal.o -o TransistorTester.elf
/usr/local/opt/avr-binutils/bin/avr-ld: BFD (GNU Binutils) 2.28 assertion fail ../../bfd/elf32-avr.c:2145
collect2: error: ld returned 1 exit status
make: *** [TransistorTester.elf] Error 1
ah the rgb bitdepth is not a bug, makefile shows 6 bit G, that is how 16bit works on the ST7735Quote-16-bit/pixel: RGB=(565) using the 384k-bit frame
memory and LUT
It also supports 12bit..
Madires, you could prepare the new files cap.c and main.c ,extras.c with for changeover of original?
I am ready to participate in testing!
Happy testing
I am planning to build the tester. It is probably cheaper to buy a kit but I think I have "do it yourself deficiency" :-)
Save yourself a lot of work and potential grief. Buy an assembled unit...
Save yourself a lot of work and potential grief. Buy an assembled unit...
My goal is not to have it. I would like to build something after few months break (abstinence syndrom :-)). This transistor tester projects seem to be nice one.
So goal is to have my "hands dirty" and to say "I did it!" at the end. Older hobbyist will understand :-)
Hi, madires!
I made the ESR tests on 4 capacitors:
1. 10nFx630V
2. 27.75nFx250V
3. 220nFx250V
4. 560nFx250V
Resonator quartz 20MHz!
For comparing I made measurements of DE-5000 at frequencies 1kHz, 10kHz, 100kHz and also on a tester with a firmware from Karl-Heinz (1.13k rev.705).
Apparently, results strongly differ and strongly depend on measurement frequency. For not electrolytic capacitors it is difficult to make the correct measurement.
Most of the questions are explained a lot of times in this topic
And not to forget in the extensive manual in the repository.
For the ay-at version there are reasonable build instructions...
Some people seem not to have energy to do a good search and read
I thought that this device was for people who have at least some
experience with electronics why should they otherwise need such?
I am trying to find out if the power circuit in the original schematics is doing something more or I can do it my way.
indman, for the DE-5000 measurements, am I reading the images correctly? It appears to be in Ohms mode.
... I thought 16mhz was the limit.
... What about the trimmer cap to calibrate crystal for freq meter function, I saw that mentioned in the pdf, but no other details.
At worst, I hope to build one of the GPS frequency standards from Scullcom Hobby Electronics YouTube channel one of these days. Then I'll have a more precise frequency measurement potential... I think...
Don't bother... they guy's design is based upon a fundamental misunderstanding of how those modules work. The oscillator is NOT locked to GPS. It is just a free-running XO or TCXO. You can program a divider in the module to generate a frequency, but that frequency is NOT locked to anything. It will drift and wander just like any non-disciplined oscillator... except it needlessly requires a GPS antenna.
Display interboard Conn
1 CS0 --7 NC [jumper to 11 LCD_CS]
2 RST --6 LCD_RESET
3 CD --3 LCD_SI ENCODER_B
4 NC
5 SCK --4 LCD_SCL ENCODER_A
6 SDA --5 LCD_A0
7 VDD (3.3V)
8 GND --16 GND
9 VS0+
10 VS0-
11 VS1-
12 VS1+
13 VLCD
14 NC
interboard Conn
1 led
2 led
3 PD3[5] LCD_SI ENCODER_A
4 PD2[4] LCD_SCL ENCODER_B
5 PD1[3] LCD_A0
6 PD0[2] LCD_RESET
7 NC
8 NC
9 NC
10 NC
11 PD5[11] LCD_CS
12 NC
13 PD4[6] TP_REF
14 NC (OLD CONTRAST POT)
15 5V
16 GND
avrdude -c avrisp -p m328p -P COM11 -b 19200 -e -U flash:w:"ComponentTester.hex":i -U eeprom:w:"ComponentTester.eep":i -U lfuse:w:0xf7:m -U hfuse:w:0xd9:m -U efuse:w:0x04:m
# MakefileMCU = atmega328
REQ = 8
OSCILLATOR = Crystal
PARTNO = m328p
PROGRAMMER = avrispmkII
PORT = usb
* global configuration, setup and settings
#define ENCODER
#define ENCODER_PULSES 4
#define ENCODER_STEPS 20
//#define HW_INCDEC_KEYS
//#define HW_REF25
#define UREF_25 2495
//#define HW_DISCHARGE_RELAY
//#define HW_ZENER
//#define HW_FREQ_COUNTER
//#define HW_IR_RECEIVER
/#define HW_ADJUST_CAP
//#define HW_CAP_RELAY
#define SW_PWM_SIMPLE
//#define SW_PWM_PLUS
#define SW_INDUCTOR
#define SW_ESR
#define SW_ENCODER
define SW_SQUAREWAVE
//#define SW_IR_RECEIVER
/#define SW_IR_DISABLE_RESISTOR
#define SW_OPTO_COUPLER
#define SW_UJT
//#define SW_PROBE_COLORS
#define SW_SERVO
#define CYCLE_DELAY 12000
#define CYCLE_MAX 1
#define BAT_R1 10000
#define BAT_R2 3300
define BAT_OFFSET 1000
* ATmega 328 specific global configuration, setup and settings
* ST7565R, SPI interface (bit-bang)
#define LCD_ST7565R
#define LCD_GRAPHIC /* monochrome graphic display */
#define LCD_SPI /* SPI interface */
#define LCD_PORT PORTD /* port data register */
#define LCD_DDR DDRD /* port data direction register */
#define LCD_RESET PD0 /* port pin used for /RES (optional) */
#define LCD_CS PD5 /* port pin used for /CS1 (optional) */
// PD5 is not optional if totary is used
#define LCD_A0 PD1 /* port pin used for A0 */
#define LCD_SCL PD2 /* port pin used for SCL */
#define LCD_SI PD3 /* port pin used for SI (LCD's data input) */
#define LCD_DOTS_X 128 /* number of horizontal dots */
#define LCD_DOTS_Y 64 /* number of vertical dots */
//#define LCD_FLIP_X /* enable horizontal flip */
//#define LCD_FLIP_Y /* enable vertical flip */
//#define LCD_OFFSET_X /* enable x offset of 4 dots */
#define LCD_START_Y 0 /* start line (0-63) */
#define LCD_CONTRAST 15 /* default contrast (0-63) */
#define FONT_6X8_VF /* 6x8 font, vertically aligned & flipped */
#define SYMBOLS_24X24_VFP /* 24x24 symbols, vertically aligned & flipped */
#define SPI_BITBANG /* bit-bang SPI */
#define SPI_PORT LCD_PORT /* SPI port data register */
#define SPI_DDR LCD_DDR /* SPI port data direction register */
#define SPI_SCK LCD_SCL /* port pin used for SCK */
#define SPI_MOSI LCD_SI /* port pin used for MOSI */
#define TP1 PC0 /pin 23 * test pin 1 */
#define TP2 PC1 /pin 24 * test pin 2 */
#define TP3 PC2 /pin 25 * test pin 3 */
#define TP_REF PC4 /pin 27 * test pin with 2.5V reference and relay */
#define TP_BAT PC5 /pin 28 * test pin with 4:1 voltage divider */
#define POWER_CTRL PD6 /pin 12 * controls power (1: on / 0: off) */
#define TEST_BUTTON PD7 /pin 13 * test/start push button (low active) */
#define ENCODER_A PD2 /pin 4 * rotary encoder A signal */
#define ENCODER_B PD3 /pin 5 * rotary encoder B signal */
Added the rotarty encoder and the resistors (MCU pins 4&5, +5v), as well as jumpering the display's CS0 to the /CS line on the interboard connectorCode: [Select]Display interboard Conn
3 CD --3 LCD_SI ENCODER_B
4 NC
5 SCK --4 LCD_SCL ENCODER_A
6 SDA --5 LCD_A0
One last thing, I missed where the xtal tester is. I would like to add that. A xtal upgrade comes when I can get it to work at 8Mhz.