Тёмный

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

datasith
Подписаться 29 тыс.
Просмотров 232 тыс.
50% 1

• 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

Наука

Опубликовано:

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 476   
@jose-azevedo
@jose-azevedo 4 года назад
After going through at least 30 tutorials on RU-vid, 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 RU-vid 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!
@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 :)
@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 !!
@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!
@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!
@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 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!
@abdullahyousef3596
@abdullahyousef3596 2 года назад
This is the best tutorial I have seen for this topic.
@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!
@agustinsida8877
@agustinsida8877 3 года назад
i made a webserver for a 3d printer thank to you, thanks man..gonna donate when im able to
@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!
@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!
@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!
@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!
@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 :)
@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!
@HellaFunnyShorts
@HellaFunnyShorts 5 лет назад
Just the video i was looking for. Very informative.
@datasith
@datasith 5 лет назад
Glad you found it useful!
@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 :)
@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!
@LuisPa247
@LuisPa247 4 года назад
Excellent video, simple, powerful, detailed.
@mowtown75
@mowtown75 Год назад
Clear and concise, thanks great intro to wifi and webservices.
@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!
@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).
@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!
@capiberra4118
@capiberra4118 7 лет назад
Very useful info and well presented. Thanks!
@datasith
@datasith 7 лет назад
Thanks for the kind comment, glad you liked it!
@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!
@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
@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?
@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 :)
@sameerkulkarni4023
@sameerkulkarni4023 5 лет назад
Excellent and crystal clear explanation. Thank you.
@datasith
@datasith 5 лет назад
I'm glad you liked it! Thanks for stopping by!
@VocasoGK
@VocasoGK 6 лет назад
I love your series on ESP8266!
@datasith
@datasith 6 лет назад
Thank you! More episodes coming soon :)
@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!
@patfacunla1687
@patfacunla1687 3 года назад
The best tutorial i have seen for a while This one is a hidden gem on RU-vid. This guy deserve a million subs!!!
@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!
@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!
@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!
@AdamoMorone
@AdamoMorone 7 лет назад
Excellent! This was very helpful, thank you very much!
@datasith
@datasith 7 лет назад
Thanks for watching!
@maxim25o2
@maxim25o2 2 года назад
Super tutorial! Great job, thank You.
@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!
@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, RU-vid 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 (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ROeT-gyYZfw.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!
@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!
@jix177
@jix177 7 лет назад
Very clearly explained. Well done.
@datasith
@datasith 7 лет назад
Thank you so much, glad you're finding our content 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 :)
@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!
@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!
@salmanalotaybi1048
@salmanalotaybi1048 3 года назад
Well done!! Do you have any experience on Photon??
@meggrobi
@meggrobi 7 лет назад
Very clear concise and informative
@datasith
@datasith 7 лет назад
Thanks for the kind words, we're glad you found it useful!
@natanlisowski
@natanlisowski 3 года назад
Great tutorial!
@7Trident3
@7Trident3 2 года назад
Still an excellent tutorial in 2022!
@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!
@piotrostrowski9080
@piotrostrowski9080 3 года назад
Thanks for great start with ESP8266 :)
@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.
@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!
@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!
@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 :)
@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!
@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!
@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.
@slashghero
@slashghero 7 лет назад
Perfect! Thank you very much!!
@datasith
@datasith 7 лет назад
Igor Tomljanovic, thanks for watching!
@torquebiker9959
@torquebiker9959 4 года назад
Great tutorial, thank you very much!
@datasith
@datasith 4 года назад
I'm glad you found it useful, thanks for the kind comment!
@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!
@jayarajvs7541
@jayarajvs7541 4 года назад
Great way of explanation
@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!
@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!
@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!
@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!
@pixelpappede
@pixelpappede Год назад
Simple, precise and accurate :-) Perfect, but one private whish: don't use any background-music for yor future videos :-)
@heaventouchasmr8293
@heaventouchasmr8293 5 лет назад
Wow explained really good...I like that
@datasith
@datasith 5 лет назад
Thank you!
@fireflyglow9766
@fireflyglow9766 7 лет назад
Excellent video!!!
@datasith
@datasith 7 лет назад
Thanks for the kind words! We're glad you found the content useful!
@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.
@2KD2Gaming
@2KD2Gaming 5 лет назад
Good one man... thanks
@datasith
@datasith 5 лет назад
Glad you found it useful. Thanks for watching!
@KiraguMacharia
@KiraguMacharia 5 лет назад
organised work good, keep up
@datasith
@datasith 5 лет назад
Thank you! I'm glad you found it useful.
@L-36
@L-36 7 лет назад
Excellent. I should have started here instead of the other one I commented on. +1
@datasith
@datasith 7 лет назад
👍
@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!
@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
@JadeclonOfficial
@JadeclonOfficial 4 года назад
You are my hero
@datasith
@datasith 4 года назад
I'm glad I could help, thank you for the kind comment!
@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!!!
@wilwad
@wilwad 6 лет назад
Lovely tutorial bro
@datasith
@datasith 6 лет назад
Thanks for the kind comments, boss. I'm 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!
@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"}
@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!
@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...
@Ahmedyashar
@Ahmedyashar 7 лет назад
hi , very nice tutorial thank you very much. could you do another tutorial showing how to control servo motor instead of LED please? I'm trying to build RC car controller by using two esp8266 .
@datasith
@datasith 7 лет назад
Hi, Ahmed. Thanks for watching, we'll be posting videos regularly with different projects. An RC car tutorial is in progress! In the meantime, check our next video (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-EAUCajLvDKw.html) for sending data to the Webserver, which you can use to specify movement to the servos!
@chrissimpson4436
@chrissimpson4436 2 года назад
Thank you very much for so many good instructional videos.... Great stuff
@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!
@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?
@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!
@vijaymadipally2608
@vijaymadipally2608 7 лет назад
Great video and i have found it very interesting. But my problem is that i have uploaded code to my ESP-01 module and it works as expected when my module is connected to my laptop via USB - TTL converter , when i plug the usb-ttl converter to POWERBANK or 5v Wall charger the blue light always turns on also some times ESP-01 sends some random characteres until i power it off and on again.
@datasith
@datasith 7 лет назад
Hmm, we haven't played much with the ESP-01, but I have read on several discussion threads that the power source needs to be very reliable. Sorry we can't be more helpful!
@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!
@technicalbyvideohmv5457
@technicalbyvideohmv5457 3 года назад
Hi, great video. Could you show me how to use 8266WebServer library (method, function....)? thanks
@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!
@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 (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6YAnqHTm7_o.html and ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-lteGQrY5Yu4.html)
@linuxtubers7313
@linuxtubers7313 5 лет назад
Excelent video
@datasith
@datasith 5 лет назад
Thank you so much, I'm glad you found the info useful!
@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!
@aar_ash
@aar_ash 7 лет назад
Hey there! good video but I have a question, can we send HTML as a response instead of plain text?
@datasith
@datasith 7 лет назад
Yup, you can change the type inside the function call and use HTML inside the returned string. HTH!
@alvaroportela85
@alvaroportela85 7 лет назад
it's realy helps me a lot
@datasith
@datasith 7 лет назад
Awesome to hear, Alvaro!
@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!
Далее
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
I built my own computer. by hand.
13:03
Просмотров 1,1 млн
Hacking a weird TV censoring device
20:59
Просмотров 3 млн
ESP32 DHT Web Server Project
5:53
Просмотров 104 тыс.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06