B4R Question circuito.io + ESP8266 ESP01 communication pins

hatzisn

Well-Known Member
Licensed User
Hi everyone,

I just bought an ESP8266 ESP01 board to work with WiFi.
I found out in circuito.io that it also needs a bidirectional logic level converter as seen here (press Wire) and I bought it also:

https://www.circuito.io/static/repl...39003096c818&solutionPath=storage.circuito.io

in these instructions on how to create the circuit if you download the code it sets two pins as communication pins. Having a look on some code examples for communication with B4R and ESP8266 I did not find anywhere code for setting the pins but I found in a thread that you have to Use Pin 0 (RX0) and Pin 1 (TX0) of the Geekright ATmega2560 board. What is the correct solution in this?

Also any advices on "playing" with Geekright ATmega2560 and ESP8266 ESP01 boards are highly welcomed.

Thanks in advance


Edit - Is this done with a rSerialSoftware library stream?
 
Last edited:

Erel

Administrator
Staff member
Licensed User

janderkan

Active Member
Licensed User
ESP01 is one type of board and ESP8266 is another.

The ESP8266 has 8 digital In/Out ports and 1 Analog port.
If you need more inputs and outputs you use a ESP32.

I dont see any reason for using an Uno together with a ESP01.

Jan
 

janderkan

Active Member
Licensed User
The ESP01 is a 8266 but with only 2 IO exposed.
You must write a program to the ESP01 and find a way to upload it, because it has no Usb on board.
After that you must define a protocol so that the UNO and ESP01 can communicate.
Then you must write two programs that use this protocol.
OR
You just buy an ESP8266 like this
 

hatzisn

Well-Known Member
Licensed User
Last edited:
Top