No video

Serial Communication - Arduino UNO and ESP8266 (ESP-01)

In this video, you will learn how to do the serial communication between Arduino UNO board and ESP-01. This is a must see video for those who are Arduino lovers and are stepping into the field of Internet of Things using Arduino.
Please do watch other video which sends values from Arduino to ESP-01 : • Serial Communication -...
arduino.esp8266...
github.com/jat...
www.arduino.cc...

Пікірлер: 258

  • @techsteering
    @techsteering4 жыл бұрын

    Please do watch other video which sends values from Arduino to ESP-01 : kzread.info/dash/bejne/m4ahyNCfcb24lZc.html A new step by step series on making your own smart light using ESP8266 and Alexa Skills: (11 Videos) kzread.info/dash/bejne/oodhm6xso6XHg7A.html

  • @uvaishwarsii

    @uvaishwarsii

    3 жыл бұрын

    please Make a project on "ARDUINO UNO with ESP8266 & 8 CHANNEL RELAYS" and program it..... 🙏🙏🙏🙏🙏

  • @SupremeNoble
    @SupremeNoble5 жыл бұрын

    Yo after a billion youtube tutorials, this is the only one video where I have been able to get the ESP8266 to actually do something! Thank you so much man! :DDDD

  • @HariKT

    @HariKT

    3 жыл бұрын

    @Random Duo I guess you already know this. For the rest : Changing baud rate to appropriate one will show the correct message.

  • @ZookeeperJohnG
    @ZookeeperJohnG8 ай бұрын

    "Connect the Reset pin of the Arduino to ground" for the WIN!!! THANK YOU! :)

  • @jsmythib
    @jsmythib2 жыл бұрын

    This was the straight forward tutorial I was looking for! Once the 3.3v regulated is powering the esp8266, its digital output are still recognized by the 5v arduino inputs. However, in a perfect world I would use a voltage divider to lower the digital output from the arduino to esp @ 3.3v. OK, Im going to try. Thanks you :)

  • @prezbenny7842
    @prezbenny78422 жыл бұрын

    You're probably the only one (I watched) so far that explained how to connect ESP-01 and Uno (Nano perhaps), nice and good job friend.

  • @Cancellator5000
    @Cancellator50002 жыл бұрын

    I wasted a lot of time looking through written tutorials and nothing really got to what I was looking for. This was great. I finally have a telnet server that I can use to communicate with an arduino remotely!

  • @brother_ahdan
    @brother_ahdan4 жыл бұрын

    I think this is the best tutorial for Arduino to EPS without AT command manually

  • @swiffels1445
    @swiffels144511 ай бұрын

    I found this tutorial after 3 hours of trying to figure out why mine wasn’t working, I just went into run app data and deleted the old eps8266 folder I had and then re downloaded the same version he used and it magically started working!!! Thx so much

  • @EgyptFishingVideos
    @EgyptFishingVideos Жыл бұрын

    Thank you very much. I have been searching for a couple of weeks, and your video is the ONLY one that gave a complete solution; meaning covering the programming stages (code + connections) on BOTH ESP2866 and Arduino! Best regards.

  • @toshib_raza
    @toshib_raza3 жыл бұрын

    After finding so much on internet i found it ..... your explanation is nice with proper details with ( do, don't do and why don't do)...thank you......

  • @LaxinitUp24
    @LaxinitUp243 жыл бұрын

    Outstanding tutorial! You don't miss a single detail. I followed these steps and everything worked perfectly. Much appreciated. Also, I did this without the 3.3 Voltage regulator although I haven't done any long term testing.

  • @BasemAtia1

    @BasemAtia1

    2 жыл бұрын

    What did u use instead of the regulator ?

  • @seoul_Jin500

    @seoul_Jin500

    3 ай бұрын

    how?! without voltage distribution

  • @garysenier2440
    @garysenier24408 ай бұрын

    Thanks for mentioning about the voltage regulator ... I would have used the onboard 3.3v ... after investigating the uno and Mega2560 they both only supply 50mA ... The esp8266-01 can use as much as 170mA during transmit. I will probably try it with 2 - AA batteries ... only 3v but i am guessing it will still work fine.

  • @hishcodes
    @hishcodes4 жыл бұрын

    You are really great man......Thank you so much... I thought my esp01 was dead...but turns out that I didn't knew to use it correctly. Thank you so much

  • @techsteering

    @techsteering

    4 жыл бұрын

    Glad I could help!

  • @jannis6841
    @jannis68415 жыл бұрын

    and how can I connect the ESP to the WLAN?

  • @ersinkar8902
    @ersinkar89025 жыл бұрын

    after hard days, at last find a really working tutorial. thank you bro :)

  • @stanlo45
    @stanlo454 жыл бұрын

    Thank you. Clear, concise and to the point.

  • @sukrukorcoban7020
    @sukrukorcoban70205 жыл бұрын

    it is very good video can you explain how to send sensor data from arduino to esp and from esp to webserver or thingspeak

  • @batticha462
    @batticha4624 жыл бұрын

    Great tutorial from great teacher. It is a pity that there is no much tutorials about Arduino

  • @techsteering

    @techsteering

    4 жыл бұрын

    I will to add more. Thanks.

  • @ARMANSAHI
    @ARMANSAHI5 жыл бұрын

    thank u man your video crystal clear teaches the esp connection and finally its running a big thanks

  • @tomazbarrantes
    @tomazbarrantes5 жыл бұрын

    Best video seem explaining esp8266 + arduino

  • @jrfirefox8515
    @jrfirefox85155 жыл бұрын

    Shurkiya. Best tutorial for esp8266.

  • @Electronics61
    @Electronics614 жыл бұрын

    Excellent video. I saw this first time and have subscribed your channel.

  • @techsteering

    @techsteering

    4 жыл бұрын

    Thanks.

  • @katiacassar
    @katiacassar5 жыл бұрын

    So by doing this process, do you connect the Arduino Uno to the Wi-Fi?

  • @jccruzh
    @jccruzh2 жыл бұрын

    wow, the video has some audio problems, but the content and code it's great, thanks for sharing

  • @kanickdinesh3229
    @kanickdinesh32295 жыл бұрын

    thanks a lot sir, u have really helped me , i was struggling helplessly up until i came across this video............

  • @clebdev
    @clebdev2 жыл бұрын

    Dude, that's a great tutorial, tnks for sharing.

  • @djjjozsi
    @djjjozsi4 жыл бұрын

    Yeah, tomorrow i'm gonna make this. Thanks for sharing this piece of tutorial. I'm a newbie :) Thanks!

  • @aymenberkaoui8871
    @aymenberkaoui88716 жыл бұрын

    Thank you so much for your video. Waiting for more ESP8266 videos

  • @hrithikjain1806
    @hrithikjain18065 жыл бұрын

    Instead of using the reset pin at the beginning to bypass Arduino UNO can it also work by removing the ATmega chip of Arduino?

  • @KunalGautam

    @KunalGautam

    5 жыл бұрын

    Few things to consider: 1) Removing/Putting IC Chip might break pin of the chip(If done carelessly). Hence RST Pin Bypass is easy method. 2) There is also SMD Version of Uno (www.flipkart.com/adraxx-arduino-uno-r3-compatible-atmega328p-development-board-smd-version-cable/p/itmfybz4fugrvmpf)

  • @Lez10344
    @Lez103442 жыл бұрын

    Amazing tutorial!! Thank you so much

  • @karenspalter1839
    @karenspalter18392 жыл бұрын

    do i need to connect both arduino and esp usb to computer?

  • @gregoryderwon3133
    @gregoryderwon31332 жыл бұрын

    why did you use software serial ? you could have left in on de hardware serial ports .. or is it a must ?

  • @hc8714
    @hc87143 жыл бұрын

    This is best out there. The others are really not for beginners.

  • @guliyevshahriyar
    @guliyevshahriyar Жыл бұрын

    thank you very much, this is the most complete tutorial

  • @nameless8674
    @nameless86744 жыл бұрын

    In some tutorials i saw that u need to connect esp rx to tx of the arduino, when u go rx to rx and when rx to tx ?

  • @abdulwasey1814

    @abdulwasey1814

    4 жыл бұрын

    to program esp8266 he is using RX->RX and TX->TX and for listening or serial communication he is using RX->TX and TX->RX.. this is what i understand correct me if i m wrong

  • @SupremeNoble
    @SupremeNoble5 жыл бұрын

    Oh so once the esp8266 is coded, it will automatically do it when connect to arduino? So how do I code so that the esp8266 automatically connects to my wifi

  • @JavierCamacho

    @JavierCamacho

    5 жыл бұрын

    use the esp8266wifi library and esp8266httpclient library

  • @jube1907
    @jube19072 жыл бұрын

    thank you! it finally works

  • @BudaSuyasa
    @BudaSuyasa Жыл бұрын

    Fantastic tutorial!

  • @popat2030
    @popat20305 жыл бұрын

    Hi, I'm getting an error esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header What could be the reason? urgent!

  • @Omar.bin.khattab

    @Omar.bin.khattab

    5 жыл бұрын

    Flow this steps " 1- Open Serial Monitor 2- make GPIO0 inside ESP8266 To Ground 3- Reset Module by power on/off or by putting RESET Pin to GND Once and disconnected again 4- if previous steps is success u must see some string in serial monitor that mean ur module in programming mode and ready for uploading code to it 5- upload sketch and have fun 6- if u want to test ur sketch then swap module to normal mode by disconnect GPIO0 from GND 7- reset module as step #3 after that module will work in normal mode and execute ur code

  • @sunnybera1327

    @sunnybera1327

    5 жыл бұрын

    @@Omar.bin.khattab Appreciate your inputs. I had the same issue and your fix helped me to resolve this.

  • @Omar.bin.khattab

    @Omar.bin.khattab

    5 жыл бұрын

    @@sunnybera1327 happy to hear that ... have a nice day

  • @turulob1055
    @turulob10553 жыл бұрын

    Error: The selected serial port_does not exist or your board is not connected. What should I do ? 🙏

  • @tusharalase7472

    @tusharalase7472

    3 жыл бұрын

    Change the ports , from Tool > Port > u may be shown many , well one of them works ...... Try all of them one by one

  • @OmarValenz
    @OmarValenz3 ай бұрын

    very good my friend, good job

  • @aryanscloudsolutionsresear5582
    @aryanscloudsolutionsresear55822 жыл бұрын

    I am getting this error , I am using without regulator and using 3.3 v. raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error)) esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header the selected serial port does not exist or your board is not connected. Can you please help ?

  • @kentfitzgeraldtamayo6782
    @kentfitzgeraldtamayo67825 жыл бұрын

    sir i have a major question, can i do this vice versa ? i mean instead of ESP module are sending/writing ? arduino uno will send or write data/string and esp will catch or get the data ? is that possible ? if it is how can i do it ? sir i'm having a bit problem with it, a reply would be appreciated sir.

  • @techsteering

    @techsteering

    5 жыл бұрын

    Well, I did not try this but try following. As per the tutorial, we are reading a string in Arduino and writing a string from ESP. Do the vice-versa. Since, we are using SoftwareSerial library for Arduino, refer to following link to be used in Arduino. www.arduino.cc/en/Reference/SoftwareSerialWrite For ESP Code, you can simply write, Serial.read....Try this out and please share your findings. If it does not work for you, I will try it in my free time. Hope this helps.

  • @pokpikchan
    @pokpikchan10 ай бұрын

    Nice explanation thanx

  • @shohishi
    @shohishi5 жыл бұрын

    Thanks so much for the tutorial have had a hard time trying to get it to work.

  • @Omar.bin.khattab
    @Omar.bin.khattab5 жыл бұрын

    perfect tutorials ..... can u make another one for making module run as Web Server and how to communicate to Arduino as web server .. thanks again

  • @thomasmolina1024
    @thomasmolina10243 жыл бұрын

    Great explanation, thank you.

  • @rishabhsevta1385
    @rishabhsevta13852 жыл бұрын

    Sir esp-01 gets disconnected from wifi after few seconds. Can you please help me.

  • @kailashb2011
    @kailashb2011 Жыл бұрын

    Realy a working tutorial

  • @alos.1198
    @alos.11983 жыл бұрын

    Can i use the 3.3V from arduino directly....without using the voltage regulator?

  • @rishabarora9269
    @rishabarora92694 жыл бұрын

    Nice Tutorial, Thanks for sharing this.

  • @rawanlankesh5283
    @rawanlankesh52832 жыл бұрын

    Is possible to send and receive serial data between ESP-01 and Arduino UNO in same time.

  • @HakkiOgrt
    @HakkiOgrt3 ай бұрын

    thank you for your help, I subscribed

  • @crispychickenwing
    @crispychickenwing3 жыл бұрын

    Can I use esp8266 together with Hc05 bluetooh module using 1 arduino uno board

  • @israrali3065
    @israrali30653 жыл бұрын

    Sir i try this on esp o1 and uno it is working perfect but when i trying on Arduino mega 2560 it show nothing on serial monitor with all communication pins what i can do?

  • @amprodes
    @amprodes4 жыл бұрын

    HI am using a loRa-02 radio module and it also communicating with my Arduino and everything goes well until I add mySerial(2,3) then nothing show's up, help please!

  • @rahmaeldreny2746
    @rahmaeldreny2746 Жыл бұрын

    how did you have the virtual serial com port? I can't do it cause I have only one com port

  • @emirhan1356
    @emirhan13564 жыл бұрын

    How can i do. If esp01 returns a string for example if esp01 returns led_on , uno lights the led up

  • @pierreatallah3797
    @pierreatallah37972 жыл бұрын

    Thank you my friend👌

  • @marijnfly
    @marijnfly5 жыл бұрын

    I also ran into the 'Times out waiting for packet header' error. Only after using my first Arduino board (lolon d1 mini v3.1.0) for not even an hour. I am a beginner and I don't understand the troubleshooting process and the comments so far on this problem still leave me clueless how to proceed. I have another board, but I have no idea why it got bricked so easily so I don't want to try that one now. Can it be restored without doing hardware stuff? Just by connecting it with the USB? Any help is greatly appreciated.

  • @manjunathmanjunath3973
    @manjunathmanjunath39733 жыл бұрын

    thanks for your knowledge sharing

  • @FarezGhaniMaheswara
    @FarezGhaniMaheswara Жыл бұрын

    So i need to upload code to esp01?

  • @vikaspatil1234
    @vikaspatil12342 жыл бұрын

    Uploading this sketch on ESP, does the firmware erase?

  • @abdulwasey1814
    @abdulwasey18144 жыл бұрын

    thanks man u r legend

  • @lasthandman
    @lasthandman5 жыл бұрын

    Liked and Subd. A quick question, why did you move tx/Rx to pins 2&3? Could you have left them as is? Awesome and very descriptive video!

  • @lasthandman

    @lasthandman

    5 жыл бұрын

    Unsubscribe and unliked,

  • @THEWHITEKNIGHT

    @THEWHITEKNIGHT

    5 жыл бұрын

    @@lasthandman are you talking to yourself ? hahaha

  • @obaidsid
    @obaidsid4 жыл бұрын

    Excellent Video! I would like to know how can i read the data from my equipment and transmit it back to it me on my smartphone. Let say I have an inverter for my solar panels and everytime i have to go physically near to it and check can i get the same values on my cell phone using this method. Yes my inverter have a rs232 port

  • @techsteering

    @techsteering

    4 жыл бұрын

    If you could read values from inverter and send it using MQTT, you can receive it on your smartphone. Please check my MQTT videos. It's part of my new series "Alexa based smart light"

  • @JexNegal
    @JexNegal Жыл бұрын

    Why i cant reset the esp-01 after doing this ?

  • @d.jtrump3771
    @d.jtrump37715 жыл бұрын

    mine is esp8266 esp01s, is it the same to this? can my procedure be as same as yours?

  • @techsteering

    @techsteering

    5 жыл бұрын

    yes.

  • @hyunglegaspi6220
    @hyunglegaspi62202 жыл бұрын

    Do you have idea about Esp8266 wifi module? I have a problem. AT Commands doesn't work. It only displays reversed "question marks". Thank you again

  • @anonyone8834
    @anonyone88347 ай бұрын

    thanks, it helped alot

  • @ziyamaslam2728
    @ziyamaslam27285 жыл бұрын

    hey bro i have arduino uno along with temp,humidity,soil moisture,rain sensors. and i want to save these values into my website domain's database. can u help me how to solve my problem. how can i fetch all readings from Arduino uno to NODEMCU esp8266. then pass these values to DB

  • @arvindh4327
    @arvindh43273 жыл бұрын

    Why haven't you level shifted tx & rx channel btw 8266 and uno? As per data sheet 8266 tx and rx are 3.3v reff

  • @elitekiller2434
    @elitekiller24344 жыл бұрын

    i would like to connect a similar project with google firebase. is the procedure similar?

  • @markuskernoecker6848
    @markuskernoecker68482 жыл бұрын

    can i use the RX and TX pins for communication as well?

  • @InnovatetoLife
    @InnovatetoLife4 жыл бұрын

    i have a probelm ... the StringReady in arduino code never seems to get true for me ... i couldnt figure out y

  • @anshulkumrawat3300
    @anshulkumrawat33005 жыл бұрын

    Sir if I want to get values from arduino to esp01 than how i can do.?

  • @ilyaszahoufi7817

    @ilyaszahoufi7817

    4 жыл бұрын

    DID YOU FIND THE SOLUTION ?

  • @hunterpruett5455
    @hunterpruett54554 жыл бұрын

    my arduino in serial monitor does not show any strings from the esp. it shows only Received String: How can i fix this?

  • @BharatiSubramanian99217
    @BharatiSubramanian992174 жыл бұрын

    Can you please help me out? I have a different ESP8266 module which has different configuration and pins. I'm unable to find a VCC pin. Can you please help me out?

  • @rasheedmalik6594
    @rasheedmalik65945 жыл бұрын

    i m getting "espcomm_failed" error...also why didnt u use 3.3v directly from the arduino?

  • @techsteering

    @techsteering

    4 жыл бұрын

    Rasheed, I have explained why not to use 3.3v directly. Use it the way, I have explained and it will work. Please check the wiring again as well.

  • @wotesi
    @wotesi5 жыл бұрын

    You have got good teaching video. Thank you! But would you help me in similar case - I have got ESP-01 adapter, where I can plug my ESP8266. It has 8 pin connector and out I get 4 pins - VDD, GND, RX, TX. I would like to control, for example, a LED with Mobile phone. So I need to connect it somehow to Arduino (which I can maybe figure out myself), then I need some S/W to connect with my mobile phone to me ESP8266 (like to Bluetooth HC-06 module), which I believe I can find in Internet, but how about Arduino code? How to program Arduino to receive signals and to operate LED? Thank you in advance! BR, Valters

  • @techsteering

    @techsteering

    5 жыл бұрын

    I would recommend to use ESP8266 Dev Board + LED + Mobile to achieve what you are looking for and skip Arduino. The reason I am saying that is you could achieve what you want without Arduino. For some specific reasons, if you wish to use Arduino then you have following choices: 1. Use combination of Arduino + LED + Mobile + Bluetooth module and control LED from your mobile using bluetooth. In this case, you don't need to use ESP-01 2. Let's say you wish to control throught WiFi. Then use Arduino + ESP-01 + LED + Mobile + MQTT (CloudMQTT). Mobile will send the on/off request to MQTT. You can download an existing MQTT app for mobile. ESP-01 will be a subscriber for MQTT. As soon as, mobile sends the on/off request to MQTT, ESP being a subscriber will receive the same. Next, ESP will pass on the on/off request to Arduino through serial communication and Arduino will turn the LED on/off basis on the instructions it has received. Further, in option 2, you can still choose to skip Arduino, ESP-01 and use ESP8266 dev board instead. Personally, I would prefer to use serial communication where something is already designed using Arduino and I need to extend the functionality using ESP. For example: Let's say an arduino based car is already designed and now I want to control it using Alexa voice commands. In this scenario, I will add ESP-01 on top of Arduino. Hope this helps.

  • @heitlerremlalfaka4063
    @heitlerremlalfaka40633 жыл бұрын

    sir, great tutorial.. hats off to you.. sir, i have a question though, id be really grateful if you answer my doubt.. When, we upload the code to esp, does that mean we have- flashed the firmware and uploaded a new firmware (which is our code) , or is the original firware still there along with the program that we have just uploaded (to the esp)..

  • @junaid_0948
    @junaid_09484 жыл бұрын

    help me sir, i have done everything but nothing is being printed in serial monitor after uploading to arduino

  • @dragonmil6911
    @dragonmil69115 жыл бұрын

    do you know how to send data from arduino to esp-01?, great video c:

  • @emirhan1356
    @emirhan13564 жыл бұрын

    An awesome video. Congratz

  • @SupremeNoble
    @SupremeNoble5 жыл бұрын

    I only have 1 port that is COM5(Arduino/Genuino Uno), is this the right port or should there be 2 ports?

  • @sumitmainali9146

    @sumitmainali9146

    5 жыл бұрын

    That's the right port man!:)

  • @MrKillerboyz45
    @MrKillerboyz455 жыл бұрын

    good explaination bruh... btw i have question need to be ask. do you know how to make doorbell able to send signal to camera to snap a picture after the doorbell being pressed?

  • @techsteering

    @techsteering

    5 жыл бұрын

    This can be achieved in multiple ways. Place a motion sensor/ distance measuring sensor (ultrasonic)/ touch sensor with door bell and send the signal through bluetooth or MQTT to the Raspberry pi. On receiving the signal, Raspberry pi could execute the command to click the picture. If you are using a foscam, check for foscam APIs. They also provide this feature for developers.

  • @yogeshsahu7104
    @yogeshsahu71043 жыл бұрын

    In My case It is showing an Error: "Failed to connect " Even the connections are same as in the video.. plzz help me to resolve this issue.

  • @Zerklickt
    @Zerklickt5 жыл бұрын

    It is also possible to have the two controllers connected to different power supplies isn't it?

  • @masouddayaghi5923
    @masouddayaghi59233 жыл бұрын

    You could directly receive 3.3 volt from arduino board and u did not need to use a voltage regulator

  • @jsmythib

    @jsmythib

    2 жыл бұрын

    I think you could but in my case, the Arduino Mega only supplies 150ma, where as the esp8266 v1 I have maxes out at 250ma

  • @asraralbeshri2405
    @asraralbeshri24055 жыл бұрын

    Bro i try to run GSM module on Generic ESP module board in Arduino .. but the software serial of the GSM is not running on this board .. what is the solution? please help me .. i search about this a lot of time really 😭💔

  • @hyunglegaspi6220
    @hyunglegaspi62202 жыл бұрын

    I can't communicate using software serial. Whyy? Help me please

  • @user-hd7hq4lf4y
    @user-hd7hq4lf4y3 жыл бұрын

    You connect ESP uart (3 Volts !) directly to Arduino Uno uart (5 Volts!) ??? Are you OK? ESP may be damaged!

  • @Mersal-uj5nh
    @Mersal-uj5nh3 жыл бұрын

    LD1117v33 noting it down for my reference. 1- Arduino ground 2- 3.3v output (+) 3- 5v from arduino

  • @markuskernocker392
    @markuskernocker3923 жыл бұрын

    My adruino is only receiving data if i disconnect the pin 2 for a very short time. Anyone encountered this problem before?

  • @Unknown-xw6ik
    @Unknown-xw6ik5 жыл бұрын

    thanks for this awesome tutorial.

  • @sayokdeymajumder6180
    @sayokdeymajumder61805 жыл бұрын

    Man you are awesome. This was really useful.

  • @vipulchauhan6562
    @vipulchauhan65624 жыл бұрын

    When connecting arduino reset to gnd, n attempting to upload the code to esp8266, "could not open port COM7" error is coming

  • @awsomeasif6862
    @awsomeasif68624 жыл бұрын

    Uno with ESP-01 (SoftwareSerial) on connecting to Firebase ?

  • @gadisabekele8520
    @gadisabekele85203 жыл бұрын

    how to connect two channel relay board with two light bulb, esp8266 wifi module and arduino uno

  • @diandradenisetapalla3208
    @diandradenisetapalla32082 жыл бұрын

    Hello! what if my port is not clickable?