I am porting two apps over to a mega with the wifi onboard. The wifi chip is an ESPRESSEX. Flashing it has be a zero problem. I even took a look at the ESP-Link bin. I got it running fine which is actually pretty nice.
I went back to the espressif binary and all is good. I can route serial communications from the ESP8266 to the Mega wonderfully. I want to test from the mega back to the ESP but am struggling how to display it from the ESP.
The serial monitor in the Arduino IDE is for the mega board (please correct me if I am wrong). What are my options of being able to see serial output (for debugging purposes only) on the ESP board? Can I putty into it? What is everyone doing to be able to debug their ESP code? Looking for ideas
I recommend the 1,2,3,4 ON, 5,6,7 OFF. and RX/TX to Serial3. don't switch the DIP switches too many times. they fall apart.
with AT firmware 1.7+ in esp8266, you can use my WiFiEspAT library in ATmega
Thank you both. I got the ESP back up and running. It is serving pages up nicely. I must try the RobotDyn board.
As far as the serial output from the ESP goes. I ended up taking an FTDI Cable FTDI Cable and hooking the black wire to the ground and the white wire to the TX0 on the ESP pins. Putty worked well to view the serial port on the ESP.
My code works well transmitting data between an ESP/Mega. I am struggling a little bit with the Serial 3 on the Mega+wifi board. I do have the dip switch on RX03/TX03. Do I still need to connect the ESP pins to the Arduino pins? I am guessing not as that would defeat the purpose of the integrated board.
I am testing with DIPs 1-4 on. I know it is running as I have both monitors running.
The lack of documentation just drives me nuts. Can someone tell me a little more detail on the following?
CH340 connect to Mega2560 COM3 connect to ESP8266
Mega2560+ESP8266
Many thanks to all the wonderful people out here !!