My Board is not correctly uploading, sometimes it says " Upload Complete" but it still doesnt work. This is the Link of the Board, maybe someone has bought it and fixed that. If i plug it in all the Lights are working so the board is getting power and a new port shows up in the IDE, but as mentioned, uploading doesnt work. I have installed a driver for the esp8266 but i am not an expert in arduinos so i dont know if that is a part of the board or the entire board itself. Any Help is appreciated! Thanks
Perhaps you did not see the pinned post https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966
after you understand that, post the code I code tags, and a hand drawn wiring diagram. If the Serial log has any content, post that in cade tags as well.
The board contains two processors: the ATmega328P and the ESP8266. Which one are you uploading to? Also, did you select the correct processor in the Tools menu of your IDE? Double-check your settings to ensure you're targeting the intended processor.
I didn't realize you were using a non Arduino board.
The board has a number of dip-switches that you need to configure depending on the processor that you want to tslk to (program). Instructions on the web, e.g. ATmega328p + ESP8266 WIFI tutorial.
One of the bugs in IDE 2.3.3 is that it will always report a successful upload in the right bottom. To know if an upload was indeed successful, you need to enable verbose output during upload under file / preferences in the IDE.
You posted this in the IDE 1.x section of the forum. IDE 1.x does not suffer from the above bug. Please confirm the IDE version that you're using.
Regardless of version of the IDE I would also advise to enable verify code after upload under file / preferences.
I've moved your topic to a section of the forum that is more tailored to upload problems.
The two processors on your board share a serial-to-usb converter (CH340); it's not specifically an ESP8266 driver.
That site it the hardware equivalent of click bate, you never know what you are going to get. My advice would be to avoid them at all costs. Poor build quality, no support, no data sheets, often with the chip markings sanded off. Basically they are generally dealers selling on stuff with no understsnding of what they are doing.
Yes i am using IDE 1.8.9 i believe, but definetly a 1.x version, also the ch340 is the driver i meant, i will try out some things and see if that Works. What are the differences when im uploading to the ATMega or the Esp8266?
I'm not really familiar with that board.
- The ESP8266 is used for WiFi communication; you might or might not have to program it, I do not know.
- The 328P is the main processor that you use to read and write IO pins. It can communicate with the ESP8266 over Serial to give you WiFi capabilities.
Note
It's my understanding that communication between the 328P and the ESP8266 uses the Serial object on the 328P; that implies that, with the correct dip-switch settings to communicate between the 328P and the ESP8266, you will loose the debug capabilities using the USB. You can probably hack around that but as said, I'm not really familiar with the board.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.