I have managed to connect my arduino mega to esp through passing rx and tx direct to my esp..However when i am trying to use a logic level converts it does not work and i cant figure out why.
What works:
arduino ---> dc-dc step down ---> esp
rx --> tx
tx -->rx
5v-->vin (dc-dc)3.3v-->vcc,chpd
ground-->ground-->ground,gpio15
when i try to use the logic level converter
arduion-->logic converter --> esp
5v--> hv
ground --> ground (both sides)
rx-->hv3-->lv3 -->tx
tx-->hv4--->lv5 --->rx
---lv--3.3v
Arctic_Eddie:
Try a baud value of 9600 just to see if it has an effect. Since it's a four channel device, try the other two channels.
I tried the the other channels and no luck there.
With 9600 baud using the logic converter I got only once after many resets of the esp one garbage character.
Connecting it directly to the rx tx I got a lot of garbage characters.
There's always the chance that the converter is defective. You can probe the circuit board with a meter to be sure the two supply voltages are making it to the FETs. Your only other chance might be to watch the waveforms on a scope.
A youtube.com search produced 62,900 hits at this link. Don't know what order they're in but the first page should help out. It depends a lot on what brand and model you're using but the fundamentals are the same. You're just viewing voltage(Y) as a function of time(X). You should see good square waves of variable length.
I found the problem. I haven't solder good enough some of the headers in the logic converter...after i redid the entire thing it worked. Thanks for the help