No video

ESP8266 Web Server Step-By-Step Using Arduino IDE (Mac OSX and Windows)

  Рет қаралды 231,835

datasith

datasith

Күн бұрын

• Your support helps me post videos more frequently:
/ acrobotic
www.paypal.me/...
buymeacoff.ee/...
BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
• Find me on:
/ acrobotic
/ acrobotic
/ acrobotic
==========
• My shops:
acrobotic.com/...
amazon.com/sho...
==========
• Description:
In this video I go over the process, step-by-step, of how to write code in the Arduino IDE for getting a web server running. One of the most common tasks when using the ESP8266 is setting it up as a device that connects to a network and responds to traffic on it (i.e., a Webserver). Though several code samples exist already, I wanted to explain what you need from start to finish.
==========
• Project parts:
ACROBOTIC Development Board for ESP8266:
acrobotic.com/...
amzn.to/2dAZ1mW (affiliate)
==========
• Project code:
Firmware for the Arduino IDE:
github.com/acr...
==========
• Tutorials:
Detailed guide for getting started with the ESP8266 Development Board:
learn.acrobotic...
==========
• Music:
Jason Shaw (audionautix.com/). Creative Commons License 3.0.
==========
#ESP8266 #Arduino #Tutorial

Пікірлер: 476
@jose-azevedo
@jose-azevedo 4 жыл бұрын
After going through at least 30 tutorials on KZbin, yours was the first one that went step by step and made me understand a bit what each of these commands do, thank you very much Cisco!!
@datasith
@datasith 4 жыл бұрын
Hey José. I'm so very glad it could help, thanks so much for letting me know. It keeps me motivated knowing that people find this stuff useful!
@allersvp
@allersvp 5 жыл бұрын
after many other KZbin videos i though i have to ready full books myself to understand .. till i got to your videos (calm and step by step) ... now i understand everything.... you are the EVER BEST ... thanks bro
@datasith
@datasith 5 жыл бұрын
No worries, thank you for watching. It makes me happy you found it useful, and it helped you on your projects!
@timecentral3134
@timecentral3134 5 жыл бұрын
Very nice video!!! Works with an ESP32 (specifically, I have the ESP-WROOM-32 ESP-32s board) with the only changes being the library names. I had to change ESP8266WiFi.h to WiFi.h and ESP8266WebServer.h to WebServer.h. Thank you so much for the time you take to share this information! The audio is very crisp and clear in this, which makes following along easy. As a bonus, now that I have it working, the family is impressed and excited for it's applications (remote control custom lights / remote cat treat dispenser). Thanks once again!
@datasith
@datasith 5 жыл бұрын
Thanks for the compliment, I'm glad you found the content useful! Thanks so much for sharing details about your project, it makes me happy that you got it done as well as gathered interest in your project from the fam. If you ever post projects online, let me know and I'd be happy to take a look!
@walterwinnipeg7350
@walterwinnipeg7350 Ай бұрын
Wow! A really excellent video. I really liked your technique of building and testing your code one step at a time, to incrementally verify that each feature you added was working correctly. Bravo!
@abdullahyousef3596
@abdullahyousef3596 2 жыл бұрын
This is the best tutorial I have seen for this topic.
@agustinsida8877
@agustinsida8877 3 жыл бұрын
i made a webserver for a 3d printer thank to you, thanks man..gonna donate when im able to
@tdumnxy
@tdumnxy 7 жыл бұрын
Excellent video, interesting and useful content and very well presented. Well done and thanks.
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words, Stephen! We're working hard on producing content that's useful for people interested in DIY Electronics. Glad to hear that our efforts are paying off :)
@brandondaniels9471
@brandondaniels9471 7 жыл бұрын
Yes, it's definitely the best ESP8266 video I've seen. And, trust me, I've seen nearly every one of them and none of them are this helpful and easy to understand. LOL! :-)
@palashpalpattuwar87
@palashpalpattuwar87 5 жыл бұрын
Can't we directly assign the web server duty to nodemcu, without using an AP? Can't we assign an IP address by ourselves to Esp?
@datasith
@datasith 5 жыл бұрын
@@palashpalpattuwar87 yes, I describe it on my other videos (Station Mode vs. Access Point).
@sayedur
@sayedur 6 жыл бұрын
As instructional videos, yours are great! While a lot of other videos assume that the viewer already knows the basics, you took a different and the correct approach of explaning every single necessary detail. I cannot thank you enough!
@datasith
@datasith 6 жыл бұрын
Thank you for the kind words! I'm glad you like them!
@flyindon
@flyindon 7 жыл бұрын
Best tutorial I have found. Very clearly explained, plus I really like the method of toggling the LED.
@datasith
@datasith 7 жыл бұрын
We're glad to hear you're finding the content useful! Thanks for the kind words :)
@patfacunla1687
@patfacunla1687 3 жыл бұрын
The best tutorial i have seen for a while This one is a hidden gem on KZbin. This guy deserve a million subs!!!
@SuperNathanTube
@SuperNathanTube 4 жыл бұрын
I have so far listened to two videos on ESP webservers and I am starting to like your way of presenting. Good job !!
@andrejcupac7359
@andrejcupac7359 5 жыл бұрын
Best video ever...thank you so much. 1million times better than any other wifi module type tutorial video. Clear, simple, and easy to follow along with. Definitely subscribing to you.
@datasith
@datasith 5 жыл бұрын
Thanks for the kind words, Andrej. I'm glad you found the content useful!
@xavierb1431
@xavierb1431 7 жыл бұрын
Great tutorial! Just annoying how when you're typing code, the camera keeps cutting to you... hard to stop at the right moment and copy your code. When you're typing code, keep the camera on the screen! :D
@datasith
@datasith 7 жыл бұрын
The entire code snipped is on Github, the video is not meant as a screencast -- plenty of those out there. Plus, we love to see Cisco on camera /s
@sendittozach
@sendittozach 3 жыл бұрын
Was about to say, code link is in description :)
@mowtown75
@mowtown75 Жыл бұрын
Clear and concise, thanks great intro to wifi and webservices.
@garygreen3141
@garygreen3141 5 жыл бұрын
WOW, I have tried other tutorials and had no success, but this has been explained clearly, now it WORKS and i understand it. Fantastic well done. Thank you
@datasith
@datasith 5 жыл бұрын
This makes me happy to hear, Gary! I'm glad you found it useful!
@ThatsAllStuff
@ThatsAllStuff 7 жыл бұрын
Jesus. I search for so long time for a tutorial that explain it so easy. Thanks dude
@datasith
@datasith 7 жыл бұрын
Lol, glad you found it useful brotha!
@asheerali2376
@asheerali2376 5 жыл бұрын
presumably, the most useful tutorial on youtube for me
@datasith
@datasith 5 жыл бұрын
Thanks for the kind words, it makes me happy you find the content useful!
@asheerali2376
@asheerali2376 5 жыл бұрын
@@datasith plz upload a video for transmiting and receiving at the same time from the web server
@asheerali2376
@asheerali2376 5 жыл бұрын
@@datasith and can i communicate with a web server using multiple IOT's
@arshkfilms8656
@arshkfilms8656 5 жыл бұрын
Simple precise and accurate cant ask for more. Such a great tutorial.
@datasith
@datasith 5 жыл бұрын
ArshKFilms thanks for watching my vids. I’m glad you’ve found them useful!
@VIPINKUMAR-wr7mn
@VIPINKUMAR-wr7mn 5 жыл бұрын
Thanks Sir to clear every step , how and why we write methode and objects in code. This helps me lot
@datasith
@datasith 5 жыл бұрын
Thanks for the kind comment, I'm glad you found the video useful!
@pixelpappede
@pixelpappede Жыл бұрын
Simple, precise and accurate :-) Perfect, but one private whish: don't use any background-music for yor future videos :-)
@bgable7707
@bgable7707 3 жыл бұрын
Sweet!!!, on/off code trick using "!" in digitalWrite(pin_led, !digitalRead(pin_led)); I came across this in another snippet of your code and was scratching my head about it's purpose. Really helped to have you confirm what it was doing. Thanks!!!
@Civitenko
@Civitenko 7 жыл бұрын
These videos are giving me all the useful tools that I need for my projects. Well done !
@datasith
@datasith 7 жыл бұрын
Glad to hear you find them useful! Thanks for watching :)
@ryanshelton4545
@ryanshelton4545 5 жыл бұрын
Fantastic instructions. Thank you for being so detailed.
@datasith
@datasith 4 жыл бұрын
I'm glad you found them useful, Ryan. Thanks so much for watching!
@HellaFunnyShorts
@HellaFunnyShorts 5 жыл бұрын
Just the video i was looking for. Very informative.
@datasith
@datasith 5 жыл бұрын
Glad you found it useful!
@7Trident3
@7Trident3 2 жыл бұрын
Still an excellent tutorial in 2022!
@TomStratton
@TomStratton 7 жыл бұрын
Thanks for an excellent tutorial. Your training method is precise, clear and easy to follow. Tom (from UK)
@datasith
@datasith 7 жыл бұрын
Tom Stratton, thank you for the kind words! We're glad you're finding them useful!
@ExplainingMathematics
@ExplainingMathematics 7 жыл бұрын
Mate you have explained the question i had for years, cheers. SUBSCRIBED!!!
@datasith
@datasith 7 жыл бұрын
GODisONE MANisDUMB haha that's awesome! Glad we could help, thanks for the sub!
@phucnguyen2k
@phucnguyen2k 7 жыл бұрын
great tutorial for learning esp8266. Thumbs up thumbsup. I just got stuck by playing your tutorial from 1-9... lol . But it was fine when i tried to see the last video.
@datasith
@datasith 7 жыл бұрын
Thanks! Glad you like our contend. Much more coming soon!
@SimonSemore
@SimonSemore 5 жыл бұрын
Great tutorial, thank you so much for your videos. You really explain all of the functions and jargon in the code and make it much easier to learn. I like your esp8266 OTA video very much also. In that video you referred to your next video being able to send code via OTA at any time without needing to reset. I'm struggling to figure out how to update code. For example I'd like to add new firmware to update my led controllers to change virtual pin settings etc.
@datasith
@datasith 5 жыл бұрын
Thanks so much for the kind comment. It makes me really happy that you find the content useful! Funnily enough, I'm working on the second OTA video right now, and should have it published next week-a few viewers are waiting for it, so I'll put in my best effort and hope you all like it!
@Mersal-uj5nh
@Mersal-uj5nh 3 жыл бұрын
I think your playlist for "tips and tricks for ESP8266" contains videos in reverse order. Do change it so that complete beginners can easily understand the order👍. After seeing the description of the NEO project video,only I got to know that this one is actually the previous one to be seen first.
@allersvp
@allersvp 4 жыл бұрын
i have been searching for such step by step tutorial ... thanks sooooo much very helpful
@datasith
@datasith 4 жыл бұрын
No worries. I'm glad you found it useful!
@bernhardkeppner6239
@bernhardkeppner6239 7 жыл бұрын
Very well done. I like the way you present your stuff. Thanks!!!
@datasith
@datasith 7 жыл бұрын
Thanks for the kind comment, it's a team effort :) More vids coming your way!
@VocasoGK
@VocasoGK 6 жыл бұрын
I love your series on ESP8266!
@datasith
@datasith 6 жыл бұрын
Thank you! More episodes coming soon :)
@LuisPa247
@LuisPa247 4 жыл бұрын
Excellent video, simple, powerful, detailed.
@vaishakhmonti
@vaishakhmonti 7 жыл бұрын
The presentation and content were fantastic. Neat, clean and very well done indeed
@datasith
@datasith 7 жыл бұрын
We're glad you liked it! Stay tuned for more :)
@CyberCookieMonster
@CyberCookieMonster 6 жыл бұрын
Thanks for the videos. They are very helpful. The use of 204 response code instead of 200 was very useful. The logic in your script is by far the easiest to understand. What I need now, though, is a way to have a html link or button trigger the toggleLED function instead. I want the page to offer the same functionality, but without typing into the URL or having to build a client side phone app. I only need about 10 buttons and it seems I can reuse whatever logic is needed. Thanks!
@CyberCookieMonster
@CyberCookieMonster 6 жыл бұрын
BTW, I am your patron. :)
@datasith
@datasith 4 жыл бұрын
Sorry I missed this comment, KZbin finally lets us sort by "Comments I haven't responded to" so I'm going through the list. Have you looked at the Websockets videos? It's by far the easiest way to get data back and forth from a web client and the ESP8266 (kzbin.info/www/bejne/iIDIhWCdrr6NnNk). Let me know if you can adapt the code to your needs, or otherwise I can give you a better example. Feel free to ping me on Patreon any time!
@deepakh.s6346
@deepakh.s6346 5 жыл бұрын
A quality video, extremely useful for a beginner like me
@datasith
@datasith 5 жыл бұрын
Awesome! I'm glad you found it useful!
@maxim25o2
@maxim25o2 2 жыл бұрын
Super tutorial! Great job, thank You.
@sameerkulkarni4023
@sameerkulkarni4023 5 жыл бұрын
Excellent and crystal clear explanation. Thank you.
@datasith
@datasith 5 жыл бұрын
I'm glad you liked it! Thanks for stopping by!
@larrypoorman2300
@larrypoorman2300 6 жыл бұрын
Excellent tutorial but because I am a greenhorn you caught me up on one thing and it took me a day of searching to find my mistake. The mistake was that in order to get the "toggle" to work one has to enter the ip address/toggle on the browser and not just the ip address alone. Nonetheless keep up the great tutorials!
@datasith
@datasith 6 жыл бұрын
Thanks for the kind words, Larry! I'm glad you figured it out; upward and onward! :)
@juhopeltola3993
@juhopeltola3993 4 жыл бұрын
I can't get to my ip/toggle. Browser says denies to answer. Wats wrong in my project? Just ip says hello.
@jakesanchez3552
@jakesanchez3552 6 жыл бұрын
Thank you for this tutorial! Its like you read my mind and told me only what i needed to know lol, the wifes oven is going to be wifi controlled now, the control board went bad, way cheaper to use one of these than a new board.
@datasith
@datasith 6 жыл бұрын
That's awesome! Glad you found the tutorial useful. Upward and onward to (IoT) world domination!
@mikekim5135
@mikekim5135 4 жыл бұрын
Great tutorial! Thank you for providing such a thorough step-by-step process that is very easy to understand and follow. Cheers!
@datasith
@datasith 4 жыл бұрын
thanks for the kind comment, mike! i'm glad you found it useful :)
@marknah
@marknah 5 жыл бұрын
Excellent video - very pertinent and to the point. Good job and thanks!
@datasith
@datasith 5 жыл бұрын
Thanks, I'm glad you liked it!
@anthonycalia1317
@anthonycalia1317 7 жыл бұрын
Excellent explanation of a topic that has eluded my understanding. Nice job, Thanks!
@datasith
@datasith 7 жыл бұрын
Thank you so much for the kind words, we're very glad you found it useful!
@chrissimpson4436
@chrissimpson4436 2 жыл бұрын
Thank you very much for so many good instructional videos.... Great stuff
@salmanalotaybi1048
@salmanalotaybi1048 3 жыл бұрын
Well done!! Do you have any experience on Photon??
@piotrostrowski9080
@piotrostrowski9080 3 жыл бұрын
Thanks for great start with ESP8266 :)
@Thonss
@Thonss 4 жыл бұрын
thanks for your clear tutorials! I'm trying to add web functionality to my ESP8266 and these videos help a lot. However, I have noticed that I don't need to add the ESP8266WiFi.h to my sketch, only adding ESP8266WebServer.h works too. Do I really need the ESP8266WiFi.h?
@a14266
@a14266 7 жыл бұрын
Thanks for the informative video, May i know why do you have to use Terminal Vi to write the coding ? Why can't just directly type into the Arduino IDE ?
@datasith
@datasith 7 жыл бұрын
Heya! Thanks so much for watching and for the kind words. It's a matter of preference. We use Vim for a lot of different tasks (e.g., when working on our remote servers) so we're very familiar with it. Other popular text editors for programmers/developers include Sublime Text. However, the Arduino IDE's built-in editor works great too! Note that as your programs become more complex, the external editors have functionality that makes life a lot easier.
@capiberra4118
@capiberra4118 7 жыл бұрын
Very useful info and well presented. Thanks!
@datasith
@datasith 7 жыл бұрын
Thanks for the kind comment, glad you liked it!
@abhishekpaithankar2868
@abhishekpaithankar2868 7 жыл бұрын
Excellent video and very well presented. Keep up the good work.
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words! We're glad you liked it :)
7 жыл бұрын
Excellent tutorial! Just one question; Is there a specific reason why you use external editor with Arduino IDE?
@petermatthiesen8288
@petermatthiesen8288 7 жыл бұрын
Exatcly. Why? I also would like to know . . .
@datasith
@datasith 7 жыл бұрын
Hey, Mikko. Using a full-feature editor can be useful when writing longer programs, but it's only a matter of preference. I like *Vim* because all editing operations can be done using keystroke combinations, and I've been using it for a looooong time. These days, a popular one to try is *Sublime Text* if you'd like. Thanks for watching!
@datasith
@datasith 7 жыл бұрын
Hey, Peter. Mostly a matter of preference and habit as you can see in the previous response. Thanks for watching!
@thomasalexander1563
@thomasalexander1563 7 жыл бұрын
Amazing tutorial,,, Make more ESP8266,, It's hard to find good tutorial about ESP8266.. This channel will soon grow more subscriber...
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words, Thomas. We're glad you liked it!
@meggrobi
@meggrobi 7 жыл бұрын
Very clear concise and informative
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words, we're glad you found it useful!
@sergiopena8911
@sergiopena8911 5 жыл бұрын
Good video , well explained. I have a problem, I can control the esp8266 only if my phone or pc is connected to the same wifi network .How can i control the esp8266 out of the wifi network. please advise.
@datasith
@datasith 5 жыл бұрын
Check out my other video on remote monitoring (kzbin.info/www/bejne/bIqkn6R-idJqldE and kzbin.info/www/bejne/oqXIeISojpqMq5Y)
@victorcharlie
@victorcharlie 7 жыл бұрын
Really Awesome video, man. Subbed! I've picked up two ESP8266 to help me control my garage door via wifi and to show me the status of my garage doors whilst I'm away. (to my phone). Still need to get the fundamentals down though.
@datasith
@datasith 7 жыл бұрын
Thanks Vik, glad our team's effort has been useful to you! Fun projects like those you mention are definitely in the queue. As you've realized though, we're making sure we post stuff that covers the fundamentals first :)
@gibo588
@gibo588 7 жыл бұрын
github.com/esp8266/Arduino/blob/master/doc/esp8266wifi/server-examples.md The link above will explain all you need for this project. Just change the String(analogRead(A0)) to a pin input for status of your garage door limit switch. Function below is the response of the ESP8266 as server to the client. String prepareHtmlPage() { String htmlPage = String("HTTP/1.1 200 OK ") + "Content-Type: text/html " + "Connection: close " + // the connection will be closed after completion of the response "Refresh: 5 " + // refresh the page automatically every 5 sec " " + "" + "" + "Analog input: " + String(analogRead(A0)) + "" + " "; return htmlPage; }
@datasith
@datasith 7 жыл бұрын
Thanks for sharing that info, Gilbert!
@basedonprinciple
@basedonprinciple 5 жыл бұрын
@@gibo588 Error 404!
@jix177
@jix177 7 жыл бұрын
Very clearly explained. Well done.
@datasith
@datasith 7 жыл бұрын
Thank you so much, glad you're finding our content useful!
@jayarajvs7541
@jayarajvs7541 4 жыл бұрын
Great way of explanation
@AdamoMorone
@AdamoMorone 7 жыл бұрын
Excellent! This was very helpful, thank you very much!
@datasith
@datasith 7 жыл бұрын
Thanks for watching!
@natanlisowski
@natanlisowski 3 жыл бұрын
Great tutorial!
@MrBobWareham
@MrBobWareham 5 жыл бұрын
Loved it thanks you as always very clear to follow, you are a good tutor
@datasith
@datasith 5 жыл бұрын
Thanks for the kind words, Bob. I'm glad you liked the content!
@SanjivVenkatram
@SanjivVenkatram 4 жыл бұрын
Greetings and thanks very much for sharing. Very well delivered and easy to follow! Thanks again!
@datasith
@datasith 4 жыл бұрын
Thanks so much for the kind comment, Sanjiv. I'm glad you found it useful!
@MrBobWareham
@MrBobWareham 4 жыл бұрын
I love your videos you talk at a good speed with a good description of the code you are writing but I don't know if it is me but your text is blue on a black background and it is very hard to see so it makes it hard to follow your code? thanks, Bob
@bindhumounika2994
@bindhumounika2994 6 жыл бұрын
It's very helpful for beginners . Thank you sir!!
@datasith
@datasith 6 жыл бұрын
Thank you for your kind words! We're very glad you liked it :)
@TechnoEveryday
@TechnoEveryday 2 жыл бұрын
🆒 Excellent video! Thanks from whole 🇵🇰
@danielbob7769
@danielbob7769 4 жыл бұрын
Hey man , Good bless you , you helped me so much !
@datasith
@datasith 4 жыл бұрын
Haha, thanks so much. I'm glad I could help!
@selmanyalcinn
@selmanyalcinn 5 жыл бұрын
how can ı run a web server on a static ıp
@datasith
@datasith 5 жыл бұрын
Check my video on how to use the ESP8266 as an access point. Note that the static IP will be local to your network.
@elihaviv7715
@elihaviv7715 6 жыл бұрын
Thanks, excellent vide, you are a great teacher
@datasith
@datasith 6 жыл бұрын
Thanks for the kind comments, I'm glad you found it useful!
@FilmFactry
@FilmFactry 6 жыл бұрын
Excellent tutorial. Very clearly presented. Do more:-) Thanks!
@datasith
@datasith 6 жыл бұрын
Thanks for the kind words, we'll get back to it soon enough!
@technicalbyvideohmv5457
@technicalbyvideohmv5457 3 жыл бұрын
Hi, great video. Could you show me how to use 8266WebServer library (method, function....)? thanks
@imtiaziqbal3041
@imtiaziqbal3041 7 жыл бұрын
You are awesome teacher. I like the way your explain things. Thank you and God bless you.
@datasith
@datasith 7 жыл бұрын
It encourages us to keep working hard knowing that you're finding the content useful. Thanks again, Imtiaz!
@imtiaziqbal3041
@imtiaziqbal3041 7 жыл бұрын
I tried this and everything seem to have gone very well and i see the ip address on the serial monitor. However, when i goto IE and Chrome and type the ip adress it is not responding. wondering what i am doing wrong.... Thanks
@datasith
@datasith 7 жыл бұрын
Hmm that's strange. In your computer is connected to the same Wi-Fi network, you should be able to navigate to esp8266.ip.address/ using the ip address you're seeing and the browser should display the "Hello World" message. If you try the /toggle path, then nothing occurs on the browser, but the LED should toggle on and off. Hope that helps!
@willydoeslife
@willydoeslife 6 жыл бұрын
great tutorial learned a lot. Thank you so much
@datasith
@datasith 6 жыл бұрын
Thanks for the kind comment, and for stopping by my channel!
@heaventouchasmr8293
@heaventouchasmr8293 5 жыл бұрын
Wow explained really good...I like that
@datasith
@datasith 5 жыл бұрын
Thank you!
@josefposolda9736
@josefposolda9736 6 жыл бұрын
Hi, very nice tutorial. You mentioned that we can connect an other hardware and I wonder if there is a chance to connect USB laser printer, so I can use it as a network printer? If so, what is need it, how exactly it can communicate? Thank you very much for your tutorials and looking forward to see more.
@datasith
@datasith 6 жыл бұрын
For this, the easiest way would be to use a Raspberry Pi, which gives you an entire Operating System for high level operations like network sharing and such. Best of luck!
@emil253
@emil253 3 жыл бұрын
Very selfloved one author. He doesn't let to see the code. Change always from screen view to himself
@ubhare
@ubhare 7 жыл бұрын
Hi Cisco... Your tutorals are best and on point. Easy to understand. I want to know if we can send an empty response in this method" server.send(200, “text/plain”, “Other URL”); " I do not want to take client to anyother page but to keep on the same. Your help will be really appreciated.
@datasith
@datasith 7 жыл бұрын
Yes you can, you can use the HTTP code 204 for an empty response "". Thanks for watching, and for the kind words!
@torquebiker9959
@torquebiker9959 4 жыл бұрын
Great tutorial, thank you very much!
@datasith
@datasith 4 жыл бұрын
I'm glad you found it useful, thanks for the kind comment!
@TheScienceUniverse
@TheScienceUniverse 6 жыл бұрын
Thanks for this awesome tutorial...Me too also use Vim in Linux & Mac to code
@datasith
@datasith 6 жыл бұрын
Thanks for the kind words, I'm glad you liked it!
@steve8939123
@steve8939123 7 жыл бұрын
thanks for the info. Great video.
@datasith
@datasith 7 жыл бұрын
We're glad you found it useful! Thanks so much for the kind words!
@revetastogne
@revetastogne 7 жыл бұрын
Thank you for such a great tutorial! Could you please also let me know where I can find documentation on ESP8266WebServer? (because Arduino IDE doesn't have autocomplete, I need to now which functionality I'm able to use and how)
@datasith
@datasith 7 жыл бұрын
github.com/esp8266/Arduino/tree/master/libraries/ESP8266WebServer Thanks for watching!
@revetastogne
@revetastogne 7 жыл бұрын
Thank you!
@L-36
@L-36 7 жыл бұрын
Excellent. I should have started here instead of the other one I commented on. +1
@datasith
@datasith 7 жыл бұрын
👍
@TheKatandFriends
@TheKatandFriends 7 жыл бұрын
Hello, I've been having some trouble getting things working on my ESP. I have a version 1 board connected to an arduino that is connected to the USB port. Is there anyway around this? Will I need to get some other form of USB connection to the ESP Module so that I can upload this to it directly? and if I do will I be able to control my arduino with the functions in the same way? The reason I'm using an arduino uno is because I have a motor shield attached and my final goal will be to control a stepper motor from a remote location. Thank you, awesome video... one of the clearest I've found on explaining the ESP Module and the Wifi library.
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words! The ESP-01 doesn't have a built-in USB-to-Serial chip so you'll always need either an Arduino or a dedicated board for this functionality. Alternatively you could use Over-The-Air (OTA) programming for loading your sketches to the ESP-01 without a wired connection. If instead of using an Arduino Motor Shield you switch to a standard Motor Controller breakout board you can wire it to the ESP8266 and eliminate the need for the Arduino altogether. There's nothing wrong with your current setup, but our suggestion will simplify things a bit, having to worry only about a single microcontroller!
@2KD2Gaming
@2KD2Gaming 5 жыл бұрын
Good one man... thanks
@datasith
@datasith 5 жыл бұрын
Glad you found it useful. Thanks for watching!
@JadeclonOfficial
@JadeclonOfficial 4 жыл бұрын
You are my hero
@datasith
@datasith 4 жыл бұрын
I'm glad I could help, thank you for the kind comment!
@KiraguMacharia
@KiraguMacharia 5 жыл бұрын
organised work good, keep up
@datasith
@datasith 5 жыл бұрын
Thank you! I'm glad you found it useful.
@nabadweepchamuah8408
@nabadweepchamuah8408 5 жыл бұрын
Hi Cisco, first of all thank you for making very informative videos. I am trying to connect my NodeMCU 0.9 to my mobile hotspot but not able to connect, I am following all the steps and used the same code that you have used for your case. Please help me in this regard.
@datasith
@datasith 5 жыл бұрын
Hmm, strange, I'm not sure why. I'm always able to connect to mobile hotspots running on either iOS or Android. Double check your credentials!
@slashghero
@slashghero 7 жыл бұрын
Perfect! Thank you very much!!
@datasith
@datasith 7 жыл бұрын
Igor Tomljanovic, thanks for watching!
@enricosaccheggiani3192
@enricosaccheggiani3192 4 жыл бұрын
Wonderful, thanks so much a very good tutorial, very helpful and well explained. Today I try to do it with my esp8266 Thanks a lot I have subscribed the channel
@datasith
@datasith 4 жыл бұрын
hey! thanks for the subscription, i'm glad you find the video useful!
@wilwad
@wilwad 6 жыл бұрын
Lovely tutorial bro
@datasith
@datasith 6 жыл бұрын
Thanks for the kind comments, boss. I'm glad you liked it!
@fireflyglow9766
@fireflyglow9766 7 жыл бұрын
Excellent video!!!
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words! We're glad you found the content useful!
@sultanmalmodarra828
@sultanmalmodarra828 6 жыл бұрын
Thanks! it is well presented, but I have a question; we can't upload the code itself through WiFi? I mean, make ESP as an access point and upload the code to it after that ?!
@datasith
@datasith 6 жыл бұрын
You're welcome! Thanks for the kind comments. There's a method for uploading code over WiFi. Check out our video on Over-The-Air (OTA) programming. Thanks for visiting our channel!
@jaywardhanpandit
@jaywardhanpandit 4 жыл бұрын
Nicely explained. Pls help me, i hv followed all steps but at end when i tried to connect with server through ip address could not connect.
@datasith
@datasith 4 жыл бұрын
Thanks for watching. Double check that you don't have a typo in your code. You can use the link in the description to check my source code. HTH!
@jokripit8292
@jokripit8292 7 жыл бұрын
Thank you for this very nice and clear video. When I tested the WiFi connection, on the serial monitor, i could see the dot point endlessly showing up but no IP adress appearing, could it mean a problem with the WiFi on my nodeMCU?
@datasith
@datasith 7 жыл бұрын
Yup, that usually means that there was something wrong with your credentials (ssid/password). That's not the only reason, but definitely the lack of IP address indicates that the ESP8266 hasn't connected to the router yet!
@rusty_junk
@rusty_junk 3 жыл бұрын
I know I'm late to the party but why use an external editor? It looks like your just using the equivalent to a Windows command prompt window?
@poruatokin
@poruatokin 2 жыл бұрын
I just asked the same question. Seems dumb and more potential for typos.
@semestajaya9213
@semestajaya9213 7 жыл бұрын
Excellent video. Your video has led me to buy a module for experiment. Now the question comes, for working in Arduino environment, what firmware or bootloader that I need to install to the ESP8266 board? Where could I download the bootloader and firmware file for this purpose? TYIA...
@datasith
@datasith 7 жыл бұрын
The Arduino IDE allows you to upload your own firmware (the code that you write). You don't need a bootloader or a pre-compiled firmware file. Check out our other videos for how to get started. Thanks for watching!
@semestajaya9213
@semestajaya9213 7 жыл бұрын
Gotcha. Thanks...
@thelotuswallflower3919
@thelotuswallflower3919 4 жыл бұрын
hello,great video. Thanks! after compiling the program the ip address did not show.Please do you know what i am missing?
@cliant1
@cliant1 6 жыл бұрын
Nice video great background music in the intro part which one is that?
@datasith
@datasith 6 жыл бұрын
Can't remember the exact name of the track, but it's made by the awesome audionautix.com/. Thanks for watching and for your kind words!
@lavsmaster
@lavsmaster 5 жыл бұрын
Очень подробная инструкция. Thank you ! 😀
@datasith
@datasith 5 жыл бұрын
You're welcome!
@janakchadha8772
@janakchadha8772 7 жыл бұрын
Hi, I had a small question. I have a larger code running on my ESP8266 module. I'm using a webserver to send a request to toggle an led as well. This seems to work fine when the program contains code for only this. When I integrate it into my bigger program and try to toggle the LED, it doesn't. I believe this is because I don't exactly know how handleClient method works. Can you help me out? It is kinda urgent.
@datasith
@datasith 7 жыл бұрын
Can you send us the code over email, there are many possibilities and not enough information to even make an educated guess :-/ Thanks for watching though, we're glad that at least part of the code is working :)
@javijee_
@javijee_ 7 жыл бұрын
Janak Chadha You cannot say its kinda urgent!! are hou kidding??? . These peopke are not working for you. They do it for free and you didn't even thank them for this excellent piece of work.
@janakchadha8772
@janakchadha8772 7 жыл бұрын
Hey! I'm really sorry about that! I was in the middle of a project submission fiasco and probably wrote the comment in a hurry. I really appreciate their work and think that my project would not have been possible without their help. As for the 'urgent' part, it was by no means said in an authoritative way. It was a humble request to help me out at the earliest, if possible. Anyway, hope that clears things out. Thanks again for your work and great tutorials.
@francescofabbro3543
@francescofabbro3543 7 жыл бұрын
Hi, first of all congratulations for the videos, very complete. I have only one question... I cannot make it to install the library ESP8266Wifi...
@datasith
@datasith 6 жыл бұрын
The library is automatically installed when you add support for the ESP8266 board in the Arduino IDE. Make sure you select one of the ESP8266 boards from the menu before compiling/uploading the code. When you do this, the Arduino IDE 'knows' where to find the library. Thanks for watching!
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 31 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 27 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 31 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 8 МЛН
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 271 М.
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 543 М.
I built my own computer. by hand.
13:03
jdh
Рет қаралды 1,2 МЛН
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 144 М.
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 31 МЛН