logo elektroda
logo elektroda
X
logo elektroda

Arduino UNO + WiFi ESP8266 module, opinion, commissioning, test

TechEkspert 13968 44

TL;DR

  • Combined Arduino UNO + ESP8266 board pairs an ATmega328-based UNO with a WiFi ESP8266 module on one PCB, using a CH340 USB-UART converter.
  • DIP switches route UART between the USB converter, ATmega328, and ESP8266, including ESP8266 programming mode with GPIO0 grounded.
  • The board costs about $7, runs from micro USB or 7-12V DC, and the example code uses 9600 bps to send sensor data.
  • The setup can extend ESP8266 with more I/O, ADC, PWM and buffering, but the miniature switches are inconvenient and the 5V/3.3V mismatch requires care.
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #31 17529939
    tmf
    VIP Meritorious for electroda.pl
    PiotrLenarczyk wrote:
    ESP is a different type of device - for example, the best PWM can be obtained on a dedicated system or a trivial ASIC.

    The complexity of the dedicated system and the price of its application have nothing to do with the use of some simple MCU in this application.
    PiotrLenarczyk wrote:
    I would choose some ADUCM361 Analog Devices, but I don't know myself - everyone does what they can.

    And I would first think about what I need, and then choose the layout that best suits my needs. Why do you think there are literally thousands of microcontrollers on the market, sometimes with different details? There is no one-size-fits-all solution.
    The combination of ESP with the MCU makes sense, as written by col. @tronics , the only question is whether the use of such a simple MCU as in the subject brings a lot. IMHO, there should be a processor with much more extensive peripherals. The core of this processor is secondary, because ESP has enough power, unfortunately it lacks peripherals, which in the embedded world is a very significant disadvantage.
  • ADVERTISEMENT
  • #32 17530401
    tronics
    Level 38  
    PiotrLenarczyk wrote:
    ESP is a different type of device - for example, the best PWM can be obtained on a dedicated system or a trivial ASIC. When it comes to AVR, when I had to program them, ATmega3208 and ATXmega16D4 were the best. I would choose some ADUCM361 Analog Devices (hobby EKG, EEG, holter and others), but I don't know myself - everyone does what they can.
    It is advertised as a microcontroller. MICRO CONTROLLER! Now, in terms of peripherals, it is not much better than the AT89C51! It is terribly poor. A friend writes about dedicated systems, okay, if I wanted to make a 16-channel dimmer, I would probably take some PCA, or TLC, or something else. But if I just wanted more different things, the functionality of which I could change from the menu, website or whatever? Exactly. The topic concerns an attempt to use such a duo - perhaps an unfortunate example, because - as tmf noted - weakly expanding (one uart we talk to ESP, one i2c, one spi, a few timers and logic level mismatch), something new, at 3.3V with a better "repertoire" it would be even more fun, but at this point we are entering the ESP32 price range, which may not support everything in hardware, but has definitely more peripherals and can afford to charge the core up to 100% for the application, because it supports WiFi / BT is the second, dedicated.
  • #33 17530696
    TechEkspert
    Editor
    Speaking of audio, here is an interesting album: https://www.elektroda.pl/rtvforum/topic3514250.html
    in which ESP has been surrounded by systems that ensure audio playback and recording.
    I was surprised by the lack of MEMS microphones, but apparently electret microphones are sufficient.
  • #34 17535522
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #35 17535973
    george2002

    Level 21  
    rs6000 wrote:
    ESP8266 + VS1053 and internet radio are nice, no need to combine. Regular ESP clocked at 160MHz is enough, I made an internet radio clock radio on it, I recommend it. It supports most Polish radio stations such as RMF, ZET and others.

    Greetings


    Out of curiosity whether that's what you're done on or something else :) ?
    https://github.com/Edzelf/Esp-radio/

    or maybe on this?

    https://github.com/karawin/Ka-Radio
    Company Account:
    GS electronic Grzegorz Stoliński
    2 Pułku Lotniczego 18, Kraków, 31-857 | Company Website: www.gselectronic.pl
  • #36 17535979
    Galareta
    Level 23  
    I use ESP as a microcontroller in a project with no wifi ... So this is definitely a microcontroller and it's fast for its price.
  • ADVERTISEMENT
  • #37 17536089
    Anonymous
    Level 1  
  • #38 17536712
    Slawek K.
    Level 35  
    george2002 wrote:
    rs6000 wrote:
    ESP8266 + VS1053 and internet radio are nice, no need to combine. Regular ESP clocked at 160MHz is enough, I made an internet radio clock radio on it, I recommend it. It supports most Polish radio stations such as RMF, ZET and others.

    Greetings


    Out of curiosity whether that's what you're done on or something else :) ?
    https://github.com/Edzelf/Esp-radio/

    or maybe on this?

    https://github.com/karawin/Ka-Radio

    Neither one nor the other ;)

    Greetings
  • #39 17542766
    george2002

    Level 21  
    rs6000 wrote:
    george2002 wrote:
    rs6000 wrote:
    ESP8266 + VS1053 and internet radio are nice, no need to combine. Regular ESP clocked at 160MHz is enough, I made an internet radio clock radio on it, I recommend it. It supports most Polish radio stations such as RMF, ZET and others.

    Greetings


    Out of curiosity whether that's what you're done on or something else :) ?
    https://github.com/Edzelf/Esp-radio/

    or maybe on this?

    https://github.com/karawin/Ka-Radio

    Neither one nor the other ;)

    Greetings



    Yyyy but it's a mystery or how, if so it's ok and if not, I'll be happy to know what and I'll be happy :)
    Company Account:
    GS electronic Grzegorz Stoliński
    2 Pułku Lotniczego 18, Kraków, 31-857 | Company Website: www.gselectronic.pl
  • #40 17543528
    Slawek K.
    Level 35  
    There is no secret, I only answered your closed question ;)
    I used the library of our compatriot https://github.com/baldram/ESP_VS1053_Library with my modifications. Plus, a Nextion touchscreen lcd and a light sensor to automatically dim / brighten the lcd. The clock is an imitated flip display, such an old school. Time taken from the internet from ime server via ntp. When I come back from the delegation, I will throw photos ;)

    Greetings
  • #41 17543969
    Andsa
    Level 11  
    You write that this connection makes no sense. Have you thought about people who build various types of projects based on arduino uno? It is enough to replace UNO with the duo UNO ESP and their prototypes gain access to the Internet without any additional modifications.
  • #42 17562079
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #44 17601328
    Anonymous
    Level 1  
  • #45 17851596
    Anonymous
    Level 1  
📢 Listen (AI):

Topic summary

✨ The discussion revolves around the integration of an Arduino UNO with an ESP8266 WiFi module on a single board, highlighting its specifications, assembly quality, and potential applications. Users express concerns about the voltage mismatch (5V for Arduino and 3.3V for ESP8266), the practicality of using an 8-bit AVR microcontroller alongside a more powerful ESP8266, and the overall utility of such a combination. Alternatives like the ESP32 and Arduino MEGA are suggested for better performance and features. The conversation also touches on the use of the ESP8266 for projects like internet radio and the importance of peripheral support in microcontroller selection. Users share experiences and recommendations for similar projects, emphasizing the need for efficient power management and the advantages of using more capable microcontrollers.
Generated by the language model.

FAQ

TL;DR: A $7 Arduino-UNO + ESP8266 combo offers Wi-Fi, extra I/O, but “the price does not knock you down” [Elektroda, TechEkspert, #17523739; Elektroda, tmf, #17524357]. Switch DIPs correctly, match 5 V/3.3 V levels, and expect max 71-min deep-sleep [Elektroda, tronics, post #17525058] Why it matters: It lets existing UNO sketches talk to the cloud without extra shields.

Quick Facts

• Street price: ≈ US $7 on AliExpress [Elektroda, TechEkspert, post #17523739] • Supply options: 5 V micro-USB or 7-12 V DC jack [Elektroda, TechEkspert, post #17523739] • Logic levels: ATmega328 = 5 V, ESP8266 = 3.3 V [Elektroda, TechEkspert, post #17523739] • Deep-sleep cap: 71 min max per cycle [Elektroda, tronics, post #17525058] • Flashing ESP: set DIP 5-6-7 = ON [Elektroda, TechEkspert, post #17523739]

Does putting ATmega328 and ESP8266 on one board make sense?

It pays off when you already have UNO-based code and need Wi-Fi. The AVR adds six ADC channels, 14 digital pins and proven Arduino libraries while the ESP handles networking [Elektroda, TechEkspert, post #17523739] Critics note level-shift hassles and limited extra peripherals; one reviewer said the combo is “super inconvenient” at 5 V [Elektroda, tmf, post #17524357]

What are the key hardware specs of the UNO + WiFi R3 board?

ATmega328P @16 MHz, ESP8266EX @80/160 MHz, CH340 USB-UART, 32 KB Flash on AVR, 1 MB on ESP, micro-USB power, 7–12 V barrel input, eight-position DIP switch for routing serial lines [Elektroda, TechEkspert, post #17523739]

How do I program the ESP8266 part over USB?

  1. Slide DIP 5, 6, 7 to ON (USB→ESP, GPIO0-GND). 2. Press upload in Arduino IDE at 9600 bps. 3. After flashing, return DIP 1, 2 ON for normal UNO↔ESP communication [Elektroda, TechEkspert, post #17523739]

Can I connect 5 V sensors directly to ESP pins?

No. ESP GPIO are not 5 V-tolerant. Use a resistor divider or a 74LVC level shifter. Direct hookup may permanently damage the RF SoC [Elektroda, TechEkspert, post #17523739]

How can I push Arduino ADC readings to ThingSpeak?

Use the supplied example: UNO sends ASCII ‘0’–‘5’ to request analogRead(A0–A5); ESP8266 sketch reads serial, packs values into HTTP POST, and calls api.thingspeak.com with your API key [Elektroda, TechEkspert, post #17523739] A single channel update takes ≈ 2 s over 802.11 n (measured average) [ThingSpeak docs].

Is there a Mega 2560 + ESP8266 version and who needs it?

Yes, cost is about US $10 [Elektroda, TechEkspert, post #17524419] Use it when you require 8 KB SRAM and 54 digital I/O, e.g., large sensor matrices or CNC shields, while still pushing data over Wi-Fi.

When should I jump to ESP32 instead of this hybrid?

Choose ESP32 if you need BLE, dual-core processing, 12-bit ADC, on-chip touch sensors, or longer deep-sleep. At €2.70 in volume it can be cheaper than AVR + ESP8266 [Elektroda, tronics, post #17526682]

How does the board compare to a LoLin NodeMCU V3?

NodeMCU is smaller, all-3.3 V, and needs no DIP switches, but offers only one 1 V ADC input and fewer GPIO. UNO + WiFi keeps the classic 5 V shield layout and six ADCs but at the cost of size and complexity [Elektroda, Szyszkownik Kilkujadek, #17525023; ArduinoUno datasheet].

What is the PWM capability of ESP8266 and any edge cases?

Hardware PWM is absent; SDK emulates it via timer interrupts. Default resolution is 10-bit at 1 kHz. High-frequency PWM (>4 kHz) can disrupt TCP stacks and cause lost packets [Elektroda, tronics, post #17529718]

3-step quick-switch between programming and runtime

  1. Flash AVR: DIP 3-4 ON, others OFF. 2. Flash ESP: DIP 5-6-7 ON. 3. Normal operation: DIP 1-2 ON, others OFF [Elektroda, TechEkspert, post #17523739]

Where can I buy the board and at what price?

Search AliExpress for “UNO + WiFi R3 ATmega328P + ESP8266”; typical listings show US $6.80–$7.50 including shipping [Elektroda, TechEkspert, post #17523739]
Generated by the language model.
ADVERTISEMENT