Elektroda.pl
Elektroda.pl
X
Please add exception to AdBlock for elektroda.pl.
If you watch the ads, you support portal and users.

Testery elementów oparte na ATMega - dyskusje o HW i SW

Freddy 28 Nov 2017 11:15 79665 151
NDN
  • NDN
  • #122
    airbob
    Level 20  
    Ja też ubiłem T7. W ferworze walki wsadziłem w podstawkę naładowany kondensator. Coś w środku cicho strzeliło i tester zgasł. Uszkodzeniu uległa SRV05-4 i procesor Atmega324PA-AU (zwarcie na nogach pomiarowych).
    Mam pytanie czy któryś z kolegów będzie w stanie wgrać mi odpowiedni program do nowego procesora ? Czy może dać sobie spokój i w kubeł.
    Jak zrozumiałem z poprzednich wpisów nie ma co liczyć na skopiowanie programu z działającego testera, procesor jest zabezpieczony przed odczytem.
  • #123
    Monti15
    Level 1  
    Witam, zaktualizowałem oprogramowanie w swoim BSIDE ESR02 Pro, wszystko poszło bez problemu. uzyskałem dostęp do nowych funkcji.
    Jednak zaobserwowałem pewne niedogodności, po wejściu do menu potrafi się zawiesić (nie reaguje na żaden z przycisków), pomaga wyjęcie baterii. Po pomiarze również jakby się zawiesił, gaśnie dopiero po kilku minutach.
    Czy ktoś z szanownych forumowiczów spotkał się z podobnym problemem i ma na niego sposób?
  • #124
    Kontrakton80
    Level 15  
    Przyszedł do mnie dzisiaj tester TC1. Od razu dorobiłem w nim przełącznik on/off na plusie baterii. Wylutowałem też 2 kondensator C11 i C12 od przetwornicy, pomierzyłem je i okazało się, że oba mają po 4,7uF (2x4,7uF). C11 i C12 połączone są równolegle, zastąpiłem je jednym elektrolitem 10uF 63V( Czy taki może zostać czy lepiej dać elektrolity 2x4,7uF na 100V?) Tester działa normalnie jednak co dziwne czasami wygasza sie wyswietlacz po 20s(fabryczne ustawienie) a czasami się zawiesi i dopiero po 3 minutach(zawiesza się losowo, jednak gdy przyłoże pilot IR do testera to momentalnie pokazuje przebieg) Co to może być?
  • #125
    maystero
    Level 24  
    Witam

    czy można prosić kolegów o udostępnienie wsadu do M328 (8MHz) do tego testera:
    Testery elementów oparte na ATMega - dyskusje o HW i SW

    Jeśli to możliwe to najnowszą wersje...

    wcześniej miałem wer. TFT_ST7735_KIT_v1.12k_r681_M328_8MHz, ale prawdopodobnie przez nie uwagę podłączyłem do testera naładowany kondensator, i urządzenia przestało działać. Ta wersja softu była ok, ale czasem trafiały się elementy, których tester nie umiał rozpoznać, może w nowszej wersji jest lepiej.
    Proszę o pomoc.
  • #126
    maystero
    Level 24  
    Prześledziłem wątek od początku i postanowiłem samodzielnie skompilować sobie soft. Zainstalowałem:
    WinAVR-20100110-install.exe
    avr8-gnu-toolchain
    Wszystko jak na załączonym filmie.
    Następnie ściągnąłem z:
    https://github.com/svn2github/transistortester
    i podczas próby kompilacji dostaje taki o to komunikat:
    Code: text
    Log in, to see the code

    Co źle zrobiłem?
    Na filmie system operacyjny to Windows 7, a ja mam Windows 10.
    Czy to jest przyczyna?
  • #127
    ArturAVS
    Moderator HP/Truck/Electric
    maystero wrote:
    postanowiłem samodzielnie skomplikować

    Co Ci się skutecznie udało :D
  • #128
    maystero
    Level 24  
    Haha. Sam się uśmiałem.

    Wracając do tematu. Problem rozwiązany. Przyczyną okazał się oczywiście postęp - czyli Windows 10.
    Trzeba podmienić plik:
    c:\WinAVR-20100110\utils\bin\

    na ten w załączeniu:
  • NDN
  • #129
    ArturAVS
    Moderator HP/Truck/Electric
    Nie odbieraj tego ironicznie ale sam tak napisałeś :D
  • #130
    maystero
    Level 24  
    ArturAVS wrote:
    Nie odbieraj tego ironicznie ale sam tak napisałeś :D

    Spoko. Prawdopodobnie autokorekta...
    :D
    Skomplikowała sprawę

    Pozdrawiam



    edit
    dołączam wsad do testera TFT ST7735 KIT v1.13k PL M328 8MHz
    FUSE BITS
    Lfuse:0xEE
    Hfuse:0xd9
    Efuse:0xFF
    TFT_ST7735...13k_PL.zip Download (36.2 kB)Points: 0.5 for user
  • #131
    akfedux
    Level 11  
    Ma ktoś może spis elementów jakie należy wlutowac, by mieć zasilanie z zasilacza?
    Na zdjęciu zaznaczylem które. Chodzi o diody, tranzystor, cewkę,rezystory i kondensatory smd.
    Testery elementów oparte na ATMega - dyskusje o HW i SW
  • #133
    nikson1970
    Level 11  
    Witam czy z atmegi można zgrać wsad
  • #135
    nikson1970
    Level 11  
    U mnie padł scalak i mam drugi i chciałbym go zaprogramować
  • #136
    ArturAVS
    Moderator HP/Truck/Electric
    sq3dwe wrote:
    Odzcytuję tylko fuss bity.

    Przecież większość stosowanych fabrycznie mikrokontrolerów jest zabezpieczona przed odczytem pamięci programu. Kasujesz uK i wgrywasz któryś z dostępnych wsadów zależnie od wersji.
  • #137
    nikson1970
    Level 11  
    na jakim programatorze mogę to zrobić
  • #138
    ArturAVS
    Moderator HP/Truck/Electric
    nikson1970 wrote:
    na jakim programatorze mogę to zrobić

    Każdym który AtMega obsługuje.
  • #140
    rubens
    VIP Meritorious for electroda.pl
    Kupiłem "nową" wersję z dodatkowymi ( ciekawymi) funkcjami:
    2018 new version V1.13 can test the DS18B20 and DHT11 and IR_decoder
    Use 16MHz
    Oczywiście pan chińczyk przysłał mi z menu w ulubionym CCCP językiem.
    Czy ktoś posiada wsad z pełną funkcjonalnością ale w bardziej ludzkim np. angielskim?


    Testery elementów oparte na ATMega - dyskusje o HW i SW


    Testery elementów oparte na ATMega - dyskusje o HW i SW

    Opis funkcjonalności:
    Function menu descriptions:
    1. Switch off
    Enter this Function the Tester will shut down immediately.
    2. Transistor
    Transistor test, it's also the default Function at switch on.
    3. Frequency
    Measurement of frequency, For frequencies below 25kHz the normal measurement is followed by a measurement of
    period time. This additional measurement is only followed after a normal frequency measurement.
    4.f-Generator
    Signal generation, this Function can output square wave .with various of frequency to choice.
    5. 10-bit PWM
    The function "10-bit PWM" (Pulse Width Modulation) generates a fixed frequency(7812.5Hz) with selectable pulse
    width at the pin TP2. With a short key press (< 0.5 s) the pulse width is increased by 1%, with a longer key press the pulse
    width is increased by 10%. If 99% is overstepped, 100% is subtracted from the result. The function can be exit with a very
    long key press (> 1.3 s).
    6. C+ESR@TP1:3
    The additional function "C+ESR@TP1:3" selects a stand-alone capacity measurement with ESR (Equivalent Series
    Resistance) measurement at the test pins TP1 and TP3. Capacities from 2µF up to 50mF can be measured. Because the
    measurement voltage is only about 300mV , in most cases the capacitor can be measured "in circuit" without previous
    disassembling. The series of measurements can be finished with a long press of RPEWS.
    7.Selftest
    With the menu function "Selftest" a full self test with calibration is done. With that call all the test functions T1 to T7
    and also the calibration with external capacitor is done every time.
    8. Voltage
    Voltage measurement, Because a 10:1(180K:20K) voltage divides is connected , the maximum external voltage can be
    50V, The measurement can also be exit by Continuous rotation of the RPEWS.
    9. Show data
    The function ,"Show Data" shows besides the version number of the software the data of the calibration. These are the
    zero resistance (R0) of the pin combination 1:3, 2:3 and 1:2 .In addition the resistance of the port outputs to the 5V side
    (RiHi) and to the 0V side (RiLo) are shown. The zero capacity values (C0) are also shown with all pin combinations (1:3,
    2:3,1:2 and 3:1, 3:2 2:1). At last the correction values for the comparator (REF C) and for the reference voltage (REF R)
    are also shown. Every page is shown for 15 seconds, but you canselect the next page by a key press or a right turn of the
    rotary encoder. With a left turn of the rotary encoder you can repeat the output of the last page or return to the
    previous page.
    10. FrontColor
    This function can change the color of the font, the 16bit color is encode in RGB(565) format, that mean red maximum =
    31, green maximum = 63,blue maximum = 31 respectively. In the function, a short time press can index the base color to
    change, turn left decrease it value and turn right increase it value. A long time press will save the Result and exit the
    function, please keep in mind the FrontColor and the backcolor cannot be the same. This will case the LCD show nothing.
    If this happens, you need to do a Selftest , how to enter the Selftest is descriptions at Page 2. Selftest will change the back

    Color to black and font color to white automatically. When the Selftest is finish . you will have the chance to modify the
    color .



    11. BackColor
    This is function is the same as the FrontColor except it's change the background color .
    12. 1-||-3
    This function can series Measurement the capacitance at TP1 ,TP3, this function can Measurement very small capacitor. A
    long time press will exit the function.
    13. 1- - 3
    This function can series Measurement the Resistance and inductance at TP1 ,TP3, A long time press will exit the function.
    14.DS18B20
    The DS18B20 is a Digital Thermometer with 1 Wire communicating protocol , it Looks like a Transistor due to the
    component package of TO-92, so it can fit into the Transistor tester.

    aeProduct.getSubject()





    When enter to this function, the Row 2 of the LCD is show a string "1=GND 2=DQ 3=VDD" , it's mean TP1 of the tester
    connect the GND of the DS18B20 , and so on. The Tester can not sense the pin distribution of the DS18B20, because
    DS18B20 is a integrated circuit. Must according to the string to install the DS18B20.
    The Tester read the temperature use 12bit resolution, it first start a "Convert T"[44h] command, and then series read
    the 9 byte of the "SCRATCHPAD" and the "64-BIT LASERED ROM". Fetch the first two byte within the "SCRATCHPAD",
    conversion this first two byte to readable temperature show at row 3 of the LCD

    aeProduct.getSubject()

    For example:
    Follow is a read of the DS18B20.
    S S cratchpad :
    EC014B467FFF0C102A

    aeProduct.getSubject()


    aeProduct.getSubject()
    15.DHT11
    DHT11 is a sensor with temperature measure and humidity measure, the degree of accuracy is +-5%RH and +-2C
    Measures temperatures from 0 to 50C , Measures humidity from 20-90%RH.
    aeProduct.getSubject()
    When enter to this function, the Row 2 of the LCD is show a string "1=GND 2=DQ 3=VDD" , it's mean TP1 of the tester
    connect the GND of the DHT11 , the "N/A" pin of the DHT11 can be floating, or connect to GND. The TP2 of the tester is
    connect to DATA of the DHT11, The TP3 of the tester is connect to VCC of the DHT11. The Tester can not sense the pin
    distribution of the EHT11 , Must according to Above statement.
    When a correctly read is occur, the temperature is show at row 3 and humidity is show at row 4.
    Exit this function can achieve by press and hold the RPEWS > 3s.

    16.IR_decoder
    The function of decoder is achieve by a IR receiver module. the follow IR receiver module is choice at design.
    aeProduct.getSubject()

    A success decode is list at row4 - 8 of the LCD, where row 4 display the IR protocol (TC9012 or uPD6121), row5 and row6
    display "User code 1" and "User code 2" , row 7 display the data and the Bitwise NOT of the data(~data). Row8 is
    display the four byte together.
    the hexadecimal system is used to display All of the numbers

    16.IR_Encoder
    This function is a simulation of IR Remote Controller. it can drive a IR LED connect at the tester's PWM output
    interface associate with the user input . since the tester only provide about 6mA current, the Control distance is
    less-than a regular IR Remote Controller.
    On the first column of the LCD , is show a ">" , this symbol can move up or down by a click of the rotary encoder to select
    a certain item.
    Row2 of the LCD is select protocol, like IR_Decoder above, there are two protocol for select, "TC9012" and
    "uPD6121". It can be changed by rotate the knob, when the ">" appear at row2.
    row3 and row4 change the "user code 1" and "user code 2" value by rotate the knob ,left rotate will decrease and right
    rotate will increase the value . press and hold the knob for >1S and <3S (>3S will exit this function) will add the value by
    0x10 to fast reach to the expect value.

    Row5 change the "data" ,and the Bitwise NOT of the "data" (~data) is auto calculate by the tester .
    Row6 ,The "emit:" is used to start a transmit . move ">" to this line, and rotate the knob ,a "->" will appear soon
    untill a transmit complete.
    This function is "strongly" correlation with the 16.IR_decoder . without decoder ,the value of the user code and data
    is unknown. Unless you already know them before. Used other methods.
    The infrared remote control protocol of "TC9012" is frequent use on television in my submission. I think , in china.
    17. C(uF)- correction
    This function set the correction value for big capacitor measurement, Positive values will reduce measurement results.
  • #141
    Wawrzyniec
    Level 38  
    Niedawno kupiłem tester TC-1. Chciałem zmienić czas wyświetlania i okazało się że to nowa wersja.
    Testery elementów oparte na ATMega - dyskusje o HW i SW Testery elementów oparte na ATMega - dyskusje o HW i SW Testery elementów oparte na ATMega - dyskusje o HW i SW Testery elementów oparte na ATMega - dyskusje o HW i SW Testery elementów oparte na ATMega - dyskusje o HW i SW Testery elementów oparte na ATMega - dyskusje o HW i SW
    Procesorek zatarty, brak możliwości skrócenia wyświetlania, przycisk przy dłuższym przytrzymaniu zmienia język na chiński. Nie ma transformatorka. Na KA podaje 25V.
  • #142
    walek1975
    Level 1  
    Wawrzyniec wrote:
    Procesorek zatarty, brak możliwości skrócenia wyświetlania, przycisk przy dłuższym przytrzymaniu zmienia język na chiński. Nie ma transformatorka. Na KA podaje 25V.

    Procesor w tym ustrojstwie to LGT8F328P (tani chiński klon ATMega328P).
    Niestety flasherami typu USBASP go nie zaprogramujesz.
    Pady P1 zawierają interface do flashowania (5v, masa, reset, SWD i SWC).
    Ja zastąpiłem ten procesor atmegą 328P i skompilowałem ComponentTester, startuje, wyświetla napis powitalny i to na razie tyle :(
    Muszę trochę nad nim popracować. Z rzeczy "niefajnych", wyświetlacz bazuje na chipie ILI9163, słabo oprogramowanym w ComponentTester (m.in. brak działającego offsetu dla osi y), dodatkowo użyte piny są lustrzanym odbiciem tych z TC01.
    ustawienia wyświetlacza w pliku config_328.h dla tej płyty z wymienionym prockiem to:
    #define LCD_ILI9163 /* display controller ILI9163 */
    #define LCD_GRAPHIC /* graphic display */
    #define LCD_COLOR /* color display */
    #define LCD_SPI /* SPI interface */
    /* control and data lines */
    #define LCD_PORT PORTD /* port data register */
    #define LCD_DDR DDRD /* port data direction register */
    #define LCD_RES PD0 /* port pin used for /RESX (optional) */
    #define LCD_CS PD5 /* port pin used for /CSX (optional) */
    #define LCD_DC PD1 /* port pin used for D/CX */
    #define LCD_SCL PD2 /* port pin used for SCL */
    #define LCD_SDA PD3 /* port pin used for SDA/SDIO */
    /* display settings */
    #define LCD_DOTS_X 128 /* number of horizontal dots */
    #define LCD_DOTS_Y 160 /* number of vertical dots */
    #define LCD_FLIP_X /* enable horizontal flip */
    #define LCD_ROTATE /* switch X and Y (rotate by 90°) */
  • #144
    markinn
    Level 11  
    hej, to może jak dorzucę: LCR-TC2
    z reklamy: "LCR-TC2: It is an upgraded version of TC-T7-H. Compared with TC-T7-H, it has upgraded circuit structure"

    (prawdziwa??)Atmega644p, 16Mhz
    ma port programowania

    Oczywiście pierwsze co zrobiłem to skompilowałem i wgrałem najnowszy ComponentTester 1.47m, dokumentacja i historia zmian jest tu: ctester doc 1.47m
    ruszył prawie od strzału, jedynie PD1 i PD2 zamienione względem opisu.
    Mam jeszcze obrócony ekran 180 stopnii i jakieś artefakty przy prawej krawędzi ekranu ale ogólnie ok, wszystkie funkcje działają, pomiary wiarygodne (nie porównywałem).

    [EDIT]
    artefakty naprawione, wystarczyło wyłączyć offsety
    // #define LCD_OFFSET_X 2 /* enable x offset of 2 or 4 dots */
    // #define LCD_OFFSET_Y 1 /* enable y offset of 1 or 2 dots */

    obrót 180 również, zamienić flipy
    #define LCD_FLIP_X /* enable horizontal flip */
    //#define LCD_FLIP_Y /* enable vertical flip */
    [/EDIT]

    Korzystałem ze strony 76 dokumentacji:
    7.10. Multifunktionstester TC-1 and family (T7)
    with ATmega324/644 (very poor pin assignment), 16MHz clock
    later models may have an ATmega644
    - ST7735 color display (bit-bang SPI)
    - external 2.5V voltage reference (TL431)
    - fixed IR receiver module
    - boost converter for Zener check (runs all the time, non-standard voltage divider 100k/12k)
    - fixed adjustment cap (in case of problems replace MLCC with 220nF film cap)
    - powered by Li-Ion cell 3.7V
    - sample testers provided by jellytot@EEVblog and joystik@EEVblog
    - initial information provided by indman@EEVblog

    Testery elementów oparte na ATMega - dyskusje o HW i SW

    Testery elementów oparte na ATMega - dyskusje o HW i SW Testery elementów oparte na ATMega - dyskusje o HW i SW Testery elementów oparte na ATMega - dyskusje o HW i SW Testery elementów oparte na ATMega - dyskusje o HW i SW Testery elementów oparte na ATMega - dyskusje o HW i SW
  • #145
    lutkolba
    Level 13  
    Witam wszystkich.Zakupiłem na znanym Polskim portalu tester T7.Już na samym początku tester przekonałem się że tester ma wady produkcyjne.
    Przy testowaniu diody zenera dioda zrobiła się bardzo gorąca aż parzyła w ręce.Miernik przestał działać,po włączeniu cały czas wyświetlał wynik diody zenera 4,2v mimo że nie był badany żaden element.
    Okazało się że uszkodzenu uległa dioda D2 z przetwornicy 30v.Nie mogło być inaczej bo pin K był bezpośrednio połączony z D2 .
    Analizując podobne schematy pin K powinien być połączony przez opornik od 2k do 10k.Po wymianie diody D2 i dołożeniu opornika 2K tester działa choć wyniki pomiarów pozostawiają wiele do życzenia.
    Przeglądając opisy z internetu dotyczące testera T7 jest wiele klonów ale nigdzie nie ma takij płyty jak w moim T7.Plyta jest bardziej rozbudowana.
    Tester błędnie analizuje tranzystory np. BU508A wykrywa jako triak,BU2527AX wykrywa jako kondesator6559 pF,i wiele innych elementów pokazuje głupoty.
    Nie działa także wykrywanie kodu pilota.Możliwe że jest to wina oprogramowania.Moje pytanie czy można wgrać do tego testera inne poprawione oprogramowanie.Procesor ATMEL MEGA328P.Może będzie bardziej prawidłowo wykrywał elementy?
    Zamieszczam zdjęcia tej płyty testera.
  • #146
    @GUTEK@
    Level 31  
    Witam.
    Poszukuje oryginalnego firmware do testera LCR-TC1 w wersji 2.12k. Tester dostałem uszkodzony poprzez podłączenie naładowanego kondensatora (i to chyba znacznie). Spalony był Mega324 oraz dioda SRV05. Po wymianie elementów zaprogramowałem uC jakiś wsadem znalezionym w internecie - startuje z logo DANIU. Niestety widać, że to firmware nie jest do niego, obraz na wyświetlaczu jest przesunięty w pionie i poziomie o jeden pixel oraz co gorzej tester pokazuje głupoty - nie mierzy poprawnie, potrafi pokazać losowy element gdy nic nie jest podłączone. Przemierzyłem inne elementy i nic więcej nie widzę uszkodzonego, zatem podejrzewam firmware. Poratuje ktoś?
  • #148
    @GUTEK@
    Level 31  
    Dzięki za odpowiedź, niestety jest to to firmware które mam wgrane i nie działa mi poprawnie. To z logo DANIU na starcie.
    Nie potrafię też wymusić kalibracji, powinna się uruchomić poprzez zwarcie wszystkich 3 pinów testera. Mi pokazuje wtedy dwa rezystory jeden 0.00ohm, drugi 0.09ohm.
  • #149
    jupik76
    Level 11  
    lutkolba wrote:
    Witam wszystkich.Zakupiłem na znanym Polskim portalu tester T7.Już na samym początku tester przekonałem się że tester ma wady produkcyjne.
    Przy testowaniu diody zenera dioda zrobiła się bardzo gorąca aż parzyła w ręce.Miernik przestał działać,po włączeniu cały czas wyświetlał wynik diody zenera 4,2v mimo że nie był badany żaden element.
    Okazało się że uszkodzenu uległa dioda D2 z przetwornicy 30v.Nie mogło być inaczej bo pin K był bezpośrednio połączony z wyjściem przetwornicy i na pinie K było napięcie 30v.
    Analizując podobne schematy pin K powinien być połączony przez opornik 10k.Po wymianie diody D2 i dołożeniu opornika 10K tester działa choć wyniki pomiarów pozostawiają wiele do życzenia.
    Przeglądając opisy z internetu dotyczące testera T7 jest wiele klonów ale nigdzie nie ma takij płyty jak w moim T7.Plyta jest bardziej rozbudowana.
    Tester błędnie analizuje tranzystory np. BU508A wykrywa jako triak,BU2527AX wykrywa jako kondesator6559 pF,i wiele innych elementów pokazuje głupoty.
    Nie działa także wykrywanie kodu pilota.Możliwe że jest to wina oprogramowania.Moje pytanie czy można wgrać do tego testera inne poprawione oprogramowanie.Procesor ATMEL MEGA328P.Może będzie bardziej prawidłowo wykrywał elementy?
    Zamieszczam zdjęcia tej płyty testera.


    Mam dokładnie ten sam tester, wersja bez kwarcu na Atmega328P - niestety uwaliłem procek i zabezpieczenie wejść, czy udało Ci się do tego modelu dobrać jakiś soft ? Szczerze mówiąc, nawet ten oryginalny soft by mnie urządzał - gdyby ktoś spróbował zgrać (może procek nie jest zabezpieczony przed odczytem). Widzę, że faktycznie linia napięcia 35V jest do przerobienia, bo mam tak samo podłączenie bezpośrednio do diody D2 :)

    Testery elementów oparte na ATMega - dyskusje o HW i SW

    Czy dopasowałeś już do niego jakiś sensowny schemat ?
  • #150
    lutkolba
    Level 13  
    Co do tego testera to dałem se spokój.To przeceż zabawka.Pomiary oprników i kondesatorów w miare wiarygodne,ale co do półprzewodników jak tranzystory,diody,stabilizatory to pokazuje głupoty.Co do oprnika z diody d2(30V) do złącza pomiarowego to lepeij zastosować opornik 2k.Przy 10k jak spadnie napięcie akumulatora to wyświetla fałszywy pomiar diody zenera.