Duinotech Uno with WiFi

My new Duinotech Uno with WiFi board is failing to be correctly detected and upload sketches.
Duinotech is a ‘compatible’ manufacturer marketed in Australia by Jaycar Electronics ( Uno with Wi-Fi | Jaycar Electronics)
An Arduino®-Compatible + WiFi Dual board that includes a traditional Arduino® style chip + layout as well as an ESP8266 chip to connect your projects to the cloud.

Board Info output:
BN: Unknown board
VID: 1A86
PID: 7523
SN: Upload any sketch to obtain it
IDE 1.8.13
OS manjaro linux
output from lsusb command:

[mick@temple ~]$ lsusb
Bus 002 Device 004: ID 046d:c045 Logitech, Inc. Optical Mouse
Bus 002 Device 006: ID 2357:012d TP-Link Archer T3U [Realtek RTL8812BU]
Bus 002 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 002 Device 042: ID 1a86:7523 QinHeng Electronics CH340 serial converter ------- this is bus/dev for the board
Bus 002 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

the sketch I am trying to upload is blinky from examples
I also have a regular Uno of the same brand that behaves correctly after I changed permissions for USB ports.

please help, its doing my head in.

I order to gather more information that might help us to troubleshoot your problem, I’m going to ask you to post the full output from the upload when in verbose mode.

Please do this:

  1. Select File > Preferences from the Arduino IDE’s menus.
  2. Uncheck the checkbox next to Show verbose output during: [ ] compilation
  3. Check the checkbox next to Show verbose output during: [ ] upload.
  4. Click the OK button.
  5. Attempt an upload, as you did before.
  6. After the upload fails, you’ll see a button on the right side of the orange bar Copy error messages. Click that button. This copies the full output to the clipboard.
  7. Open a forum reply here by clicking the Reply button.
  8. Click the </> icon on the post composer toolbar. This will add the forum’s code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  9. Press Ctrl+V. This will paste the error output from the upload into the code block.
  10. Move the cursor outside of the code tags before you add any additional text to your reply.
  11. Click the Reply button to post the output.
Arduino: 1.8.13 (Linux), Board: "Arduino Uno WiFi"

Sketch uses 976 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
//bin/avrdude -C//etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyUSB0 -b115200 -D -Uflash:w:/tmp/arduino_build_449468/Blink.ino.hex:i 

avrdude: Version 6.3, compiled on Jul  7 2020 at 19:38:43
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "//etc/avrdude.conf"
         User configuration file is "/home/mick/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I just returned the board for a replacement and the new one has the same issue.
Made some progress:
from https://www.jaycar.com.au/uno-with-wi-fi/p/XC4411?pos=1&queryId=d645a5b4fee084eb2d549705286a26e3
downloads tab get the manual & software downloads
1 configure the dip switches for UNO and run arduino.ino
2 configure the dip switches for ESP8266 and run esp.ino

If you haven't already, install the ESP8266 Boards addon as per the XC3802
manual located on the product page:

https://jaycar.com.au/p/XC3802

the code in this zipfile is used as an example for our new XC4421 and XC4411
boards.


To write arduino code: 
-------------------------------------
Configure the dip switches as shown: 3,4 are on, the others are off.

|-|-|o|o|-|-|-|-| on
|o|o|-|-|o|o|o|o| off
|1|2|3|4|5|6|7|8|

for XC4421 select Tools->Board->Arduino Mega (for XC4421) Or Uno (for XC4411)

open arduino.ino and press upload.


To write esp code:
-------------------------------------
Configure the dip switches as shown: 5,6,7 are on, the others are off.

|-|-|-|-|o|o|o|-| on
|o|o|o|o|-|-|-|o| off
|1|2|3|4|5|6|7|8|

for XC4421 select Tools->Board->Generic 8266 Module
-> If you cannot see it, you did not read the XC3802 Manual!

open esp.ino and press upload; after compiling, when the IDE says "Uploading.."
You should begin to see ".......________........_____" during this time, press 
the reset button on the MCU; the ESP should begin to accept
instructions.


To run the example:
---------------------------------------
Upload both of the code as above, then configure the switches as shown: (1,2 are on)

|o|o|-|-|-|-|-|-| on
|-|-|o|o|o|o|o|o| off
|1|2|3|4|5|6|7|8|

Open up your wireless internet and you should see a new wireless network.
Connect to it and navigate to http://10.0.0.7, you'll see two hyperlinks
to turn the arduino L13 led on/off. You should be able to see the device
interplay between your phone/computer, the ESP, and the arduino.


Troubleshooting:
-----------------------------------------

"upload esp mem failed" in arduino IDE ESP8266 error:
	* have you selected the right switch config? ensure that 5,6, AND 7, are switched _ON_
	* Did you press the MCU Reset button when the IDE says "uploading" ?

"WiFiServer.h not found" or similar not found messages
	* Did you install the ESP8266 Boards in the Arduino IDE? read the XC3802 manual.
	* Have you selected the right board for the project? make sure
	  Tools->Board->Generic8266 board is selected for the ESP project, and Geniuno is selected for Arduino 

Writing html code is better in proper html files, which can be stored in a "data" folder and uploaded automatically, check out "SPIFFS" for more information:

https://randomnerdtutorials.com/esp8266-web-server-spiffs-nodemcu/

I’ve got the UNO side done and blink works.
I will do the rest tomorrow when I’m feeling better

thanks

I’m glad to hear you found the solution. Thanks for taking the time to post an update.
Enjoy!
Per

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.