Esp8266 WiFi Module setup using Arduino Uno || ESP8266 Blynk || IoT Project || uElectroPro
Вставка
- Опубліковано 10 вер 2024
- Hi! In this video I will show you how to getting started with esp8266-01 WiFi module and make a simple LED light controlling project using Arduino, ESP8266 and Blynk App
00:37 Circuit Diagram
00:42 Remove Atmega328P
Remove Atmega328P Because we directly want to communicate with esp8266 through serial monitor(as USB to serial convertor), not from the atmega328p
00:55 Make connections (for esp8266 communication)
01:18 Check Arduino Board and port
01:30 Open Serial monitor (set baud rate and Both NL & CR)
By reconnecting the GND wire of Esp8266, it will print the "ready" on Serial monitor that means now it is ready for AT commands. First I write some AT commands to test esp8266 and then changed the baud rate of the ESP8266.
02:04 Change Baud rate of esp8266, write AT+UART_DEF=9600,8,1,0,0
03:07 Download the Blynk App and Libraries
06:21 Make connections for final setup
07:26 Setup the Blynk App
09:19 Source code
10:50 Make some changes in code and upload
13:15 Done!
Note: If you are getting esp not responding then first check the TX and RX connections and make sure wires are not loose and broken. Second check the baud rate.
Code: drive.google.c...
Schematic for communicating with esp or changing the baud rate:
drive.google.c...
Schematic for final setup:
drive.google.c...
Home Automation using ESP8266 : • ESP8266 Home Automatio...
Subscribe our channel : / @uelectropro
Like us on Facebook: / electronic-projects-15...
I hope you Like this video. If so
don't forget to Subscribe and if you have any question related to this topic then feel free to comment
uelectropro
-------------------------------------------------------------------------------------------------------------
esp8266 tutorial,
esp8266 arduino,
esp8266 projects,
esp8266 wifi module arduino,
esp8266 code,
5$ arduino wifi module,
esp8266 01
Works perfectly . . . .some notes:
1.- In order to see the new libraries you have to restart Arduino Application after you copy the files.
2.- I had to create the folers for tools manually, in windows 10 is a little bit different.
Everything else is very very clear. I know my notes are stupid things but it may help noob people like me.
Thanks man for your job you really helped me a lot, appreciate.
Really those are few but can take a lot of time to get solved.....
Appreciate your help.👍
@Mayank Bhadauria make a " Tools " file from yourself .
Hi There Jesus... thanks for the explanation...
I'm having a slightly different problem, I managed to load into my ESP8266 the example of 8266 WifiScan and it works perfectly, the problem is that I don't know how to follow the steps in this tutorial, because although WifiScan is working on my ESP826601s
It does not respond to AT commands.
Do you know a workaround or what should I do??
Cheers!!
Spot on ! it works ! nice work!
One suggestion : instead of remove the chip from UNO board, just connect POWER:RESET pin to the GND (I used GND pin at digital IO pins side). it gives the same effect while keep the chip untouched.
hello can u tell me what the power:reset pin is? it is the 3v3 and RST pin on the esp?
This is one of the best videos on UA-cam to connect Arduino to the Blynk. I was looking for the tutorial for the past 6 months. NodeMCU can be connected very easily but Arduino Uno is a little bit tricky.
So thank you so much for your support and tutorial. Really appreciate the work.
This is the most accurate explanation out of all the garbage uploaded over UA-cam!! :))
Accurately explained how to connect Blynk via ESP8266 ❤️
Thank you so much :)
works perfectly with Arduino Mega, just change (2,3) to (11,10)
thanks, bro, you helped me! just realized that mega pin 2&3 are not supported for software serial
@@arduteknik6126 how can you remove microcontroller in arduino mega
@@tabarkbasim9015 no I didn't, I actually still not understand how the microcontroller system work, but in this case I just removed the jumper wires from Pin 2&3 (which commonly used in other types of Arduno like UNO or Nano) and plugged it into 11&10
Can u help me please. My esp not responding. I tried the 11.10 pin in arduinomega, but it failed
Thanks man! I'd like to add some notes on this:
1. Instead of just removing your arduino mcu chip, just connect arduino's reset pin to ground pin.
2. Also take note on the serial monitor part where AT commands were done. I took me few minutes to figure it out why it wasn't working the same until I changed the Newline to "Both NL & CR" and the baud rate from 9600 to 115200.
The rest was working very well.
Bro you saved me from removing that mcu chip . It was so hard to remove it . I thought I would break my Arduino Uno 😂
Very helpful, I have the esp8266 WEMOS because that was the quickest to get but i still think elements of this video will work with it. keep up the good work.
Thank you, it's working after I depressed my self to find a way to use ESp8266 modul with Aduino.
good job bro but I have a note: you don't have to remove the microcontroller you can just put it in the reset mode by connecting reset pin to ground (gnd) and that's it🙃
Hello. At the ESP8266 module or Arduino UNO?
@@Hhh-hm7ukin the Arduino or maybe ESP8266 if the reset pin is available
I have a problem .. can help me to solve it ( Error compiling for board Arduino/Genuino Uno.) this massage appears when compiling the sketch, I select Arduino Uno board.
why when i want to verify the code blynk, “error compling for board arduino uno” pops up cant upload :(
I have a question.
I can change the esp8266-01 for the nodemcu esp8266 connecting the tx and the rx of arduino to the tx and rx of nodemcu?
i cant communicate with my esp...every time i try to reset it oder change the baud rate theres just written error...do you know how i can fix this?
regards
[598] Connecting to Palonki 3G
[1612] ESP is not responding
. but why, help plz
the same here :( did u find a solution!!
@@nadiahendaoui1958 plzz solution
Did you find the solution
@@sagarreddyn1664 Anybody here found the solution??
THANK YOU SIR. This video really helped me in my project.
If you uploaded any code to esp8266 before, you should flash the firmware of esp8266 in order to work with this method
My esp is not responding
How to solve this problem
?
amazing video sir, looking forward for u to most more like this!
Please tell me why you removed IC before coding in arduino
to rest it
last step my serial print show logout not ready(ping: 37ms) then cannot control the led
bro thank you! incredible tutorial. you saved my life jajaja
work perfectly beautiful explanation
Wat if I am using mega not uno
Hi What can I do if its a used ESP01s board, and it doesn't respond to AT instructions but it is working with the example WIFIScan
any help is appreciated!!
Cheers
SOLVED!!!!.... Flashed it to V2 firmware and its working fine
HEY PLZ HELP URGENT!!!!
IT SAYS ITS READY BUT WHEN I TYPE AT ,it shows AT ERROR plzz tell me what should be done ,,trying from 6 months
Why have u connected both transmitters and receivers in circuit diagram?
Please help. I am getting below error when I try to load the blynk code and open serial monitor
[599] Connecting to SunA6202
[1613] ESP is not responding
Check esp8266 tx and rx connections
i have a question ;; if i am far away and i will connect my phone to yn other wifi rotor
, deos it work correctly
Is it possible to control from far away distant if my phone is connected to different network?
Yes
hyee , Ive done everything , But how i do connect the esp8266 to my phone?
Awesome. Everything worked nicely from beginning to end. Thanks a lot.
my ESP is not responding .... i tried the whole procedure almost 5 to 6 times
I again test the circuit and got same problem. Solution for this is that Arduino 3.3v is not enough for esp so you need external 3.3v to 3.6v DC supply for esp and also make sure your connections are good
@@uElectroPro Thanks. That solved my issue.
@@uElectroPro Could you explain more on the solution please? about the external 3.3v...
Thanks you! Of course works great!
am struggling with the serial monitor part keeps getting this, "⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮" and when I remove the esp gnd and put it back it will give me odd shapes/symbols.. I have checked the port and its correct.. do help and advice me what I can do, thanks!
Check the baud rate of serial monitor
I followed the same connections and removed the atmega. Nothing appears in serial monitor. Do you need something before this?
Change 9600 baud to 115200 baud, and change "Newline" beside the baud setting to "Both NL & CR"
Is there no way to stop the reset on a power on ?. Because all the relays are on.
Check out another video about home automation on my channel
why the RX and TX connection no t connectd to RX and TX of arduino ??
Hey can I ask, will wifi module work even when your phone didn't has a SIM CARD ?
Yes, If your phone is connected to internet via Wi-Fi
I have a Problem, it worked until I tried to change my baud rate to 9600, now it shows only garbish on any baud rate. Can I reset the esp in order to do it again?
Change the serial monitor baud rate
How many watts should I use for the resistor? Will a 1 and 2 OHM 1 Watt resistor work?
why is #include is no such file or directory?? please answer
Try to restart arduino ide.
works perfectly,thank you so much
how do I do this but instead of a led light I wanna control a relay? thanks
Attach the relay on arduino pin and select that pin in Android app. It's same as controlling LED, just replace LED with relay
No response after "connected to WIFI" the device didn't connect to blynk. What should I do?
Any other ways to contact you?
Hi there. i'm new to Blynk but must the mobile device be connected to the same internet connection as the wifi module or the mobile device can be connected to another internet connection and control this device from anywhere ?
Anywhere as long as you are connected to internet
@@uElectroPro Okay That's great because i've got a project and i really appreciate your fast reply :D
How do we configure that in the code?
initially I had problem but if observe carefull it will work. I did it's working fine
Brother, can you solve this problem?
How did u rectify esp not responding problem
Why sometimes my ESP connected and sometimes disconnected with my Blynk apps. Can someone help me?
Why did you remove atmega and then put it again. And also initially TX and RX were 0 and 1 why it also changed? Thx
Atmega328p is removed because we directly want to communicate with esp8266 through serial monitor(as usb to serial convertor) , not from the atmega328p. That's the reason for tx and rx pins are reversed because we are using arduino serial chip
thats helpful thx. but any ways to use its own GUI on pc with C# or C++ with this wifi unit? are there any libraries for this?
hello, i am done with wifi module resetting but error while adding library to arduino as you said in above comments i reset arduino ide but same error getting @
uElectroPro
hey , will that work without wifi-adapter just by esp8266
Hey I like your project
I just had a query that is it necessary to put the RX and TX pin on 2 and 3 only on Arduino can't we use it on pin 4 and 5.???
Bro ye router se connect ho raha ha laik hotspot se connect nhi ho raha is ka kya mtlb ha?
THIS WORK THANKS BROTHER :D
Can I do this without using resistors and capacitors???
Perhaps a different circuitry or method???
I seldom comment on a video but really thanks a lot
So I'm assuming this will only work if the phone and arduino are on the same wifi network. What if I want to turn the LED light on remotely across the internet
You can also control it over a different wifi network as long as esp module and blynk app is connected to internet
At 12:46 for me it write "ESP not reponding" and i don't know what is the problem i followed all the tuto :(
Check tx and rx pins connections and baud rate of serial monitor
Thanks a lot! You're the best!
THANK YOU!!! It's working!!! ❤!!!
Hi do i connect a nodemcu the same way?
How to reupload a new code after I ve already uploaded a code on ESP8266? Any help would be greatly aprecciated.
broo please help me my board is not working
Can you explain
After shown ready in serial monitor then i typed a AT command it write error.
In case of ARDUINO MEGA how can i remove ATMEGA IC?
What step i should take and is it necessary to remove ATMEGA ic.
You can use USB to TTL converter, it's necessary because you need to change the baud rate of esp8266 module
In my connection ready is not showing...plz help
Can i use this module for making a wireless tally light for Vmix ?
ESP8266_Lib.h: No such file or directory
Please help
Try to restart arduino ide
Work perfectly
Thanks
HI I ONLY HAVE ESP8266 NOT WIFI ADAPTOR SO WHAT CAN I DO
Anyone please tell me that how can i measure temperature and humidity and i wanna display data on application
How can I control multiple LEDs (a LED cube) ?
Plz help i want to make wifi car using esp8266_01 module arduino and motor driver schield
It is possible to used arm7 lpc2148 instead of arduino
Does the mobile phone and esp8266 module have to be connected to the same wifi network? Can i connect phone with mobile data and esp module with wifi?
Yes you can use mobile data. It does not matter if they are connected to the same network or not, as long as both (esp and smart phone) are connected to the internet
@@uElectroPro Ok! Thank you so much!
i am getting errors
Arduino: 1.8.9 (Windows 10), Board: "Arduino/Genuino Uno"
ardino_port:52:19: error: 'Serial1' was not declared in this scope
#define EspSerial Serial1
^
C:\Users\punit\OneDrive\Documents\Arduino\ardino_port\ardino_port.ino:61:15: note: in expansion of macro 'EspSerial'
ESP8266 wifi(&EspSerial);
^
C:\Users\punit\OneDrive\Documents\Arduino\ardino_port\ardino_port.ino: In function 'void setup()':
ardino_port:52:19: error: 'Serial1' was not declared in this scope
#define EspSerial Serial1
^
C:\Users\punit\OneDrive\Documents\Arduino\ardino_port\ardino_port.ino:81:3: note: in expansion of macro 'EspSerial'
EspSerial.begin(ESP8266_BAUD);
^
exit status 1
'Serial1' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
At 11:00 comment this line and uncomment the following lines and follow the next steps
لما يكون المديول الواي فاي جديد ولكن لو فيه برنامج من قبل كيف نقوم بذلك؟
Should i flash the esp8266 first or no? cuz my esp doesnt showing anything in serial monitor when i type AT
I had this too. but that was because it was set on 9600 baud. I changed it to 115200. it worked
If it's showing an error when you type AT then your esp isn't getting proper power. Use a external 3.3v supply to make it work
Thank you bro. Working Perfectly. But why my blynk application always keep showing "Offline since .." many times a day
Awesome man
sir while i am compiling it is showing ESP8266_lib.h : No such file or directory, even after adding blynk library
,Please help me....
Did you restart the Arduino IDE after adding library? If not then restart it
Same issue.....well... I've restarted aurdino ide too......still....not working... pls do help out
I did all this many time over, & I still get "ESP is not responding
", can U help me Please !!!
SET THE BAUD RATE TO 115200 AND THIS ERROR WILL BE RESOLVED
[14009] Failed to connect WiFi . can you fix it. pls?
Check the Wi-Fi ID and password and try again
Please can this set-up be used for temperature detection also?
AFTER CONNECT TO INTERNET ITS IS SAYING THAT ESP IS NOT WORKING
May i know why we need two 1K resistor at the RX? Thanks.
Arduino outputs the 5v and esp8266 works on 3.3v, so 1k and 2k ohm resistors work as the voltage divider to produce 3.3v
7:25 will this work without the resistors??
will it work without wifi adapter?
How to single phase induction motor Speedway control using smart phone, wifi module, lcd display, speed sensor, and aurdino uno and please help to complete project and program...
it is showing "ESP8266_Lib.h no such file " how to remove this error
At 3:41 download the library ZIP file and follow the rest of tutorial. If you already installed the library then restart Arduino IDE
Hi my serial monitor is not working... what should i do? i try to type AT, AT +RST, etc...it doesn't appear any result.
Please help me.
Check tx rx connections, and restart the serial monitor. Set baud rate 115200 and both NL& carriage return, and try again
If doesn't work tell me
No still cannot work.
I followed your same connection, the same procedure but it end up to be not working at the start of the serial monitor tried to enter a lot of times AT, AT +RST, etc but nothing comes out.
Does it show garbage data on serial monitor when you reconnect the gnd wire of esp8266
No nothing at all
Thanks, you helped me a lot!!!
But why you remove the ic please reply
best video for beginners..
Did you test the range of the module??
What's the range?
It connects to a Blynk server hosted on the internet. What happens is both the phone and Arduino (technically the esp module) are clients on the cloud based blynk server so he connected his phone and esp module to his home WiFi. Essentially as long as they are both connected to the internet the range is limitless
Can u please help me to connect arudino, nodemcu and moisture sensor
Bro can i do this with nano and esp01 please help
Works perfectly 😁
Sir can i use use Arduino UNO R3 SMD Board
working well. thanks.