UNO+WiFi R3 ATmega328P+ESP8266 Wifi AT command problem

hello. I use robotdyn uno+wofi r3 board, rs232 shield and lcd screen. I use rx/tx 10-11 for rs shield and it works ok. I checked esp8266 chipset with at commands via computer and they work ok. but I couldn't figure out how to communicate between atmega and esp chipset together. I configure the jumper switches to MCU+ESP mode.I would like to send AT commands to esp and print the response to lcd screen. I assume it uses software serial but which rx/tx pins should I use? manual says there is no need to wire esp to atmega. what is the logic between them? Can anybody paste sample code here? thanks.

Please give us the courtesy of linking to the boards you have!

ieee488:
Please give us the courtesy of linking to the boards you have!

https://robotdyn.com/uno-wifi-r3-atmega328p-esp8266-32mb-flash-usb-ttl-ch340g-micro-usb.html

read the posts in this thread Robotdyn atmega328 uno r3 + Wifi. How to use it? - Networking, Protocols, and Devices - Arduino Forum

.

ieee488:
read the posts in this thread Robotdyn atmega328 uno r3 + Wifi. How to use it? - Networking, Protocols, and Devices - Arduino Forum

.

I read this thread many times but I couldn't understand it. And most of the comments made based on mega board which has serial3 communication but I use uno which doesn't have. and without json simply at commands what I need to do.

there is no connection for SoftwareSerial to esp8266 in Uno+WiFi. you can patch one with jumper wires to the esp8266 header, but you can't use two SoftwareSerial instances to listen at the same time

Juraj:
there is no connection for SoftwareSerial to esp8266 in Uno+WiFi. you can patch one with jumper wires to the esp8266 header, but you can't use two SoftwareSerial instances to listen at the same time

yes, thank you. you are right. I thought arduino communicates with esp via software serial pins but it turned out that after configuring jumper settings to mcu+esp it communicates via direct serial like you connect it to pc usb.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.