Last Updated on 1 April 2022 by Suffocation
Es handelt sich hierbei um ein hybrides Board aus Atmega 2560 und einem Espressiv Chip (ESP8266) für die WLan Kommunikation.
View


Überblick
Name Mega + WiFI
Number/CPU
1 / ATMEGA 2560 + ESP8266
Clock speed (MHz) 16 /240
Kernel 1/1
Digital IOs / Pins 54
Analog inputs 16
Interrupt Pins 4
Pulse Width Modulation 15
SPI 1
Flash memory 32 MB /
RAM (KB) 8KB/
EEPROM (KB) 4 KB
WiFi 802.11 b/g/n
Bluetooth
Encryption WEB / WPA2 / TKIP / AES
Bluetooth -
UART 4
I2C 1
Ethernet -
Video -
Sound -
Miscellaneous -
USB 1 Micro
Operating voltage [V] 5
Input voltage 7-16
Current (mA) / Standby (mA)
Size L x W x H 101.52 x 53.3
Weight [g]
Board features

Zusätzlich sind einige Pins des ESP herausgeführt. Die Beschriftung ist auf der Rückseite des Boards zu finden.
DIP Switch Settings
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
| ATMega ESP | An | An | Australia | Australia | Australia | Australia | Australia |
| USB ATMega | Australia | Australia | An | An | Australia | Australia | Australia |
| USB ESP Firmware | Australia | Australia | Australia | Australia | An | An | An |
| USB ESP Com. | Australia | Australia | Australia | Australia | An | An | Australia |
| No connections | Australia | Australia | Australia | Australia | Australia | Australia | Australia |
Special Pin Assignments
| Function | Pins |
| Interrupt | 2, 3, 18, 19, 20, 21 |
| Serial port 1 Serial port 2 Serial port 3 Serialport 4 | 0 (Receive), 1 (Transmit) 19(RX), 18(TX) 17 (RX), 16 (TX) 15 (RX), 14 (TX) |
| LED | 13 |
Closer inspection
Hier ein paar Schnappschüsse mit dem Mikroskop.






Programming environment
Mega Settings
Dips switch 3,4 to ON, rest to OFF

ESP Settings
Possibly, before that, Setting up the ESP8266 programming environment. I used version 2.7.1 of the board drivers here.
Dipschalter 5,6,7 auf ON Rest auf OFF. Sollte das programmieren nicht beginne ist ein Reset des Boards nötig. Das spielen mit der Reset Methode im Menü brachte hier leider keine Besserung.

Test Programme
Als Testprogramme können die, des hier gelinkten Beitrags verwendet werden.









Has anyone found a compatible case for the RobotDyn board?
Hi Kai, actually any AT-Mega housing should fit, it's the same form factor. However, you should take a closer look at the distances, e.g. between USB ports and power.
https://www.thingiverse.com/search?q=arduino+mega+&page=1&type=things&sort=relevant
Hello,
I wanted to set up this board with ESP using your guide. Unfortunately, the version you used in your guide is no longer available on the Espressif website. The current version does not have the .bin files you used. Do you know of another download option or can you send me this version via email?
Thank you
Thomas
Hello Thomas, have a look at the page https://robertoostenveld.nl/esp8266-at-firmware/ There are also old ones linked, as far as I know.
Greetings Stefan
P.S. Unfortunately, I no longer have a version on my hard drive.
Hello Stefan,
Thank you very much for the quick reply. I also managed it with the current firmware. DIP switches 5 and 6 are now on, the rest off. AT commands work and the connection to the FritzBox also works. Once the connection is established it is also stable. It just sometimes takes a few board resets until it gets an IP address. Although it is set in the FritzBox that the same IP address should always be assigned.
The problem now is that I can't get a sketch onto the ESP. I downloaded a small sketch for a mini web server to test. Compiling also runs without errors. However, in the Arduino IDE, under the selected board Generic ESP8266, the Programmer is „No Programmer available“. In your instructions above, however, there is one. Naturally, I always receive the message that the sketch cannot be uploaded due to a timeout.
Any clever ideas where the problem might lie?
Thank you
Thomas
Hello Thomas,
I've just checked it on my end. It really doesn't say Programmer anymore, but programming my board is possible. However, with me, DIP switches 5, 6, and 7 must be activated for programming. After programming, remove 7 again. (If the ESP is not already disconnected from the power, reset it again in both cases).
Greetings Stefan
Thank you, good article
I have such a board running to connect RFLink to my MQTT broker via MQTT and WiFi.
I am finding that the stability of the WiFi connection is extremely dependent on the [STAO] situation. I have a WiFi setup based on a Fritz 7560 and two repeaters in a mesh. I am currently using the PCB antenna.
Has anyone successfully connected an external antenna? Does anything need to be re-soldered for this?
Hi, I'm currently on holiday and don't have the board in front of me. But I always thought that mine at least only worked with an external antenna. I can't see an etched antenna on the pictures, nor the characteristic 0 Ohm jumper.
Greetings Stefan
Hey! Very good article, thank you very much. Which version of the esp8266 lib was used? I have 2.7.4 from http://arduino.esp8266.com/stable/package_esp8266com_index.json, many more options that are overwhelming me at the moment.
Hello Michi,
Good tip, you should always include the version number :( I'll improve that straight away. I used version 2.7.1. If no methods have been renamed or new bugs have been added, it should also work with 2.7.4 :).
Hello
Stefan
Very helpful!
Thank you very much!