-->
Page 2 of 3

Re: Arduino detect sound

PostPosted: Mon Feb 09, 2015 7:02 am
by zioax
Ok, I will try it

Re: Arduino detect sound

PostPosted: Mon Feb 09, 2015 7:28 am
by elac
Thanks ArnieO,
I was using Serial.print, not Serial.println.
Now all works fine.

Re: Arduino detect sound

PostPosted: Mon Feb 09, 2015 9:19 am
by ArnieO
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).

Re: Arduino detect sound

PostPosted: Mon Feb 09, 2015 9:21 am
by ozayturay
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