Just to eliminate a common error/misunderstanding:
- Arduino Rx to ESP Tx (not Rx)
- Arduino Tx tio ESP Rx (not Tx)
I have successfully connected Arduino/ESP with just a voltage divider on the line going from Arduino (Arduino Tx) to ESP Rx. Nothing on other line (from ESP Tx to Arduino Rx). Have you tried that (simpler means fewer potential errors).
Try to wiggle an/or move components in your breadboard. Sometimes there are connection points on them that do not connect.
Just to eliminate a common error/misunderstanding:
- Arduino Rx to ESP Tx (not Rx)
- Arduino Tx tio ESP Rx (not Tx)
I have successfully connected Arduino/ESP with just a voltage divider on the line going from Arduino (Arduino Tx) to ESP Rx. Nothing on other line (from ESP Tx to Arduino Rx). Have you tried that (simpler means fewer potential errors).
Try to wiggle an/or move components in your breadboard. Sometimes there are connection points on them that do not connect.
but the skecth sample said :
espTX to pin 10 arduino
espRX to pin 11 arduino
espRST to pin 3 arduino
lesjaw wrote: but the skecth sample said :
espTX to pin 10 arduino
espRX to pin 11 arduino
espRST to pin 3 arduino
OK, then you're using software serial.
Have you verified the baud rate in your sketch is correct? If you're using an ESP directly from the mailbox the delivered firmware baud rate is not always the same. Have you talked to it directly with an FTDI adapter, not via Arduino?
lesjaw wrote: but the skecth sample said :
espTX to pin 10 arduino
espRX to pin 11 arduino
espRST to pin 3 arduino
OK, then you're using software serial.
Have you verified the baud rate in your sketch is correct? If you're using an ESP directly from the mailbox the delivered firmware baud rate is not always the same. Have you talked to it directly with an FTDI adapter, not via Arduino?
yes.baudrate is 9600 for esp8266, i can send AT command directly from FTDI adapter..and the result is "Ok".. infact i try upload a sketch for wifi searching example, and it run goods.. but i never succed driving esp8266 through the arduino..
if i use directly with FTDI there is no shift level..
can you teach me how to load a simple skecth to scan network from arduino using esp8266 from serial.. or maybe a simple sketch for testing serial connection between arduino and esp8266.. so i can make sure the shift level i make already right..
Hello @ArneiO, I hope you don't mind me asking, but I've been trying this for a while and although I get the ESP 8266 speaking with the Arduino and giving out readings it seems to stop after a while do you know why this is also I've been trying to change to hardware serial without much success have you any pointers to this.
Thanks kind regards Andy