Author Topic: $20 LCR ESR Transistor checker project  (Read 3450992 times)

0 Members and 14 Guests are viewing this topic.

Offline mojoe

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3075 on: December 27, 2016, 08:15:19 pm »
I have tried four different firmwares, including two that purport to be MK-328 specific versions. All of them program and verify. When pressing the on/test button, all I get is the backlight on the LCD. From what I read here, this indicates that no firmware is programmed. However, like I said, I did get a 100% verify on the EEP and HEX files. I did also program the fuses with the recommended settings.

Any ideas? I'd like to get this tester working again.
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #3076 on: December 28, 2016, 12:08:14 am »
i dont know what pcb is in that unit, but try the GM328x firmware i post sometimes.
 

Offline mojoe

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3077 on: December 28, 2016, 03:45:01 am »
Thanks for posting, but your firmware has the rotary encoder enabled. This model has no encoder.

Here is a link that shows the circuit board in this thing and a firmware that I tried.

No mater which firmware I flash, it acts like it isn't programmed. When flashing with USBASP at 3.3V, it wouldn't verify. Flashing at 5V does verify. I'm thinking that perhaps the uC chip is flakey.
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #3078 on: December 28, 2016, 11:33:18 am »
my builds dont need the rotary encoder.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3079 on: December 28, 2016, 02:36:29 pm »
I have tried four different firmwares, including two that purport to be MK-328 specific versions. All of them program and verify. When pressing the on/test button, all I get is the backlight on the LCD. From what I read here, this indicates that no firmware is programmed. However, like I said, I did get a 100% verify on the EEP and HEX files. I did also program the fuses with the recommended settings.

Any ideas? I'd like to get this tester working again.

Does the tester stay powered on (LED and/or display backlight lit) for a few seconds after pressing the button?
 

Offline mojoe

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3080 on: December 28, 2016, 04:54:27 pm »
No, the backlight only stays lit while the button is pressed.

It looks like I forgot the link in my previous post: https://yadi.sk/d/yW8xa5NJgUo5z/Mk-328/
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3081 on: December 28, 2016, 05:09:12 pm »
Then it might be an erased or bad MCU. The first thing the firmware does is setting PD6 high to keep the tester powered on.
 

Offline jbnl

  • Contributor
  • Posts: 14
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #3082 on: December 28, 2016, 06:55:36 pm »
Goodday,

I have this banggood tester M12864 and the processor is broken. I have found out that it is the ST7565 display so i downloaded the software from https://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/mega328_st7565/ and programmed it into a new processor.
The problem is that with the Galep III programmer i use i only can open a Hex file and i don't know what to do with the eep file.

When i program the processor and put it back and push the rotaty it turns on again and the display light up. but no text, it looks like the contrast is not setup right maybe because i did not programmed the eep file.
Now is my question the hex file from the svn browser contain that the complete file with the eep file, if now how can i program that with the galep III ?
I see something happens now on display but the contrast is max/low so not readable. How can help me with this ?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3083 on: December 28, 2016, 07:23:59 pm »
The eep file needs to be written into the MCU's EEPROM and it contains a lot of text, tables and settings, like the contrast for the LCD.
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: $20 LCR ESR Transistor checker project
« Reply #3084 on: December 28, 2016, 08:01:42 pm »
the eep file is HEX format.
just rename it to eeprom.hex or something.
 

Offline jbnl

  • Contributor
  • Posts: 14
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #3085 on: December 28, 2016, 08:19:22 pm »
Thanks, then i will find out in the galep software how i can put the eep at the right place. Thanks for the info !!
I will let you know if it works, i will try tomorrow.
 

Offline mauroh

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: it
    • Mauro Pintus
Re: $20 LCR ESR Transistor checker project
« Reply #3086 on: December 29, 2016, 12:39:45 am »
For the Banggood M12864 I always used this firmware:

https://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/mega328_st7565_kit/

Regarding the eep file, can you plese post a screenshot of the software you are using to program the Atmega328p after you selected the device to be programmed?
Are you sure that there isen't a tab or a sub-menĂ¹ where you can select/program the eeprom content of the MCU?

The programmer should be able to program the flash memory of the MCU and the internal eeprom at the same time. You should find also the menu/tab to set the proper fuses

Mauro
 
The following users thanked this post: jbnl

Offline jbnl

  • Contributor
  • Posts: 14
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #3087 on: December 29, 2016, 06:26:47 am »
I have managed to program the mpu, i opened first the hex file and later on the eep file in a new section and copy and past the data on the main field on the right adress for the eeprom.
Now is it working again but very slow, but this was a other hex i found.
So now i will try the version from the trunk mentioned above.
 

Offline jbnl

  • Contributor
  • Posts: 14
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #3088 on: December 29, 2016, 06:46:10 am »
I have tryed the mega328_st7565_kit file and it is working but the unit is very slow.
The x-tal is 8 Mhz.
Any idea's ?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3089 on: December 29, 2016, 11:12:10 am »
Possibly the fuse settings, i.e. the 1:8 clock divider (the MCU is running at 1MHz).
 
The following users thanked this post: jbnl

Offline jbnl

  • Contributor
  • Posts: 14
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #3090 on: December 29, 2016, 11:29:30 am »
Aha oke and what are the correct fuse settings ?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3091 on: December 29, 2016, 11:59:18 am »
For an 8MHz crystal it's:
- lfuse f7
- hfuse d9
- efuse fc
 
The following users thanked this post: jbnl, pepe10000

Offline jbnl

  • Contributor
  • Posts: 14
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #3092 on: December 29, 2016, 12:31:48 pm »
Super Super thanks for all the help, it works again !!!
Thanks all for all the help.
 

Offline pepe10000

  • Regular Contributor
  • *
  • Posts: 87
  • Country: es
Re: $20 LCR ESR Transistor checker project
« Reply #3093 on: December 29, 2016, 12:35:07 pm »
For an 8MHz crystal it's:
- lfuse f7
- hfuse d9
- efuse fc

Hello, and the fuses for Mega328P with 16 MHz crystal?

A greeting
 

Offline milamber

  • Contributor
  • Posts: 20
  • Country: de
Re: $20 LCR ESR Transistor checker project
« Reply #3094 on: December 29, 2016, 01:08:26 pm »
Possibly the fuse settings, i.e. the 1:8 clock divider (the MCU is running at 1MHz).
Ich think so, too. When I first programmed 1.26m, I did the same by mistake...
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #3095 on: December 29, 2016, 01:11:05 pm »
Hello, and the fuses for Mega328P with 16 MHz crystal?

... are the same, because the clock divider stays 1:1.
 
The following users thanked this post: pepe10000

Offline jbnl

  • Contributor
  • Posts: 14
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #3096 on: December 29, 2016, 01:29:05 pm »
Yes that was the problem, now it works.
 

Offline JoeO

  • Frequent Contributor
  • **
  • Posts: 527
  • Country: us
  • I admit to being deplorable
Re: $20 LCR ESR Transistor checker project
« Reply #3097 on: December 29, 2016, 03:11:58 pm »
I have tried four different firmwares, including two that purport to be MK-328 specific versions. All of them program and verify. When pressing the on/test button, all I get is the backlight on the LCD. From what I read here, this indicates that no firmware is programmed. However, like I said, I did get a 100% verify on the EEP and HEX files. I did also program the fuses with the recommended settings.

Any ideas? I'd like to get this tester working again.
Why don't you just post what your fuse settings are?
The day Al Gore was born there were 7,000 polar bears on Earth.
Today, only 26,000 remain.
 

Offline mojoe

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3098 on: December 29, 2016, 09:08:13 pm »
Fuse settings are what Madres just posted a bit ago.

I suspect the uC is flakey. I ordered a replacement.
 

Offline hapless

  • Regular Contributor
  • *
  • Posts: 195
  • Country: us
Re: $20 LCR ESR Transistor checker project
« Reply #3099 on: December 29, 2016, 10:51:06 pm »
If it's in a socket, the problem could also be purely mechanical, like a bent pin or bad solder joint.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf