Forum: Projekte & Code Transistortester AVR


Announcement: there is an English version of this forum on EmbDev.net. Posts you create there will be displayed on Mikrocontroller.net and EmbDev.net.
von Klaus R. (klaus2)


Lesenswert?

🤣🤣🤣👌🏼

Klaus.

von Holger B. (dreieck)


Lesenswert?

Boleslaw J. schrieb:
> Such a graphic form of the result has no substantive justification. It
> adds nothing to the result of the remote control test. This is an
> unnecessary, but attractive addition to encourage a potential customer
> to buy something that other Chinese products with a similar purpose do
> not have. The same applies to the color barcode when measuring
> resistance. Since I already know the resistance value, I do not need a
> color code.
> I took up this topic only because I wanted to occupy my free time with
> something interesting.

I find it useful when I am new to a protocol to get a quick glimpse of 
how the data is encoded.

I find it useful, and I would appreciate if you share the code so that 
the firmware developers can pick up.

That is "hacky thinking" also: Do not assume the usefulness of a 
feature, because someone else might find a use you never could think of.

Regards!

von Boleslaw J. (boleslaw_43)


Lesenswert?

Holger B. schrieb:
> I find it useful, and I would appreciate if you share the code so that
> the firmware developers can pick up.

That's what I was going to do.
But first I need to finish implementing these graphics for all IR 
protocols.

Regards,
Boleslaw

von Boleslaw J. (boleslaw_43)


Angehängte Dateien:

Lesenswert?

The original, complete information about the data sent from the remote 
control, which Mr. Reschke fit in one line, will be supplemented with 
graphics simulating the image from the oscillograph.

von Boleslaw J. (boleslaw_43)


Lesenswert?

I finished implementing graphics for the IR detector. I ran the tests on 
several remote controls to which I have access. The remaining tests will 
be performed after receiving the m328-644 adapters from China. They are 
already after customs clearance.
For testing, I will use a second AY-AT tester on ATmega644. I already 
have an additional tester and microcontroller. For testing, I will use 
the IR RC function of the second tester.

I will give the modified files to the author of the program, Mr. 
Reschke. He will decide whether to include the changes in the next 
version of the program. I have no right to publish modifications without 
the program author's permission.

von Holger B. (dreieck)


Lesenswert?

Boleslaw J. schrieb:
> I have no right to publish modifications without the program author's 
permission.

Why this?

As I see, the license is EUPL 1.1 (see file "EUPL-v1.1.pdf" in the 
source code directory), and it allows

> *modify the Original Work, and make Derivative Works based upon the Work,*

under some conditions (which mainly are about notices in derived work, 
license of derived work, ...)

: Bearbeitet durch User
von Boleslaw J. (boleslaw_43)


Lesenswert?

Holger B. schrieb:
> Why this?
>
> As I see, the license is EUPL 1.1 (see file "EUPL-v1.1.pdf" in the
> source code directory), and it allows
>
>> *modify the Original Work, and make Derivative Works based upon the Work,*
>
> under some conditions (which mainly are about notices in derived work,
> license of derived work, ...)

You are right, but Mr. Markus Reschke has been conducting this topic for 
many years, he does it, as I noticed, very well and in addition 
selflessly, so he has the moral right to decide what will be included in 
the program, which he signs with his own name. That is my opinion.
Otherwise, there will be a mess in the software that will be difficult 
to control.

von R. H. (snapper)


Angehängte Dateien:

Lesenswert?

Carsten W. schrieb im Beitrag #7077914
> Aber sieht interessant aus. Würde ich gerne mal aufmachen und reinschauen.
besser spät als garnicht!
Die eine Version verwendet zwei ARM Controller, bei der anderen ist nur 
ein Controller verbaut wobei die Type unbekannt ist (nicht lesbar)!
https://de.banggood.com/FNIRSI-DSO-TC2-Handheld-Digital-Oscilloscope-LCR-Meter-Graphic-Display-Transistor-Tester-2_4-inch-TFT-Color-Screen-LED-Backlight-for-Auto-Repair-Appliance-Repair-p-1955385.html
https://de.banggood.com/FNIRSI-DSO-TC3-Digital-Oscilloscope-Transistor-Tester-Function-Signal-Generator-3-in-1-Multifunction-Electronic-Component-Tester-p-1982523.html

: Bearbeitet durch User
von Carsten W. (eagle38106)


Lesenswert?

R. H. schrieb:
> besser spät als garnicht!
:-)

Wäre mal interessant, die Mess-Schaltung des 122er zu sehen. Der µC wird 
ja 3.3V als I/O-Spannung haben und eine sich sehr vom Atmel 
unterscheidende interne Portstruktur.

Aber bei dem 2523 sind dem Designer wohl die Pferde durchgegangen. Wozu 
braucht man 30 Transistoren in der Mess-Schaltung?

Beitrag #7420347 wurde vom Autor gelöscht.
von R. H. (snapper)



Lesenswert?

Da der Vorgänger TC2 zwei ARM µC STM32 verwendet hat (einen für das DSO
und den kleineren für den T-Tester) gehe ich mal davon aus das man das
jetzt alles in einen großen gepackt hat z.B.  STM32F407VET6. Vor 2
jahren hat ja schon mal jemand die T-Tester SW auf einen
STM32F103/GD32F103 oder GD32F303 portiert, vllt. hilft das ja weiter
(für Leute die sich damit auskennen) ;-)
https://github.com/mean00/stm32ComponentTester

von Boleslaw J. (boleslaw_43)


Angehängte Dateien:

Lesenswert?

The shipment from China has arrived.

von Horst O. (obelix2007)


Lesenswert?

Hello Boleslaw 43,

Do you also sell any of these boards, if so, I would like to buy two?

Greeting Horst

von Roland B. (rol_b)


Lesenswert?

Hello Boleslaw_43,
if you sell some of this boards, I also would like buy two pieces of 
them.
Best regards

von Klaus R. (klaus2)


Lesenswert?

Boleslaw_43, expect lots more of orders :) Good job!

Klaus.

von Boleslaw J. (boleslaw_43)


Lesenswert?

Thank you for your interest.
Since this is my first PCB project, I treat it as a training material.
Therefore, to Forum users residing in the EU, as part of the promotion, 
I send the adapter for free.
Please send postal addresses for shipping to my PM.

von Boleslaw J. (boleslaw_43)


Angehängte Dateien:

Lesenswert?

Tests and fixes in progress.

von Boleslaw J. (boleslaw_43)


Lesenswert?

There are still 8 adapters left for the taking.

von Boleslaw J. (boleslaw_43)


Angehängte Dateien:

Lesenswert?

I have finished the implementation of the graphical form (a la 
oscillogram) of the data read from the remote control for the "IR 
detector" function, for the protocols entered into the Component Tester.
It took me a while because I ran into a problem reading data according 
to the Motorola protocol that I could not understand. On my 8 megahertz 
AY-AT tester, the IR receiver was unable to read the data transmitted by 
the second Component Tester, set in the "IR RC" function to the 
"Motorola" protocol.

I understood the reason by analyzing the IR protocol provided by 
Motorola. After a short press of a key on the remote control, its 
transmitter sends three packets of bits at strictly defined intervals. 
The first package contains 9 ones - this is a starter package. The 
second package contains the right command, and the third package, also 
containing 9 ones - is a package ending the data transmission from the 
remote control. By holding down the remote control key for a longer 
time, the remote control repeats the command packet until the key is 
released, which results in sending the end package (9 ones).  Well, the 
time that elapses between sending the first packet of bits and sending 
the second packet of bits is too short for the receiver to notice it, 
busy at that time interpreting the received first packet. This second 
packet, containing the command, was simply lost.

This critical time can of course be extended in the "IR RC" function, 
which I did, but the real Motorola remote control does not have such a 
possibility - it sticks to the established protocol.

The elegant, multi-packet handling of received packets did not work in 
this case. The solution to the problem may be to receive three or at 
least two packets in one cycle and remember them in RAM for later 
analysis. This is a proposal to be included in the To-Do list for the 
author of the program.

von R. H. (snapper)


Angehängte Dateien:

Lesenswert?

Transistortester AVR Windows-Software !?
Hallo
bin beim stöbern im Netz zufällig über diese Software gestolpert:
https://disk.yandex.ru/d/MHdHzZehqqzUi
scheint aus einer russ. Quelle zu stammen und ist wahrscheinlich mit
Profilab von ABACOM erstellt!? kennt die zufällig jemand und weis über
die Funktion, Anschluss an den T-Tester (seriell), Änderung an der
Firmware usw. bescheid?
Gruß

von Asko B. (dg2brs)


Lesenswert?

Das sieht ganz nach der Software vom "Messtechniker" aus.
Musst mal hier im Faden suchen.
Ist aber "einseitig", also nur RX vom Tester.
Testerausgang ist Pin26 vom 328.

Gruss Asko

von Boleslaw J. (boleslaw_43)



Lesenswert?

For people to whom I sent adapters m328_m644 for AY-AT, I share the 
modified firmware.
The firmware has been supplemented with a graphical result of remote 
control tests, SPI hardware support for the ST7735 display and generator 
output from the OC1B port of the microcontroller.
The zip archive also contains the current adapter connection table for 
version 1.03 (white).

von Holger B. (dreieck)


Lesenswert?

Boleslaw J. schrieb:
> For people to whom I sent adapters m328_m644 for AY-AT, I share the
> modified firmware.

I think now you must also share the source, as it is required by the 
license of the code you build upon.

This will also help others to adapt to their setups.

:-).

von Martin H. (horo)


Lesenswert?

Holger B. schrieb:
> share the source,...
> This will also help others to adapt to their setups.

And please use up-to-date technologies for this, e.g. github.
This will help you keep track and allow others to contribute.

von Boleslaw J. (boleslaw_43)


Lesenswert?

I passed the changes I've made in the software to the author of the 
program.
If the author decides that these changes have any substantive value, he 
will certainly publish them in the next version of the software.

von Holger B. (dreieck)


Lesenswert?

Boleslaw J. schrieb:
> I passed the changes I've made in the software to the author of the
> program.

The idea of the license is that people who distribute binary code based 
on code under the license also publish the source. This is not meant 
as a benefit to the author, but the author chooses to make the software 
free in the sense that no-one can claim ownership of the software so 
everyone is free to build upon it (also the author cannot revoke the 
free-nes of the software).

That is the idea of this type of licenses, and that is why you now need 
to also publish the code once you have published the binaries.

Maybe someone else can explain the idea of those "non-ownership" license 
better?

von Asko B. (dg2brs)


Lesenswert?

Hallo

Nachdem User Boleslaw J hier eine Adapterplatine vorgestellt hat,
beschäftige ich mich wieder mit dem Teil.

Ich wusste, dass ich noch eine "Leiche" im Bestand hatte.
Also habe ich mal gekramt, und auch gefunden!
Es ist ein AY-AT mit bedrahteten Bauteilen.

Damals gab es einen Kurzschluss mit einem Knall weil ein
vagabundierendes Drähtchen sich unter die Leiterplatte des Testers 
verirrt hatte.
Ich hatte sämtliche Transistoren getauscht, nichts hat geholfen.
Immer kam die Ausschrift: "5,01V - Spannung zu gering".
Auf die Idee den Spannungsregler zu prüfen bin ich einfach nicht 
gekommen!
Weil ja eben immer die Ausschrift kam "5,01V".
Jetzt (Jahre später) stellte ich eben fest, auch der Regler 7550
war durchgeschlagen. An der CPU lagen >7,5V an!!!!
Der ATMega328P-PU hat das ausgehalten! Es ist erstaunlich was die so 
wegstecken können.
Nach auswechseln gegen einen MCP1702-5002 ist alles wieder im Lot.
Mein Multimeter sagt jetzt 5,019 Volt am ATMega328.
Na, das passt doch eher.

Dann wollte ich auch gleich die Referenzspannungsquelle ändern.
Also habe ich einfach 1:1 den TL431 gegen einen LM4040 ausgetauscht.
Denkste, nachdem es nicht funktioniert hatte, stellte ich fest,
dass die beiden unterschiedlichen Typen auch unterschiedliche Footprints 
haben. (TO92)
Ich wusste, das LM336 und LM4040 die gleiche Pinbelegung haben.
Also bin ich in meinem jugendlichen Leichtsinn davon ausgegangen, das es 
beim TL431 auch so ist.
Nachdem ich auch das richtiggestellt hatte läuft wieder alles prima.
Was mir aber mit erschrecken aufgefallen ist:
https://www.reichelt.de/at/de/shunt-spannungsreferenz-fest-2-5-v-0-1-to-92-lm-4040-aiz2-5-p109411.html?&trstct=pos_15&nbc=1
Kosteten die Dinger nicht mal ca. 60 Cent? Mir war jedenfalls so.

Jetzt bin ich ja mal gespannt, ob Boleslaws Platine mechanisch auf 
meinen Tester passt.
Ich habe ja die Version mit bedrahteten Bauteilen, er dagegen mit 
SMD-Bestückung.
Bei mir stehen ja ein Paar Bauteile hoch.


Gruss Asko

von R. H. (snapper)


Angehängte Dateien:

Lesenswert?

Asko B. schrieb:
> Kosteten die Dinger nicht mal ca. 60 Cent?
auch jetzt noch 60Cent wenn man die SMD Version verwendet ;-)
https://www.ebay.de/itm/124934946426
> Bei mir stehen ja ein Paar Bauteile hoch.
ich besitze beide Versionen, bei der SMD bestückten passt es. bei der 
bedrahteten Version passt es auch wenn man die beiden 10µF "flachlegt" 
(den einen 10k Widerstand habe ich auf die Unterseite verbannt) und die 
Transistoren ggf. "tieferlegt". Wer das chinesische Steckgehäuse 
verwendet hat ja genug Platz unter der Platine und könnte auch die Elkos 
von unten einlöten. Ich habe außerdem nur Pinns in den Adapter gelötet, 
da wäre dann theoretisch noch Platz für eine 2. Platine!

: Bearbeitet durch User
von Boleslaw J. (boleslaw_43)


Angehängte Dateien:

Lesenswert?

At the request of Asko B. I added a quartz resonator to the adapter.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.