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

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ค. 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 129

  • @DoctorHouse999
    @DoctorHouse999 3 ปีที่แล้ว +16

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

  • @viswanathlekshman112
    @viswanathlekshman112 3 ปีที่แล้ว +5

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

    • @robojax
      @robojax  3 ปีที่แล้ว

      Thanks a ton

  • @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.

  • @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.

  • @scecko
    @scecko 9 หลายเดือนก่อน

    Wonderful video, thanks!

  • @danielgakpetor359
    @danielgakpetor359 3 ปีที่แล้ว +1

    Best esp8266 video on TH-cam❤️

  • @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.

  • @naboulsikhalid7763
    @naboulsikhalid7763 ปีที่แล้ว +3

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

    • @robojax
      @robojax  ปีที่แล้ว

      Great to hear!

  • @rickyoh4386
    @rickyoh4386 ปีที่แล้ว +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 ปีที่แล้ว

      Same not sure how to fix the issue

    • @robojax
      @robojax  ปีที่แล้ว

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

    • @rickyoh4386
      @rickyoh4386 ปีที่แล้ว

      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 10 หลายเดือนก่อน

      @@rickyoh4386 me too

  • @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.

  • @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

  • @Biker1bob
    @Biker1bob 2 ปีที่แล้ว

    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?

  • @fifaham
    @fifaham 2 ปีที่แล้ว

    Good video, thank you.

  • @Imraan997
    @Imraan997 3 ปีที่แล้ว

    Thank u learnt alot

  • @fvgoya
    @fvgoya 4 ปีที่แล้ว +1

    Nice explanation!!!!

    • @robojax
      @robojax  4 ปีที่แล้ว +1

      Thank you.

  • @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

  • @ankitrana007
    @ankitrana007 3 ปีที่แล้ว +1

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

    • @robojax
      @robojax  3 ปีที่แล้ว

      Thanks. I am pleased you liked it.

  • @ahmadkhorasani7184
    @ahmadkhorasani7184 3 ปีที่แล้ว

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

    • @robojax
      @robojax  3 ปีที่แล้ว

      salamat bashi.

  • @mominkhadri8062
    @mominkhadri8062 3 ปีที่แล้ว

    ma sha ALLAH , NICE VIDEO!

    • @robojax
      @robojax  3 ปีที่แล้ว

      shukran akhi.

  • @rickdansereau6274
    @rickdansereau6274 3 ปีที่แล้ว

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

  • @rafiulmollah
    @rafiulmollah 3 ปีที่แล้ว

    Great Sir....👌👌👌👌

    • @robojax
      @robojax  3 ปีที่แล้ว

      thanks.

  • @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.

  • @diyelectrovids6536
    @diyelectrovids6536 15 วันที่ผ่านมา

    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?

  • @nijrabpur5139
    @nijrabpur5139 4 ปีที่แล้ว

    👌👌👌👌👌👌

    • @robojax
      @robojax  4 ปีที่แล้ว

      😊

  • @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.

  • @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 TH-cam videos, I have got no time. Sorry.

    • @piercer4882
      @piercer4882 4 ปีที่แล้ว +1

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

  • @SpinStar1956
    @SpinStar1956 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      Yes indeed.

  • @bowowibudi559
    @bowowibudi559 3 ปีที่แล้ว

    mantap

  • @matlabtutorialssofia3971
    @matlabtutorialssofia3971 3 ปีที่แล้ว

    Excellent video, very helpful

    • @robojax
      @robojax  3 ปีที่แล้ว

      I am glad you found it useful.

  • @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...

  • @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.

  • @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.

  • @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

  • @TON-vz3pe
    @TON-vz3pe 6 หลายเดือนก่อน

    Can you make it work wirh 3.3v vin?

  • @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 th-cam.com/video/u_21yNqd03I/w-d-xo.html if it is CP2101, then windows recognizes it. or your USB cable is bad. try another cable.

  • @luisalvaradovalenzuela1374
    @luisalvaradovalenzuela1374 ปีที่แล้ว

    can I programing that node MCU without arduino IDE ? ?

    • @robojax
      @robojax  ปีที่แล้ว +1

      Yes using python if you learn it

  • @noorazizelectronic8679
    @noorazizelectronic8679 4 ปีที่แล้ว

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

    • @robojax
      @robojax  4 ปีที่แล้ว

      سلامت باشید.

    • @noorazizelectronic8679
      @noorazizelectronic8679 4 ปีที่แล้ว

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

    • @robojax
      @robojax  10 หลายเดือนก่อน

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

  • @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.

  • @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.

  • @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.

  • @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 th-cam.com/video/u_21yNqd03I/w-d-xo.html

    • @robojax
      @robojax  3 ปีที่แล้ว

      Did you resolve the issue?

  • @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 11 หลายเดือนก่อน

      @@robojax oh yeah sorry

    • @robojax
      @robojax  11 หลายเดือนก่อน

      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  11 หลายเดือนก่อน

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

  • @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.

  • @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.

  • @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

  • @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

  • @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

  • @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...

  • @jtcjtc5163
    @jtcjtc5163 3 ปีที่แล้ว +1

    1000 Likes

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      So kind of you. thank you.

  • @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.

  • @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.

  • @Vanguard513
    @Vanguard513 11 หลายเดือนก่อน

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

    • @robojax
      @robojax  11 หลายเดือนก่อน

      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 th-cam.com/video/OZ0kaZmmW2I/w-d-xo.html