logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

TL;DR

  • A DIY micro tower combines a radio, spectrum visualizer, and amplifier in two compact desktop enclosures.
  • The radio uses ESP32S3, a 2.8-inch IPS display, MPR121 touch sensing behind 4 mm tinted glass, and encoder-based station browsing.
  • The units measure 200x61x130 mm for the radio and 200x40x130 mm for the spectrum and amplifier sections.
  • The spectrum runs on an ESP32 using both cores, refreshing two 1.9-inch IPS displays at 37 to 41 FPS.
  • The amplifier is not hi-fi, uses a TPA3110 module and AVT kit 2132 tone control, and the station list is stored rigidly in firmware.
Summary generated by AI based on the discussion content.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #91 21904571
    efi222
    Level 22  
    Posts: 773
    Help: 12
    Rate: 1212
    tytka wrote:
    Here the cutter in aluminium completed with paint:

    And wouldn't it be useful to mask the IR receiver here? Some kind of tinted glass?
  • ADVERTISEMENT
  • PWM backlight control with BS170 and ESP32

    #92 21904900
    DJCheester
    Level 28  
    Posts: 2082
    Help: 75
    Rate: 956
    >>21901729

    Welcome.

    Regarding this PCB

    This is not identical to the author's design - i.e. the display board is designed from scratch so it (certainly) will not fit the author's case.

    If one wants to build a clone of the author's tower one should ask him for the PCB so that it fits his case.

    I am preparing a PCB to separately use the analyser for my audio equipment.

    So much for display PCBs

    As for the PCB of the analyser itself - here there will be changes so that (in my opinion) it will be more universal, i.e

    Additionally, it contains an infrared receiver

    I will add an encoder as the author Efi222 has on pins 27 and 25

    Analogue inputs will be as in the diagram, i.e. 36 and 39

    Displays as in the diagram

    5V power supply as I will design an ESP32 module on pins with a stabiliser on board

    From this ESP32 board we will only supply 3V3 to the displays

    Then PWM control via transistor BS170

    The GPT chat is written like this

    Code: Text
    Log in, to see the code


    Please verify for those who have already controlled such displays with PWM


    Greetings ...
  • 2.5w laser works well on engraving laminate

    #93 21904932
    tytka
    Level 23  
    Posts: 763
    Help: 8
    Rate: 1840
    efi222 wrote:
    Unfortunately, I own neither

    And I don't own a 3D printer for that.:) However, I did acquire a small CNC because I found it more useful for me.:)

    For the time being, I haven't done any trials of the laser with foil, because I just haven't had the need or the idea.
    The laser I have is also no gimmick. It's a solid-state laser with a power of 2.5W. But, as you can see, it works well with an engraving laminate. I just don't know what the thickness of the top layer of such a laminate is and how it relates to the thickness of such a foil.
    You can certainly use the engraving laminate to make a front for your own device. It comes in various colours and several thicknesses.

    I have also used my laser to engrave lettering and graphics on wood with positive results.
  • #94 21904946
    efi222
    Level 22  
    Posts: 773
    Help: 12
    Rate: 1212
    tytka wrote:
    The laser I own is also no gimmick. It's a 2.5W solid state laser

    I have no idea if that's high power or low power as far as lasers go.
    Maybe I'll get myself one someday :)

    DJCheester wrote:
    PWM control via BS170 transistor

    No transistor is needed for this display. There is already one on board the TFT. You can control the PWM brightness directly from the MCU pin.
  • #95 21904954
    DJCheester
    Level 28  
    Posts: 2082
    Help: 75
    Rate: 956
    efi222 wrote:
    No transistor is needed for this display. There is already one on board the TFT. You can control the PWM brightness directly from the MCU pin.


    And I haven't looked it would simplify things.

    Thanks...
  • #96 21904993
    efi222
    Level 22  
    Posts: 773
    Help: 12
    Rate: 1212
    One user noted a discrepancy in the designation of the ESP32S3 pins connected to the PCM5201 between the schematic and the source code. The pins on the radio's schematic diagram were incorrectly described. I have included the corrected schematic in the article.

    Please replace the schematic of the radio in the downloaded package.
  • #97 21905298
    James596
    Level 29  
    Posts: 1851
    Help: 140
    Rate: 534
    I praise you for your implementation of the spectrum analyser. It works just as it did in the old towers with VFD displays - smoothly and elegantly, rather than the modern blinkers that tend to work chaotically and indulgently.
  • 3D printing is easier and more forgiving than CNC

    #98 21905351
    robgold
    Level 23  
    Posts: 724
    Help: 10
    Rate: 290
    >>21904932 This as you own both a CNC and a 3D printer, I would answer yes:

    CNC is nice when you need to make something in aluminium. However, it requires a precisely prepared design, a lot of knowledge and skill from the operator. Even when we think we have everything super prepared, there is always the risk that the cutter will break, that the table surface is not perfectly flat with respect to the cutter (important with engraving).

    3D printing is much easier, more forgiving, possible mistakes are not costly. You won't get quality like you would in aluminium (unless you play tricks with cladding like in the above project), but the price makes up for it.

    The final CNC at my place stands and dusts, I do less and less things in aluminium. The 3D printer is working a lot more often. It's easier to create a part on the printer than to mill it properly. Almost always after printing, milling the first prototype comes the reflection, this I could improve, this I could do differently. While on the CNC the material is expensive (e.g. an expensive brushed aluminium front panel) and you have to turn a blind eye to imperfections, on the printer you make a correction and let the print go again without a moment's thought about the cost in the case of cheap materials like PLA, PETG, ABS, ASA.
  • ADVERTISEMENT
  • Preference for aluminium over printed parts

    #99 21905418
    tytka
    Level 23  
    Posts: 763
    Help: 8
    Rate: 1840
    robgold wrote:
    Finally the CNC at my place stands and dusts, I do less and less things in aluminium.

    Because a lot depends on our individual tastes.

    For some, ease is an asset (and there are some for whom it is a prerequisite), and I rather prefer challenges.

    For me, a print, even if well wrapped, is still just a print and cannot replace either the look or feel of aluminium.
    And the costs? Aluminium is indeed much more expensive. But on the other hand, when I am making a device that is to stand in a prominent place, I much prefer it to visually please me and I am able to bear the costs :)

    Also, with prints I have not had the best experience. Often after some time, printed parts working under a certain load most simply break, delaminate.


    James596 wrote:
    It works just like in the old towers with VFD displays

    The VFD is a different look though, in my opinion it has a bit more charm.

    Below is my retro fun with the VFD analyser:

    Turquoise-lit VFD display showing an audio spectrum analyzer with side level scales Turquoise-glowing VFD display with spectrum analyzer bars and frequency band labels
  • #100 21905423
    James596
    Level 29  
    Posts: 1851
    Help: 140
    Rate: 534
    tytka wrote:
    VFD it looks different though, in my opinion it has a bit more charm.


    There is no denying it. However, I think the pace and fluidity of the presented analyser mimics this well. :)
  • 3D-printed enclosure and SK6812 LED spectrum display

    #101 21905489
    efi222
    Level 22  
    Posts: 773
    Help: 12
    Rate: 1212
    More and more DIYers are sourcing a 3D printer. This project is a budget device that can be built by anyone with a printer and... an iron :) And as someone wrote here earlier, there's no space technology here. Admittedly, I once encountered a statement on Elektroda that 3D printing is not DIY.... I reply: if this person thinks that such an enclosure will be taken off the printer's table then good luck:)

    VFDs have their charm undeniably. However, there is often a sentimental feel reminiscent of a bygone era. Although these displays seem to be used in current hardware productions too.

    As for the movement of the bar in the spectrum, @398216 Usunięty presented the mathematical dependencies of this movement in some of his articles.
    I set it "by eye" :)

    VFD , TFT and then there is LED. I really like designs with LED. This optoelectronic element is very fast compared to the rather slow TFT. A different approach to animation.
    As an example, I attach a video of a full-size (436mm wide) spectrum on addressable SK6812 mini-E LEDs - for Denon equipment. Yes - I am a post geek :D
    The video is from a later stage of construction. Sorry for the background :)
    And in this case, without a 3D printer, no go. The pole displays need to be (manufactured).
    I don't know why the sound jitters a bit on Chrome PC. On android devices it is ok.


  • #102 21905543
    ArturAVS
    Moderator
    Posts: 26330
    Help: 2300
    Rate: 7814
    @efi222 Try making a "lamp" a'la VFD/Nixie on addressable diodes in some sort of test tube. There would probably be some interest. :D
    efi222 wrote:
    Yes - I'm a post geek

    :D I'll find a moment, then I'll get my old analyser up and running and record a video. Completely analogue with a VFD.
  • #103 21905664
    efi222
    Level 22  
    Posts: 773
    Help: 12
    Rate: 1212
    ArturAVS wrote:
    old analyser and record film. Completely analogue with VFD.

    This could be an interesting experience. I wonder if anyone would still undertake spectrum on analogue filters these days. Lots of work to do.

    And I'll come back to the 'lamps' again :)
  • Long-owned Sony MD/CD analyser awaiting power-up

    #104 21905668
    ArturAVS
    Moderator
    Posts: 26330
    Help: 2300
    Rate: 7814
    I have had this analyser for over 20 years. Mainly because of the equalizer, the analyser itself is a secondary function. The sentiment remains, and it sits waiting to be rechambered. A Sony MD/CD, it blended nicely with the other components of the set. The only thing I did after getting it was to remove the plastic filters from the display. Last year, just before BN Christmas, I was visited by a friend from whom I had 'acquired' it. -And you still have it! -How much do you want for it! When I get it up and running, (I don't know if it works, it's been a long time since it was switched on) I'll make a video of it working especially for you @efi222.
  • #105 21905673
    efi222
    Level 22  
    Posts: 773
    Help: 12
    Rate: 1212
    ArturAVS wrote:
    specially for you @efi222 , I will record a video of his work

    Super thanks :)
  • #106 21905679
    ArturAVS
    Moderator
    Posts: 26330
    Help: 2300
    Rate: 7814
    You will have a comparison of how the "bars" for the VFD work. The Audio track, is completely analogue, bandpass filters on LM324, + some "digital" to control the display itself (multiplexing etc).
    I haven't modified anything in it (apart from these filters). On the electronic side, factory.
  • ADVERTISEMENT
  • PETG preferred over PLA for durable printed parts

    #107 21905781
    robgold
    Level 23  
    Posts: 724
    Help: 10
    Rate: 290
    tytka wrote:
    Other than that, I have not had the best experiences with prints. Often after some time, printed components working under a certain load most simply break, delaminate.


    I don't have this experience but with me the minimum is PETG. PLA material has precisely the problems you write about.
    Radio Evo has a housing just printed from PETG and nothing has happened to it to this day and it's been well over a year. I have "caps" on my fence made of PETG and ABS for comparison and those made of PETG are still intact, yet it's frost and sun.


    A rather cool combination is the alu profile enclosure plus its own printed panel front. This combines a certain amount of elegance and at the same time the ease with which the holes for the display or buttons can be made


    DIY micro tower (desktop version) DIY micro tower (desktop version)

    Added after 2 [minutes]:

    >>21905664 Not that much. I have somewhere an old kit for assembling just such an analyser from the TODAKS company. A few amplifiers at a time. Simple design, I will find it to run :)
  • Aluminium enclosure can be built without 3D printing

    #108 21905784
    tytka
    Level 23  
    Posts: 763
    Help: 8
    Rate: 1840
    efi222 wrote:
    And in this case, without a 3D printer, no go. You have to (manufacture) the pole displays.

    Not a move? Are they really?
    Sorry, but as far as I'm concerned, that's a 3D printer user's opinion though.
    With a bit of ingenuity it is possible to do something similar without printouts.
    I don't want to negate your work here at all, on the contrary; I am full of admiration for what you do. Because what you do, you do very well indeed. However, with this opinion, I simply cannot agree.
    If you had stated here that it is much easier, then yes, then I would agree with such an opinion.

    ArturAVS wrote:
    "posts" for VFD. The Audio track, is completely analogue, bandpass filters on the LM324, + a bit of "digital" to control the display itself (multiplexing etc).


    Hmm... :) :)
    DIY micro tower (desktop version)


    robgold wrote:
    A rather cool combination is the alu profile enclosure plus its own printed panel front. It is such a combination of a certain amount of elegance and at the same time the ease of making holes for the display or buttons


    It worked out quite nicely for you,
    I, however, would still stay with the combination of aluminium and aluminium. It is more difficult to make, but it is doable.
    Below is a working photo of my design.
    Brushed aluminum device front with 19:56 display, three buttons, and a volume knob

    And let me assure you that my experience with the prints is unfortunately not off the mark.
  • ADVERTISEMENT
  • 3D-printed mounts for aluminium front panels

    #109 21905827
    robgold
    Level 23  
    Posts: 724
    Help: 10
    Rate: 290
    >>21905784 I'm not saying that alu is bad, because I did exactly the same as you, well maybe only the front would not have gone through with me. It had to be anodised on the spot or it had to be milled in such a way as to preserve the original. But time, playing around with the G-code, then setting up the milling machine. I guess as I got older I realised that you can live with print quality. I used to be very annoyed by layer marks. Nowadays, proper textured plates mask a lot and printers with closed heated chambers allow a lot more.

    I need to dust off that CNC and maybe do at least one Evo version in full Alu. You have encouraged me ;)
    Unquestionably being made in 100% aluminium gives a greater sense of prestige to the machine and quality. There is not even anything to discuss here.

    One more option that the 3D printer has given is the ability to print all the technical mounts in these aluminium housings. You make yourself a mount for an encoder or for a display out of PETG and with a good glue you attach it to the alu front. I think most professional equipment just combines such techniques. Only the simple front is made of brushed aluminium and behind it is a plastic support.

    I have, for example: such a Denon DNP to convert into an Evo. The printer allows you to make the entire SD card slot in a few minutes. The colour is specially designed for prototypes so that any flaws or shortcomings can be seen.

    DIY micro tower (desktop version) DIY micro tower (desktop version) DIY micro tower (desktop version)


    The OLED display has also been whisked away by someone and since it sits there at 3.55 inches and not 3.12 the printer is invaluable for making a proper conversion.
    DIY micro tower (desktop version)

    I'm throwing this in as inspiration, combining multiple processing techniques and materials always gives interesting results.
  • Suggestion for a VFD-style LED lamp in a test tube

    #110 21905850
    efi222
    Level 22  
    Posts: 773
    Help: 12
    Rate: 1212
    tytka wrote:
    Any move? Are you sure?
    Sorry, but as far as I'm concerned, that's a 3D printer user's opinion though.
    With a bit of ingenuity it is possible to do something similar without printouts.

    Well perhaps I have expressed myself badly. I had already thought about building such a spectrum before I acquired the printer. I am not afraid of various manual works. But unfortunately I had no idea how to make something like this homemade.


    Or else, to achieve this LED masking effect. Pixel size 2.6x14mm
    Colorful graphic equalizer bars labeled 32 Hz to 1 kHz on a black display

    The printer got the job done. This is the effect of the printed LED mask. A fragment of the spectrum presented it above.


    And regarding the PLA prints. I haven't noticed anything happening to them. I also have sensors from a weather station from four years outdoors in cold and hot weather. One even hangs in a printed openwork basket. Everything looks like it did in the beginning. Fact, with black prints you have to be careful in the sun. There are also a lot of different printed enclosures at home. And if there are greater requirements there is always PET-G.
    PLA is unlikely to break, it will only deform if some force acts on it for a long time. Well, unless someone wants to destroy something by force :)

    tytka wrote:
    I, however, will still stay with the combination of aluminium and aluminium. It is more difficult to make, but it is doable.
    Below is a working photo of my design.

    Beautiful work. In my opinion it would be even more beautiful with a larger window for the display. A larger margin around the display.

    robgold wrote:
    A rather cool combination is the alu profile type enclosure plus its own printed panel front. It is such a combination of a certain amount of elegance and at the same time the ease of making holes for the display or buttons

    Very cool form.

    Added at 11 [hours] 9 [minutes]:

    ArturAVS wrote:
    @efi222 Try making a "lamp" a'la VFD/Nixie on addressable diodes in some kind of test tube.


    As far as the spectrum is concerned, this is the kind of test I was doing (for a colleague):
    DIY micro tower (desktop version)

    Finishing the base with natural veneer:
    DIY micro tower (desktop version)

    And in movement:




    Still, I found a photo of the shut-offs for the LED Spectrum on LED. The compartments had to be lined with white veneer to diffuse the light. Anyone have any idea how to do something like this without 3D printing technology?
    DIY micro tower (desktop version)
  • #111 21906023
    ArturAVS
    Moderator
    Posts: 26330
    Help: 2300
    Rate: 7814
    Simply beautiful.
  • #112 21906063
    robgold
    Level 23  
    Posts: 724
    Help: 10
    Rate: 290
    >>21905850 All in all, a lot of work with this decking. Haven't you thought about printing it white and only the fronts possibly painted black or printing the overlays black?

    And how to do it without 3D printing...matchboxes. Such a first thought :D
    Probably some of us have such parts drawers ;)
  • Black filament needed to block light between chambers

    #113 21906104
    efi222
    Level 22  
    Posts: 773
    Help: 12
    Rate: 1212
    robgold wrote:
    Have you not thought to print it white and only the fronts possibly painted black

    The fenders have to be made of black filament. White lets light into the adjacent chamber.

    Pictorial images of one post.
    DIY micro tower (desktop version)
    DIY micro tower (desktop version)

    7 segment digits can also be made
    DIY micro tower (desktop version)
    Two black seven-segment digit modules with white segments on a wooden tabletop

    Weather station made of such figures. Demo mode.
    LED weather-station display with multicolor 7-segment digits and icons on a cluttered electronics workbench

    Illuminated lettering is etched thin laminate.
    Strip with black framed labels and white frequency text (e.g., 16 kHz, 500 Hz, 32 Hz)


    robgold wrote:
    And how to do it without 3D printing...a matchbox. That was my first thought

    Well not that size :D The post chamber is 3x17mm .
  • Laminate and copper sheet as 3D-print alternative

    #114 21906225
    tytka
    Level 23  
    Posts: 763
    Help: 8
    Rate: 1840
    robgold wrote:
    Only the simple front is made of brushed aluminium and behind it is a plastic support.

    This is often the case, although sometimes the internal support front plate is metal.
    In diy constructions, it can be made from laminate. With this, you can also make the necessary brackets and even mounts for the display. I have personally practised this.

    efi222 wrote:
    Have anyone an idea how to make something like this without 3D printing technology?

    I used to make something similar, but not quite as sizeable. And I made it out of thin laminate and thin copper sheet. At the end it was spray-painted. Unfortunately I don't have pictures of this construction of mine.

    efi222 wrote:
    As for the PLA printouts. I haven't noticed anything happening to them.

    I have no idea what the parts I had problems with were printed from. They were components of some equipment I was dealing with and clearly they were printed. They were used internally, so the factor of adverse weather conditions falls away. But as I mentioned they were subjected to some mechanical stress and this was most likely the cause of their delamination.
  • #115 21906445
    AP200
    Level 13  
    Posts: 42
    Rate: 2
    A very cool idea and even better execution.
  • #116 21906449
    robgold
    Level 23  
    Posts: 724
    Help: 10
    Rate: 290
    >>21906225 If the print is to be subjected to loads then it must be printed in the correct way otherwise it will start to crack at the joining of the layers as this is the weakest point. You need to print at an angle and rotate the object accordingly.
  • #117 21906459
    efi222
    Level 22  
    Posts: 773
    Help: 12
    Rate: 1212
    >>21906449
    Too low a temperature at the nozzle will result in poor thread bonding and therefore the final print will be weaker.
  • ABS enclosure with spray-painted, laser-burned labels

    #118 21906504
    tytka
    Level 23  
    Posts: 763
    Help: 8
    Rate: 1840
    >>21906459 >>21906449
    I cannot exclude the possibility that someone who printed these elements did not make some mistakes.

    And regarding applying descriptions to the front panel.
    Below is my attempt today.
    A working device, so it didn't have to look perfect. Universal housing made of ABS. Spray-painted front and laser-burned descriptions. A very soft and fusible material for such a method, but I think it came out tolerably well. Judge for yourself.

    DIY micro tower (desktop version)
  • #119 21906603
    Olkus
    Level 32  
    Posts: 3922
    Help: 132
    Rate: 918
    In my opinion - very good :)

    Regards,
    A.
  • #120 21906904
    robgold
    Level 23  
    Posts: 724
    Help: 10
    Rate: 290
    >>21906504 Did you give primer to the plastic under the paint proper? You can see just what you wrote, that the material is very fusible and made mountains from the laser but for a working device it is very decent!

    I've recently become interested in UV printers that can print complete descriptions of fronts. For example: eufyMake UV E1 ...only the price :/
📢 Listen (AI):

FAQ

TL;DR: To FAQ dla osób budujących biurkową mikro wieżę DIY: front z 4 mm szkła, trzy moduły i obsługa, która „działa bardzo komfortowo”. Wyjaśnia, jak uruchomić radio i widmo na ESP32, jak zrobić dotyk przez przyciemniane szkło oraz jak uniknąć typowych błędów z TFT_eSPI, pinami i polaryzacją głośników. [#21903418]

Dlaczego to ważne: Ten wątek pokazuje nie tylko efektowną obudowę, ale też praktyczne rozwiązania problemów, które zwykle zatrzymują podobne projekty: dotyk przez szkło, kompilację starego core ESP32, OTA i błędy okablowania.

Obszar Zastosowane rozwiązanie Dlaczego właśnie to
Panel radia MPR121 + szkło 4 mm Obsługa podświetlanych pól dotykowych za szkłem
Przyciski wzmacniacza TTP223 Działały tam, gdzie patent z MPR121 i PLA się nie sprawdził
Końcówka mocy gotowy moduł TPA3110 Mała, prosta i wystarczająca do biurkowej mikro wieży

Najważniejszy wniosek: Najtrudniejsze w tym projekcie nie było samo ESP32, lecz dopracowanie integracji: czułości dotyku, zgodności bibliotek, mapowania GPIO i detali mechanicznych. Gdy te cztery rzeczy są poprawne, reszta składa się przewidywalnie.

Quick Facts

  • Wymiary modułów są typowo biurkowe: radio 200 × 61 × 130 mm, a widmo ze wzmacniaczem 200 × 40 × 130 mm. To pozwoliło utrzymać kompaktową, lekką konstrukcję. [#21899218]
  • Zasilanie jest rozdzielone: wzmacniacz pracuje z zewnętrznego zasilacza 12 V / 2 A, a pozostałe moduły dostają 5 V USB-C z jego wyjścia. [#21899218]
  • Dotyk przez szkło działa na polach o wymiarach 17 × 9 mm z przerwą 2 mm, ale wymaga zwiększonej czułości i dobrego dociśnięcia elektrod do szyby. [#21899490]
  • Widmo odświeża oba wyświetlacze z szybkością około 37–41 Hz, używając obu rdzeni ESP32 do próbkowania ADC i FFT. [#21899218]
  • Cała wieża waży około 1,3 kg, dlatego autor zrezygnował z wciskanego przycisku enkodera; nacisk przesuwałby urządzenie po biurku. [#21903418]

1. Jak wykonano przydymiony front szklany dla radia ESP32 i dlaczego wybrano szkło „anisol black” 4 mm zamiast pleksi?

Front wykonano z przyciemnianego szkła „anisol black” 4 mm, a panel maskujący to wydruk przyklejony samoprzylepną folią do gładkiej powierzchni szkła. Autor wybrał szkło zamiast pleksi, bo pleksi z czasem się rysuje, a szkło zachowuje „połysk szkła” i lepiej wygląda na froncie urządzenia. Krawędzie nie muszą być idealnie szlifowane, bo w tej konstrukcji są ukryte; autor często tylko je tępi papierem ściernym. [#21900849]

2. Jakie modyfikacje były potrzebne w bibliotece Adafruit_MPR121, aby przyciski dotykowe działały niezawodnie przez przyciemniane szkło 4 mm?

Trzeba było zwiększyć czułość biblioteki Adafruit_MPR121 i uruchamiać autokalibrację pól przy starcie programu. Autor udostępnił zmodyfikowaną bibliotekę w katalogu src/Adafruit_MPR121 i zaznaczył, że domyślne ustawienia były zbyt mało czułe dla szkła 4 mm. Dodatkowo pola mają 17 × 9 mm, odstęp 2 mm i muszą ściśle przylegać do szyby, bo luźne ułożenie pogarsza wykrywanie dotyku. [#21899490]

3. Dlaczego autor użył MPR121 w panelu radia i modułów TTP223 do przycisków wzmacniacza zamiast jednego rozwiązania dotykowego wszędzie?

Bo oba miejsca miały inne wymagania mechaniczne i optyczne. MPR121 sprawdził się w radiu za szkłem, gdzie potrzebne były podświetlane pola dotykowe. TTP223 zastosowano w selektorze wejść wzmacniacza i włączaniu modułów, bo patent z MPR121 nie działał poprawnie z przyciskiem z PLA, nawet gdy materiał był cieńszy niż szkło. To dało dwa niezawodne układy zamiast jednego kompromisu. [#21899218]

4. Czym jest tryb AP w tym analizatorze widma ESP32 i jak działa bezprzewodowy WebUpdate z przeglądarki?

Tryb AP to lokalny punkt dostępowy Wi‑Fi uruchamiany przez analizator do bezprzewodowej aktualizacji pliku .bin. „AP mode” jest trybem sieciowym, który tworzy własną sieć Wi‑Fi urządzenia, bez routera, i udostępnia stronę aktualizacji z przeglądarki.
  1. Przytrzymaj przycisk „update” około 3 s.
  2. Połącz się z siecią micro_widmo, hasło 12345678.
  3. Wpisz w przeglądarce 192.168.30.50 i wyślij firmware.
Autor zaznaczył, że to wersja testowa, ale działająca. [#21908843]

5. Jak poprawnie skompilować i uruchomić projekt widma na ESP32 z core 1.0.4 i TFT_eSPI bez błędów bibliotek?

Trzeba użyć starego core ESP32 1.0.4, odpowiedniego User_Setup dla TFT_eSPI i poprawki nagłówka w bibliotece. Najczęstszy błąd wynikał z kompilacji na core 3.3.8, który zmienił API timerów i WebServera.
  1. Zainstaluj core ESP32 1.0.4.
  2. Skopiuj plik User_Setup z katalogu SETUP_TFT_ESPI do głównego katalogu TFT_eSPI.
  3. Gdy trzeba, w Processors/Tft_espi.h zakomentuj wpis #hal/gpio_11.h.
Po tej sekwencji użytkownicy potwierdzili poprawną kompilację i start wyświetlaczy. [#21907200]

6. Dlaczego projekt widma wymaga starszej wersji core ESP32, takiej jak 1.0.4, i co psuje się w nowszych wersjach przy próbkowaniu ADC powyżej 40 kHz?

Bo wersja 1.0.4 była ostatnią, która pozwalała na próbkowanie ADC powyżej 40 kHz w sposób potrzebny temu projektowi. Autor napisał wprost, że każda kolejna wersja była pod tym względem gorsza. Na nowszych core spada przetwarzane pasmo: jeden z użytkowników zauważył, że przy core 2.0.17 widmo obejmowało tylko około 10 kHz. To uderza bezpośrednio w użyteczność analizatora FFT. [#21907102]

7. Co dokładnie trzeba zmienić w TFT_eSPI, łącznie z User_Setup i poprawką nagłówka hal/gpio, aby kod widma się budował?

Trzeba podmienić konfigurację sterownika i usunąć konflikt nagłówka. Konkretnie autor zalecił skopiowanie pliku User_Setup z folderu SETUP_TFT_ESPI do katalogu głównego biblioteki TFT_eSPI, bo trzyma on ustawienia sterownika wyświetlacza, SPI i innych parametrów. Następnie w Processors/Tft_espi.h należy zakomentować wpis #hal/gpio_11.h. Bez tego użytkownicy zgłaszali błędy typu „No such file or directory” oraz problemy z kompatybilnością biblioteki z core 1.0.4. [#21899218]

8. Które płytki ESP32 nadają się do tego projektu i jak etykiety GPIO na płytkach deweloperskich mapują się do oryginalnych nazw ESP32-WROOM-32 i ESP32-S3 ze schematów?

Do widma autor wskazał ESP32-WROOM-32D albo starszy ESP32-WROOM-32, a do radia ESP32-S3 1NR16R8. Płytki deweloperskie też mogą działać, ale schematy pokazują oryginalne nazwy GPIO, nie opisy z płytek. Dlatego trzeba sprawdzić mapowanie wyprowadzeń konkretnego developera na właściwe porty ESP32. To ważne szczególnie przy wyświetlaczach, enkoderze i I2S, bo błędne przeniesienie numerów z nadruku płytki kończy się brakiem obrazu lub błędną obsługą wejść. [#21903157]

9. Dlaczego wyświetlacze LEFT/RIGHT w widmie były zamienione i jak naprawić kolejność kanałów przez zmianę okablowania CS?

Były zamienione, bo autor nie przełożył przewodów linii CS dla dwóch wyświetlaczy przed publikacją projektu. Sam przyznał, że planował to zrobić wcześniej, ale finalnie „poszło na forum” z odwrotną kolejnością kanałów. Naprawa jest prosta: trzeba zamienić przewody CS między lewym i prawym ekranem. Autor później potwierdził, że właśnie tak należy przywrócić poprawne LEFT na lewo i RIGHT na prawo. [#21899772]

10. Jaka jest różnica między ESP32-WROOM-32, ESP32-WROOM-32D i ESP32-S3 1NR16R8 w kontekście tej mikro wieży DIY?

W tym projekcie różnica jest funkcjonalna: WROOM-32 / 32D obsługują analizator widma, a ESP32-S3 1NR16R8 obsługuje radio internetowe z ekranem 2,8 cala i MPR121. Widmo korzysta z dwóch rdzeni ESP32 do ADC i FFT oraz z dwóch wyświetlaczy 1,9 cala. Radio ma inną rolę: listy stacji, audio I2S i aktualizacje przez przeglądarkę. Autor podał też, że do widma pasuje WROOM-32D lub starszy WROOM-32, więc 32D jest tu praktycznym następcą starszej wersji. [#21899218]

11. TPA3110 klasy D kontra LM1876 lub LM3886 — co lepiej pasuje do małej biurkowej mikro wieży DIY i dlaczego?

Do małej, lekkiej mikro wieży lepiej pasuje gotowy TPA3110, jeśli priorytetem są rozmiar i prostota, a nie audiofilski tor. Autor użył modułu TPA3110 świadomie i zaznaczył, że to „nie jest Hi‑Fi”. W dyskusji pojawiły się głosy za LM1876/LM3886 dla lepszej jakości, ale też kontrargument, że dobra aplikacja TPA3116 z tej rodziny potrafi wypaść bardzo dobrze. W praktyce w tym projekcie ważniejsze były małe gabaryty obudowy i szybka integracja niż maksymalna jakość wzmacniacza. [#21899855]

12. Jak zrobić trwałe napisy na panelu czołowym i oznaczenia przycisków z użyciem drukarki laserowej, papieru samoprzylepnego, podgrzewania tonera i matowego lakieru?

Najtrwalsza metoda z wątku to wydruk laserowy na błyszczącym papierze samoprzylepnym, podgrzanie tonera i wykończenie lakierem matowym. Autor drukuje napisy, ogrzewa wydruk gorącym powietrzem aż toner zacznie się błyszczeć, nakleja etykietę, przycina nadmiar, szlifuje krawędź drobnym pilnikiem, retuszuje czarnym markerem białe brzegi papieru i na końcu daje matowy lakier bezbarwny. Na zdjęciu pokazał litery o wysokości około 2 mm. [#21902080]

13. Co powoduje słaby lub zniekształcony obraz stereo, gdy moduł TPA3110 ma jeden kanał głośnikowy podłączony z odwróconą polaryzacją, i jak zweryfikować poprawne wyjścia?

Odwrócona polaryzacja jednego kanału wprowadza przeciwfazę, przez co niskie częstotliwości częściowo się znoszą, a scena stereo robi się słaba i nienaturalna. Użytkownik wskazał, że na tym module błędnie opisano polaryzację wyjścia prawego kanału. Autor po tymczasowym odwróceniu przewodu potwierdził wyraźną poprawę „przestrzeni stereo i ogólnego brzmienia”. Weryfikację najlepiej zrobić według noty katalogowej układu TPA oraz porównując efekt odsłuchowy przed i po zamianie przewodów kanału prawego. [#21907328]

14. Jak zaprojektować system pilota IR dla wielomodułowej wieży z radiem, analizatorem widma, wzmacniaczem i przyszłymi modułami BT/SD?

Najprostszy wariant to osobny odbiornik IR w każdym module i różne przyciski pilota dla różnych funkcji. W dyskusji zaproponowano standard NEC, odbiorniki TSOP31238 i przypisanie oddzielnych klawiszy do radia, widma i wzmacniacza. Autor rozważał też wariant centralny: IR tylko we wzmacniaczu, a dalej komendy po UART do pozostałych modułów. Dla obecnej architektury prostszy i mniej inwazyjny jest jednak pierwszy wariant, bo nie wymaga dodatkowej magistrali między segmentami wieży. [#21900122]

15. Czym jest układ audio TDA7313 i jak wypada na tle TDA7318 oraz TDA8425 do wyboru wejść, głośności, balansu i regulacji barwy w wzmacniaczu DIY?

TDA7313 to procesor audio sterowany przez I2C, który łączy selektor wejść, głośność, balans i regulację barwy w jednym układzie. W wątku podano, że ma 3 wejścia, regulację barwy w 15 krokach po 2 dB i głośność w 63 krokach. TDA7318 jest z tej samej rodziny i ma 4 wejścia. TDA8425 według jednego z uczestników gra nieco lepiej, ale tylko trochę; nadal nie jest to układ wybitny jakościowo. Do małego wzmacniacza DIY wygrywa funkcjonalnością i prostszą integracją. [#21913240]
Summary generated by AI based on the discussion content.
ADVERTISEMENT