B4R Question circuito.io + ESP8266 ESP01 communication pins

hatzisn

Well-Known Member
Licensed User
Longtime 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

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
There you are. It is in C...
 

Attachments

  • Firmware.zip
    24.3 KB · Views: 219
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
Yes, exactly...
 
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
Thanks
 
Upvote 0

janderkan

Well-Known Member
Licensed User
Longtime 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
 
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
Upvote 0

janderkan

Well-Known Member
Licensed User
Longtime 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
 
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
I suppose I prefer the OR part... :):):):)
I checked in the boards of B4R and NodeMCU supports up to ESP-12E. Is it compatible with this ESP-12F you suggest?
 
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
Last edited:
Upvote 0
Top