Post topics, source code that relate to the Arduino Platform

User avatar
By nikos134
#42681 So as the title says i am unable to connect my esp12 to my arduino.

I successfully connect the esp12 to my ftdi232 and communicate with it but i cant manage to do the same with the arduino.

arduino --> dc-dc step down

5v --> vin
ground -> ground

esp12 -->arduino

ground,Gpio15 -->ground
vcc,chd,gpio2-->3.3.v (from the dc-dc adapter)
rx--->tx
tx-->rx (tried both ways)

I also tried to connect via logic lever swifter with no luck in both the ftdi and the arduino ( I am not sure if i am connecting it right).
So am i doing something wrong in the connection?
Any help appreciated
User avatar
By nikos134
#42698
leenowell wrote:I would add 2 thoughts...
1. Isn't the rx/ tx from the Arduino 5v peak rather than 3.3v needed?
2. Have you connected GPIO0? Needs to be to gnd for normal operation and +3.3v for flashing.


Yes i think it is..that is why i used a logic level converter but i dont know if i am using it correct.

arduino --> logic --> esp

rx--> h3 --> l3---> tx
tx --> h4 -->l4 --->rx
I also tried to connect the hv to 5 volts and the ground to ground but I am not sure how i should make the connection.

Gpio0 isnt the other way around? ground for flashing and 3.3v or float for normal operation?


Edit:
So i got it working without the logic level converter
arduino ---> dc-dc step down ---> esp
rx --> tx
tx -->rx
5v-->vin (dc-dc)3.3v-->vcc,chpd
ground-->ground-->ground,gpio15
However when I am using the logic converter does not work and i cant figure out why.
arduion-->logic converter --> esp
5v--> hv
ground --> ground (both sides)
rx-->hv3-->lv3 -->tx
tx-->hv4--->lv5 --->rx
---lv--3.3v