arkarash:
Hi,
I have one of these modules and I can load the sketchs without problems in both the ESP and the Mega changing the DIP's. The problem comes because my ESP only uses it as an AP so that the Mega receives data. The AP is reflected in the WiFi search but when you connect to the AP it disappears and you have to turn off the power so that it goes back out because no reset succeeds.
Thinking that it was the module that was defective I bought a second module and it does exactly the same. The fact is that the same sketch I put in my Nodemcu and works perfectly.
Juraj:
powering of the esp8266 has not enough amps
I thought it was a good solution and I put a 12V 3A power supply through the jack input and still do the same, can you feed the esp8266 directly on this board without going through the converter?
Hello, I would like to ask you a help, because I'm not undestanding very well...
Now I use an Arduino uno board with an ESP8266 board mount on its adataptor, the sketch of my project loaded into the Arduino uno works fine using the "WiFiEsp.h" library and the "SoftwareSerial.h" for the communication between the Arduino and the ESP8266.
I haven't load or flash anything into my ESP8266, I had just connect it to the pin of the virtual serial and power supply of course.
I would like to move my project to this board, doesn't it works as the same? My sketch just adapted for a Atmega2560 isn't enought to work properly with this board? Do I need to load something into the ESP8266 unit or does it need some setting? This is what I am not undestanding...
Thank you very much if somebody would like to help me !
I suppose you are using esp8266 in AT commands mode and transparent serial communication. If so, you have nothing to do if you change to mega. We are talking about a plate that combines the two in one. not separately.
Aldo71:
Hello, I would like to ask you a help, because I'm not undestanding very well...
Now I use an Arduino uno board with an ESP8266 board mount on its adataptor, the sketch of my project loaded into the Arduino uno works fine using the "WiFiEsp.h" library and the "SoftwareSerial.h" for the communication between the Arduino and the ESP8266.
I haven't load or flash anything into my ESP8266, I had just connect it to the pin of the virtual serial and power supply of course.
I would like to move my project to this board, doesn't it works as the same? My sketch just adapted for a Atmega2560 isn't enought to work properly with this board? Do I need to load something into the ESP8266 unit or does it need some setting? This is what I am not undestanding...
The Atmega 2560 MCU has more Serial ports. The DIP switches on the Mega+WiFi board alows to connect esp8266 to Serial3 of 2560. So you only replace SoftwareSerial instance with Serial3 for the WiFiEsp library.
WiFi.init(&Serial1);
Serial.print("Attempting to start AP ");
Serial.println(ssid);
IPAddress localIp(192,168,1,4);
WiFi.configAP(localIp);
status = WiFi.beginAP(ssid, 10, pass, ENC_TYPE_WPA2_PSK); // start access point
Serial.println("Access point started");
server.begin(); // start the web server on port
Serial.println("Server started");
}
WiFiEspClient client = server.available();
if (client) {
while (client.connected()) { // loop while the client's connected
if (client.available()) { // if there's bytes to read from the client,
......// receive data from a wi-fi client device
}
}
}
I would like to move to ATmega2560 and if possible I want use the board we are talking about which combines atmega+ESP.
@Juraj Modify my sketch to replace SoftwareSerial with Serial3 is not a problem.
What I was not sure is if this board is ready to use WiFiEsp library or it needs an ESP8266 filmware upgrade
Aldo71: @Juraj Modify my sketch to replace SoftwareSerial with Serial3 is not a problem.
What I was not sure is if this board is ready to use WiFiEsp library or it needs an ESP8266 filmware upgrade
I don't have the board. I somehow become an expert on connecting esp8266 to Arduinos and helped on forum whith this board based on reference and schematics. As I can remember from forum discussions the esp8266 on boar has AT firmware. And if not, the it is easy to flash it.
any guide to flash the esp of this plate? It will be my first time and it gives me a little something. I want to leave it as a nodemcu which is what I usually use
arkarash:
any guide to flash the esp of this plate? It will be my first time and it gives me a little something. I want to leave it as a nodemcu which is what I usually use
NodeMcu? that is LUA scripting. different firmware then AT firmware
to flash AT firmware, download it from Espressif site. in README are the addresss. use esptool to flash it. or on Windows you can use Espressif's "flash download tool"
I use nodemcu with Arduino IDE not with LUA. I like that the Esp8266 does not make transparent transmissions if not that analyze the data and those of the breakdown to the Mega to download it because it controls an LCD and several other sensors. Is it possible to use Esp8266 from the combination plate in this way?
arkarash:
I use nodemcu with Arduino IDE not with LUA. I like that the Esp8266 does not make transparent transmissions if not that analyze the data and those of the breakdown to the Mega to download it because it controls an LCD and several other sensors. Is it possible to use Esp8266 from the combination plate in this way?
Please help. I can not connect to wifi my RobotDyn Arduino mega+Wifi. I tried to upload sketch from arduino IDE WiFiWEBServer and other many skatches which work with my ESP-12e without problem. I can see text in serial monitor "Connecting to (My SSID)"...... but can not connect to wifi. May be someone knows why? P.S. I tried to upload firmware from nodeMCU Firmware Programmer. But the same problem
try to erase the flash of the esp8266 with esptool. it will erase old RF settings of SDK version used with preinstalled AT firmware. and then upload your sketch from IDE
I have WeMos Mega2650 with onboard ESP8266. I can upload a sketch on the Mega, and it works. I can upload a sketch on the ESP8266 (scan networks, join, print IP) and it works. I think I have figured out all of the DIP switches and RX/TX switch settings. I cannot get the Mega <> ESP communicating.
I want to use the Mega to control a number of weather sensors, and then do a HTTPS GET request, over wifi network, to upload weather data to target site. What code should go where?
Please correct me if wrong, or is there a better way?
ESP8266 should contain sketch to join wifi network, and open Serial3 port
DIP switches: CH340 connect to Mega2560 COM3 connect to ESP8266; ON for 1 to 4; OFF for 5 to 7; RXD3/TXD3 on.
Serial 1 is connected to MEGA (i assume)
Serial 3 is connected to ESP (i assume)
MEGA should contain sketch to read weather sensors, and issue HTTPS GET over Serial3
Does anyone have an example sketch for mega and esp to do simple HTTPS GET/POST ?
banaylor:
I have WeMos Mega2650 with onboard ESP8266. I can upload a sketch on the Mega, and it works. I can upload a sketch on the ESP8266 (scan networks, join, print IP) and it works. I think I have figured out all of the DIP switches and RX/TX switch settings. I cannot get the Mega <> ESP communicating.
I want to use the Mega to control a number of weather sensors, and then do a HTTPS GET request, over wifi network, to upload weather data to target site. What code should go where?
Please correct me if wrong, or is there a better way?
ESP8266 should contain sketch to join wifi network, and open Serial3 port
DIP switches: CH340 connect to Mega2560 COM3 connect to ESP8266; ON for 1 to 4; OFF for 5 to 7; RXD3/TXD3 on.
Serial 1 is connected to MEGA (i assume)
Serial 3 is connected to ESP (i assume)
MEGA should contain sketch to read weather sensors, and issue HTTPS GET over Serial3
Does anyone have an example sketch for mega and esp to do simple HTTPS GET/POST ?
the Serial3 dip switched connect Serial of esp8266 with Serial3 of Mega.