Introduction to NodeMCU ESP8266 WiFi Development board with HTTP Client example- Robojax

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • Learn about the module, pins, voltage, example of pin mapping, send data over the internet with code.
    The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
    I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe and enable the bell 🔔.😊
    ** Purchase ESP8266 MCU **
    from Amazon USA: amzn.to/3wDYnww
    from Amazon Canada: amzn.to/3fS5dbK
    from Amazon Europe (All Europe) : amzn.to/31XwKAA
    ** Purchase Arduino Start Kit **
    Amazon USA: amzn.to/3z88F9G or just UNO board amzn.to/3aY7KOL
    Amazon Canada: amzn.to/31an88J or just UNO board amzn.to/3pYxSNN
    Amazon Europe (all Europe): amzn.to/3pMCHge or Just UNO board amzn.to/2PgGItD
    AliExpress: s.click.aliexpress.com/e/_9uc7Xe
    Banggood: www.banggood.com/custlink/3GD... or UNO board www.banggood.com/custlink/vKm...
    eBay: ebay.us/B1JWLi
    ***** Purchase Authentic Arduino Uno from ***
    Amazon USA: amzn.to/2KApAwK
    Amazon Canada: amzn.to/37LZ8sW
    All Europe Amazon: amzn.to/36YDSzn
    Get code used in this video and other resources: robojax.com/L/?id=249
    Jump to different chapters of video:
    00:00 Start
    00:57 Introduction to NodeMCU ESP8266
    04:20 Datasheet viewed
    06:23 Voltage explained
    09:07 Preparing IDE (Arduino)
    10:46 Selecting COM port
    11:48 LED blink
    13:11 GPIO Pins mapping
    14:25 Pin mapping (2)
    15:38 HTTP client (connecting to WiFi)
    22:30 Sending data to remote location
    If you want to prepare Arduino IDE with ESP8266 (short video): • Video
    Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
    Tutorial by Ahmad Shamshiri form Canada
    ****************************
    Arduino Step by Step Course (over 100 lectures) Starts here • Lesson 00 What is Ardu...
    Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
    ****************************
    If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
    Follow me on Facebook robojaxTV
    Follow me on Twitter: / robojaxtv
    Follow me on Instagram: / robojax
    Tutorial by Robojax.com
    Get other projects code and learn Arduino
    robojax.com/learn/arduino
    #robojax #robojax_esp8266
  • НаукаНаука

Комментарии • 133

  • @DoctorHouse999
    @DoctorHouse999 3 года назад +16

    thank you for explaining to me like a child. :) this is how explanations should be.

  • @viswanathlekshman112
    @viswanathlekshman112 4 года назад +5

    One of the best video for ESP 8266. Such detailed explanation ... :)

    • @robojax
      @robojax  4 года назад

      Thanks a ton

  • @planker
    @planker Год назад

    Excellent. I've been doing Arduino with you for sometime, I have a good understanding of it and the ESP family seems to be the next move.

  • @rezazahabi6192
    @rezazahabi6192 3 года назад +8

    Thanks indeed, you have presented a full detail explanatory course. Very helpfull!

    • @robojax
      @robojax  3 года назад

      You are welcome. I am glad you liked. Salamat bashi.

  • @danielgakpetor359
    @danielgakpetor359 3 года назад +1

    Best esp8266 video on RUclips❤️

  • @rickyoh4386
    @rickyoh4386 2 года назад +1

    The most useful video for ESP8266 a beginner user, very helpful. Unfortunately i see the code 301 today May 2022 but i'm very happy that meet your channel!

    • @hillarymapondera4122
      @hillarymapondera4122 2 года назад

      Same not sure how to fix the issue

    • @robojax
      @robojax  2 года назад

      where/when do you see code 200? I have not encountered that.

    • @rickyoh4386
      @rickyoh4386 2 года назад

      I don't get code 200, it write code 301 instead and says that its redirected.
      But luckily i can connect my Esp8266 with our WiFi router

    • @techwithmk7736
      @techwithmk7736 Год назад

      @@rickyoh4386 me too

  • @naboulsikhalid7763
    @naboulsikhalid7763 Год назад +3

    very well explained as usual I learned a lot from being subscribed to your channel. thank you

  • @qzorn4440
    @qzorn4440 3 года назад +1

    GREAT ESP32 INFO.. i am just getting started to learn about this little module and with kicad this should open up to lots and lots of neat ideas... thanks a lot...:)

    • @qzorn4440
      @qzorn4440 3 года назад

      ooops esp8266...:/

    • @robojax
      @robojax  3 года назад

      I am glad you liked it. You could edit your comment by clicking on the 3 dots.

  • @practicemakesbetter7132
    @practicemakesbetter7132 3 года назад +1

    Great video, thanks for sharing.

  • @misdy7ue
    @misdy7ue 3 года назад

    a very underrated channel. you deserve moreeeeee

    • @robojax
      @robojax  3 года назад

      Thank you. I have patience. Let's see.

  • @Biker1bob
    @Biker1bob 3 года назад

    thanks for the video, I have an ESP-12f board, I have programmed, and now I cannot get it to accept flash anymore. It still works.. but I cannot seem to get all the conditions to flash. Can you suggest how to troubleshoot not being able to flash?

  • @scecko
    @scecko 11 месяцев назад

    Wonderful video, thanks!

  • @vijaysulakhe5605
    @vijaysulakhe5605 22 дня назад

    Excellent explanation and video, many THANKS. Hope you make video about STM32 projects with Arduino IDE.

  • @user-qm8ic6im6f
    @user-qm8ic6im6f 20 дней назад +1

    Very well said. Thank you very much. Loud music near here is shut down :P

    • @robojax
      @robojax  20 дней назад

      Glad it helped

  • @zarnihtun1539
    @zarnihtun1539 2 года назад +1

    this is nice video for me start learning Ncu esp8266
    great thz

    • @robojax
      @robojax  2 года назад

      bunu bildiğim iyi oldu. abone olmayı unutmayın. Teşekkürler Ahmed Horasan'dan

  • @ankitrana007
    @ankitrana007 3 года назад +1

    Great video.. you get my like and subscription..

    • @robojax
      @robojax  3 года назад

      Thanks. I am pleased you liked it.

  • @fifaham
    @fifaham 2 года назад

    Good video, thank you.

  • @Imraan997
    @Imraan997 3 года назад

    Thank u learnt alot

  • @rickdansereau6274
    @rickdansereau6274 3 года назад

    do not see the esp8266 file indicated in the video under file manager (other options)?

  • @mominkhadri8062
    @mominkhadri8062 3 года назад

    ma sha ALLAH , NICE VIDEO!

    • @robojax
      @robojax  3 года назад

      shukran akhi.

  • @fvgoya
    @fvgoya 4 года назад +1

    Nice explanation!!!!

    • @robojax
      @robojax  4 года назад +1

      Thank you.

  • @ahmadkhorasani7184
    @ahmadkhorasani7184 3 года назад

    ماشالله بسیار عالی موفق باشید انشالله

    • @robojax
      @robojax  3 года назад

      salamat bashi.

  • @russellwalker8702
    @russellwalker8702 3 года назад

    Is this out dated information as you are using 1.8.9 and has the library changed now the ESP8266 is 2.7.4

  • @SpinStar1956
    @SpinStar1956 5 месяцев назад

    So essentially you have a remote 8622, taking a temperature, and acting as a website that can be accessed by a PC- browser to display the data in nicely- formatted form; correct?
    Just getting started so thank you!

    • @robojax
      @robojax  5 месяцев назад

      Yes indeed.

  • @rafiulmollah
    @rafiulmollah 4 года назад

    Great Sir....👌👌👌👌

  • @diyelectrovids6536
    @diyelectrovids6536 2 месяца назад

    I got http code 301 with my esp8266 even when I tried uploading the BasicHttpClient sketch to the device. Any ideas how to solve it?

  • @philipatkinson1532
    @philipatkinson1532 3 года назад

    Great video - I have not a clue what I'm doing here with C - however couldn't get code to run - stated char type="k" was wrong (complex unpermissave error and stuff I didn't understand). Changed it to String type ="k" and works perfectly. I have no idea why!

    • @robojax
      @robojax  3 года назад

      Hello and thank you. you must have customized the the code. The code posted after demonstration and it should work. please try using it first without any change, then make changes.

    • @philipatkinson1532
      @philipatkinson1532 3 года назад

      @@robojax thanks for the reply - I had inadvertently ‘customised’ the code in at least 7 places, having fixed my own errors I still couldn’t get that bit to work. Pasted the error message in and found out far too much about char* constant errors. I never coded in C in my life, just a hobbyist - playing for fun really. But changing ‘char’ to ‘String’ made it work with j. Then I put the k in and it didn’t. Being irritated by then I just uploaded it again (which is clearly stupid and should not have worked), but, it did. I saved it quickly!
      Many thanks for your reply though, most kind, I shall watch more. :) Phil

    • @robojax
      @robojax  3 года назад

      you are very welcome. stay safe.

  • @sanjayajanakantha7883
    @sanjayajanakantha7883 2 года назад

    Thank you

    • @robojax
      @robojax  2 года назад

      You are welcome. The best thank you for me is to subscribe to my channel. Thank you.

  • @vinaykukreja8295
    @vinaykukreja8295 Год назад

    Very good explanation!
    Any idea of how we could use HTTPS instead of HTTP?

    • @W0lfbaneShikaisc00l
      @W0lfbaneShikaisc00l Год назад

      You're just changing the url used I presume? Like any website you would use.

  • @matlabtutorialssofia3971
    @matlabtutorialssofia3971 3 года назад

    Sir can you please make a video of reading ADXL345 accelerometer sensor using enodemcu 0.1, it would be
    a great help,
    Thanks in advance

    • @robojax
      @robojax  3 года назад

      I have got the module, but no time. God willing, when I will make video for that.

  • @Catalina-nb1fe
    @Catalina-nb1fe 4 года назад

    Can you read data simultaneous from more than one sensor with this Node MCU ESP 8266 and transmit them via WiFi? Thanks!

    • @robojax
      @robojax  4 года назад +1

      Yes you can.

    • @Catalina-nb1fe
      @Catalina-nb1fe 4 года назад

      I guess you will not tell me how...:(

    • @robojax
      @robojax  4 года назад +3

      It needs 10 to 20 minuets video to explain. But your question was "can" and I said yet. I am replying to 1000s of comments. Can't write paragraph unless absolutely needed.

    • @Catalina-nb1fe
      @Catalina-nb1fe 4 года назад +1

      @@robojax I know and Thanks for answering! I just thought you will guide me a little...like: ”if you use digital sensors you do that...if you use analog sensors, you need that...”...or to guide me to some video that i didn't manage to find...

  • @kiranghatge4301
    @kiranghatge4301 3 года назад

    I need your help to do the "HTTP server which is waiting for HTTP Post request. These requests then proceed with string masks and parameters for LED and Display control are flirting. Then ESP turns on / off a certain LED and shows a number or string on Display.
    please help with how to start with.

    • @robojax
      @robojax  3 года назад +1

      I wish I could help. your request involves lots of understand and testing which can't be done by few line of comment.

    • @kiranghatge4301
      @kiranghatge4301 3 года назад

      @@robojax Thanks

  • @matlabtutorialssofia3971
    @matlabtutorialssofia3971 3 года назад

    Excellent video, very helpful

    • @robojax
      @robojax  3 года назад

      I am glad you found it useful.

  • @PawisPogiVlog
    @PawisPogiVlog 3 года назад

    why my ESP8266 does not appear on my port? All I have was COM 1 when I connect it tot he USB port it does not show any other COM port?

    • @robojax
      @robojax  3 года назад +1

      because you don't hae the drivers for it. check the chip (with magnifying glass) it must be CH340. if so check the video I have for Arduino which has the same USB chip ruclips.net/video/u_21yNqd03I/видео.html if it is CP2101, then windows recognizes it. or your USB cable is bad. try another cable.

  • @piercer4882
    @piercer4882 4 года назад

    Hey robojax, are you in the Toronto area by chance? I'm working on a project and would really appreciate a little bit of guidance.

    • @robojax
      @robojax  4 года назад +1

      Hi, I am in Ajax but busy with my full time job in a University. Beside spending working on RUclips videos, I have got no time. Sorry.

    • @piercer4882
      @piercer4882 4 года назад +1

      @@robojax I understand. Thank you for the reply.

  • @nijrabpur5139
    @nijrabpur5139 4 года назад

    👌👌👌👌👌👌

  • @TON-vz3pe
    @TON-vz3pe 9 месяцев назад

    Can you make it work wirh 3.3v vin?

  • @electronic.knowledge
    @electronic.knowledge Месяц назад

    I need help to make a dongle with esp8266, if you know a suitable site or can guide me, I need help!

  • @bowowibudi559
    @bowowibudi559 3 года назад

    mantap

  • @luisalvaradovalenzuela1374
    @luisalvaradovalenzuela1374 2 года назад

    can I programing that node MCU without arduino IDE ? ?

    • @robojax
      @robojax  2 года назад +1

      Yes using python if you learn it

  • @DevendraSingh-on1wv
    @DevendraSingh-on1wv 4 года назад

    It's shows an error when I go to Boards.Esp8266 not added
    Sir help me

    • @robojax
      @robojax  4 года назад

      share the error.

  • @masouddayaghi5923
    @masouddayaghi5923 4 года назад

    Thanks for ur nice video, are u from ifan?

    • @robojax
      @robojax  4 года назад

      سلام علیکم؛ فارسی زبان خراسانی مقیم کانادا هستم. تشکر از حسن نظر تان

    • @masouddayaghi5923
      @masouddayaghi5923 4 года назад

      @@robojax خیلی خوشحالم که بالاخره ی ویدیو آموزشی خوب از یک هموطن دیدم، من اصفهانی هستم، مقیم آلمان هستم.
      Do you work in embedded system field?

    • @masouddayaghi5923
      @masouddayaghi5923 4 года назад

      @@robojax At the moment, I am doing my internship, I am mostly working with esp32.
      How is the job opportunities in this field in Canada?

    • @robojax
      @robojax  4 года назад

      مشبخشید متن نظر شما ندیدیم زیرا من تما نظریات (کامنت) همه ویدیو ها را در یک صفحه میبینم این باعث شد در طول صفحه از نظر غایب بماند.
      بلی همه هموطن هستیم و همزبان. من خراسانی هستم. از خراسان بزرگ که شامل تاجیکستان ، بخارا و سمرقتند و افغانستان امروزی و شرق ایران. امروز تنها در ایران یک منطقه چک یاد اورد آن خراسان بزرگ است. بر اساس تقسمیان جغرافیایی امروز من افغانستانی هستم. اما فارسی اکثریت مطلق مردم افغانستان فاارسی زبا اند و یکعده هم اوغان ( افغان که آب را او میگویند افغان را اوغان میگویند) و تقریبا 150 سال و اندی قبل اسم خراسان را افغانستان گذاشتند و انگلیسها در این فاجعه نقش داشنتد.
      به هر صورت خودت عزیز هستی برایم و موفق باشید.

    • @robojax
      @robojax  4 года назад

      The best way to test the job market (not in COVID-19 era) is to check on Indeed.ca and post a resume or search for "embedded systems" or other keywords. I am not sure. I work at a University and am involved with technical support and labs and helping Engineering Students. I am Electrical Engineer with years of experience in Programming.

  • @doramonlovers176
    @doramonlovers176 3 года назад +1

    I don't get option to select the port\com what should I do? I get many errors

    • @robojax
      @robojax  3 года назад

      Install the driver. hC340 or something then this driver will work ruclips.net/video/u_21yNqd03I/видео.html

    • @robojax
      @robojax  3 года назад

      Did you resolve the issue?

  • @yesmecreations2533
    @yesmecreations2533 3 года назад

    Sir, if nodemcu is fitted in box then what to do so it will not be overheated

    • @robojax
      @robojax  3 года назад

      sorry, didn't understand. which box?

    • @yesmecreations2533
      @yesmecreations2533 3 года назад

      @@robojax I mean in Packing with small air vents

    • @robojax
      @robojax  3 года назад

      make holes like 3mm holes 4 holes at top and 4 at the bottom of the box and that would be enough.

  • @sevenson5112
    @sevenson5112 3 года назад

    What is happens when ams1117 (voltage regulator) is shorted?

    • @robojax
      @robojax  3 года назад

      it depends on which pins. if input and output are short circuited, then the 5V input go to the output pin and reach ESP8266 chip and kills it.

    • @sevenson5112
      @sevenson5112 3 года назад

      @@robojax It happens to me, but the input is about 1v, and the output is 0v. Before it, the smoke has flown out from it. What about protection of the circuit based on datasheet of ams1117?

    • @robojax
      @robojax  3 года назад

      there is no protection. ESP8266 has not protection. when voltage goes higher than 3.3V, perhaps 0.5V higher, it might tolerated for half a second and then it dies.

  • @Vanguard513
    @Vanguard513 Год назад

    could you possibly put a link into the comments on where i can download the program that you use

    • @robojax
      @robojax  Год назад

      The link is under the video in description

    • @Vanguard513
      @Vanguard513 Год назад

      @@robojax oh yeah sorry

    • @robojax
      @robojax  Год назад

      May be I did not get what you said "Where I can downlaod the program? there is the code I used. Then I used the code inside the Arduino IDE program which you can get from Arduino.cc website. The code is and resources is under the video in the description. Here is how you find it snipboard.io/gplc41.jpg

    • @robojax
      @robojax  Год назад

      if you want to learn about Arduino IDE software, I have a full Arduino course. The link is in the description of this video.

  • @ABC-cx9fz
    @ABC-cx9fz Год назад

    #help
    How can i connect my nodemcu to office wifi? My office wifi need to login first via browser.

    • @robojax
      @robojax  Год назад

      no you can't. you must have SSID and password.

  • @russellwalker8702
    @russellwalker8702 3 года назад

    I cant get this to work what libary did you use.

    • @robojax
      @robojax  3 года назад

      Add the drivers the way shown in video

  • @tarekzainnzainzai778
    @tarekzainnzainzai778 3 года назад

    Ahmed engineer. Peace be upon you I used nod mcu with sinrik site with wifi manager every time i show my error message de class WiFiManager' has no member named 'addAP'
    I hope to know what

    • @robojax
      @robojax  3 года назад +1

      Peace b upon you, have you prepared your Arduino IDE for EXP8266? it seems files missing.

    • @tarekzainnzainzai778
      @tarekzainnzainzai778 3 года назад

      @@robojax Yes, I have entered all the libraries for WIFI MANAGER and ESP8266 settings

    • @robojax
      @robojax  3 года назад

      then you might not have selected the right board.

    • @tarekzainnzainzai778
      @tarekzainnzainzai778 3 года назад

      @@robojax I thank you, dear brother. I will discuss the subject, and I need time to thank you very much

  • @shivasai8547
    @shivasai8547 Год назад

    Sir how to reset the program and program another program to that board

    • @robojax
      @robojax  Год назад

      What do you mean reset? I have just shown the blink . Do the same, open the new sketch and upload it to this module. simple as that.

    • @shivasai8547
      @shivasai8547 Год назад

      @@robojax no bro after upload the program I may create and upload the program then how I reset that program can you say about it

  • @noorazizelectronic8679
    @noorazizelectronic8679 4 года назад

    بسیار زیاد تشکر

    • @robojax
      @robojax  4 года назад

      سلامت باشید.

    • @noorazizelectronic8679
      @noorazizelectronic8679 4 года назад

      بسیار خوش شدم‌ بخیالم که وطندار ما هستی

    • @robojax
      @robojax  Год назад

      سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید.
      www.youtube.com/@ilmofan

  • @russellwalker8702
    @russellwalker8702 3 года назад

    Got it to its talking to server and comming back with coad 200 but then you lost me.

    • @robojax
      @robojax  3 года назад

      Hello, as the title says this is "introduction" so I could not convert. when you use HTTP client it is like typing an address in browser. it just types and requests. that is first. then if your server responds (or the page opens in browser) with JSON, this MCU can understand it. as simple as that. the rest is your job or the server job how to use the data.

  • @pablopalaciosg
    @pablopalaciosg 3 года назад

    thanks, can you share html or .php code please...

    • @robojax
      @robojax  3 года назад

      You are welcome. PHP CODE is added to the code page. the link is in the description of the video and here again robojax.com/L/?id=249

    • @pablopalaciosg
      @pablopalaciosg 3 года назад

      @@robojax ok but the code in your page is linked to another php running back...

  • @pavelmrx1291
    @pavelmrx1291 3 года назад

    I have Windows 7, i dont have ports...

    • @robojax
      @robojax  3 года назад +1

      windows can not be without ports. Port means all input and output of your computer. When you connect a device to usb, that make a port.

  • @jtcjtc5163
    @jtcjtc5163 4 года назад +1

    1000 Likes

    • @robojax
      @robojax  4 года назад +1

      So kind of you. thank you.

  • @Vanguard513
    @Vanguard513 Год назад

    yeah sorry to bother you again so soon but i was actually unable to find it in all that
    im really sorry

    • @robojax
      @robojax  Год назад

      Unable to find what? You didn’t find the description of the video or the links inside the description?

  • @lykowdk
    @lykowdk Год назад

    This is terrible, you don't show any of the code anywhere for the http GET request.

    • @robojax
      @robojax  Год назад +1

      It is hard to please everyone and show example of everything. I have tones of tutorials. here is one that you can send request to server to control motor ruclips.net/video/OZ0kaZmmW2I/видео.html