Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By mario9999
#43569 hello guys.
I have a problem with my arduino nano Atmega328 and my esp8266 01 module. I have connected the esp8266 on my arduino board with out ftdi.

I have made the following connection:
I an using a 5V Arduino Nano which of course is 5V. The Esp8266 is a 3.3v device and so I am using a voltage divider to bring the Arduinos 5V down to 3.3v. If you are using a 3.3v Arduino then you do not need the voltage divider.

The wiring is very similar to the FTDI.
Arduino pin 3 to voltage divider and then to ESP8266 RX
Arduino pin 2 to ESP8266 TX
Arduino GND to ESP8266 GND
Pull CH_PD HIGH with a 10K resistor to +3.3v
+3.3V to vcc

You only need the voltage divider on the Arduino TX pin. The 5V Arduino will read 3.3v as HIGH so you can connect the ESP8266 TX pin directly to the Arduino RX pin.

The problem i had and i cant handle is that when i start up the Arduino tx,rx leds works continuously so i cant have access to my serial monitor of Arduino Ide. So with that problem i cant send or receive any command to the ide. Also when i try to upload my program on Arduino i must have disconnected the esp. If i don t i can t upload it.

Any idea guys? ?? I would be thankful. :)
I also upload a photo for the connection i ve made. :)
Thx in advance
You do not have the required permissions to view the files attached to this post.
User avatar
By mrburnette
#44077
The problem i had and i cant handle is that when i start up the Arduino tx,rx leds works continuously so i cant have access to my serial monitor of Arduino Ide. - See more at: viewtopic.php?f=32&t=8894#sthash.Bqha2MmX.dpuf


Assuming you have sufficient spare resources on the Nano, you can useSoftwareSerial to interface to the ESP8266 and use the hardware serial over USB to the Arduino console.

You may also wish to explore the 32U4 Arduino (link to 3.3V version but a 5V version is available.)


Ray
User avatar
By mrburnette
#44089
martinayotte wrote:... or you can use a STM32 MapleMini which has several Uarts ... ;)


+1 :P


For completeness, I should have mentioned that there is a "send-only" and a "receive-only" version of SoftwareSerial which were provided by Nick Gammond... back at the time Adafruit released the Trinket based on the tiny85.

I have absolutely NO idea if these libraries are ESP8266 compatible.
There does seem to be one validated receive-only for the ESP8266


Ray