🎯 Key Takeaways for quick navigation: 00:00 *🛠️ ESP8266 and Arduino Uno Pin Diagram and Connection* - Understanding the pin diagram of ESP8266, including VCC, ground, TX, RX, reset, CH_PD, and GPIO pins. - Step-by-step guide to physically connecting ESP8266 to Arduino Uno, ensuring correct power and data connections. 02:16 *🖥️ ESP Driver and IDE Setup* - Introduction to setting up ESP8266 driver and instruction set using Arduino IDE. - Instructions on managing URLs, selecting the correct board and port settings, and burning an empty sketch to the board. 03:27 *🔌 ESP8266 Communication and Module Configuration* - Verifying correct connection and communication with ESP8266 module using serial monitor commands. - Inspecting module version, setting up as a station mode, and understanding different modes for specific use cases. Made with HARPA AI
@@AbuBakar-um5wc Did you upgrade your esp8266-esp01 to new firmware that supports AT command? I had the same problem. Now I no longer have the problem.
If you want to communicate Arduino UNO board's microcontroller tgst is ATmega328 with Esp8266-01 module then connect TX of Arduino to RX of esp And RX of Arduino to TX of esp And of you connect TX of arduino to TX of esp and RX to RX, then you are probably making communication between esp and the serial to usb chip which is on Arduino UNO board
I may assume the same since semantically the receiver connects to a transmitter, but in this case, the semantic logic doesn't hold. I would however suggest trying it out since I have tried it out as well.
that's only needed when you need the two devices to talk to each other, if you want to make the Arduino UNO as a bridge from the computer to the esp then connect RX to RX and TX to TX,however, don't forget to connect the NGD to RESET in that case in the Arduino
I have connected everything properly and have downloaded libraries but when I type AT command into the serial monitor nothing shows up can anyone please help me.
Be cautious, this can destroy your board, because the Arduino uses 5 Volts for RX and TX and the ESP does only accept 3,3V! So it will destroy your chip if you don't reduce the volts first!
@@MustafaQamarudDin Where should the resistors be added exactly? I've seen many different wirings and at this point I might just not add any resistors at all.
@@hind7360 maybe at the TX, because if you upload a sketch, then the TX line is used to transmit data from the arduino to your ESP chip. EDIT: I thought about it again, and I might be wrong, maybe the data is coming from the RX because the ESP8266 receives them from the Arduino...
Appreciate your reply, I finished that course and graduated and got a job lol don't really know when I'm gonna need this info next but thank you !!!@@ZorlacSkater
@@hind7360 Great, congratulations :) I thought about it again, and I might be wrong, maybe the data is coming from the RX because the ESP8266 receives them from the Arduino...
Can i use this setup if I only want to connect arduino into an internet to connect my arduino into a cloud server? or do you have any suggestions... Thank You.. I just really need answers...
Hey I found a fix for my problem, I had to reinstall the ESP code to the factory defaults, If anyone is like me and only have at their belt an arduino and an ESP you should try learning how to configure the arduino to work as a pass trough for the data in the edit mode for the ESP. After you do that you can find online some software that writes the factory default code on your COM port. I sadly am in a hurry and cant really provide links on how to do this neither found a video that does all of this at once, but atleast I hope I can shine a light on the path to fixing the ESP. Also there is a chance based on how or what was the condition of the ESP to just be damaged and rendered unusable
Sir, In which wire can connect these two? and another question is, we can connect with app or sim card using esp8266? If connect which device connect sim card?
When I connect the CH_PD pin to 3.3V the the wifi module power indicator doesn't glow,why is that?,when I disconnect the CH_PD pin it glows and my Arduino as well gets disconnected when the CH_PD pin is connected to the vcc pin
@ggerfanclubpresident5285 I'm able to make ESP01 accept AT commands now. Now I'm still searching on UA-cam tutorial for project. I'm not sure the wiring is the same if I need ESP01 to do more than testing AT commands. For example, I want ESP01 to host a webpage. When user click some buttons on webpage, ESP01 then sends command to Arduino UNO to control devices that connected to its GPIOs.
I need help please, I have a project that I should have an IoT system, and I chose an arduino measuring temperature of the room, and send the data from arduino to html page I have created using MQTT, can you help me please ?
@@cpatriciasousa unfortunately the only way to find out is to make sure the uno has an empty sketch and then try all different baudrates unless there is a firewall or similar on Windows. I have only ever used Linux Ubuntu.
sir, i have connected all the wire correcly and set the baudrate at 115200, but in serial monitor spamming "AT" (not responding), how can i solve that? please give me solution
Hello please I get ‘Failed to connect to esp8266 invalid head of packet (0x00)’ error . Please what do I do ? Connecting Ch_pd to power turns off the esp8266’s lights. Please help !
there is a device that let you temporarily connect wires together. Just insert wires into the hole and clamp it down. If you don't have breadboard, you can use that. But it will get complicated if there are more wires to connect. So it's best to use breadboard.
⛔⛔Attention, do not blindly follow the pin out, this will destroy your ESP8266!! You can not connect the 5 volt levels from the Arduino directly to the ESP8266.
🎯 Key Takeaways for quick navigation:
00:00 *🛠️ ESP8266 and Arduino Uno Pin Diagram and Connection*
- Understanding the pin diagram of ESP8266, including VCC, ground, TX, RX, reset, CH_PD, and GPIO pins.
- Step-by-step guide to physically connecting ESP8266 to Arduino Uno, ensuring correct power and data connections.
02:16 *🖥️ ESP Driver and IDE Setup*
- Introduction to setting up ESP8266 driver and instruction set using Arduino IDE.
- Instructions on managing URLs, selecting the correct board and port settings, and burning an empty sketch to the board.
03:27 *🔌 ESP8266 Communication and Module Configuration*
- Verifying correct connection and communication with ESP8266 module using serial monitor commands.
- Inspecting module version, setting up as a station mode, and understanding different modes for specific use cases.
Made with HARPA AI
This video failed to help as many others. It is so frustrating dealing with this ESP8266 module 01 with arduino.
Yep, it is cheap trash from china.
same here
had you found any solution??
@@AbuBakar-um5wc Did you upgrade your esp8266-esp01 to new firmware that supports AT command?
I had the same problem. Now I no longer have the problem.
My module worked when I set the baud to 115200. Try different speeds.
Finally a solution that works. Thank you, sir!
If you want to communicate
Arduino UNO board's microcontroller tgst is ATmega328 with Esp8266-01 module then connect TX of Arduino to RX of esp
And RX of Arduino to TX of esp
And of you connect TX of arduino to TX of esp and RX to RX, then you are probably making communication between esp and the serial to usb chip which is on Arduino UNO board
shouldn't the RX pin from ESP8266 connect with the TX pin of UNO and the TX pin from the ESP8266 connect with the RX of the UNO?
I may assume the same since semantically the receiver connects to a transmitter, but in this case, the semantic logic doesn't hold. I would however suggest trying it out since I have tried it out as well.
that's only needed when you need the two devices to talk to each other,
if you want to make the Arduino UNO as a bridge from the computer to the esp then connect RX to RX and TX to TX,however, don't forget to connect the NGD to RESET in that case in the Arduino
@@shalabyer What is NGD?
@@ZorlacSkater GND
Thank you so so much . you saved my career
I have connected everything properly and have downloaded libraries but when I type AT command into the serial monitor nothing shows up can anyone please help me.
it usually happens when the circuit connections are not correct usually the RX/TX connection.
@@MustafaQamarudDin
RS --> TX
TX --> RX
right ?
Did you upgrade your esp8266-esp01 to new firmware that supports AT command?
I had the same problem. Now I no longer the problem.
can you make another video of this but with the Motion Sensor PIR please
Be cautious, this can destroy your board, because the Arduino uses 5 Volts for RX and TX and the ESP does only accept 3,3V! So it will destroy your chip if you don't reduce the volts first!
In Tools --> Board: Why did you selected "Arduino Uno" instead of "Generic ESP8266 Module" ?
This is a very good question. The programmer is still Arduino and ESP is only used as a wireless extension. That's why everything is Arduino.
8266 tx & rx are 3.3v reff as per data sheet. Shouldn't we need to level shift tx & rx channel btw 8266 and uno?
Adding resistors should be a good idea for a production-ready system.
@@MustafaQamarudDin Where should the resistors be added exactly? I've seen many different wirings and at this point I might just not add any resistors at all.
@@hind7360 maybe at the TX, because if you upload a sketch, then the TX line is used to transmit data from the arduino to your ESP chip.
EDIT: I thought about it again, and I might be wrong, maybe the data is coming from the RX because the ESP8266 receives them from the Arduino...
Appreciate your reply, I finished that course and graduated and got a job lol don't really know when I'm gonna need this info next but thank you !!!@@ZorlacSkater
@@hind7360 Great, congratulations :)
I thought about it again, and I might be wrong, maybe the data is coming from the RX because the ESP8266 receives them from the Arduino...
Can i use this setup if I only want to connect arduino into an internet to connect my arduino into a cloud server? or do you have any suggestions... Thank You.. I just really need answers...
yes, you can, there is an http client library for that
umm my serial monitor just prints out garbage on 9600 bauds and on any other baud level and my pins are double checked... any ideas?
Hey I found a fix for my problem, I had to reinstall the ESP code to the factory defaults, If anyone is like me and only have at their belt an arduino and an ESP you should try learning how to configure the arduino to work as a pass trough for the data in the edit mode for the ESP. After you do that you can find online some software that writes the factory default code on your COM port. I sadly am in a hurry and cant really provide links on how to do this neither found a video that does all of this at once, but atleast I hope I can shine a light on the path to fixing the ESP. Also there is a chance based on how or what was the condition of the ESP to just be damaged and rendered unusable
Sir, In which wire can connect these two? and another question is, we can connect with app or sim card using esp8266? If connect which device connect sim card?
Which wires do you mean? And I haven't used the sim card before.
Greetings sir. What will be differ if I am using a Arduino nano
I got some garbage data what should I do......and i am requesting to send me to exact hardware connection .
have you tried a different board?
No i am using Arduino Uno and same connection what u said u in video but I didn't get reply from esp82
He said connect Tx to Tx and Rx to Rx , could be a mistake but he should be careful.
When I connect the CH_PD pin to 3.3V the the wifi module power indicator doesn't glow,why is that?,when I disconnect the CH_PD pin it glows and my Arduino as well gets disconnected when the CH_PD pin is connected to the vcc pin
I get the same problem
can i use this method in arduino mega 2560?
Rx to Rx and TX to Tx for testing the AT command. Now I want to make Arduino Wifi project. Should I make cross connection like Tx to Rx and Rx to TX?
im doing a similar project, have you found an answer to this?
@ggerfanclubpresident5285 I'm able to make ESP01 accept AT commands now.
Now I'm still searching on UA-cam tutorial for project. I'm not sure the wiring is the same if I need ESP01 to do more than testing AT commands. For example, I want ESP01 to host a webpage. When user click some buttons on webpage, ESP01 then sends command to Arduino UNO to control devices that connected to its GPIOs.
I need help please, I have a project that I should have an IoT system, and I chose an arduino measuring temperature of the room, and send the data from arduino to html page I have created using MQTT, can you help me please ?
I am sorry I can't get involved in coding projects, but I wish you good luck.
can i use arduino uno r3 in connecting with es8266 wifi module?
Hi i use this setup how i want to sent data using mqtt to adafruit?
why AT command no display at my arduino IDE?
Please review the circuit connections again and try different Baud rates.
Did you upgrade your esp8266-esp01 to new firmware that supports AT command?
I had the same problem. Now I no longer the problem.
@@jumbo999614 explain to me how
dealing with these modules is beyond frustrating. This didn't work for me. No response on the serial monitor.
Did you upgrade your esp8266-esp01 to new firmware that supports AT command?
I had the same problem. Now I no longer have the problem.
@@jumbo999614 How do you upgrade?
my ESP chip is getting hotter when I connect CH_pd to 3.3v can you tell what causing that ?
I am not sure why this happens, but it might be worth adding a cooler fan
i follow all the steps but when i write at serial monitor the output not produce anything. Can you describe the problem?
The BAUD rate is usually the problem, try different BAUD and see if you get a response.
@@MustafaQamarudDin nothing happen sir
@@blackwhite5606 Are you sure of the wiring?
I am having the same problem here and everything is connected
@@cpatriciasousa unfortunately the only way to find out is to make sure the uno has an empty sketch and then try all different baudrates unless there is a firewall or similar on Windows. I have only ever used Linux Ubuntu.
Sir, we need to attach resistor also, to reduce the risk of short circuit???
I believe you should for a more durable setup. I keep it simple though in this video because I was more interested in showing the AT command set.
I need help to make a dongle with esp8266, if you know a suitable site or can guide me, I need help!
Sir will this last for 1 day..? Or shld we use the resistor..?
This is not tested for long usage, only prototype the idea for illustrative purposes.
sir, i have connected all the wire correcly and set the baudrate at 115200, but in serial monitor spamming "AT" (not responding), how can i solve that? please give me solution
same thing ! did you resolve it?
@@aomo5293 try 9600 baud
Did you upgrade your esp8266-esp01 to new firmware that supports AT command?
I had the same problem. Now I no longer the problem.
sir how you connect that esp to my wifi ?
How to connect ESP8266 to the firebase?
Hello sir,
Can I try OTA coding to Arduino Uno using esp 8266?
im not entirely sure of your question but hopefully this video will help: ua-cam.com/video/gFK2EDNpIeM/v-deo.html
Does not work, I had to use 115200 for Baud
THANK YOU A LOT.
Hello, I am getting error that Timed out waiting for header
It's mostly because of a wrong connection
Hello please I get ‘Failed to connect to esp8266 invalid head of packet (0x00)’ error .
Please what do I do ?
Connecting Ch_pd to power turns off the esp8266’s lights.
Please help !
I did your connection and it changed to ‘ Failed to connect to esp8266 invalid head of packet (0x7F)’
I changed tx-rx and now I have 0xFE error😢
Sir how you connected 3 pins to the 3.3 v without using breadboard ?? Give some suggestions sir
I am using a breadboard
u buy broo
Just solder 3 onto the same cable and connect it to 3,3 V
there is a device that let you temporarily connect wires together. Just insert wires into the hole and clamp it down.
If you don't have breadboard, you can use that.
But it will get complicated if there are more wires to connect.
So it's best to use breadboard.
Nice
"on arduino"
Wowo
I LOVE YOU
⛔⛔Attention, do not blindly follow the pin out, this will destroy your ESP8266!! You can not connect the 5 volt levels from the Arduino directly to the ESP8266.
It looks to me like he said 3.3v, nothing about 5v
@@TJbuffsThe issue is that if the Arduino uses a 5v logic level, the TX and RX pins will be 5v instead of 3.3v. It's a bit subtle.