As the title says... Chat on...

User avatar
By ArnieO
#9323
elac wrote:Thanks ArnieO,
I was using Serial.print, not Serial.println.
Now all works fine.

Good to hear!
The only difference between the two is that println adds CR and LF at the end (equivalent to pressing the ENTER button).
User avatar
By ozayturay
#9324
ArnieO wrote:Hardware:
The ESP runs on 3.3V so I strongly recommend level shifting of the Rx/Tx signals, even if I have seen reports of people getting away with direct connection. But note: 5V into the Rx pin could potentially kill your ESP.
I am successfully using this level shifting method:
Image
Source: http://www.faludi.com/bwsn/xbee-level-shifting/
R1 can be omitted if you activate the internal pullup on the Arduino input you use for software Rx.


You can use a simple MOSFET levelshifter as explained here

Image