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

dave356, ayubando and 5 Guests are viewing this topic.

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5175 on: September 29, 2018, 10:37:03 am »
I removed my rotary encoder and determined that it may be defective by connecting the CLCK and DATA signals to 5 V via LEDs and suitable resistors. Only one of the signals produced a flashing LED when rotating the encoder. Is it true that water getting into an encoder can damage it? I did take care when cleaning flux from my board but I suppose it's possible that some water (70% isopropanol, 30% water) was able to ingress. What is the appropriate encoder to replace with? Does it matter how many steps it has per rotation? Thanks!

ALPS EC11 series for example. The number of steps/detents and Gray code pulses per step can be adjusted in the firmware. BTW, the rotary encoder has two switches creating Gray code pulse sequences.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5176 on: September 29, 2018, 10:43:42 am »
I tried it.  The program looks pretty good.  The speed is the same though.  At least this means my avrdude syntax is correct.  I wonder if there is a need to reprogram the EEPROM every time.

Yes, the EEPROM has to be programmed too (several values and texts).
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5177 on: September 29, 2018, 10:46:56 am »
I know the answer I want will be somewhere in the 208 pages of this thread but I will ask anyway.

Where can I get "the best" version.  I would prefer assembled but a kit would be OK.
I just need a link.

Do the assembled versions need modification to replace zeners and high tolerance resistors etc?

As always, you'll find the answer in the last 10 pages ;) AY-AT. It doesn't require a mod, but you can mod it if you like.
 

Offline dazz1

  • Frequent Contributor
  • **
  • Posts: 692
  • Country: nz
Dazz

Over Engineering: Why make something simple when you can make it really complicated AND get it to work?
 

Offline David Maddison

  • Newbie
  • Posts: 6
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #5179 on: September 29, 2018, 11:55:05 am »
I am new to to updating the firmware of these units and all the information in this thread is a bit overwhelming. I have a "Transistor Tester" by Fish8840 with a date on the board 2014-07. I would be interested in updating the firmware of this and have a few questions and observations:

1) Firstly, is any firmware update worthwhile for this unit?
2) I would have to solder a header pin in but for the pins to be on the topside of the board they would be a mirror image and I would need separate leads rather than a ribbon cable.
3) I already have a USBASP 2.0 programmer by LC Technology.
4) Having made the physical connection between the PC, programmer and the tester, what exact software do I need and what is the precise procedure to follow for the upgrade.
5) I am running Windows.

Thanks so much in advance.
 

Offline +Mikie

  • Contributor
  • Posts: 24
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #5180 on: September 29, 2018, 04:59:51 pm »
dazz1, they are the ones. Rotary encoder on lower left, 3 sets of screw terminals (2 on the bottom, 1 on top), SMD test pads to the right of the ZIF-socket. You can find them assembled on eBay too for a bit extra.

P.S. I laughed my ass off looking at the ZIF-socket. The original thing is made by TEXTOOL and they cost a bit in their heyday. These ones are "TFXTDOL" made in Chyna. So funny.  :-DD
 

Offline +Mikie

  • Contributor
  • Posts: 24
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #5181 on: September 29, 2018, 05:17:44 pm »
I am new to to updating the firmware of these units and all the information in this thread is a bit overwhelming. I have a "Transistor Tester" by Fish8840 with a date on the board 2014-07. I would be interested in updating the firmware of this and have a few questions and observations:

1) Firstly, is any firmware update worthwhile for this unit?
2) I would have to solder a header pin in but for the pins to be on the topside of the board they would be a mirror image and I would need separate leads rather than a ribbon cable.
3) I already have a USBASP 2.0 programmer by LC Technology.
4) Having made the physical connection between the PC, programmer and the tester, what exact software do I need and what is the precise procedure to follow for the upgrade.
5) I am running Windows.

Thanks so much in advance.

I'm nowhere near an "exspurt" on this, but I'll try:

1. I don't have that exact unit, but I gather that general consensus is that Chinese cloners will throw on any firmware that works and leave it at that, even after the original creators have improved and expanded on their work. So yes, in general, getting the latest firmware is worthwhile but not absolutely essential.
2. I thought of that too, but the board is too small to place a header anywhere, and there no tracks for it. In other words, there would be some wiring anyway. I tried just soldering the wires directly onto the pins but for whatever reason it didn't work, so I went with the minimal system board and programmed the processor on that and then replugged it into the tester. There are other ways, but I went this way: https://www.ebay.com.au/itm/DIY-ATmega328P-Development-Board-for-Arduino-UNO-R3-with-Arduino-bootloader-DA/162685904544?epid=2200425187&hash=item25e0d5e6a0%3Ag%3AfOcAAOSwG-1ZyHqf&LH_BIN=1
3. You will need it if you choose to flash the Atmega.
4. USB driver for the USBASP, AVRDUDE, AVR toolchain. AVRDUDESS is a GUI that's not essential but it helps.
5. So do I.

Edit: P.S. I found having a set of each of these is handy, and they are cheap.
https://www.ebay.com.au/itm/918D-40Pcs-10cm-Feale-To-Female-Silicone-Dupont-Wire-Jumper-Cable-Connector/192643083037?epid=19023282587&hash=item2cda6c2b1d%3Ag%3Ay8AAAOSwGeFbiWYM&LH_BIN=1
https://www.ebay.com.au/itm/9EFC-40Pcs-10cm-Feale-To-Female-Silicone-Dupont-Wire-Jumper-Cable-Connector/202421939322?epid=18023286796&hash=item2f2149ac7a%3Ag%3Aag8AAOSwHXtbieNh&LH_BIN=1
« Last Edit: September 29, 2018, 05:20:16 pm by +Mikie »
 
The following users thanked this post: David Maddison

Offline David Maddison

  • Newbie
  • Posts: 6
  • Country: au
Re: $20 LCR ESR Transistor checker project
« Reply #5182 on: September 30, 2018, 10:05:27 am »
Thanks Mikie.

Note that I am in this at a very basic level. All I want to do is update the firmware in my FISH8840 device and am not interested in the numerous modifications discussed.

I have spent a lot more time into looking at this and have also downloaded and installed AVRDUDESS.

I have bought the header extension leads. I already have some header pins.

From my understanding I download from either the directory mega328_fish8840 or mega328_fish8840_OC at https://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/

I do not know from which directory to download. What is the difference? My unit has a 128x64 graphical display, an 8MHz crystal and a Mega328P.

Do I download the EEP and HEX files and point to their location from within AVRDUDESS?

Also I am not sure about the settings in ARDUDESS such as baud rate and bit clock and the fuse lock bits. Is there any other options I need to know about?

Again, many thanks in advance.
 

Offline daemon123

  • Contributor
  • Posts: 16
  • Country: pk
Re: $20 LCR ESR Transistor checker project
« Reply #5183 on: September 30, 2018, 05:42:41 pm »
Hi,
got this one from local shop, thought it was the T3 / T4 variant so went ahead and tried to flash new firmware on it
got firmware from "https://github.com/svn2github/transistortester/tree/master/Software/trunk/mega328_T3_T4_st7565"

flash log
Code: [Select]
PS D:\Documents\Desktop\T3> avrdude.exe -c arduino -b 19200 -p m328p -P COM4 -U flash:w:TransistorTester.hex:a -U eeprom:w:TransistorTester.eep:
a -v

avrdude.exe: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
             Copyright (c) 2000-2005 Brian Dean, [url]http://www.bdmicro.com/[/url]
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"

             Using Port                    : COM4
             Using Programmer              : arduino
             Overriding Baud Rate          : 19200
             AVR Part                      : ATmega328P
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode           : yes
             parallel program mode         : yes
             Timeout                       : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail                 :

                                      Block Poll               Page                       Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

             Programmer Type : Arduino
             Description     : Arduino
             Hardware Version: 2
             Firmware Version: 1.18
             Topcard         : Unknown
             Vtarget         : 0.0 V
             Varef           : 0.0 V
             Oscillator      : Off
             SCK period      : 0.1 us

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e950f
avrdude.exe: safemode: lfuse reads as F7
avrdude.exe: safemode: hfuse reads as D9
avrdude.exe: safemode: efuse reads as 5
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed
             To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "TransistorTester.hex"
avrdude.exe: input file TransistorTester.hex auto detected as raw binary
avrdude.exe: writing flash (32768 bytes):

Writing | ################################################## | 100% 36.35s

avrdude.exe: 32768 bytes of flash written
avrdude.exe: verifying flash memory against TransistorTester.hex:
avrdude.exe: load data flash data from input file TransistorTester.hex:
avrdude.exe: input file TransistorTester.hex auto detected as raw binary
avrdude.exe: input file TransistorTester.hex contains 32768 bytes
avrdude.exe: reading on-chip flash data:

Reading | ################################################## | 100% 20.67s

avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x0000
             0x00 != 0x0a
avrdude.exe: verification error; content mismatch

avrdude.exe: safemode: lfuse reads as 0
avrdude.exe: safemode: hfuse reads as 0
avrdude.exe: safemode: efuse reads as 0
avrdude.exe: safemode: lfuse changed! Was f7, and is now 0
Would you like this fuse to be changed back? [y/n] y
PS D:\Documents\Desktop\T3> avrdude.exe -c arduino -b 19200 -p m328p -P COM4 -U flash:w:TransistorTester.hex:a -U eeprom:w:TransistorTester.eep:
a -v

avrdude.exe: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
             Copyright (c) 2000-2005 Brian Dean, [url]http://www.bdmicro.com/[/url]
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"

             Using Port                    : COM4
             Using Programmer              : arduino
             Overriding Baud Rate          : 19200
             AVR Part                      : ATmega328P
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode           : yes
             parallel program mode         : yes
             Timeout                       : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail                 :

                                      Block Poll               Page                       Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

             Programmer Type : Arduino
             Description     : Arduino
             Hardware Version: 2
             Firmware Version: 1.18
             Topcard         : Unknown
             Vtarget         : 0.0 V
             Varef           : 0.0 V
             Oscillator      : Off
             SCK period      : 0.1 us

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e950f
avrdude.exe: safemode: lfuse reads as 1F
avrdude.exe: safemode: hfuse reads as D9
avrdude.exe: safemode: efuse reads as 5
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed
             To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "TransistorTester.hex"
avrdude.exe: input file TransistorTester.hex auto detected as raw binary
avrdude.exe: writing flash (32768 bytes):

Writing | ################################################## | 100% 36.39s

avrdude.exe: 32768 bytes of flash written
avrdude.exe: verifying flash memory against TransistorTester.hex:
avrdude.exe: load data flash data from input file TransistorTester.hex:
avrdude.exe: input file TransistorTester.hex auto detected as raw binary
avrdude.exe: input file TransistorTester.hex contains 32768 bytes
avrdude.exe: reading on-chip flash data:

Reading | ################################################## | 100% 20.56s

avrdude.exe: verifying ...
avrdude.exe: 32768 bytes of flash verified
avrdude.exe: reading input file "TransistorTester.eep"
avrdude.exe: input file TransistorTester.eep auto detected as raw binary
avrdude.exe: writing eeprom (1024 bytes):

Writing | ################################################## | 100% 49.98s

avrdude.exe: 1024 bytes of eeprom written
avrdude.exe: verifying eeprom memory against TransistorTester.eep:
avrdude.exe: load data eeprom data from input file TransistorTester.eep:
avrdude.exe: input file TransistorTester.eep auto detected as raw binary
avrdude.exe: input file TransistorTester.eep contains 1024 bytes
avrdude.exe: reading on-chip eeprom data:

Reading | ################################################## | 100% 3.88s

avrdude.exe: verifying ...
avrdude.exe: 1024 bytes of eeprom verified

avrdude.exe: safemode: lfuse reads as 1F
avrdude.exe: safemode: hfuse reads as D9
avrdude.exe: safemode: efuse reads as 5
avrdude.exe: safemode: Fuses OK (H:05, E:D9, L:1F)

avrdude.exe done.  Thank you.

PS D:\Documents\Desktop\T3> avrdude.exe -c arduino -b 19200 -p m328p -P COM4 -U flash:w:TransistorTester.hex:a -U eeprom:w:TransistorTester.eep:
a -v

avrdude.exe: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
             Copyright (c) 2000-2005 Brian Dean, [url]http://www.bdmicro.com/[/url]
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"

             Using Port                    : COM4
             Using Programmer              : arduino
             Overriding Baud Rate          : 19200
             AVR Part                      : ATmega328P
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             RESET disposition             : dedicated
             RETRY pulse                   : SCK
             serial program mode           : yes
             parallel program mode         : yes
             Timeout                       : 200
             StabDelay                     : 100
             CmdexeDelay                   : 25
             SyncLoops                     : 32
             ByteDelay                     : 0
             PollIndex                     : 3
             PollValue                     : 0x53
             Memory Detail                 :

                                      Block Poll               Page                       Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

             Programmer Type : Arduino
             Description     : Arduino
             Hardware Version: 2
             Firmware Version: 1.18
             Topcard         : Unknown
             Vtarget         : 0.0 V
             Varef           : 0.0 V
             Oscillator      : Off
             SCK period      : 0.1 us

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e950f
avrdude.exe: safemode: lfuse reads as 1F
avrdude.exe: safemode: hfuse reads as D9
avrdude.exe: safemode: efuse reads as 5
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed
             To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "TransistorTester.hex"
avrdude.exe: input file TransistorTester.hex auto detected as raw binary
avrdude.exe: writing flash (32768 bytes):

Writing | ################################################## | 100% 36.39s

avrdude.exe: 32768 bytes of flash written
avrdude.exe: verifying flash memory against TransistorTester.hex:
avrdude.exe: load data flash data from input file TransistorTester.hex:
avrdude.exe: input file TransistorTester.hex auto detected as raw binary
avrdude.exe: input file TransistorTester.hex contains 32768 bytes
avrdude.exe: reading on-chip flash data:

Reading | ################################################## | 100% 20.65s

avrdude.exe: verifying ...
avrdude.exe: 32768 bytes of flash verified
avrdude.exe: reading input file "TransistorTester.eep"
avrdude.exe: input file TransistorTester.eep auto detected as raw binary
avrdude.exe: writing eeprom (1024 bytes):

Writing | ################################################## | 100% 50.00s

avrdude.exe: 1024 bytes of eeprom written
avrdude.exe: verifying eeprom memory against TransistorTester.eep:
avrdude.exe: load data eeprom data from input file TransistorTester.eep:
avrdude.exe: input file TransistorTester.eep auto detected as raw binary
avrdude.exe: input file TransistorTester.eep contains 1024 bytes
avrdude.exe: reading on-chip eeprom data:

Reading | ################################################## | 100% 3.79s

avrdude.exe: verifying ...
avrdude.exe: 1024 bytes of eeprom verified

avrdude.exe: safemode: lfuse reads as 1F
avrdude.exe: safemode: hfuse reads as D9
avrdude.exe: safemode: efuse reads as 5
avrdude.exe: safemode: Fuses OK (H:05, E:D9, L:1F)

avrdude.exe done.  Thank you.






after flashing, when i press the test button, the backligh does not turn, the screen displays black for a sec and then off.

Does anyone know which variant is this one and the proper firmware for it?

Edit/PS: forgot to mention that the ISP header on this one is not mirrored as opposed to T3/T4
« Last Edit: September 30, 2018, 05:44:13 pm by daemon123 »
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #5184 on: October 01, 2018, 05:40:42 am »
daemon123, use for this device an firmware from the folder "mega328_T4_v2_st7565"
 
The following users thanked this post: edavid, daemon123

Offline Messtechniker

  • Frequent Contributor
  • **
  • Posts: 782
  • Country: de
  • Old analog audio hand - No voodoo.
Re: $20 LCR ESR Transistor checker project
« Reply #5185 on: October 03, 2018, 01:51:54 pm »
Can I purchase a ready made transistor tester running firmware 1.13m where the RxD and TxD ports are readily accessible? I am planning to do some software for the TT and do not want to spend time assembling it or even compiling the firmware for it. The latter being a bit beyond me anyway.
Agilent 34465A, Siglent SDG 2042X, Hameg HMO1022, R&S HMC 8043, Peaktech 2025A, Voltcraft VC 940, M-Audio Audiophile 192, R&S Psophometer UPGR, 3 Transistor Testers, DL4JAL Transistor Curve Tracer, UT622E LCR meter
 

Offline mgerges

  • Newbie
  • Posts: 2
  • Country: ee
Re: $20 LCR ESR Transistor checker project
« Reply #5186 on: October 03, 2018, 05:52:35 pm »
Hello,

Sorry if it's a repeated question, just search didn't return an answer.

I bought one with FW 1.13 and it has some additional features
- IR encode / decode
- DHT11 / DS11B20

I loaded 1.13 from mikrocontroller.net but it doesn't have those features. I checked the code, but no traces of those testing abilities. So, Where is the firmware which has those features as well ?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5187 on: October 03, 2018, 06:38:49 pm »
Can I purchase a ready made transistor tester running firmware 1.13m where the RxD and TxD ports are readily accessible? I am planning to do some software for the TT and do not want to spend time assembling it or even compiling the firmware for it. The latter being a bit beyond me anyway.

Unfortunately not. So you need to modify one of the clones. If you need help with the firmware please PM me.
« Last Edit: October 03, 2018, 06:49:30 pm by madires »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5188 on: October 03, 2018, 06:49:13 pm »
I bought one with FW 1.13 and it has some additional features
- IR encode / decode
- DHT11 / DS11B20

I loaded 1.13 from mikrocontroller.net but it doesn't have those features. I checked the code, but no traces of those testing abilities. So, Where is the firmware which has those features as well ?

That clone has a modified firmware. The m-firmware supports the IR receiver and an IR sender (more than 10 different protocols). The next version will also support the DS11B20 OneWire temperature sensor. There are no plans for the DHT11 yet.
 
The following users thanked this post: mgerges

Offline Messtechniker

  • Frequent Contributor
  • **
  • Posts: 782
  • Country: de
  • Old analog audio hand - No voodoo.
Re: $20 LCR ESR Transistor checker project
« Reply #5189 on: October 04, 2018, 09:46:52 am »

So you need to modify one of the clones. If you need help with the firmware please PM me.

OK. So I'm planning to go the ATmega 644 route with no frills at all just to get my PC programming going.
See attached circuit stripped down from the excellent manual. Comments welcome.
Thanks for the firmware offer. Will PM you for the firmware as soon as I have my no frills circuit ready.
« Last Edit: October 04, 2018, 09:55:06 am by Messtechniker »
Agilent 34465A, Siglent SDG 2042X, Hameg HMO1022, R&S HMC 8043, Peaktech 2025A, Voltcraft VC 940, M-Audio Audiophile 192, R&S Psophometer UPGR, 3 Transistor Testers, DL4JAL Transistor Curve Tracer, UT622E LCR meter
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5190 on: October 04, 2018, 12:03:28 pm »
A test push button with a pull-up resistor is strongly recommended. ;)
 

Offline mgerges

  • Newbie
  • Posts: 2
  • Country: ee
Re: $20 LCR ESR Transistor checker project
« Reply #5191 on: October 04, 2018, 10:51:44 pm »
I bought one with FW 1.13 and it has some additional features
- IR encode / decode
- DHT11 / DS11B20

I loaded 1.13 from mikrocontroller.net but it doesn't have those features. I checked the code, but no traces of those testing abilities. So, Where is the firmware which has those features as well ?

That clone has a modified firmware. The m-firmware supports the IR receiver and an IR sender (more than 10 different protocols). The next version will also support the DS11B20 OneWire temperature sensor. There are no plans for the DHT11 yet.

Thanks for your response.

I noticed today the IR in m-FW, should I import it's code or go ahead with the m-FW? OR where is the list of differences, if any?
By saying next version, what do you mean? I already compiled from trunk (1.1.3k) but no traces of "DS11B20" in part_defs.h or the function_menu.c
When you say "no plans", where is the road map posted? Is there additional code repository rather than github & svn?

It is really frustrating, those sellers, who are selling an open-SW/HW and think few lines of code they added should not be shared as a secret  >:( >:(
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: $20 LCR ESR Transistor checker project
« Reply #5192 on: October 05, 2018, 12:12:30 am »
It is really frustrating, those sellers, who are selling an open-SW/HW and think few lines of code they added should not be shared as a secret  >:( >:(

Yeah, imagine how the original OS authors must feel. :(
TEA is the way. | TEA Time channel
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5193 on: October 05, 2018, 01:04:54 pm »
I noticed today the IR in m-FW, should I import it's code or go ahead with the m-FW? OR where is the list of differences, if any?
By saying next version, what do you mean? I already compiled from trunk (1.1.3k) but no traces of "DS11B20" in part_defs.h or the function_menu.c

There are two firmware flavours. One is Karl-Heinz' k-firmware (current trunk version 1.13k) and the other one is the m-firmware (1.33m). The m-firmware's README file includes a brief overview of the differences to the k-firmware. At the moment, only the m-firmware supports an IR receiver/decoder and sender. The next version (1.34m) will support the DS11B20 OneWIre sensor. The code for that is written already and I'm working on a cap leakage check right now.

When you say "no plans", where is the road map posted? Is there additional code repository rather than github & svn?

It's just my private to-do list. No, the main repo is the svn at mikrocontroller.net.

It is really frustrating, those sellers, who are selling an open-SW/HW and think few lines of code they added should not be shared as a secret  >:( >:(

We've added a hint to the project's webpage about sharing mods but haven't received any feedback so far. Yep, it's sad. Seems to be Chinese culture.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5194 on: October 07, 2018, 10:35:15 am »
Get your ISP programmer ready! ;)

1.34m:
- Added leakage check for capacitors.
- Changed default value for RH_OFFSET to 350 Ohms.
- Fixed missing menu entry for fixed IR receiver module.
- Polish texts (thanks to Szpila).
- Display driver for output via VT100 serial terminal.
- Support for temperature sensor DS18B20.
- Driver for OneWire bus.
 
The following users thanked this post: timelessbeing, Tech_JA, bitseeker, indman, MDM3D, pepe10000, Jacon, Vague, Azure, mebel

Offline indman

  • Super Contributor
  • ***
  • Posts: 1012
  • Country: by
Re: $20 LCR ESR Transistor checker project
« Reply #5195 on: October 07, 2018, 02:39:45 pm »
Get your ISP programmer ready! ;)
1.34m:
We will state separate thanks of madires for the updated Clones file with addition of new configurations for different clones! ;) :-+
 
The following users thanked this post: Azure

Offline Andrey

  • Contributor
  • Posts: 25
  • Country: ua
Re: $20 LCR ESR Transistor checker project
« Reply #5196 on: October 07, 2018, 09:14:15 pm »
Greetings dear friends!
Help is needed. Tester M644 as in the message "Reply # 5017 on: August 17, 2018, 04:03:16 am". Does not work with firmware 1.33 or 1.34. More precisely, the tester works, but there is no display on the display. I tried different options in the file, nothing happened. Where was I wrong, why does SPI not work?
config_644.h
//#if 0
#define LCD_ST7565R
#define LCD_GRAPHIC                     /* graphic display */
#define LCD_SPI                         /* SPI interface */
#define LCD_PORT         PORTB          /* port data register */
#define LCD_DDR          DDRB           /* port data direction register */
#define LCD_RESET        PB4            /* port pin used for /RES (optional) */
//#define LCD_CS           PB3            /* port pin used for /CS1 (optional) */
#define LCD_A0           PB5            /* port pin used for A0 */
#define LCD_SCL          PB6            /* port pin used for SCL */
#define LCD_SI           PB7            /* 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_OFFSET_X                    /* enable x offset of 4 dots */
#define LCD_FLIP_Y                      /* enable vertical flip */
#define LCD_START_Y      0              /* start line (0-63) */
#define LCD_CONTRAST     8             /* default contrast (0-63) */
#define FONT_8X8_VF                     /* 8x8 font, vertically aligned & flipped */
#define SYMBOLS_24X24_VFP               /* 24x24 symbols, vertically aligned & flipped */
#define SPI_HARDWARE                    /* hardware SPI */
//#endif
.....
.....

/*
 *  test push button and power management
 */

#define CONTROL_PORT     PORTB     /* port data register */
#define CONTROL_DDR      DDRB      /* port data direction register */
#define CONTROL_PIN      PINB      /* port input pins register */
#define POWER_CTRL       PB1       /* controls power (1: on / 0: off) */
#define TEST_BUTTON      PC7       /* test/start push button (low active) */


/*
 *  rotary encoder
 */

#define ENCODER_PORT     PORTB     /* port data register */
#define ENCODER_DDR      DDRB      /* port data direction register */
#define ENCODER_PIN      PINB      /* port input pins register */
#define ENCODER_A        PB5       /* rotary encoder A signal */
#define ENCODER_B        PB7       /* rotary encoder B signal */
 |O
 

Offline Per Hansson

  • Supporter
  • ****
  • Posts: 428
  • Country: se
Re: $20 LCR ESR Transistor checker project
« Reply #5197 on: October 07, 2018, 09:14:54 pm »
While maybe slightly off topic I'm posting this here hoping it might help someone else.
I've mentioned before that I have used a Attiny44 USBTinyISP programmer to read the firmware from a transistor tester.
Normally I just use my GQ-4X external programmer but this time I wanted to try the Attiny44 again.
But no matter what I did it would always crash avrdude when I tried to read the eeprom.
And writing the eeprom would fail.
Finally after spending waaaay too much time troubleshooting this, looking for updated firmware for the Attiny44 that just went to a very deep rabbit hole.
It finally dawned on me: The tester I successfully read has a 8Mhz clock, the one I'm trying to read has a 16Mhz clock.
Then I need to use the "-B" parameter (bitclock) of avrdude to slow down the clock, a setting of "-B 68" solved my issue.
Soo much time spent on this, for no reason, I'd like to say you live and learn but here I don't think I want to publicly state what a learned: as children might be reading :D
Posting some of the failure messages for the Google bots:
Code: [Select]
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "TransistorTester.eep"
avrdude: input file TransistorTester.eep auto detected as Intel Hex
avrdude: writing eeprom (915 bytes):

Writing | ################################################## | 100% 225.75s

avrdude: 915 bytes of eeprom written
avrdude: verifying eeprom memory against TransistorTester.eep:
avrdude: load data eeprom data from input file TransistorTester.eep:
avrdude: input file TransistorTester.eep auto detected as Intel Hex
avrdude: input file TransistorTester.eep contains 915 bytes
avrdude: reading on-chip eeprom data:

Reading | ################################################## | 100% 27.96s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0x54 != 0x20
avrdude: verification error; content mismatch

avrdude: safemode: Fuses OK (E:FC, H:D9, L:F7)

avrdude done.  Thank you.

Code: [Select]
Faulting application name: avrdude.exe, version: 0.0.0.0, time stamp: 0x5ad5b1a5
Faulting module name: ntdll.dll, version: 6.1.7601.24231, time stamp: 0x5b6db230
Exception code: 0xc0000005
Fault offset: 0x0002e466
Faulting process id: 0x1594
Faulting application start time: 0x01d45e27c00cb5e2
Faulting application path: C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 10ef1420-ca1b-11e8-8288-d050995c3d4b

Code: [Select]
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading eeprom memory:

Reading | ################################################## | 100% 17.15s

avrdude: writing output file "test2.eep"

avrdude: safemode: Fuses OK (E:FD, H:DE, L:FF)

avrdude done.  Thank you.

*** Error in `/root/avrdude/avrdude-6.3/avrdude': munmap_chunk(): invalid pointer: 0x00000000010ed2c0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7ab54)[0x7f3fe3775b54]
/root/avrdude/avrdude-6.3/avrdude[0x409eee]
/root/avrdude/avrdude-6.3/avrdude[0x40900c]
/root/avrdude/avrdude-6.3/avrdude[0x409eee]
/root/avrdude/avrdude-6.3/avrdude[0x409545]
/lib64/libc.so.6(+0x38a69)[0x7f3fe3733a69]
/lib64/libc.so.6(+0x38ab5)[0x7f3fe3733ab5]
/lib64/libc.so.6(__libc_start_main+0xfc)[0x7f3fe371cc0c]
/root/avrdude/avrdude-6.3/avrdude[0x404c2f]
======= Memory map: ========
00400000-00465000 r-xp 00000000 fd:01 5384907                            /root/avrdude/avrdude-6.3/avrdude
00664000-00665000 r--p 00064000 fd:01 5384907                            /root/avrdude/avrdude-6.3/avrdude
00665000-00666000 rw-p 00065000 fd:01 5384907                            /root/avrdude/avrdude-6.3/avrdude
00666000-0066c000 rw-p 00000000 00:00 0
00e05000-0111e000 rw-p 00000000 00:00 0                                  [heap]
7f3fe1a23000-7f3fe1a24000 ---p 00000000 00:00 0
7f3fe1a24000-7f3fe2224000 rw-p 00000000 00:00 0
7f3fe2224000-7f3fe2233000 r-xp 00000000 fd:01 525393                     /usr/lib64/libbz2.so.1.0.6
7f3fe2233000-7f3fe2432000 ---p 0000f000 fd:01 525393                     /usr/lib64/libbz2.so.1.0.6
7f3fe2432000-7f3fe2433000 r--p 0000e000 fd:01 525393                     /usr/lib64/libbz2.so.1.0.6
7f3fe2433000-7f3fe2434000 rw-p 0000f000 fd:01 525393                     /usr/lib64/libbz2.so.1.0.6
7f3fe2434000-7f3fe2459000 r-xp 00000000 fd:01 529319                     /usr/lib64/liblzma.so.5.2.2
7f3fe2459000-7f3fe2658000 ---p 00025000 fd:01 529319                     /usr/lib64/liblzma.so.5.2.2
7f3fe2658000-7f3fe2659000 r--p 00024000 fd:01 529319                     /usr/lib64/liblzma.so.5.2.2
7f3fe2659000-7f3fe265a000 rw-p 00025000 fd:01 529319                     /usr/lib64/liblzma.so.5.2.2
7f3fe265a000-7f3fe266f000 r-xp 00000000 fd:01 525296                     /usr/lib64/libz.so.1.2.7
7f3fe266f000-7f3fe286e000 ---p 00015000 fd:01 525296                     /usr/lib64/libz.so.1.2.7
7f3fe286e000-7f3fe286f000 r--p 00014000 fd:01 525296                     /usr/lib64/libz.so.1.2.7
7f3fe286f000-7f3fe2870000 rw-p 00015000 fd:01 525296                     /usr/lib64/libz.so.1.2.7
7f3fe2870000-7f3fe2887000 r-xp 00000000 fd:01 547457                     /usr/lib64/libelf-0.168.so
7f3fe2887000-7f3fe2a86000 ---p 00017000 fd:01 547457                     /usr/lib64/libelf-0.168.so
7f3fe2a86000-7f3fe2a87000 r--p 00016000 fd:01 547457                     /usr/lib64/libelf-0.168.so
7f3fe2a87000-7f3fe2a88000 rw-p 00017000 fd:01 547457                     /usr/lib64/libelf-0.168.so
7f3fe2a88000-7f3fe2a8c000 r-xp 00000000 fd:01 525459                     /usr/lib64/libattr.so.1.1.0
7f3fe2a8c000-7f3fe2c8b000 ---p 00004000 fd:01 525459                     /usr/lib64/libattr.so.1.1.0
7f3fe2c8b000-7f3fe2c8c000 r--p 00003000 fd:01 525459                     /usr/lib64/libattr.so.1.1.0
7f3fe2c8c000-7f3fe2c8d000 rw-p 00004000 fd:01 525459                     /usr/lib64/libattr.so.1.1.0
7f3fe2c8d000-7f3fe2ca2000 r-xp 00000000 fd:01 527792                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f3fe2ca2000-7f3fe2ea1000 ---p 00015000 fd:01 527792                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f3fe2ea1000-7f3fe2ea2000 r--p 00014000 fd:01 527792                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f3fe2ea2000-7f3fe2ea3000 rw-p 00015000 fd:01 527792                     /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f3fe2ea3000-7f3fe2ee7000 r-xp 00000000 fd:01 538866                     /usr/lib64/libdw-0.168.so
7f3fe2ee7000-7f3fe30e7000 ---p 00044000 fd:01 538866                     /usr/lib64/libdw-0.168.so
7f3fe30e7000-7f3fe30e9000 r--p 00044000 fd:01 538866                     /usr/lib64/libdw-0.168.so
7f3fe30e9000-7f3fe30ea000 rw-p 00046000 fd:01 538866                     /usr/lib64/libdw-0.168.so
7f3fe30ea000-7f3fe30ee000 r-xp 00000000 fd:01 525463                     /usr/lib64/libcap.so.2.22
7f3fe30ee000-7f3fe32ed000 ---p 00004000 fd:01 525463                     /usr/lib64/libcap.so.2.22
7f3fe32ed000-7f3fe32ee000 r--p 00003000 fd:01 525463                     /usr/lib64/libcap.so.2.22
7f3fe32ee000-7f3fe32ef000 rw-p 00004000 fd:01 525463                     /usr/lib64/libcap.so.2.22
7f3fe32ef000-7f3fe32f6000 r-xp 00000000 fd:01 531856                     /usr/lib64/librt-2.17.so
7f3fe32f6000-7f3fe34f5000 ---p 00007000 fd:01 531856                     /usr/lib64/librt-2.17.so
7f3fe34f5000-7f3fe34f6000 r--p 00006000 fd:01 531856                     /usr/lib64/librt-2.17.so
7f3fe34f6000-7f3fe34f7000 rw-p 00007000 fd:01 531856                     /usr/lib64/librt-2.17.so
7f3fe34f7000-7f3fe34f9000 r-xp 00000000 fd:01 529318                     /usr/lib64/libdl-2.17.so
7f3fe34f9000-7f3fe36f9000 ---p 00002000 fd:01 529318                     /usr/lib64/libdl-2.17.so
7f3fe36f9000-7f3fe36fa000 r--p 00002000 fd:01 529318                     /usr/lib64/libdl-2.17.so
7f3fe36fa000-7f3fe36fb000 rw-p 00003000 fd:01 529318                     /usr/lib64/libdl-2.17.so
7f3fe36fb000-7f3fe38b3000 r-xp 00000000 fd:01 529065                     /usr/lib64/libc-2.17.so
7f3fe38b3000-7f3fe3ab3000 ---p 001b8000 fd:01 529065                     /usr/lib64/libc-2.17.so
7f3fe3ab3000-7f3fe3ab7000 r--p 001b8000 fd:01 529065                     /usr/lib64/libc-2.17.so
7f3fe3ab7000-7f3fe3ab9000 rw-p 001bc000 fd:01 529065                     /usr/lib64/libc-2.17.so
7f3fe3ab9000-7f3fe3abe000 rw-p 00000000 00:00 0
7f3fe3abe000-7f3fe3ae3000 r-xp 00000000 fd:01 525209                     /usr/lib64/libtinfo.so.5.9
7f3fe3ae3000-7f3fe3ce3000 ---p 00025000 fd:01 525209                     /usr/lib64/libtinfo.so.5.9
7f3fe3ce3000-7f3fe3ce7000 r--p 00025000 fd:01 525209                     /usr/lib64/libtinfo.so.5.9
7f3fe3ce7000-7f3fe3ce8000 rw-p 00029000 fd:01 525209                     /usr/lib64/libtinfo.so.5.9
7f3fe3ce8000-7f3fe3d0e000 r-xp 00000000 fd:01 525199                     /usr/lib64/libncurses.so.5.9
7f3fe3d0e000-7f3fe3f0d000 ---p 00026000 fd:01 525199                     /usr/lib64/libncurses.so.5.9
7f3fe3f0d000-7f3fe3f0e000 r--p 00025000 fd:01 525199                     /usr/lib64/libncurses.so.5.9
7f3fe3f0e000-7f3fe3f0f000 rw-p 00026000 fd:01 525199                     /usr/lib64/libncurses.so.5.9
7f3fe3f0f000-7f3fe4010000 r-xp 00000000 fd:01 529329                     /usr/lib64/libm-2.17.so
7f3fe4010000-7f3fe420f000 ---p 00101000 fd:01 529329                     /usr/lib64/libm-2.17.so
7f3fe420f000-7f3fe4210000 r--p 00100000 fd:01 529329                     /usr/lib64/libm-2.17.so
7f3fe4210000-7f3fe4211000 rw-p 00101000 fd:01 529329                     /usr/lib64/libm-2.17.so
7f3fe4211000-7f3fe4228000 r-xp 00000000 fd:01 530227                     /usr/lib64/libpthread-2.17.so
7f3fe4228000-7f3fe4427000 ---p 00017000 fd:01 530227                     /usr/lib64/libpthread-2.17.so
7f3fe4427000-7f3fe4428000 r--p 00016000 fd:01 530227                     /usr/lib64/libpthread-2.17.so
7f3fe4428000-7f3fe4429000 rw-p 00017000 fd:01 530227                     /usr/lib64/libpthread-2.17.so
7f3fe4429000-7f3fe442d000 rw-p 00000000 00:00 0
7f3fe442d000-7f3fe443a000 r-xp 00000000 fd:01 527988                     /usr/lib64/libftdi1.so.2.1.0
7f3fe443a000-7f3fe4639000 ---p 0000d000 fd:01 527988                     /usr/lib64/libftdi1.so.2.1.0
7f3fe4639000-7f3fe463a000 r--p 0000c000 fd:01 527988                     /usr/lib64/libftdi1.so.2.1.0
7f3fe463a000-7f3fe463b000 rw-p 0000d000 fd:01 527988                     /usr/lib64/libftdi1.so.2.1.0
7f3fe463b000-7f3fe463f000 r-xp 00000000 fd:01 527986                     /usr/lib64/libusb-0.1.so.4.4.4
7f3fe463f000-7f3fe483f000 ---p 00004000 fd:01 527986                     /usr/lib64/libusb-0.1.so.4.4.4
7f3fe483f000-7f3fe4840000 r--p 00004000 fd:01 527986                     /usr/lib64/libusb-0.1.so.4.4.4
7f3fe4840000-7f3fe4841000 rw-p 00005000 fd:01 527986                     /usr/lib64/libusb-0.1.so.4.4.4
7f3fe4841000-7f3fe4858000 r-xp 00000000 fd:01 527664                     /usr/lib64/libusb-1.0.so.0.1.0
7f3fe4858000-7f3fe4a57000 ---p 00017000 fd:01 527664                     /usr/lib64/libusb-1.0.so.0.1.0
7f3fe4a57000-7f3fe4a58000 r--p 00016000 fd:01 527664                     /usr/lib64/libusb-1.0.so.0.1.0
7f3fe4a58000-7f3fe4a59000 rw-p 00017000 fd:01 527664                     /usr/lib64/libusb-1.0.so.0.1.0
7f3fe4a59000-7f3fe4a7a000 r-xp 00000000 fd:01 524860                     /usr/lib64/ld-2.17.so
7f3fe4c4f000-7f3fe4c56000 rw-p 00000000 00:00 0
7f3fe4c56000-7f3fe4c68000 r-xp 00000000 fd:01 535768                     /usr/lib64/libudev.so.1.6.2
7f3fe4c68000-7f3fe4c69000 ---p 00012000 fd:01 535768                     /usr/lib64/libudev.so.1.6.2
7f3fe4c69000-7f3fe4c6a000 r--p 00012000 fd:01 535768                     /usr/lib64/libudev.so.1.6.2
7f3fe4c6a000-7f3fe4c6b000 rw-p 00013000 fd:01 535768                     /usr/lib64/libudev.so.1.6.2
7f3fe4c6b000-7f3fe4c6e000 rw-p 00000000 00:00 0
7f3fe4c78000-7f3fe4c7a000 rw-p 00000000 00:00 0
7f3fe4c7a000-7f3fe4c7b000 r--p 00021000 fd:01 524860                     /usr/lib64/ld-2.17.so
7f3fe4c7b000-7f3fe4c7c000 rw-p 00022000 fd:01 524860                     /usr/lib64/ld-2.17.so
7f3fe4c7c000-7f3fe4c7d000 rw-p 00000000 00:00 0
7ffc98315000-7ffc98336000 rw-p 00000000 00:00 0                          [stack]
7ffc9837b000-7ffc9837d000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)

Programmer details:
Code: [Select]
[root@precision ~]# lsusb -v | grep -A29 0x1781
  idVendor           0x1781 Multiple Vendors
  idProduct          0x0c9f USBtiny
  bcdDevice            1.04
  iManufacturer           0
  iProduct                2 FabISP
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           18
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               40mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
Device Status:     0x0000
  (Bus Powered)
« Last Edit: October 07, 2018, 09:34:19 pm by Per Hansson »
 
The following users thanked this post: BroMarduk

Offline madires

  • Super Contributor
  • ***
  • Posts: 7765
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5198 on: October 08, 2018, 11:27:22 am »
Help is needed. Tester M644 as in the message "Reply # 5017 on: August 17, 2018, 04:03:16 am". Does not work with firmware 1.33 or 1.34. More precisely, the tester works, but there is no display on the display. I tried different options in the file, nothing happened. Where was I wrong, why does SPI not work?
Code: [Select]
#define LCD_RESET        PB4            /* port pin used for /RES (optional) */
//#define LCD_CS           PB3            /* port pin used for /CS1 (optional) */
#define LCD_A0           PB5            /* port pin used for A0 */
#define LCD_SCL          PB6            /* port pin used for SCL */
#define LCD_SI           PB7            /* port pin used for SI (LCD's data input) */
#define SPI_HARDWARE                    /* hardware SPI */

You're a victim of poor pin assignment. :( Hardware SPI implies PB7 for SCK and PB5 for MOSI. The solution is to switch to bitbang SPI (replace SPI_HARDWARE with following):
Code: [Select]
#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 */
 
The following users thanked this post: Andrey

Offline Pukker

  • Regular Contributor
  • *
  • Posts: 148
  • Country: nl
Re: $20 LCR ESR Transistor checker project
« Reply #5199 on: October 08, 2018, 11:58:02 am »
Hi everyone,
Can somebody post compiled firmware k and m version for AY-AT kit 16MHz.
Like to "play" with them and I am not familiar with programming and so on.
Thanks.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf