Communicate between ESP8266 (a NodeMCU 0.9 is used for this experiment) and an Arduino MEGA via Software Serial.
In regular intervals, via a timer, the Arduino send a string to the ESP8266.
The ESP8266 sends a respons.
The data is shown in the B4R logs.
The Arduino runs B4R and the ESP8266 runs ESP8266 [ http://www.esp8266basic.com ] Basic.
• By using ESP8266 Basic ( http://www.esp8266basic.com ) it shows the integration between B4R and other languages.
• When using higher baud rates, then in cases characters are missing or changed. Default set to 9600.
• 1x Arduino UNO
• 1x ESP8266 NodeMCU 0.9
Arduino = ESP8266 (NodeMCU)
GND = GND
10 RX = 1 TX (Blue)
11 TX = 3 RX (Yellow)
Download Source Code
• Experiment is completed.
Experiments & prototyping with the Arduino.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest