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

  Переглядів 231,000

datasith

datasith

День тому

• Your support helps me post videos more frequently:
/ acrobotic
www.paypal.me/acrobotic
buymeacoff.ee/acrobotic
BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
• Find me on:
/ acrobotic
/ acrobotic
/ acrobotic
==========
• My shops:
acrobotic.com/shop
amazon.com/shops/acrobotic
==========
• 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/products/acr-00018
amzn.to/2dAZ1mW (affiliate)
==========
• Project code:
Firmware for the Arduino IDE:
github.com/acrobotic/Ai_Tips_...
==========
• Tutorials:
Detailed guide for getting started with the ESP8266 Development Board:
learn.acrobotic.com/tutorials/...
==========
• 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 UKposts, 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 3 роки тому
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!
@ricko.4411
@ricko.4411 2 роки тому
FANTASTIC! This should be the standard for this type of instructional video! Easy to understand, not boring, clear and to-the-point. Thank you!! Very helpful.
@allersvp
@allersvp 5 років тому
after many other UKposts 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!
@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!
@SuperNathanTube
@SuperNathanTube 3 роки тому
I have so far listened to two videos on ESP webservers and I am starting to like your way of presenting. Good job !!
@abdullahyousef3596
@abdullahyousef3596 Рік тому
This is the best tutorial I have seen for this topic.
@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 :)
@agustinsida8877
@agustinsida8877 3 роки тому
i made a webserver for a 3d printer thank to you, thanks man..gonna donate when im able to
@ryanshelton4545
@ryanshelton4545 4 роки тому
Fantastic instructions. Thank you for being so detailed.
@datasith
@datasith 4 роки тому
I'm glad you found them useful, Ryan. Thanks so much for watching!
@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!
@mowtown75
@mowtown75 Рік тому
Clear and concise, thanks great intro to wifi and webservices.
@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 :)
@LuisPa247
@LuisPa247 3 роки тому
Excellent video, simple, powerful, detailed.
@andrejcupac7359
@andrejcupac7359 4 роки тому
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 4 роки тому
Thanks for the kind words, Andrej. I'm glad you found the content useful!
@HellaFunnyShorts
@HellaFunnyShorts 4 роки тому
Just the video i was looking for. Very informative.
@datasith
@datasith 4 роки тому
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!
@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 4 роки тому
@@palashpalpattuwar87 yes, I describe it on my other videos (Station Mode vs. Access Point).
@maxim25o2
@maxim25o2 2 роки тому
Super tutorial! Great job, thank You.
@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!
@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!
@arshkfilms8656
@arshkfilms8656 4 роки тому
Simple precise and accurate cant ask for more. Such a great tutorial.
@datasith
@datasith 4 роки тому
ArshKFilms thanks for watching my vids. I’m glad you’ve found them useful!
@garygreen3141
@garygreen3141 4 роки тому
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 4 роки тому
This makes me happy to hear, Gary! I'm glad you found it 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!
@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
@salmanalotaybi1048
@salmanalotaybi1048 3 роки тому
Well done!! Do you have any experience on Photon??
@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 :)
@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!
@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!
@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 :)
@Thonss
@Thonss 3 роки тому
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?
@sameerkulkarni4023
@sameerkulkarni4023 5 років тому
Excellent and crystal clear explanation. Thank you.
@datasith
@datasith 5 років тому
I'm glad you liked it! Thanks for stopping by!
@7Trident3
@7Trident3 Рік тому
Still an excellent tutorial in 2022!
@capiberra4118
@capiberra4118 7 років тому
Very useful info and well presented. Thanks!
@datasith
@datasith 7 років тому
Thanks for the kind comment, glad you liked it!
@VocasoGK
@VocasoGK 5 років тому
I love your series on ESP8266!
@datasith
@datasith 5 років тому
Thank you! More episodes coming soon :)
@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!
@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 :)
@AdamoMorone
@AdamoMorone 6 років тому
Excellent! This was very helpful, thank you very much!
@datasith
@datasith 6 років тому
Thanks for watching!
@marknah
@marknah 5 років тому
Excellent video - very pertinent and to the point. Good job and thanks!
@datasith
@datasith 4 роки тому
Thanks, I'm glad you liked it!
@piotrostrowski9080
@piotrostrowski9080 3 роки тому
Thanks for great start with ESP8266 :)
@patfacunla1687
@patfacunla1687 3 роки тому
The best tutorial i have seen for a while This one is a hidden gem on UKposts. This guy deserve a million subs!!!
@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!
@willydoeslife
@willydoeslife 5 років тому
great tutorial learned a lot. Thank you so much
@datasith
@datasith 5 років тому
Thanks for the kind comment, and for stopping by my channel!
@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!
@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!
@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!
@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 :)
@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!!!
@meggrobi
@meggrobi 6 років тому
Very clear concise and informative
@datasith
@datasith 6 років тому
Thanks for the kind words, we're glad you found it useful!
@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!
@slashghero
@slashghero 7 років тому
Perfect! Thank you very much!!
@datasith
@datasith 7 років тому
Igor Tomljanovic, thanks for watching!
@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!
@pixelpappede
@pixelpappede Рік тому
Simple, precise and accurate :-) Perfect, but one private whish: don't use any background-music for yor future videos :-)
@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!
@chrissimpson4436
@chrissimpson4436 Рік тому
Thank you very much for so many good instructional videos.... Great stuff
@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, UKposts 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 (ukposts.info/have/v-deo/in-WiGOesI-Lx6s.html). 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!
@jayarajvs7541
@jayarajvs7541 3 роки тому
Great way of explanation
@MrBobWareham
@MrBobWareham 3 роки тому
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
@jix177
@jix177 7 років тому
Very clearly explained. Well done.
@datasith
@datasith 7 років тому
Thank you so much, glad you're finding our content useful!
@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!
@KiraguMacharia
@KiraguMacharia 5 років тому
organised work good, keep up
@datasith
@datasith 5 років тому
Thank you! I'm glad you found it useful.
@steve8939123
@steve8939123 6 років тому
thanks for the info. Great video.
@datasith
@datasith 6 років тому
We're glad you found it useful! Thanks so much for the kind words!
@natanlisowski
@natanlisowski 2 роки тому
Great tutorial!
@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!
@xavierb1431
@xavierb1431 6 років тому
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 6 років тому
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 2 роки тому
Was about to say, code link is in description :)
@elihaviv7715
@elihaviv7715 5 років тому
Thanks, excellent vide, you are a great teacher
@datasith
@datasith 5 років тому
Thanks for the kind comments, I'm glad you found it useful!
@larrypoorman2300
@larrypoorman2300 5 років тому
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 5 років тому
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.
@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.
@torquebiker9959
@torquebiker9959 4 роки тому
Great tutorial, thank you very much!
@datasith
@datasith 4 роки тому
I'm glad you found it useful, thanks for the kind comment!
@L-36
@L-36 7 років тому
Excellent. I should have started here instead of the other one I commented on. +1
@datasith
@datasith 7 років тому
👍
@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!
@heaventouchasmr8293
@heaventouchasmr8293 5 років тому
Wow explained really good...I like that
@datasith
@datasith 5 років тому
Thank you!
@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!
@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!
@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.
@S24W2
@S24W2 7 місяців тому
Thabk you very kuch, may i ask whats with the []()?
@JadeclonOfficial
@JadeclonOfficial 4 роки тому
You are my hero
@datasith
@datasith 4 роки тому
I'm glad I could help, thank you for the kind comment!
@CharlyRuga
@CharlyRuga 6 років тому
OMG I love you so much!
@datasith
@datasith 6 років тому
Thank you, thank YOU!
@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!
@TechnoEveryday
@TechnoEveryday 2 роки тому
🆒 Excellent video! Thanks from whole 🇵🇰
@2KD2Gaming
@2KD2Gaming 5 років тому
Good one man... thanks
@datasith
@datasith 4 роки тому
Glad you found it useful. Thanks for watching!
@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!
@MikkoPihlajamaki
@MikkoPihlajamaki 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!
@wilwad
@wilwad 5 років тому
Lovely tutorial bro
@datasith
@datasith 5 років тому
Thanks for the kind comments, boss. I'm glad you liked it!
@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!
@ubhare
@ubhare 6 років тому
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 6 років тому
Yes you can, you can use the HTTP code 204 for an empty response "". Thanks for watching, and for the kind words!
@alvaroportela85
@alvaroportela85 7 років тому
it's realy helps me a lot
@datasith
@datasith 7 років тому
Awesome to hear, Alvaro!
@nabadweepchamuah8408
@nabadweepchamuah8408 4 роки тому
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 4 роки тому
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!
@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!
@technicalbyvideohmv5457
@technicalbyvideohmv5457 2 роки тому
Hi, great video. Could you show me how to use 8266WebServer library (method, function....)? thanks
@harishkk5861
@harishkk5861 7 років тому
well understand suitable for beginner, thanks for this video . where i can learn the codes you mentioned "eg: web server library "
@datasith
@datasith 7 років тому
harish kk thanks for watching! All the links are in the description of videos. Let us know if we missed anything.
@thelotuswallflower3919
@thelotuswallflower3919 3 роки тому
hello,great video. Thanks! after compiling the program the ip address did not show.Please do you know what i am missing?
@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!
@s3bk504
@s3bk504 7 років тому
Hey, excellent video, thank you for that! My question: how can I change the format of the value I send. For example you use "text/plain" to send "Hello World", what do I have to use for sending an float type variable? Thanks ;)
@datasith
@datasith 7 років тому
Hi Sebastian, thanks for watching! The "text/plain" is a directive for the client to know what type of data is being sent, the options don't specify whether it's a number or a string. This logic is implemented on the client side, that is when you read the data being sent by the server you can typically specify whether it's a string, number, json object, etc. If you wanted to specify from the server side what type of data it is, you can send it as a json object with two fields: {"value": 2.03, "type": "float"}
@aar_ash
@aar_ash 6 років тому
Hey there! good video but I have a question, can we send HTML as a response instead of plain text?
@datasith
@datasith 6 років тому
Yup, you can change the type inside the function call and use HTML inside the returned string. HTH!
@fireflyglow9766
@fireflyglow9766 7 років тому
Excellent video!!!
@datasith
@datasith 7 років тому
Thanks for the kind words! We're glad you found the content useful!
@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...
@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!
@BilalKhan-sx9eu
@BilalKhan-sx9eu 5 років тому
Best Ever!
@datasith
@datasith 5 років тому
Thank you for watching, and for the kind comment!
@BilalKhan-sx9eu
@BilalKhan-sx9eu 5 років тому
Welcome,You own it man!
@mattpfeiffer7528
@mattpfeiffer7528 3 роки тому
You the man
@datasith
@datasith 3 роки тому
Haha, thanks so much Matt. I'm glad you found it useful!
@francescofabbro3543
@francescofabbro3543 6 років тому
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!
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Переглядів 1,5 млн
ESPNOW for beginners! #ESP32 #ESP8266
35:09
Programming Electronics Academy
Переглядів 117 тис.
Артем Пивоваров х Klavdia Petrivna - Барабан
03:16
Artem Pivovarov
Переглядів 4,3 млн
I built my own computer. by hand.
13:03
jdh
Переглядів 1,1 млн
ESP8266 in 5 minutes
5:50
MrDIY
Переглядів 112 тис.
Arduino MASTERCLASS | Full Programming Workshop in 90 Minutes!
1:25:31
Programming Electronics Academy
Переглядів 2,3 млн
3 HACKING gadgets you have to TRY!!
19:34
NetworkChuck
Переглядів 1,4 млн
This is SO Much Better! Getting Started with ESPHome 2021
29:42
Everything Smart Home
Переглядів 318 тис.
I shouldn’t have kept the $1,000,000 computer
28:05
Linus Tech Tips
Переглядів 524 тис.
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Переглядів 16 млн
Как должен стоять ПК?
1:00
CompShop Shorts
Переглядів 705 тис.