Raymond Genovese
- Joined Mar 5, 2016
- 1,653
OK, good.
Forgetting the Arduino completely for the moment.
Do you have a USB to serial converter board. There are many different kinds, here is a picture of one kind. No matter if you don't.
Assuming that you don't, there are two issues for using the chip with the Arduino as the serial communicator with the AT commands, that you have to remedy.
First, the Arduino UNO will be transmitting on the Tx pin at 5V and will want to receive on Rx also with 5V. The ESP will be transmitting with 3.3V and will want to receive with 3.3V. It is a BAD idea to connect the Arduino TX to the ESP RX without accounting for that voltage difference.
You can do that with a converter on both tx and rx or you can get away with just using two resistors to drop the 5V to 3.3 v.
Look at this pic (ignore everything else except the 1K/2K resistor connection)
See the 1K and 2K resistors and how the ESP RX line is connected to the Arduino TX line (shown as D3)? That is what I mean.
The second issue is the 3v power supply. That has to be used because the Arduino can not supply enough power to run the ESP8266-01. So, Vcc on the ESP Vcc needs to be connected to the external 3.3V power supply AND the GND on the external external power supply also needs to be connected to the GND on the Arduino.
Is this making sense?
Making sure that you have correctly identified the Vcc pin on the ESP8266-01, are you saying that when you have that pin DISCONNECTED completely, the ESP8266-01 works? Because that just can't be as far as I can tell.Then I took that working ESP8266 again, the one that was working 1 minute ago, I open serial monitor again , type AT - no response. I disconnected the VCC pin of esp, connected it back again and now it is working again
Forgetting the Arduino completely for the moment.
Do you have a USB to serial converter board. There are many different kinds, here is a picture of one kind. No matter if you don't.
Assuming that you don't, there are two issues for using the chip with the Arduino as the serial communicator with the AT commands, that you have to remedy.
First, the Arduino UNO will be transmitting on the Tx pin at 5V and will want to receive on Rx also with 5V. The ESP will be transmitting with 3.3V and will want to receive with 3.3V. It is a BAD idea to connect the Arduino TX to the ESP RX without accounting for that voltage difference.
You can do that with a converter on both tx and rx or you can get away with just using two resistors to drop the 5V to 3.3 v.
Look at this pic (ignore everything else except the 1K/2K resistor connection)
See the 1K and 2K resistors and how the ESP RX line is connected to the Arduino TX line (shown as D3)? That is what I mean.
The second issue is the 3v power supply. That has to be used because the Arduino can not supply enough power to run the ESP8266-01. So, Vcc on the ESP Vcc needs to be connected to the external 3.3V power supply AND the GND on the external external power supply also needs to be connected to the GND on the Arduino.
Is this making sense?

