I've built an RGB LED circuit with my 3rd party board: UNO+WiFi R3 ATmega328P+ESP8266. The LED isn't lighting up, I've tested the LEDs, and they work. So this tells me it's an issue with the code? But the code is definitely correct... so it seems like there might be an issue with exporting the sketch... What do I do? Does anyone know how to work this 3rd party board? I get no errors, and it says "Wrote 267856 bytes (197214 compressed) at 0x00000000 in 17.4 seconds (effective 123.0 kbit/s)...
Hash of data verified.
Leaving...
Soft resetting...", but it's not doing anything on my breadboard. - It scares me that the output says "Soft resetting..."
I don't have much documentation, I got my docs from the AliExpress store page description. DIP switches are 5, 6, and 7 ON, and the rest are OFF to upload.
Is there an English resource that you can direct me to? I've only found Arabic and Chinese sites on my journey to an answer. I have no idea what's wrong.
I can tell you that you're uploading to the ESP, not the AVR processor. I have no idea whether that is what you want to do.
How did you decide what pins to connect the LEDs to? To make the sketch work, you need to upload to the AVR processor. That would mean finding the correct jumper settings.
I decided on the pins from following an RGB LED video online for a genuine Arduino Uno. How would I upload to the AVR processor? There's minimal documentation for this thing.
I tried to upload the sketch again, and it gives the same error as it always does if I don't have 56 and 7 turned on:
esptool.py v3.0
Serial port COM8
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "C:\Users\Dvance\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in <module>
esptool.main(cmdline)
File "C:/Users/Dvance/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "C:/Users/Dvance/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 529, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
Connection DIP
1 2 3 4 5 6 7
ATmega328<->ESP8266 ON ON OFF OFF OFF OFF OFF
USB <->ATmega328 OFF OFF ON ON OFF OFF OFF
USB<->ESP8266 (Update firmware or sketch) OFF OFF OFF OFF ON ON ON
USB<->ESP8266 (communication) OFF OFF OFF OFF ON ON OFF
All independent OFF OFF OFF OFF OFF OFF OFF