Author Topic: TC1 lcr-meter transistor-tester fix  (Read 190159 times)

0 Members and 3 Guests are viewing this topic.

Offline SA

  • Contributor
  • Posts: 14
  • Country: bd
Re: TC1 lcr-meter transistor-tester fix
« Reply #375 on: July 14, 2024, 05:19:54 am »
Where to find the suitable fuse bits??
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8078
  • Country: de
  • A qualified hobbyist ;)
Re: TC1 lcr-meter transistor-tester fix
« Reply #376 on: July 14, 2024, 08:45:16 am »
For m-firmwmare: edit Makefile (MCU, clock, programmer) and run 'make fuses'
 

Offline tedris

  • Contributor
  • Posts: 33
  • Country: tr
Re: TC1 lcr-meter transistor-tester fix
« Reply #377 on: July 27, 2024, 04:17:56 pm »
Hi i buy atmega324pa and i use usb programmer with  STC15L104W but not upload why? maybe in software chip not use?  is there software adaptape this?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8078
  • Country: de
  • A qualified hobbyist ;)
Re: TC1 lcr-meter transistor-tester fix
« Reply #378 on: July 27, 2024, 05:11:14 pm »
Have you followed the guide on https://github.com/atar-axis/tc1-u4? If the STC15L104W can't be programmed maybe it's also also bad. In this case go for the two-transistor circuit modification.
 

Offline tedris

  • Contributor
  • Posts: 33
  • Country: tr
Re: TC1 lcr-meter transistor-tester fix
« Reply #379 on: July 27, 2024, 07:31:52 pm »
Hello, I don't understand, my Atmega processor is faulty, I will install software on it. Why am I dealing with stc15l104w? In the video I saw on the net, it was loading the Atmega processor. I tried as in the link provided, but I could not write stc in any way. I don't understand the other 2 transistor thing, it would be easier if there was a video or a card video. Thank you for your patient help. |O
 

Online Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1629
  • Country: ca
Re: TC1 lcr-meter transistor-tester fix
« Reply #380 on: July 27, 2024, 07:46:37 pm »
tedris, if you want to program your Atmega processor, then you need to connect the programmer to J4 instead!

 

Offline tedris

  • Contributor
  • Posts: 33
  • Country: tr
Re: TC1 lcr-meter transistor-tester fix
« Reply #381 on: July 27, 2024, 07:54:30 pm »
What will the connection pins be like? Can this be done with a programmer?
 

Online Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1629
  • Country: ca
Re: TC1 lcr-meter transistor-tester fix
« Reply #382 on: July 27, 2024, 10:14:43 pm »
Not 100% sure, but I think this is the pinout for J4. (Got pinout from a TC1 schematic) Double check by ohm metering between J4 and the Atmel MCU.
(Reset, SCK, MISO, 5V, MOSI, GND)

What I did to program my TC1 was connect Reset, SCK, MISO, MOSI & GND to the programmer.  Then I temporarily jumpered out the test button to keep the unit powered up during programming.
« Last Edit: July 27, 2024, 10:20:53 pm by Kim Christensen »
 

Offline tedris

  • Contributor
  • Posts: 33
  • Country: tr
Re: TC1 lcr-meter transistor-tester fix
« Reply #383 on: July 28, 2024, 10:47:16 am »
I am using win11, could this be the reason? Were you able to do it in win11?
 

Online Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1629
  • Country: ca
Re: TC1 lcr-meter transistor-tester fix
« Reply #384 on: July 28, 2024, 03:37:00 pm »
I used AVRDUDE on a Win10 machine using it's legacy serial port connected to a crude programmer that I temporarily built on a breadboard. (That programmer does not work with a USB --> Serial adapter)
Why? Because I'm cheap and haven't used Atmel chips for anything else.  ;D
 

Offline tedris

  • Contributor
  • Posts: 33
  • Country: tr
Re: TC1 lcr-meter transistor-tester fix
« Reply #385 on: July 28, 2024, 05:49:08 pm »
Can you send a picture? How did you do this, what did it look like? I bought 3 atmega324pa chips thinking that the legs would be short again. However, both programming it and finding the software is a serious problem. There is no software for T7, it will not return to its original state, I have no idea if other versions will work.
 

Online Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1629
  • Country: ca
Re: TC1 lcr-meter transistor-tester fix
« Reply #386 on: July 29, 2024, 02:28:25 am »
Sorry, I've already disassembled the breadboard and didn't take any pictures at the time. But it wouldn't have been much to see anyway. I simply built the programmer on the breadboard and connected it to my TC1 via grabber clips. A very temporary setup. I complied the binaries using WinAVR.
 
The following users thanked this post: tedris

Offline tedris

  • Contributor
  • Posts: 33
  • Country: tr
Re: TC1 lcr-meter transistor-tester fix
« Reply #387 on: August 06, 2024, 03:33:02 pm »
Hello, I couldn't find how to make program settings and how to make upload settings. I connect to Atmega and it uploads but a white screen appears, I think there is a special setting that I need to choose.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8078
  • Country: de
  • A qualified hobbyist ;)
Re: TC1 lcr-meter transistor-tester fix
« Reply #388 on: August 06, 2024, 04:09:15 pm »
You can ignore that when using a quartz crystal. That 'oscillator calibration byte' is an adjustment value for the internal RC oscillator.
 
The following users thanked this post: SA

Offline tedris

  • Contributor
  • Posts: 33
  • Country: tr
Re: TC1 lcr-meter transistor-tester fix
« Reply #389 on: August 06, 2024, 05:10:47 pm »
https://github.com/Ho-Ro/ComponentTester
I think I need to edit and compile the file here with ready-made settings according to my own device. Is there a similar video about this? I don't understand how to do it. Is there a chance to compile in Atmel studio? I'm using Windows 10.
 

Online Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1629
  • Country: ca
Re: TC1 lcr-meter transistor-tester fix
« Reply #390 on: August 06, 2024, 08:12:47 pm »
Don't forget that you have to program 3 things in the atmega324pa:
Fuses
Flash memory
EEPROM memory

If you forget to program the EEPROM memory, then you can also get a white screen or other problems.
 

Offline tedris

  • Contributor
  • Posts: 33
  • Country: tr
Re: TC1 lcr-meter transistor-tester fix
« Reply #391 on: August 07, 2024, 08:09:29 pm »
When I compile the code, 2 files are created. One is ComponentTester.hex and the other is ComponentTester.eep. I load both of them. I saw that everyone has set the fuse settings differently. I don't understand what my setting should be?
 

Offline SA

  • Contributor
  • Posts: 14
  • Country: bd
Re: TC1 lcr-meter transistor-tester fix
« Reply #392 on: August 29, 2024, 02:59:13 pm »
Does the IR Decoder should look like this :-//? Is it possible to get Hexadecimal code?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8078
  • Country: de
  • A qualified hobbyist ;)
Re: TC1 lcr-meter transistor-tester fix
« Reply #393 on: August 29, 2024, 04:46:11 pm »
It's an unsupported protocol:
Quote
For a unknown protocol the tester displays the number of pauses and pulses, the duration of the first pulse and the first pause in units of 50µs:
  ? <pulses>:<first pulse>-<first pause>
 

Offline SA

  • Contributor
  • Posts: 14
  • Country: bd
Re: TC1 lcr-meter transistor-tester fix
« Reply #394 on: August 29, 2024, 06:54:02 pm »
I have tried more than 20 remote. I think the problem is firmware related. Can you please check that... Also compiler output shows this.. (I tried 1.45m, 1.47m, 1.48m,1.53m)
« Last Edit: August 29, 2024, 06:56:00 pm by SA »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8078
  • Country: de
  • A qualified hobbyist ;)
Re: TC1 lcr-meter transistor-tester fix
« Reply #395 on: August 29, 2024, 07:38:33 pm »
I've checked the IR protocol detection with tons of remote controls and different Transistortesters over the years. It's working fine. However, your tester seems to have a clock issue. The start pulse/pause periods of 172 and 85 (* 50 µs) point to the NEC protocol which is 9 ms (179 * 50 µs) and 4.5 ms (89 * 50 µs). The protocol detection allows some margin for the timing, but the offset is too large in this case. The MCU clock looks to be a bit slow. Have you set the ATmega's fuse bits to use the external quartz crystal instead of the internal RC oscillator? You can ignore the compiler warnings.
« Last Edit: August 29, 2024, 07:41:23 pm by madires »
 

Offline SA

  • Contributor
  • Posts: 14
  • Country: bd
Re: TC1 lcr-meter transistor-tester fix
« Reply #396 on: August 29, 2024, 08:18:56 pm »
Low fuse 0xF7
High fuse 0xD9
Extend fuse 0xFC

Atmega328p
is it right??
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8078
  • Country: de
  • A qualified hobbyist ;)
Re: TC1 lcr-meter transistor-tester fix
« Reply #397 on: August 29, 2024, 08:57:26 pm »
That looks right. Still, the MCU clock is the most probable cause, especially since none of your remote controls were detected. The timing of a single remote control might be off, but not all.
 

Offline SA

  • Contributor
  • Posts: 14
  • Country: bd
Re: TC1 lcr-meter transistor-tester fix
« Reply #398 on: Today at 02:36:03 am »
After twiking for a long time I am still unable to make the the IR decoder to work properly. But that is not a big problem. Everything else works fine. But when no component is tested it shows Parasitic capacitance ranges from pf to 100uf even after self test and adjustment. Is that also for the MCU clock issue??
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8078
  • Country: de
  • A qualified hobbyist ;)
Re: TC1 lcr-meter transistor-tester fix
« Reply #399 on: Today at 09:07:09 am »
No, that could be a power supply issue (unstable Vcc).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf