logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

Czy nowy generator obrazków od OpenAI narysuje schemat układu?

p.kaczmarek2 01 Kwi 2025 13:44 1146 4

TL;DR

  • Nowy generator obrazków OpenAI w ChatGPT został sprawdzony pod kątem rysowania schematów elektronicznych, a nie zwykłych grafik.
  • Przetestowano m.in. zasilacz z transformatorem, mostkiem prostowniczym, kondensatorem oraz stabilizatorami 7805 i 7812, migacz LED, filtr PI, przekaźnik do Arduino i ESP-12.
  • W jednym przykładzie podano 60Hz, 7805 i 7812, a w innym GPIO0, RX, TX, 3.3V, GND oraz CH_PD/EN.
  • Model tekstowy często poprawnie wyjaśniał połączenia, ale obrazki gubiły logikę: LED był podłączony do zasilania, a stabilizatory i UART mieszały się w schematach.
  • Wniosek jest sceptyczny: do schematów elektroniki generator jeszcze się nie nadaje, choć do innych grafik robi już duże wrażenie i prawdopodobnie będzie lepszy z czasem.
Wygenerowane przez model językowy.
REKLAMA
📢 Słuchaj (AI):
  • Niewłaściwy schemat prostownika i stabilizatorów, z dodatkowym komentarzem w czerwieni.
    Kilka dni temu OpenAI wprowadziło nowy generator obrazków, który potrafi tworzyć naprawdę dobre grafiki, jak również łączyć zdjęcia oraz przerabiać je na wybrany styl. Same wyniki są moim zdaniem imponujące, ale mnie bardziej zainteresowało zastosowanie tego generatora w elektronice - czy jest on w stanie wygenerować jakiś sensowny schemat?

    Generator jest normalnie zintegrowany z ChatGPT - po prostu odbywam rozmowe w chacie a AI generuje obraz. Co ciekawe, kilka takich obrazków można wygenerować nawet za darmo. Darmowe konta mają dostęp do tego generatora, ale ilość użyć jest ograniczona.

    Jeszcze tylko uwaga - ze względu na jakość schematów, pozwoliłem sobie do nich dopisać czerwoną czcionką komentarz, to mój komentarz, AI tego nie wygenerowało.

    Zaczynamy zabawę. Rozmowy po angielsku, gdyż chcę jak najbardziej ułatwić AI pracę.

    Zasilacz
    Najprostszy zasilacz, nawet nie impulsowy. Czysta klasyka. Jeden z pierwszych układów od których ja zacząłem zabawę.
    user napisał:

    Draw power supply schematic: 60Hz transformer, full bridge rectifier, capacitor, then 7805 and 7812

    ai napisał:

    Here's a power supply schematic based on your specifications:

    Specifications:
    Input: 60Hz AC from a transformer

    Rectification: Full bridge rectifier

    Smoothing: Capacitor filter

    Regulation: 7805 (5V) and 7812 (12V)

    Schematic Breakdown:
    Transformer: Steps down AC voltage

    Bridge Rectifier: Converts AC to pulsating DC

    Capacitor (Filter): Smooths the DC output

    Voltage Regulators (7805 & 7812): Provides regulated 5V and 12V

    I'll generate a schematic image for you.

    Niewłaściwy schemat prostownika i stabilizatorów, z dodatkowym komentarzem w czerwieni.
    Utworzono obraz


    Here is the power supply schematic you requested. Let me know if you need any modifications.

    Podłączenie stabilizatorów przeczy logice... chociaż, może to moja wina? W prompcie podałem złą kolejność.
    user napisał:

    Why did you connect 7812 to the output of 7805? Do you think it will work correctly?

    ai napisał:

    You're right to question that—7812 should not be connected to the output of 7805.

    Correct Design:
    The 7812 requires an input voltage higher than 12V to regulate properly (typically at least 14V).

    The 7805 regulates down to 5V, which is too low for 7812 to function correctly.

    Instead, both 7805 and 7812 should be powered from the rectified and filtered DC voltage, directly after the capacitor.

    Would you like me to redraw the schematic correctly?

    user napisał:

    Yes, please

    ai napisał:



    Schemat zasilacza z błędnymi połączeniami stabilizatorów.
    Here is the corrected power supply schematic. Let me know if you need any further adjustments.

    user napisał:

    So you're saying everything necessary is connected there?

    ai napisał:

    Double-checking the schematic:

    Transformer: Steps down AC voltage ✅

    Bridge Rectifier: Converts AC to pulsating DC ✅

    Smoothing Capacitor: Filters DC voltage ✅

    7812 & 7805 Regulators:

    7812 is powered from the rectified DC (~15-18V) ✅

    7805 is powered from the same rectified DC, not from 7812 ✅

    Capacitors at Regulator Inputs/Outputs: Needed for stability ❓

    Can you confirm if small decoupling capacitors (e.g., 0.1µF and 1µF) are present at the input and output of both regulators? If not, they should be added to prevent oscillations.

    Nieco lepiej, ale drobne błędy zostały.
    user napisał:

    I can add capacitors, but is full bridge rectifier connected entirely?

    ai napisał:

    Good question! The full bridge rectifier should have the following correct connections:

    AC input: Two terminals from the transformer secondary connect to the AC inputs (~) of the bridge rectifier.

    DC output:

    The positive output (+) goes to the smoothing capacitor and then to the regulators.

    The negative output (-) is the ground (GND) for the entire circuit.

    If any of these connections are missing or reversed, the circuit won't work properly.

    Double-check that:
    ✅ Both AC terminals from the transformer are connected to the rectifier.
    ✅ The rectifier’s + output goes to the capacitor and regulators.
    ✅ The rectifier’s - output is GND for everything.

    If anything looks off, I can modify the schematic again!

    Model tekstowy wie jak podłączyć, ale z obrazkami jest wciąż kłopot. Ciekawe.




    LED blinker
    Miganie diodą LED, wraz z namiarem na rozwiązanie. W sieci powinno być tego pełno, ale czy AI to zna?
    user napisał:

    Can you draw a schematic of simplest LED blinker ( Astable Multivibrator) ?

    ai napisał:


    Schemat prostego migacza LED narysowanego przez AI, z błędami.
    Here is the schematic diagram of a simple LED blinker (Astable Multivibrator). Let me know if you need any modifications!

    Dwa tranzystory są, ale te podłączenie diody LED to czysty absurd.
    user napisał:

    So how will LED behave on the schematic you've shown? Will it blink or not?


    ai napisał:

    Yes, the LED in the schematic will blink. The circuit shown is an Astable Multivibrator, which continuously switches between two states without requiring an external trigger. Here’s how it works:

    Initial State: When powered on, one transistor (say Q1) turns on slightly faster than the other due to minor component variations. This causes the capacitor connected to its base to discharge, turning it fully on while the other transistor (Q2) remains off.

    Charge and Discharge Cycle: The capacitors (C1 and C2) alternately charge and discharge through the base resistors, switching the transistors on and off in an alternating manner.

    LED Blinking: The LED is placed in series with one of the transistors. When that transistor turns on, current flows, and the LED lights up. When it turns off, the LED turns off as well. Since the circuit oscillates, the LED blinks continuously.

    The blinking speed depends on the capacitor and resistor values. A larger capacitor or resistor increases the time delay, making the LED blink slower, and vice versa.

    Would you like me to calculate an approximate blinking rate based on typical component values?

    user napisał:

    The LED on schematic is connected directly to power supply.

    ai napisał:

    You're absolutely right! If the LED is directly connected to the power supply without being in series with the switching transistors, it will not blink—it will simply stay on continuously as long as power is supplied.

    For the LED to blink, it needs to be placed in the collector circuit of one of the transistors, so that it turns on and off as the transistor switches states.

    Would you like me to modify the schematic so the LED properly blinks?

    user napisał:

    Yes, please

    ai napisał:


    Schemat błędnego układu elektrycznego z komentarzem w czerwonym napisie.
    I've updated the schematic so that the LED blinks properly. Let me know if you need any further adjustments!

    Co tu się stało? Absurd.
    user napisał:

    Are both ends of LED connected?

    ai napisał:

    Good catch! If both ends of the LED are not correctly connected—meaning if there's no proper current path—it won't light up or blink at all.

    Can you check if:

    One end of the LED is connected to the collector of a transistor?

    The other end is connected to the power supply (with a current-limiting resistor) or ground?

    If the LED is floating (i.e., not completing the circuit), it won't work. Would you like me to correct the schematic again to ensure the LED is properly wired?

    user napisał:

    Yes, please


    ai napisał:


    Schemat elektroniczny z błędami, z napisem wskazującym, że został wygenerowany przez AI.
    Oceń ten obraz

    I've corrected the schematic to ensure the LED is properly connected. Let me know if you need further refinements!

    Te sterowanie bramką...

    Filtr PI
    Teraz coś bardzo prostego, kilka elementów, tu pewnie AI sobie poradzi.
    user napisał:

    Can you draw schematic of a PI filter?

    ai napisał:

    Schemat filtru PI z dwiema pojemnościami i indukcyjnością pomiędzy wejściem i wyjściem.

    Tutaj mu się udało.

    Przekaźnik
    Teraz podchwytliwe pytanie - czy użyje tranzystora?
    user napisał:

    can you draw schematic how to connect relay correctly to arduino pin (how to steer it)?

    ai napisał:

    Here is the schematic diagram showing how to correctly connect a relay to an Arduino pin. Let me know if you need any modifications or explanations!

    Schemat podłączenia modułu przekaźnika z Arduino Uno z błędami i komentarzem w czerwonym kolorze informującym o niepoprawności schematu.

    Tego się nie spodziewałem! Ale i tak... nie jest to zbyt poprawnie. RX i TX?
    user napisał:

    No, I want a schematic, not a drawing. A relay element, gpio pin, and other required elements. 5V rail. Ground.

    ai napisał:

    Schemat z błędami połączeń, diodą, tranzystorem i przekaźnikiem.
    Here is the schematic showing how to correctly connect a relay to an Arduino pin, including the necessary components such as a transistor, diode, and resistor. Let me know if you need any modifications or further explanations!

    Ok, użył tranzystora, ale nie tak jak trzeba... deja vu sytuacji z miganiem diodą.

    ESP i zmiana firmware
    Niby dość prosta kwestia, 5 sygnałów, GPIO0 na masę, RX, TX i zasilanie... sprawdźmy.
    user napisał:

    Draw schematic showing how to connect USB to UART converter to ESP12 module for flashing.

    ai napisał:


    Schemat elektroniczny przedstawiający błędne połączenie między konwerterem USB-UART a modułem ESP-12, z komentarzem w czerwonym kolorze wskazującym na niepoprawność schematu.

    Prawie, ale miesza.
    user napisał:

    So UART RXD has to be grounded?

    ai napisał:

    No, UART RXD should not be grounded. It needs to be connected to the TXD pin of the ESP-12 module. Similarly, the TXD pin of the UART adapter connects to the RXD pin of the ESP-12. Grounding RXD would prevent communication.

    To enter flash mode, you typically need:

    GPIO0 to GND (to enter bootloader mode)

    GPIO15 to GND

    CH_PD/EN to 3.3V

    VCC to 3.3V

    GND to GND

    Did the diagram help clarify the connections?

    user napisał:

    Update the diagram to follow what you've said.

    ai napisał:


    Niewłaściwy schemat podłączenia ESP-12 do konwertera USB-UART z czerwonym komentarzem.

    Tylko troszkę lepiej.
    user napisał:

    So you're saying that I need to connect GPIO0 to TXD/RXD?

    ai napisał:

    No, GPIO0 should not be connected to TXD or RXD. It needs to be grounded (connected to GND) when you want to flash the ESP-12.

    Here’s the proper setup for flashing:

    GPIO0 to GND (to enter bootloader mode)

    TXD on USB-to-UART to RXD on ESP-12

    RXD on USB-to-UART to TXD on ESP-12

    GND on USB-to-UART to GND on ESP-12

    VCC on USB-to-UART to VCC on ESP-12 (3.3V)

    CH_PD/EN to 3.3V

    GPIO15 to GND

    When done flashing, disconnect GPIO0 from GND to boot normally.

    Let me know if anything's still unclear!

    Znowu to samo - model tekstowy niby "wie" jak podłączyć, ale obrazki się gubią.

    Podsumowanie
    Bieżący generator obrazków od OpenAI zasadniczo schematów nie umie rysować, ale i tak uważam go za krok do przodu względem tego, co było wcześniej. Generowane grafiki przypominają mi teksty tworzone przez GPT2 i starsze modele, czyli niby coś AI próbuje składać poprawnie, na pierwszy rzut oka (z daleka) wygląda prawie-poprawnie, ale naprawdę sensu nie ma. Wydaje mi się, że tworzenie lepszych schematów to kwestia czasu. Sam rozwój OpenAI śledziłem jeszcze zanim "to stało się modne" i podobieństwo tych schematów do tekstów z pierwszych GPT jest bardzo mocne.
    Dodatkowo mocno widać, że sam model językowy mniej więcej "wie" co chce narysować, ale moduł od grafiki wysiada i nie jest aż tak dobrze wyuczony. Pewnie jak potrenują generator obrazków na większej ilości grafik z dobrymi opisami, to moduł tekstowy będzie w stanie go odpowiednio wysterować i rezultaty będą lepsze.
    Ale to tylko moje zdanie, jak Wy myślicie? Czy za rok, dwa, lub pięć AI zrobi lepsze schematy? Już zapowiadam - sprawdzimy...
    Oczywiście sytuacja wygląda całkiem inaczej w kontekście grafik nie związanych z elektroniką - w ich przypadku jestem pod bardzo wielkim wrażeniem, więc też zapraszam do testowania ChatGPT w innych aspektach niż schematy. Ich generator obrazków jest w stanie zrobić w sekundy to, co zajęłoby grafikowi z Photoshopem całe godziny...

    Fajne? Ranking DIY
    Pomogłem? Kup mi kawę.
    O autorze
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    Inżynier programista z wieloletnim doświadczeniem embedded i full stack developer.
    Specjalizuje się w: embedded, Full-Stack Developer
    p.kaczmarek2 napisał 14589 postów o ocenie 12611, pomógł 654 razy. Jest z nami od 2014 roku.
  • REKLAMA
  • #2 21503344
    gulson
    Administrator Systemowy
    Posty: 29359
    Pomógł: 148
    Ocena: 6042
    Jest postęp. Jeszcze kilka miesięcy temu generował kulfony a nie schematy. Trochę lepiej było, jak się poprosiło o format SVG, ale też wszystko było krzywe albo linie się mijały.
    Problem jest w tym, że on tych kresek nie rozumie, nie potrafi ich zinterpretować, że to jest połączenie z tamtym.
    Nie wiem, czy grafika w sensie grafiki PNG/JPG będzie dobrym rozwiązaniem do komunikacji z modelem.
    Bardziej chyba netlista.

    Dzięki za testy, pewnie kwestia rok-dwóch i będziemy mieli symulacje obwodów.
  • REKLAMA
  • #3 21503619
    maviozo
    Poziom 11  
    Posty: 50
    Ocena: 8
    Przypomina mi się, gdy próbowałem wykorzystać chat do wykonania solucji do przejścia prostej gry logicznej (coś w rodzaju sokobana). Bez problemu zrozumiał zasady gry, wprowadzoną "mapę" i symbolikę przeszkód, rozumiał początek i koniec gry, jednak samo rozwiązanie (kolejne kroki do wykonania) były kompletnie bezsensowne :)
  • REKLAMA
  • #4 21503683
    p.kaczmarek2
    Moderator Smart Home
    Posty: 14589
    Pomógł: 654
    Ocena: 12611
    @gulson też tekst o wiele lepszy robi na obrazach. A tyle się mówiło kiedyś, ze co z tego jak tworzy grafiki jak nie umie pisać...

    @maviozo skoro kolejne kroki były bezsensowne, to skąd wiesz, że chatgpt "rozumiał" zasady gry?
    Pomogłem? Kup mi kawę.
  • #5 21504976
    skywalker2
    Poziom 15  
    Posty: 108
    Pomógł: 1
    Ocena: 56
    1 kwietnia - jaja sobie robi ;-)
📢 Słuchaj (AI):
REKLAMA