ESP8266 wifi module and arduino mega

Status
Not open for further replies.
Hi

I was wondering does any one know how to use the ESP8266 wifi module with arduino mega. I found a lot articles with arduino uno but not the mega. I would appreciate any help.

Thanks
 
If it works on the uno it will work the same on the mega you just pick the pins you need it's not that hard to do the mega only has more pins And 4 serial ports and lot's of flash but any code you can run on the uno runs on the mega too.
And as far as it goes the esp8266 can run uno code too so you really don't need the mega or a uno you just install the needed libraries too use a esp with the arduino ide.

The really only thing the mega has is it has more serial port the uno has only one the mega has 4.
So if the uno code you want play with uses serial just make sure you use the right one.

And the mega has more
Flash Memory 256 KB of which 8 KB used by bootloader
SRAM 8 KB
EEPROM 4 KB
 
Last edited:
As Burt says above, if it works on an Uno it will work on a Mega, you just have to check the pin assignments etc.
You also have to configure the DIP switches, in order to communicate with each IC.
One difference on the Mega + ESP8266 version, versus the Uno + ESP8266, is the TX/RX switch.
This may be of help:
http://robotdyn.com/mega-wifi-r3-atmega2560-esp8266-flash-32mb-usb-ttl-ch340g-micro-usb.html
And this (translate from Russian):
http://www.sysengineering.ru/blog/электроника-контроллер-arduino-mega-с-esp8266/
** You will need to download the test firmware .zip file, which is just beneath the DIP switch table. **

Regards.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…