# Uno+WiFi / Mega+WiFi

**URL:** <https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524>\
**Category:** 3rd Party Boards\
**Created:** [October 14, 2025, 4:33am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524 "2025-10-14T04:33:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mickhowe](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mickhowe/32/744654_2.png) [@mickhowe](https://forum.arduino.cc/u/mickhowe)\
**Post date:** [October 14, 2025, 4:33am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/1 "2025-10-14T04:33:09Z")

</div>

I’ve got both the Uno+wifi and the Mega+wifi bought about 2016. Haven’t managed to use them yet, I think I’m misunderstanding the instructions.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [October 14, 2025, 5:58am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/2 "2025-10-14T05:58:29Z")

</div>

Hi @mickhowe. I think you make a good point about these boards being a bit confusing to work with. I don't have experience with these specific boards, but I do have experience with using the similar shields with UNO R3 boards (which is likely functionally equivalent to your "Uno+wifi" board).

The most challenging thing I encountered with that hardware is that the ATmega328P microcontroller communicates with the ESP8266 Wi-Fi adapter using the same Serial interface that is used for communication with the computer. This means you can use the board in one two distinct configurations, controlled by changing the positions of the little DIP switches:

- ATmega328P communicates with computer
- ATmega328P communicates with ESP8266

(there is actually a 3rd where the ESP8266 communicates with the computer, but that is only needed to perform specific rare tasks)

This of course means you must fiddle with the DIP switches before and after each sketch upload, since the board must be in the "ATmega328P communicates with computer" configuration to upload a sketch, but must be in the "ATmega328P communicates with ESP8266" mode for the sketch program to use Wi-Fi. However, it also poses a more serious difficulty, which is that you can only print debugging information to the Arduino IDE Serial Monitor when the board is in the "ATmega328P communicates with computer" configuration, so you don't have any easy way to get information about what is happening while the sketch program is using Wi-Fi.

This could be solved by using a different serial interface for communication between the ATmega328P and the ESP8266, using jumper wires to connect the pins of that serial interface to the RX and TX pins of the ESP8266. However, the ATmega328P only has one hardware serial interface, so you would need to use the SoftwareSerial library to created another serial interface for that purpose. Unfortunately this is not as easy as it might seem due to the fact that the "AT" firmware on the ESP8266 communicates at 115200 baud by default, which is higher than the maximum baud rate SoftwareSerial can support. So you must adjust the configuration of the AT firmware to communicate at the 19200 baud that is supported by SoftwareSerial (this is a use case for the "ESP8266 communicates with the computer" board configuration).

The situation is better with with the "Duinotech MEGA 2560 r3 Main Board with Wi-Fi" board (XC4421) because the ATmega2560 microcontroller has multiple hardware serial ports, so you can have one dedicated to communication with the computer as usual, and a separate one dedicated to communication with the ESP8266. The board even has a switch that allows you to connect the ESP8266 to the `Serial3` interface on the ATmega2560!

As far as the code side of things, I have used this library, which implements the standard Arduino "WiFi" library API for this hardware:

> **[GitHub - bportaluri/WiFiEsp: Arduino WiFi library for ESP8266 modules](https://github.com/bportaluri/WiFiEsp)**
>
> Arduino WiFi library for ESP8266 modules

This allows you to use the same code as you would for other Wi-Fi enabled boards.

Although the library is generally well made, the developer made the poor decision to make the library print debug information by default, and stubbornly refuses to fix it. Although it is useful to have the option to output debug information, it is not something that should be enabled by default, since this output will use a significant amount of memory and processing resources even when you don't need it. Worse, due to the fact that this debug information is printed on the `Serial` interface, that causes it to be incompatible with the hardware configuration where communication with the ESP8266 is done via the `Serial` interface:

> <https://github.com/bportaluri/WiFiEsp/pull/46>
>
> This allows use with ESP8266 connected to Serial without needing to edit the lib…rary, reduces memory usage and decreases execution times.

To make matters worse, the library doesn't provide any user friendly mechanism for disabling the debug output. The only way to do it is by modifying the source code of the library.

However, the debug output won't cause incompatibility with the superior hardware configuration where communication with the ESP8266 is done via a different serial interface (though the problem of inefficiency remains). And even if you are using the `Serial` interface you can fix it by editing the library source code.

* * *

In conclusion, my opinion is that there are some specific aspects in which this hardware is superior to the more modern alternatives (which are superior in many other aspects):

- You want to use the AVR architecture (due to it being extremely well supported by the Arduino community, or because its simplicity makes it well suited to understanding even the low level concepts)
- (as already mentioned by `@Wawa`) You need a lot of I/O pins that support 5 V logic levels.

I would recommend against the "UNO" variant of the board due to the lack of an extra hardware serial port. I don't have any experience with the "Mega" variant, but it looks pretty nice.

> [@mickhowe](#):
>
> Haven’t managed to use them yet, I think I’m misunderstanding the instructions.

If you would like assistance with that, just provide a detailed description of the problem you encountered.

---

<div class="post-metadata">

**Author:** ![mickhowe](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mickhowe/32/744654_2.png) [@mickhowe](https://forum.arduino.cc/u/mickhowe)\
**Post date:** [October 15, 2025, 2:22am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/3 "2025-10-15T02:22:45Z")

</div>

I got started with arduino on getting out of hospital after 3 months following a heart attack. I needed something to occupy my mind. I could manage with the regular uno & mega boards but not the +wifi versions. I dug out my box of bit a couple of weeks ago. I currently have Uno, Mega and Due boards I can use. If I found someone to help at my home (Southern end of Wollongong, NSW) it would be a bonus, if not I can stomach the loss. The best description I can manage of the problem is my computer (ArchLinux) doesn’t acknowledge them when I plug them in. I wouldn’t expect anyone to try to diagnose from that.

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 15, 2025, 4:57am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/4 "2025-10-15T04:57:54Z")

</div>

Hello @mickhowe

I've split your post from another post so it can get the attention that it deserves.

Hijacking topics is in general not the best idea as it can confuse people.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [October 15, 2025, 5:00am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/5 "2025-10-15T05:00:43Z")

</div>

> [@mickhowe](#):
>
> The best description I can manage of the problem is my computer (ArchLinux) doesn’t acknowledge them when I plug them in.

I'm not sure I understand what you mean by this.

Please try this experiment and then report the results:

1. Disconnect the USB cable of the Arduino board from your computer.
2. Select **Tools \> Port** from the Arduino IDE menus.
3. Take note of the ports (if any) listed in the menu.
4. Close the **Tools** menu.  
❗ The ports list is only updated when the **Tools** menu is re-opened, so this step is essential.
5. Connect the Arduino board to your computer with a USB cable.
6. Select **Tools \> Port** from the Arduino IDE menus.

Did you see a new port in the menu at step 6?

---

<div class="post-metadata">

**Author:** ![Juraj](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/juraj/32/238785_2.png) [@Juraj](https://forum.arduino.cc/u/Juraj)\
**Post date:** [October 15, 2025, 9:01am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/6 "2025-10-15T09:01:08Z")

</div>

> **[GitHub - JAndrassy/WiFiEspAT: Arduino networking library. Standard Arduino WiFi...](https://github.com/JAndrassy/WiFiEspAT)**
>
> Arduino networking library. Standard Arduino WiFi networking API over ESP8266 or ESP32 AT commands.

---

<div class="post-metadata">

**Author:** ![mickhowe](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mickhowe/32/744654_2.png) [@mickhowe](https://forum.arduino.cc/u/mickhowe)\
**Post date:** [October 16, 2025, 1:34am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/7 "2025-10-16T01:34:17Z")

</div>

First Mega+Wifi

1. All USB cables removed from sockets (except mouse & Canon printer)
2. Tools\>Port
3. Shows No boards found for””: Ports: /dev/ttyS0 : Serial Port /dev/ttyUSB0 Serial Port (USB)
4. Closed & reopened
5. Connected
6. Shows No boards found for””: Ports: /dev/ttyS0 : Serial Port /dev/ttyUSB0 Serial Port (USB)

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 16, 2025, 3:51am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/8 "2025-10-16T03:51:53Z")

</div>

First test

1. Disconnect the board.
2. Run _lsusb_.
3. Connect the board.
4. Run _lsusb_ again.

Observe the differences.

Second text

1. Disconnect the board.
2. Run _dmesg -w_; the application will not close.
3. Press \<enter\> a few times to create some spacing for the next step.
4. Connect the board.

Observe the additional output; post here (using code tags) if needed.

---

<div class="post-metadata">

**Author:** ![mickhowe](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mickhowe/32/744654_2.png) [@mickhowe](https://forum.arduino.cc/u/mickhowe)\
**Post date:** [October 16, 2025, 5:54am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/9 "2025-10-16T05:54:24Z")

</div>

First lsusb contained 12 entries, 2nd time 13, the new one was

“Bus 001 Device 012: ID 1a86:7523 QinHeng Electronics CH340 serial converter”

dmesg output:

[106736.832512] ch341 1-8:1.0: ch341-uart converter detected  
[106736.846616] usb 1-8: ch341-uart converter now attached to ttyUSB0  
[106887.253287] usb 1-8: USB disconnect, device number 12  
[106887.253472] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0  
[106887.253489] ch341 1-8:1.0: device disconnected  
[107108.134721] usb 1-8: new full-speed USB device number 13 using xhci\_hcd  
[107108.424231] usb 1-8: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54  
[107108.424238] usb 1-8: New USB device strings: Mfr=0, Product=2, SerialNumber=0  
[107108.424240] usb 1-8: Product: USB2.0-Serial  
[107108.445562] ch341 1-8:1.0: ch341-uart converter detected  
[107108.458699] usb 1-8: ch341-uart converter now attached to ttyUSB0

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 16, 2025, 6:06am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/10 "2025-10-16T06:06:15Z")

</div>

> [@mickhowe](#):
>
> [107108.458699] usb 1-8: ch341-uart converter now attached to ttyUSB0

In the IDE, select ttyUSB0 for the port.

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 16, 2025, 6:26am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/11 "2025-10-16T06:26:40Z")

</div>

You will more than likely also have to give yourself permissions to access the serial port; first run `ls -l /dev/ttyUSB0`.

```plaintext
wim@2E-5E-07-7E-30-FD:~$ ls -l /dev/ttyUSB0
crw-rw----. 1 root dialout 188, 0 Oct 16 08:10 /dev/ttyUSB0
wim@2E-5E-07-7E-30-FD:~$ 

```

`dialout` is the group that owns /dev/ttyUSB0 so you need to make yourself a member of that group; the name on your system might be different (not familiar with archLinux).

Yoy can check if you're a member of that group with the `groups` command.

```plaintext
wim@2E-5E-07-7E-30-FD:~$ groups
wim wheel dialout
wim@2E-5E-07-7E-30-FD:~$ 

```

If you're not a member, run the following command

```plaintext
sudo usermod -a -G theGroup yourUsername

```

See e.g. [https://support.arduino.cc/hc/en-us/articles/360016495679-Fix-port-access-on-Linux#dialout](https://support.arduino.cc/hc/en-us/articles/360016495679-Fix-port-access-on-Linux#dialout).

After that you can verify that you're now a member of that group

```plaintext
wim@2E-5E-07-7E-30-FD:~$ groups
wim wheel dialout
wim@2E-5E-07-7E-30-FD:~$ 

```

---

<div class="post-metadata">

**Author:** ![mickhowe](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mickhowe/32/744654_2.png) [@mickhowe](https://forum.arduino.cc/u/mickhowe)\
**Post date:** [October 17, 2025, 12:28am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/12 "2025-10-17T00:28:02Z")

</div>

I can't remember if I have already said this but my regular boards UNO x2, MEGA x2, DUEx1 all work fine - correct sketch entered does 'what it says on the box', it only the +WIFI boards that are not working "as advertised".  
I just tried selecting Adafruit Feather HUZZAH ESP8266 as the board on /dev/ttyUSB0 and the random sketch that was loaded in the IDE compiled and loaded. This is the first time I have had a board recognised as mega with ESP8622 + first time a sketch has compiled & loaded. I don't have the modules etc setup to test running

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [October 17, 2025, 12:45am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/13 "2025-10-17T00:45:03Z")

</div>

Which "Mega+WiFi" board are you actually talking about.  
I only know about a non-standard XC4421 Jaycar board with two separate processors (Mega and ESP8266) that can be disconnected (and coded indivudually) or serial joined with dip switches. Not sure how well that works (communicating with AT commands).  
Leo..

---

<div class="post-metadata">

**Author:** ![mickhowe](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mickhowe/32/744654_2.png) [@mickhowe](https://forum.arduino.cc/u/mickhowe)\
**Post date:** [October 17, 2025, 2:18am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/14 "2025-10-17T02:18:51Z")

</div>

The boards I am dealing with are 2 x Jaycar XC4421 Duinotech Mega+WiFi and 2 x Jaycar XC4411 Duinotech UNO+WiFi boards I bought from Jaycar Enogora (Brisbane) May 2016. I tried code for the Adafruit Feather board on the basis most "OFF Brand" boards are made by a couple of Chinese factories from the same plans and sold packaged and branded for anyone who wants to market clones.

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 17, 2025, 3:21am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/15 "2025-10-17T03:21:15Z")

</div>

You did mention that you had other boards but it was not clear to me if you could upload to those.

It's also not clear to me what your exact problem is; the only thing till now is the below

> [@mickhowe](#):
>
> The best description I can manage of the problem is my computer (ArchLinux) doesn’t acknowledge them when I plug them in.

That problem seems to be solved because you get a ttyUSB0.

You'll have to provide more details about the problem that you're experiencing now.

1. Can't you select the port in the IDE?
2. If you can select the port,
  - Which board are you compiling for?
  - What are the dipswitch settings?
  - What are the errors that you get when you perform an upload. Enable _verbose output during upload_ under file → preferences, perform an upload and post the complete output here using code tags.

Note:  
I'm not familiar with those boards.

---

<div class="post-metadata">

**Author:** ![mickhowe](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mickhowe/32/744654_2.png) [@mickhowe](https://forum.arduino.cc/u/mickhowe)\
**Post date:** [October 17, 2025, 3:56am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/16 "2025-10-17T03:56:03Z")

</div>

With the Mega+WiFi that I unpacked immediately before starting the test I plugged it in and had /dev/ttyS0 & /dev/tty/USB0. The only board that showed was Adafruit Feather HUZZAH ESP8266 so I selected that board and loaded a random sketch. The loading of the sketch completed without error.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [October 17, 2025, 4:01am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/17 "2025-10-17T04:01:06Z")

</div>

> [@mickhowe](#):
>
> I selected that board and loaded a random sketch. The loading of the sketch completed without error.

When you say "loaded", do you mean that you clicked the "Upload" button?

---

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [October 17, 2025, 4:08am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/18 "2025-10-17T04:08:33Z")

</div>

> [@mickhowe](#):
>
> The boards I am dealing with are 2 x Jaycar XC4421 Duinotech Mega+WiFi and 2 x Jaycar XC4411 Duinotech UNO+WiFi boards

Have you got the download sheets on how to use those controllers.  
Go back to Jaycar site and look at download section of each.  
[https://www.jaycar.com.au/duinotech-uno-r3-main-board-with-wi-fi/p/XC4411?srsltid=AfmBOoo-gYRJvteLVUYLS1Es9vRphzCGgWtad1B1e\_Kwk0EozCLWBNSZ](https://www.jaycar.com.au/duinotech-uno-r3-main-board-with-wi-fi/p/XC4411?srsltid=AfmBOoo-gYRJvteLVUYLS1Es9vRphzCGgWtad1B1e_Kwk0EozCLWBNSZ)

[https://www.jaycar.com.au/duinotech-mega-2560-r3-main-board-with-wi-fi/p/XC4421?srsltid=AfmBOop6Oj6g6NE2UR9ruvWAOYc6cHnjTLih8xn4z1B-d5Uy5CZ3zNwq](https://www.jaycar.com.au/duinotech-mega-2560-r3-main-board-with-wi-fi/p/XC4421?srsltid=AfmBOop6Oj6g6NE2UR9ruvWAOYc6cHnjTLih8xn4z1B-d5Uy5CZ3zNwq)

Tom.... 😃 👍 ☕ 🇦🇺

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [October 17, 2025, 4:12am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/19 "2025-10-17T04:12:11Z")

</div>

> [@mickhowe](#):
>
> branded for anyone who wants to market clones.

Why do you call it a clone.  
AFAIK Arduino never made this board.  
It's just a mashup of a Mega and an ESP8266. To separate processors on one board.

> [@mickhowe](#):
>
> The only board that showed was Adafruit Feather HUZZAH ESP8266

The dip switches must be set correctly to select programming one of the two processors.  
Leo..

---

<div class="post-metadata">

**Author:** ![mickhowe](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mickhowe/32/744654_2.png) [@mickhowe](https://forum.arduino.cc/u/mickhowe)\
**Post date:** [October 17, 2025, 4:13am UTC](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524/20 "2025-10-17T04:13:48Z")

</div>

yes

clicked the Verify and Upload icons

[Next page](https://forum.arduino.cc/t/uno-wifi-mega-wifi/1409524.md?page=2)
