Getting Started | ESP8266 Programming Using Arduino IDE (Mac OSX and Windows) | ACR-00018

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2016
  • • 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 tutorial I show you how to write custom firmware for the ESP8266 (ESP-12E) Serial to Wi-Fi module using the Arduino IDE. The development board includes the ESP-12E module and a USB to Serial UART interface, which tremendously facilitates programming the ESP8266! Below are relevant links as mentioned in the video.
    ==========
    • Project parts:
    ACROBOTIC Development Board for ESP8266:
    acrobotic.com/products/acr-00018
    amzn.to/2dAZ1mW (affiliate)
    ==========
    • Project code:
    Download the Arduino IDE from:
    www.arduino.cc/en/Main/Software
    Download the USB drivers for the USB to Serial UART module:
    www.silabs.com/products/devel...
    Enter the following URL into the "Additional Board Manager URLs" field in the preferences menu of the IDE:
    arduino.esp8266.com/stable/pac...
    Note: Remember that you can add multiple URLs, separating them with commas!
    ==========
    • Tutorials:
    I have a detailed guide for getting started with the ESP8266 including explanations of what AT Commands and NodeMCU are all about:
    learn.acrobotic.com/tutorials...
    ==========
    • Music:
    Jason Shaw (audionautix.com/). Creative Commons License 3.0.
    ==========
    #ESP8266 #Arduino #Tutorial
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @mrneatandclean
    @mrneatandclean 8 ปีที่แล้ว +6

    Thank you for the video. However, I cannot upload my sketch. I receive the following error:warning: espcomm_sync failed
    error: espcomm_open failedI followed the instructions very carefully. Any ideas?

    • @datasith
      @datasith  8 ปีที่แล้ว

      +Thomas North Sorry for the troubles, what ESP8266 module/board are you using?
      Check out the list of suggestions here for possible solutions: github.com/esp8266/Arduino/issues/770

    • @mrneatandclean
      @mrneatandclean 8 ปีที่แล้ว

      +ACROBOTIC ACROBOTIC ESP8266 ESP-12E Development Board IOT Arduino NodeMCU . Thanks for the quick response. I'll check out the link.

    • @mrneatandclean
      @mrneatandclean 8 ปีที่แล้ว

      +ACROBOTIC I'm very new to this so any help is greatly appreciated.

    • @datasith
      @datasith  8 ปีที่แล้ว

      +Thomas North if you're stuck (or wanna say hi (:-) contact us via acrobotic.com/contacts or directly to the address master at our domain name.

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

      +ACROBOTIC I just sent a message from the link you provided providing a bit more detail.

  • @paulgibby6932
    @paulgibby6932 5 ปีที่แล้ว

    Thanks so much for your video. I was having comm problems for an hour or two with my setup (mac, the USB driver, Arduino IDE). Then watched your video and when I set to the correct NodeMCU 12E board, all was groovy. Also it looks (from comments below) like you are a helpful/knowledgeable guy so you have a new subscriber. Thanks again!

    • @datasith
      @datasith  5 ปีที่แล้ว

      Hey, Paul. You're very welcome. Thanks for the sub, I'm glad the content was helpful!

  • @TheDhmaster
    @TheDhmaster 5 ปีที่แล้ว +2

    That was one of the most useful videos i have ever seen. Everything worked like charm. Thank you!

    • @datasith
      @datasith  5 ปีที่แล้ว

      I'm so glad that's the case. Thanks for watching!

  • @asulliv1954
    @asulliv1954 6 ปีที่แล้ว

    Hey Cisco I wrote you down below telling you I didn't see the USBtoUART line but one of the texts down below showed me another site to download another driver for Mac Sierra and restart my Computer and it worked so different drivers for different folks!Thanks for the Video Lesson it worked!

    • @datasith
      @datasith  6 ปีที่แล้ว

      Glad you found the solution, upwards and onwards! Thanks for watching, and for the kind comments!

  • @sanketss84
    @sanketss84 7 ปีที่แล้ว

    I had a NodeMCU v2 Amica lying around for more than a year and i did not knew programming it using the Arduino IDE was so easy. Thanks for this quick start guide it helped me get started. checking out other videos as well.

    • @datasith
      @datasith  7 ปีที่แล้ว

      We're glad you got it going, now you're hooked with DIY Electronics :) Thanks for watching our videos!

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

    Hi Cisco. You have done an excellent job on your tutorial. Thanks

  • @Ken-S
    @Ken-S ปีที่แล้ว

    Thanks! I finished my hello world here! It works!

  • @flamingtoast13
    @flamingtoast13 8 ปีที่แล้ว

    Thank you! I was having so much troubling trying to get started on this board! XD

    • @datasith
      @datasith  5 ปีที่แล้ว

      You're very welcome! :)

  • @CommanderAMB
    @CommanderAMB 7 ปีที่แล้ว

    Did everything as mentioned and it worked like a charm. First script flashed onto the ESP8266 and BINGO! Works at first try. Thanks a lot for this great How-To video!

    • @datasith
      @datasith  7 ปีที่แล้ว

      You're very welcome, Commander!

  • @eumesmo-kd1tr
    @eumesmo-kd1tr 7 ปีที่แล้ว +2

    thank you cisco for your great video, i just get a question, then if i use arduino ide, i can use the same instructions as arduino but applying into 8266? thanks

    • @datasith
      @datasith  7 ปีที่แล้ว +2

      Thanks for watching! Yes, you can use this same instructions for programming the ESP8266. Good luck!

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

    I adore you, finally I solved my problem, you're a genius!

    • @datasith
      @datasith  5 ปีที่แล้ว

      That's AWESOME, Silvia. I'm very glad you found the info useful. Best of luck on your projects!

  • @allanhaydock825
    @allanhaydock825 7 ปีที่แล้ว

    Thank you, thank you, thank you. I have read & tried so many things that didn't work as a MAC user, I just couldn't communicate with the MCU. This is a clear and concise video, downloaded the driver for my MAC running OS X 10.10.5 and loaded the wifi scanner from the examples all in about 5 minutes. :-)

    • @datasith
      @datasith  7 ปีที่แล้ว

      Glad it helped! :-)

  • @Laura-wd5ns
    @Laura-wd5ns 6 ปีที่แล้ว

    Thank you. The best instructions on youtube for Arduino :)

    • @datasith
      @datasith  6 ปีที่แล้ว

      Thanks for the kind comment! We're super glad you found our content useful!

  • @SRBmilan
    @SRBmilan 7 ปีที่แล้ว

    We want more! Bravo, really nice tutorial for beginners as I am. Keep up the good work, Cheers!

    • @datasith
      @datasith  7 ปีที่แล้ว

      Thanks for watching and for your kind words! We're happy that you've found the content useful. More videos are on the way!

  • @AtulSingh-bc8wo
    @AtulSingh-bc8wo 5 ปีที่แล้ว

    Thanks alot brother . I was having a nightmare finding a correct driver to connect nodemcu. Your solution worked like a charme.

    • @datasith
      @datasith  5 ปีที่แล้ว

      No problem, Atul. I'm glad you enjoyed it!

  • @davidjurik9874
    @davidjurik9874 8 ปีที่แล้ว

    A very good tutorial, everything works fine. Thank you very much!

    • @datasith
      @datasith  8 ปีที่แล้ว

      +david juřík Thank you for the kind words! More are coming soon :)

  • @NamanGupta-ik2or
    @NamanGupta-ik2or 5 ปีที่แล้ว +1

    Thank you. Very useful video for getting started with ESP8266 Programming Using Arduino IDE on Mac OS

    • @datasith
      @datasith  5 ปีที่แล้ว

      Thanks for watching!

  • @aclaraboia
    @aclaraboia 6 หลายเดือนก่อน

    It worked for me, thank you so much.

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

    Hey, I got the ESP8266 ESP-12E from your Amazon affiliate and can't seem to be able to install the driver so that my computer recognizes it in Ports within the Arduino IDE. Im running High Sierra OSX, do you know of any updated drivers that work for sure? I have installed several drivers and still see no options under System info->Harware->USB or any ports in arduino besides bluetooth. I made sure to allow 3rd party applications from system preferences

    • @datasith
      @datasith  5 ปีที่แล้ว

      Hey, Joseph! Thanks for using the link :)
      Any reason why you're running it in Ports? My bet is that the driver is already working, but you need to configure Ports to let the VM handle the USB interface. I can help trying to run it natively first, so that we can then move on to running it through Ports. If email is easier, you can reach me via support@acrobotic.com.

  • @fixitalltech1014
    @fixitalltech1014 7 ปีที่แล้ว

    One more thing . I need to know that i have a wireless shield and an arduino uno . But there is no space for me to accompany them both in my project .
    Does ESP8266 work as microcontroller and a wifi shield on a single board or a seperate microcontroller is need to program and work with this thing?
    And thank you for the previous reply .
    And does the sketch uploaded to the module stays on it even after it is powered off and turned on again or it need to be uploaded on every boot ?

    • @datasith
      @datasith  7 ปีที่แล้ว

      The ESP8266 is a microcontroller with built-in wireless connectivity. Watch the video for details on how to get started using the Arduino IDE to program it.

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

    thanks! i am still a little confused, i dont have to flash anything to use arduino ide (c+ ?) instead of 'lua'?

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

      No, the only firmware on the chip when you use Arduino is the one you write. It's different than Lua, MicroPython, or JavaScript (espruino).

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

    thank you for your good tutorial.
    now I have a question!
    I want to use arduino ide to program esp. but there is also another way. we can use nodemcu firmware and work with lua.
    I don't know which one is better to work with.
    what is advantages and disadvantages of each one?

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

      Thanks for the kind words!
      If you're getting started with ESP8266 we strongly advise for you to try both methods (here's our guide learn.acrobotic.com/tutorials/post/esp8266-getting-started). We personally prefer to work with the "Arduino method" because it allows us to have just our firmware running on the device.

  • @yvanzakowski
    @yvanzakowski 8 ปีที่แล้ว +5

    Merci beaucoup pour ce petit tuto très clair et détaillé. On attend la suite concernant ce module qui intégrer le wifi. Beaucoup de projets sont couverts par ce microcontroler.

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

      He's Italian, isn't he? Connard :P

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

      Me? Argentine :)

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

    Thank you! This was very helpful

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

      thanks for watching! i'm glad you found it useful, neel!

  • @stevecowell2415
    @stevecowell2415 6 ปีที่แล้ว

    Excellent video, clear and precise. Thank you

    • @datasith
      @datasith  6 ปีที่แล้ว

      Thank for your kind comment, we're glad you found it useful!

  • @HAFahim
    @HAFahim 6 ปีที่แล้ว

    Thanks for good introduction to ESO8266

    • @datasith
      @datasith  6 ปีที่แล้ว

      No worries, thanks for watching!

  • @saisumanthkalluri3207
    @saisumanthkalluri3207 7 ปีที่แล้ว

    Hi ACROBOTIC!
    That was a really helpful video.
    I have a little confusion here, I bought the NodeMCU devKit a while ago and by default, it comes with NodeMCU(Lua) firmware.
    But I prefer to use AT commands and C based Arduino IDE instead of Lua.
    Can I upload the AT+Command Interpreter Firmware onto this board?
    If yes then how?
    The last time I tried it, the board wouldn't respond to AT commands and continuoulsy print garbage onto the serial monitor.
    I'm stuck
    Please help
    Thank You!

    • @datasith
      @datasith  7 ปีที่แล้ว

      Thanks for the kind words! Yes you can upload the AT+Command Interpreter Firmware to your NodeMCU DevKit board. Try following this tutorial:
      learn.acrobotic.com/tutorials/post/esp8266-getting-started
      The garbage you see on the Serial Monitor can be due to a different baudrate. Note that the ESP8266 always prints a few lines of information during boot-up. You can try setting different baudrates to see these messages in plain, readable text. Good luck!

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

    Hello! Thanks for the video, I am trying to set the COM to Silabs and do not see anything remotely close to a COM with that name. I have tried re-installing and restarting the MAC (10.13). I am running the 3.0.2 latest ESP8266 community build as of this date. Thanks for any info~

  • @narut99
    @narut99 6 ปีที่แล้ว

    Hi
    Does the board NodeMCU can execute the sketch if it s unplugged form the pc an plugged with a dc adapter ?

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

      Yup! The easiest way is to get a DC adapter that has a Micro-USB connector so that you can plug it directly into the board after it's programmed. Thanks for checking out our video!

  • @moeshickenyay
    @moeshickenyay 6 ปีที่แล้ว

    Nice and Clear, thank you.

    • @datasith
      @datasith  6 ปีที่แล้ว

      Thanks for the kind words, we're glad you liked it!

  • @gauravsinghchauhan
    @gauravsinghchauhan 7 ปีที่แล้ว +12

    I have installed the USB driver but there is no serial port list as is in your case. Only serial port mentioned is /dev/cu.Bluetooth-Incoming-Port

    • @datasith
      @datasith  7 ปีที่แล้ว

      Hmm, what board model do you have? Perhaps you need a different USB driver, we can help figuring it out :)

    • @gauravsinghchauhan
      @gauravsinghchauhan 7 ปีที่แล้ว

      I have WeMos D1 Mini V2. Tried on Linux, working fine there. Problem occurring on Mac only.

    • @datasith
      @datasith  7 ปีที่แล้ว

      I know that the old USB drivers for the CH340G won't work with 10.12 (Sierra). Try following the installation procedure here: learn.acrobotic.com/tutorials/post/wemos-d1-mini-esp8266-getting-started

    • @Connor-kd9de
      @Connor-kd9de 7 ปีที่แล้ว +1

      I've been trying to get my ESP8266-12F working for days and this video and comment thread finally cracked it for me, thank you! Quality video and great feedback in the comments. You've earned a subscription from me!

    • @datasith
      @datasith  7 ปีที่แล้ว

      Connor, glad we could help 😊

  • @swathivinod
    @swathivinod 6 ปีที่แล้ว

    Thank you so much for this tutorial. Its really helpful and very clear explanation.

    • @datasith
      @datasith  6 ปีที่แล้ว

      No worries, thanks for watching!

  • @Owensv64
    @Owensv64 7 ปีที่แล้ว

    Very good tutorial. I am new to the ESP chip. I have their ESP-LAUNCHER board; can you tell me if there is an Arduino board support file for this kit? I do not see it in the list of ESP boards after adding the URL as instructed in the video. I think it is a new board. Thank you.

    • @datasith
      @datasith  7 ปีที่แล้ว

      Hi, thanks for the kind words. Other than different USB drivers, the ESP-LAUNCHER board works similarly than the one we're using, so you'll be able to follow the programs without a problem. If something doesn't go as planned, you can try a different board option in the Arduino IDE. For example:
      *Tools > Board > ESP8266 Generic Module*

  • @eduym17
    @eduym17 7 ปีที่แล้ว

    Hello, Cisco. First of all I want to say thanks for all the things that you post on this amazing channel, it's such a great knowledge repository.
    My question is:
    Is it possible to store data from, for example, a variable obtained by a textbox in html inside the flash memory of the ESP8266?
    Thanks in advance for your answer, and for everything that you've done for the ESP8266 community.

    • @datasith
      @datasith  7 ปีที่แล้ว

      Hey, Eduardo. We're glad you're finding the content useful! Yes it is possible to store data inside the flash memory of the ESP8266. As you probably know, the last value recorded will be available even after a power down. Check the examples in the Arduino IDE itself on how to do it, we have a video planned for demoing this functionality, stay tuned!

  • @Civitenko
    @Civitenko 7 ปีที่แล้ว

    Hi again, I was trying to change the code from the library SPI.h from the eps8266 board. I change a few lines in the directory:
    C:\Users\myUser\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\SPI\SPI.cpp
    But when I go back to my skecth and I try to compile my code is not working.
    My question is how should I change this library (which is added with the esp8266 boards manager from the comunity) ?

    • @datasith
      @datasith  7 ปีที่แล้ว

      Alex CivIN, I suspect you simply need to close every instance of the IDE and reopen it for the changes to be available.

  • @AnkitGargIndia
    @AnkitGargIndia 7 ปีที่แล้ว

    Hi! I have replaced '13' in example program with 'LED_BUILTIN' and its working in both Arduino & nodemcu board. Can we infer that text 'LED_BUILTIN' is mapped to pin 13 in arduino board & to pin 16 in nodemcu board?

    • @datasith
      @datasith  7 ปีที่แล้ว

      That's exactly right, Ankit! Great work :)

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

    mac driver doesn't seem to work for me. I get an error uploading sketch. OSX version on site says 5.1.0

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

      Try a different one as described in the description of the video.

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

    BEST VIDEO AND EXPLANATION STEP BY STEP!!!! THANK YOU SO MUCH

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

      thanks for the kind words, i'm glad you liked it!

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

    I get this error do you know why
    Arduino: 1.8.13 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    Executable segment sizes:
    IROM : 228624 - code in flash (default or ICACHE_FLASH_ATTR)
    IRAM : 26752 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
    DATA : 1248 ) - initialized variables (global, static) in RAM/HEAP
    RODATA : 688 ) / 81920 - constants (global, static) in RAM/HEAP
    BSS : 24880 ) - zeroed variables (global, static) in RAM/HEAP
    Sketch uses 257312 bytes (24%) of program storage space. Maximum is 1044464 bytes.
    Global variables use 26816 bytes (32%) of dynamic memory, leaving 55104 bytes for local variables. Maximum is 81920 bytes.
    pyserial or esptool directories not found next to this upload.py tool.
    An error occurred while uploading the sketch
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

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

    For the people that have the espcomm_sync error, this is really easy to fix. You just have to put the board in flash mode, so you can actually upload the program. You just have to hold the flash button while powering up the board and you should be good to go. NodeMCU dev kits do this automatically, hence why not everyone has to do this.

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

      Thanks for the info, there's actually a bunch of reasons why you'd receive the pesky "espcomm_sync" error, and one solution is the one you propose. In general, however, you don't need to put the board in flash mode as can be seen in this and all of my other videos.

  • @Jack-mz7lb
    @Jack-mz7lb 8 ปีที่แล้ว +4

    This video would have at least 20% more views (I calculated it) if it was titled "Programming the NodeMCU ESP8266 (ESP-12E) from Arduino IDE (Mac and Windows)" or literally anything with "mac" included This way, when I was searching for "nodemcu mac" I would've come across your video directly instead of jumping across multiple videos. I just figured you might want the tip!
    Also, I have the Amica v2; are there any differences between the Amica v2 and your development board? I had the hardest time getting this guy connected and uploading programs with the Arduino IDE; I actually had to connect the pins to power and ground for some reason.

    • @datasith
      @datasith  8 ปีที่แล้ว

      Jack, thanks for the tip! We were going to change the title after making a similar video for Windows in the future. No reason not to do it now after reading your suggestion :)
      This board follows the same design as the Amica v2 board with the CP2102 USB to Serial adapter. It's a bit strange you had to provide power separately. It sounds like you may have had a bad USB cable or a bad board (perhaps the Voltage Regulator was acting up?).

    • @Jack-mz7lb
      @Jack-mz7lb 8 ปีที่แล้ว

      The light on the board flashes when I press reset, "RST", and when I plug it in. I've also tried several other cables so I can rule those two issues out. So there are absolutely no board connections that need to be made?
      I've actually ordered four of these boards so far haha: the first one was the ESP8266 ESP-07 and it was super small and not breadboard friendly, but rather made for PCB; the second one was a NodeMCU V3 made by LoLin and I couldn't find a working driver for that thing; the third was the Amica V2 that I'm talking about and the fourth is the replacement the seller is sending me. I'd be happy to buy one of yours if they truly are plug-and-play. I'll wait to see how the replacement works first- previous evidence would suggest that it won't.

    • @datasith
      @datasith  8 ปีที่แล้ว

      Amusing (in a good way) to read your path into the ESP8266 world. No board connections need to be made besides USB to get things going!
      For the ESP-07, you can always practice your soldering skills and attach tiny wirewrap to each connector :) Alternatively, you could probably find a breakout PCB on tindie so that you can at least mount it on a breadboard.
      For the V3, we've successfully tried this on OSX:
      tzapu.com/making-ch340-ch341-serial-adapters-work-under-el-capitan-os-x/
      The Amica V2 should work relatively painlessly. Glad you're getting a replacement because it's truly plug-and-play with the driver and Arduino IDE (we didn't do anything else other than what's in this vid).
      Keep on the good work, and feel free to shoot us a msg with questions (master@acrobotic.com).

    • @zystemd3172
      @zystemd3172 6 ปีที่แล้ว

      Same problem with the Amica, i was about to try to use arduino as ISP but i'll try your solution firt ... if you have any link to help do it simpliest please share!

  • @bcgelandewagen
    @bcgelandewagen 5 ปีที่แล้ว

    Thanks for the video!

    • @datasith
      @datasith  5 ปีที่แล้ว

      My pleasure!

  • @afikile
    @afikile 6 ปีที่แล้ว

    Thank you kindly mate. Appreciated Video. It works. Now to try it on
    MAC

    • @datasith
      @datasith  6 ปีที่แล้ว

      Thanks for the kind words!

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

    I almost gave up on these things, but ACROBOTIC's video got me going again. I could never find the USB port (under TOOLS | PORT)... but one of his comments said (paraphrased), 'A lot of the USB cables are just power cables, not data cables. They don't have all the wires and won't work'. Sure enough!!!!! I am not sure how to tell the difference between data/power and just power, but it took me trying 6 cables until I found one. I have 3 on order and will be putting a dot of green paint on them.

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

      That's awesome, glad you stuck with it and made it work!

  • @quoit99training83
    @quoit99training83 7 ปีที่แล้ว

    The best tutorial on ESP-12e modules on TH-cam! Please share how to run ESP-12e on battery highlighting "deep sleep" mode to conserve battery. What kind of batteries will be best suited for this development board? Thanks and looking forward on more tutorials :)

    • @datasith
      @datasith  5 ปีที่แล้ว

      Sure, I'll work on a new video for the deep sleep functionality. Thanks for watching!

  • @bobmixon6021
    @bobmixon6021 5 ปีที่แล้ว

    Thank you, great article. I'm working with a new board (MakerFocus ESP8266 WiFi Development Board) and the code doesn't work. I do understand it's a different configuration. Is there another place I can find documentation for the board?

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

      Hey, Bob. It should work with your board. What problems are you having? The main difference might be the USB driver, and perhaps selecting a different board from the menu option. Everything else should work the same.

    • @bobmixon6021
      @bobmixon6021 5 ปีที่แล้ว

      I found the issue, thank you. I have everything running now (and more) :)
      Thanks again!

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

      @@bobmixon6021 that's awesome! Thanks for letting me know. It sounds like you're having fun, so I'm glad!

    • @bobmixon6021
      @bobmixon6021 5 ปีที่แล้ว

      @@datasith - I am! I've been a developer for decades and am relearning micro-controller development allover again. When I was very young I worked on networking development for embedded systems and the VM386 OS. It's kind of like riding a bike, things are slowly coming back.
      Once I got this working, I then moved on to Blynk and easily got that running; turning a light on and off. I'm not a big fan of Blynk because of security. I'm looking into building a Philips Hue hub as its a bit more secure.
      Thank you again for these great videos!

  • @aidanangus-henry5327
    @aidanangus-henry5327 6 ปีที่แล้ว

    Hi, I recently bought on of these ESP 8266 boards, and I have done everything in the video, and downloaded many different drivers, every one in these suggestions and more. I have a mac, and when I plug the board in it gets power and transmits its wifi signal that I can connect to, and if I go to "About This Mac" I can see it in the USB section. Everything seems to be working, the only thing is when I use the Arduino IDE I can't find it in the "port" section under the tools bar. I have a bunch of different drivers, and did all the things regarding downloading the board and copying and pasting the link into the preferences. I only get in the port section the bluetooth incoming port and the bluetooth modem. It's ok if nobody can help, but I would really like to start using this board. Thanks!

    • @datasith
      @datasith  6 ปีที่แล้ว

      The drivers are either for the CH340g or the CP2102. Hope you get it to work!

    • @asulliv1954
      @asulliv1954 6 ปีที่แล้ว

      After you tried the Driver for Mac Sierrai you must shut Mac down restart then you will see it,read one of the treads down below where someone writes to try another driver for Mac and follow links it worked for me

  • @thebug2782
    @thebug2782 7 ปีที่แล้ว

    sir the problem is that even though I've installed the driver. my system and all others which I've checked dosnt take the esp8266 module. there is no sound heard from PC , which will produce a small tone when a USB is inserted. is the module defective. also in arduino ide the board does not get detected, even in PC . I've got it as a gift from EFY. plz respond n reply

    • @datasith
      @datasith  7 ปีที่แล้ว

      Sorry to hear about the troubles. You need to go into the Device Manager and see if the board is at least recognized by the computer. It won't make a sound unless this is the case. It might be a bad USB port (have you tried others?). We have a tutorial for a *different* board that might help you: learn.acrobotic.com/tutorials/post/arduino-getting-started#step-3-lnk

  • @russellbroomhall4335
    @russellbroomhall4335 7 ปีที่แล้ว

    Im using the esp12e devkit v2. My Mac running Sierra says that the driver is installed. however it doesnt show up in arduino or the terminal screen. ls /dev/tty.* only /dev/cu.Bluetooth-Incoming-Port

    • @datasith
      @datasith  7 ปีที่แล้ว

      Russell Broomhall, hmm the CP2102 drivers work for us on Sierra w/o problem. Try 1) resetting the board, 2) a different USB port, 3) a different USB cable, 4) a reboot. If this doesn't work, the little USB-to-Serial chip on your board might be malfunctioning. Also, if you have a devkit v3, then the drivers you need are different!

  • @asulliv1954
    @asulliv1954 6 ปีที่แล้ว

    Im using a Mac with my ESP8266 it worked fine (the instructions)until i got to 7:45,port mine is not showing anything just Bluetooth-incoming-Port,not the /dev/cu.SLAB_USBtoUART is not there what went wrong?Thank You for help and showing this Video.

    • @datasith
      @datasith  6 ปีที่แล้ว

      Was about to write exactly what you found, trying another set of drivers. They depend on the type of board you have! The drivers in this vid are for our board (and a few others), but everything else should work for pretty much any ESP8266 development board. Best of luck and thanks for watching!

  • @taranagnew436
    @taranagnew436 5 ปีที่แล้ว

    witch url do i copy and past into the bords manager? if you can, could you please incude a screenshot of the url that i have to copy, that would be grearly apperisated

    • @datasith
      @datasith  5 ปีที่แล้ว

      No worries, and thanks for asking. The URL is readily available in the description of the video. I appreciate you stopping by the channel :)

  • @thebug2782
    @thebug2782 7 ปีที่แล้ว

    sir, I've installed the drivers from the link mentioned in the description.
    and I've not soldered anything to it. I've just uploaded a blink code with arduino ide...
    how to solve this problem sir

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

      Couldn't have said it better myself :)

  • @erielmarimon6051
    @erielmarimon6051 5 ปีที่แล้ว

    Hi. Good video. How would I go about deploying the code I test on the programmer's board, on an ESP8266-01 ?

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

      You can use OTA and deploy the code wirelessly, or you can get a programmer for the ESP-01. HTH!

  • @fixitalltech1014
    @fixitalltech1014 7 ปีที่แล้ว

    Thankyou for your reply . It was really very helpful .

    • @datasith
      @datasith  5 ปีที่แล้ว

      You're very welcome!

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

    Thank you for the video!! But there is no such a serial port in my choices in the Arduino IDE..i did something wrong? I have downloaded and installed the files. any suggestions?

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

      You probably need a different driver for your board!

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

      Charis I think I am having the same problem... getting a compiling error and the path is leading to python3 (no such file or directory)... Can you offer some instructions on how and where I need to add that? Thanks so much!

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

      never mind I figured it out... just had to literally download Python3 on my Mac lol

  • @NitinGautam81
    @NitinGautam81 7 ปีที่แล้ว

    After uploading this blue LED near Wifi cheap started blinking instead of what you showed, is it possible 16 pin is different in my case?

    • @NitinGautam81
      @NitinGautam81 7 ปีที่แล้ว

      It worked actually it was taking time to upload. How to communicate with it using Wifi?

    • @datasith
      @datasith  7 ปีที่แล้ว

      Glad it worked, we have additional videos showing you how to send and receive data from the ESP8266 :)

  • @georgepad4787
    @georgepad4787 7 ปีที่แล้ว

    Hey can you help me? The USB Driver is installed and everything but no serial port comes up.
    I have a 10.10 Mac Osx Yosemite Mac Mini.
    Please help, I've wasted too much time on this. Thanks.

    • @datasith
      @datasith  7 ปีที่แล้ว

      It seems that you need a different driver, this will only work for boards with the CP2102 chip. Try the CH340g drivers.

  • @nahummaciel6385
    @nahummaciel6385 5 ปีที่แล้ว

    Thanks for the video.

    • @datasith
      @datasith  5 ปีที่แล้ว

      You're very welcome! Thanks for stopping by my channel and watching it :)

  • @arashaga
    @arashaga 7 ปีที่แล้ว

    Hi, great video, thanks for all the hard work. I followed the instruction and I have the Acrobatic esp8266 12-e but I can't see the USB port listed. I only see the bluetooth port. Is there any way I could fix this?

    • @datasith
      @datasith  7 ปีที่แล้ว

      Have you installed the USB driver? It might be that the board you have needs a different one. If you install the driver for the CP2102 and it doesn't work, try the driver for the CH340g! HTH.

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

      I almost gave up on these things, but ACROBOTIC's video got me going again. I could never find the USB port (under TOOLS | PORT)... but one of his comments said (paraphrased), 'A lot of the USB cables are just power cables, not data cables. They don't have all the wires and won't work'. Sure enough!!!!! I am not sure how to tell the difference between data/power and just power, but it took me trying 6 cables until I found one. I have 3 on order and will be putting a dot of green paint on them.

  • @TheTripleSB
    @TheTripleSB 5 ปีที่แล้ว

    Unfortunately it is not showing me the right port (/dev/cu.SLAB_USBtoUART). That can I do to change that?
    Thanks in advance!

    • @datasith
      @datasith  5 ปีที่แล้ว

      You might need to install different USB drivers (they vary with the type of board you use). Check the video description for tips on how to go about it!

  • @russellbroomhall4335
    @russellbroomhall4335 7 ปีที่แล้ว

    Great tutorials.
    I'm trying to monitor temperature of hot water and have the esp8266 send me a message if the temp gets below a certain setpoint. can you steer me in the right direction?

    • @datasith
      @datasith  5 ปีที่แล้ว

      Sorry for the late reply, I hope you were able to figure this out!

  • @anandgargate5197
    @anandgargate5197 5 ปีที่แล้ว

    Thanks, I was struggling to get it work on mac

    • @datasith
      @datasith  5 ปีที่แล้ว

      You're welcome, I'm glad you found it useful!

  • @eng.aljobury5087
    @eng.aljobury5087 6 ปีที่แล้ว

    Thank u for this amazing information

    • @datasith
      @datasith  6 ปีที่แล้ว

      You're welcome!

  • @spartangaming8639
    @spartangaming8639 7 ปีที่แล้ว +2

    at 7:39 it doent show the NODEMCU 8266 for the boards

    • @datasith
      @datasith  7 ปีที่แล้ว

      Make sure the correct USB driver for your board is installed! Thanks for watching.

  • @fixitalltech1014
    @fixitalltech1014 7 ปีที่แล้ว

    This board will it work without internet or wifi modem . Only with a mobile app to turn on and off a relay switch ?

    • @datasith
      @datasith  7 ปีที่แล้ว

      Hi! The ESP8266 SoC on this board will operate either in Station Mode (connects to a wireless router) or in Access Point Mode (devices connect to it). Using the latter mode, it creates its own Wireless Network, so you can use a phone to connect to it and use a Mobile App to send/receive data from it, including turning on/off the relay switch. We'll make a video of the process soon!

  • @mohammedpatel6718
    @mohammedpatel6718 7 ปีที่แล้ว

    my nodemcu specifically stated that i should download the cp2102 driver. i did so but it still doesn't recognize on my mac. i tried downloading different types of drivers too but none of them work.

    • @datasith
      @datasith  7 ปีที่แล้ว

      Might be a bad board if you've followed the instructions correctly. The two drivers are either for the CP2102 or the CH340g USB-to-Serial chips. HTH!

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

      I almost gave up on these things, but ACROBOTIC's video got me going again. I could never find the USB port (under TOOLS | PORT)... but one of his comments said (paraphrased), 'A lot of the USB cables are just power cables, not data cables. They don't have all the wires and won't work'. Sure enough!!!!! I am not sure how to tell the difference between data/power and just power, but it took me trying 6 cables until I found one. I have 3 on order and will be putting a dot of green paint on them.

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

    For some reason, I cannot find the esp8266 in the board manager. Do you have an idea why that could be the case and how to solve it?

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

      It could be a typo on the link that you put in the preferences. Other than that, it may be the case that the server that returns the information is down (it rarely happens though). HTH!

  • @SupremeChief1
    @SupremeChief1 6 ปีที่แล้ว

    Yes! it works thank you !

    • @datasith
      @datasith  6 ปีที่แล้ว

      Awesome! Best of luck going forward :)

  • @tuliuslima
    @tuliuslima 7 ปีที่แล้ว

    Hi there!
    I just bought a ESP8266 nodeMCU and I am programming it through Arduino IDE 1.6.11 on a Mac (El Captain v10.11.6).
    When I try to upload the sketch, I get the following error:
    warning: espcomm_sync failed
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    The only port available is /dev/cu.Bluetooth-Incoming-Port
    I downloaded and installed the Sillicon Labs's drivers, but it still doesn't work.
    Funny thing is that when I connect my Arduino, I get the /dev/cu.usbmodem1411
    Any ideas?

    • @datasith
      @datasith  7 ปีที่แล้ว

      Definitely the problems are related. Until you get the port listed, you'll get the espcomm_sync failed error. Did you buy the v2 or v3 (you can tell by the chip near the USB connector, v2 is square, v3 is rectangular). If you have the v3, you need to install the driver for CH340 instead of Silicon Lab's CP2102. If you have the v2, then let's try the 'typical' things: re-install the driver, reboot the computer, and try a different port.
      Once we figure out the USB communication problem, all your (initial) troubles will go away :)

    • @akshaysapre86
      @akshaysapre86 7 ปีที่แล้ว

      I am also facing same issue

  • @siddheshbhalerao7084
    @siddheshbhalerao7084 7 ปีที่แล้ว

    hello,
    i am new to use node mcu. i am trying to write interrupt handler to receive data through uart.
    when node mcu receives any data on uart it shud go in the interrupt handler.
    please help me out with this.
    thanks in advance.

    • @datasith
      @datasith  7 ปีที่แล้ว

      We might cover this topic in a future video! Thanks for the suggestion, we appreciate you watching our videos!

  • @robertblaylock618
    @robertblaylock618 7 ปีที่แล้ว

    Great tutorial.

    • @datasith
      @datasith  7 ปีที่แล้ว

      Thanks for watching!

  • @marcosantoniooliveiradasil401
    @marcosantoniooliveiradasil401 6 ปีที่แล้ว

    Good morning I can not use the wifi of esp8266e 12 to do all the procedure but only appears the ip of the microcontroller does not monitor serial but does not appear the wifi network both by the computer and by the cell in visible to the network any tips there?

    • @datasith
      @datasith  5 ปีที่แล้ว

      Hmm, not sure I understand what the problem is. The code on this video allows you to connect to your local Wi-Fi, and it seems that you've done this successfully!

  • @kerron_
    @kerron_ 6 ปีที่แล้ว

    That was easy good video.

    • @datasith
      @datasith  6 ปีที่แล้ว

      Thanks for the kind words, we're glad you liked it! There's a bunch more where that one came from ;)

  • @neilvermeulen5283
    @neilvermeulen5283 6 ปีที่แล้ว

    Hi Cisco.
    Thank you mate. Great series of videos around the ESP8266. I've learned a lot. Thank you again.
    I want to get simpler. How would I go about sending and consuming normal telnet commands? I'm talking old school, like using the telnet from the dos prompt.

    • @datasith
      @datasith  6 ปีที่แล้ว

      Hey, Neil. No prob, glad you like 'em.
      Does it have to be telnet? You can achieve similar things using curl on the command line to send HTTP (GET, POST, PUT, ...) requests.
      To answer your questions. There's a built-in example to get you started with telnet on the ESP8266:
      File > Examples > ESP8266WiFi > WiFiTelnetToSerial
      Let me know if you have any other questions :)

    • @neilvermeulen5283
      @neilvermeulen5283 6 ปีที่แล้ว

      ACROBOTIC Thank you Cisco. I was just curious about Telnet. You are right. There are easier, more powerful tools to use. Thank you for your guidance mate!

  • @erikgessner8690
    @erikgessner8690 5 ปีที่แล้ว

    Couldn't get the correct port on my mac to show up, however on windows i was successful. My issue now is Arduino IDE takes forever to upload the simplest programs including blink. Any suggestions?

    • @datasith
      @datasith  5 ปีที่แล้ว

      Weird thing that the Mac didn't work. What OS X version is it?
      Not sure why it takes so long. There are two steps to this process, compiling and actually uploading. In my experience, it's usually the compilation step that sometimes takes forever, whereas the uploading is typically fine. Is this the case with your setup?

    • @erikgessner8690
      @erikgessner8690 5 ปีที่แล้ว

      ACROBOTIC yes, I turned on the verbose output for both compiling and uploading and it seems compiling is what takes so long

    • @datasith
      @datasith  5 ปีที่แล้ว

      Cool, thanks for following up. This is a recent issue that's been noticed in Arduino 1.8.5 running on Windows 10. Can you try to *temporarily* disable your antivirus software. This is usually the cause of slow compilation times!

    • @erikgessner8690
      @erikgessner8690 5 ปีที่แล้ว

      ACROBOTIC will do, I appreciate you getting back to me! Awesome video

  • @ankitsinghal6766
    @ankitsinghal6766 6 ปีที่แล้ว

    i have done all the procedure but still not showing serial port which is mention in your video.I am using nodemcu
    please help

    • @ilyabitru
      @ilyabitru 6 ปีที่แล้ว

      on high sierra?

    • @datasith
      @datasith  6 ปีที่แล้ว

      You might have a different type of board that requires another USB driver. Try installing the CH340g driver instead. Thanks for watching!

  • @DigantGoradia
    @DigantGoradia 7 ปีที่แล้ว

    Sir, I use Arduino IDE to upload the Firmware on ESP8266-01 Module, it done successfully, But don't run the Firmware correctly after starting it...
    so, i tried with uploading AT firmware using node-mcu flasher (with any flash tool), but when it starting uploading firmware the process stuck when the address 0x7c000, 0x7e000 comes.. very frustrated with this..
    is my module is broken or something??
    please help me sir...

    • @datasith
      @datasith  7 ปีที่แล้ว

      If you upload your firmware w Arduino IDE and it doesn't run correctly, the most likely cause is a bug in your code. Our advise is to try to find it :)
      For flashing the AT firmware, there are different flash maps depending on the size of your flash memory module (512KB, 1MB, or 4MB). See for example the discussion here:
      www.esp8266.com/viewtopic.php?f=23&t=10932
      You need to configure your flash tool for the flash memory size of your ESP-01 module. Good luck!

    • @DigantGoradia
      @DigantGoradia 7 ปีที่แล้ว

      Thank you sir for your advice. I'll try to do as you have mentioned.

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

    Thank you!

    • @datasith
      @datasith  6 ปีที่แล้ว

      Thank you for watching!

  • @intsoumen
    @intsoumen 5 ปีที่แล้ว

    You are the God if you did this so easily.

    • @datasith
      @datasith  5 ปีที่แล้ว

      int soumen 😂 nah, I’ve just done it many, many times. Thanks for watching!

    • @intsoumen
      @intsoumen 5 ปีที่แล้ว

      :-)
      I'm using Amica nodemcu development kit, I have tried the stapes you suggested. But I have failed. I am giving up my hope as I'm trying for last 4 days.
      My environment as follows:
      Arduino 1.8.5
      Board: Nodemcu 0.9 ESP12
      CPU Freq. 80MHz
      Upload.Speed: 115200
      Showing error:
      esptool v0.4.13 - (c) 2014 Ch. Klippel
      An error occurred while uploading the sketch
      setting board to nodemcu
      setting baudrate from 115200 to 115200
      setting port from /dev/tty.usbserial to /dev/cu.SLAB_USBtoUART
      setting address from 0x00000000 to 0x00000000
      espcomm_upload_file
      espcomm_upload_mem
      opening port /dev/cu.SLAB_USBtoUART at 115200
      tcgetattr
      tcsetattr
      serial open
      opening bootloader
      resetting board
      trying to connect
      espcomm_send_command: sending command header
      espcomm_send_command: sending command payload
      trying to connect
      espcomm_send_command: sending command header
      espcomm_send_command: sending command payload
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      Uploading 250432 bytes from /var/folders/dm/ck803jcd62bbn2hn8m5d6lch0000gn/T/arduino_build_52691/int_blink.ino.bin to flash at 0x00000000
      erasing flash
      size: 03d240 address: 000000
      first_sector_index: 0
      total_sector_count: 62
      head_sector_count: 16
      adjusted_sector_count: 46
      erase_size: 02e000
      espcomm_send_command: sending command header
      espcomm_send_command: sending command payload
      setting timeout 15000
      setting timeout 1000
      warning: espcomm_send_command: didn't receive command response
      warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
      closing bootloader
      error: espcomm_upload_mem failed

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

      What kind of board do you have? I think you have everything set up correctly, try restarting the computer and the Arduino IDE. Thanks for watching!

    • @intsoumen
      @intsoumen 5 ปีที่แล้ว

      I am trying to flash a program into Amica NodeMCU ESP8266. I have tried in Window 10 and OSX.
      I have tried
      plain esptool.py command line in OSX 10.13.4 High Sierra
      esptool.py --port /dev/tty.SLAB_USBtoUART --baud 115200 --before "default_reset" --after "hard_reset" write_flash --flash_mode "dio" --flash_freq "80m" --flash_size 4MB 0x1000 /Users/soumensardar/Downloads/sketch_jul13a.ino.bin
      esptool.py --port /dev/tty.SLAB_USBtoUART write_flash 0x1000 /Users/soumensardar/Downloads/sketch_jul13a.ino.bin
      By holding down the FLASH button when plugin the USB to mac and/not clicking RST, I have issued the commands in terminal.
      Output:
      esptool.py v2.4.1
      Serial port /dev/tty.SLAB_USBtoUART
      Connecting........_
      Detecting chip type... ESP8266
      Chip is ESP8266EX
      Features: WiFi
      MAC: b4:e6:2d:34:a7:ff
      Uploading stub...
      Running stub...
      Stub running...
      Configuring flash size...
      Compressed 250496 bytes to 182688...
      A fatal error occurred: Timed out waiting for packet content
      Arduino 1.8.5 in OSX 10.13.4 High Sierra
      By holding down the FLASH button when plugin the USB to mac and/not clicking RST, I have issued the commands in terminal.
      And simple upload
      Got this
      esptool v0.4.13 - (c) 2014 Ch. Klippel
      setting board to nodemcu
      setting baudrate from 115200 to 921600
      setting port from /dev/tty.usbserial to /dev/cu.SLAB_USBtoUART
      setting address from 0x00000000 to 0x00000000
      An error occurred while uploading the sketch
      espcomm_upload_file
      espcomm_upload_mem
      opening port /dev/cu.SLAB_USBtoUART at 921600
      tcgetattr
      warning: serialport_set_baudrate: baud rate 921600 may not work
      tcsetattr
      serial open
      opening bootloader
      resetting board
      trying to connect
      espcomm_send_command: sending command header
      espcomm_send_command: sending command payload
      trying to connect
      espcomm_send_command: sending command header
      espcomm_send_command: sending command payload
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      espcomm_send_command: receiving 2 bytes of data
      Uploading 250496 bytes from /var/folders/dm/ck803jcd62bbn2hn8m5d6lch0000gn/T/arduino_build_732599/sketch_jul13a.ino.bin to flash at 0x00000000
      erasing flash
      size: 03d280 address: 000000
      first_sector_index: 0
      total_sector_count: 62
      head_sector_count: 16
      adjusted_sector_count: 46
      erase_size: 02e000
      espcomm_send_command: sending command header
      espcomm_send_command: sending command payload
      setting timeout 15000
      setting timeout 1000
      warning: espcomm_send_command: didn't receive command response
      warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
      closing bootloader
      error: espcomm_upload_mem failed
      NodeMCU PyFlasher on OSX 10.13.4 High Sierra
      Console
      Connecting........_
      Detecting chip type... ESP8266
      Chip is ESP8266EX
      Uploading stub...
      Running stub...
      Stub running...
      Configuring flash size...
      Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
      Flash params set to 0x0240
      Compressed 250496 bytes to 182688...
      and it keeps on waiting here
      NodeMCU Flasher Windows 10
      I do not have the exact error right now. But the lower left corner got red and the log says kind of timeout
      I am using 1 meter USB cable provided by my smartphone manufacturer.
      I have installed the CP2102 driver
      Is there any problem with my NodeMCU module or I am missing any point?

  • @joep_
    @joep_ 7 ปีที่แล้ว

    What is the FLASH button for on the ESP8266 board?

    • @datasith
      @datasith  7 ปีที่แล้ว

      nodemcu.readthedocs.io/en/master/en/hardware-faq/

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

    wonderful tutorial but it fails with the 1.8.10 Arduino IDE with the 2.6.3 ESP8266 board update. the python3 symbolic link is broken. To fix you need to replace the python3 file with a link or copy to python3

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

      Thanks so much for sharing that info, Christopher! Sometimes these updates will break existing installations, but I suspect (haven't verified it) that a clean install would not have any problems. Still, this is super helpful so thanks again for sharing with the community!

  • @umloginqualquer
    @umloginqualquer 8 ปีที่แล้ว

    So how can I keep the Wi-Fi capabilities of the esp8266 when I develop a new firmware?

    • @datasith
      @datasith  8 ปีที่แล้ว

      +umloginqualquer not sure what you mean, but there's an option of uploading firmware via Wi-Fi so that you don't need a USB connection, and your ESP8266 remains connected to Wi-Fi. We're preparing a video to go over how to do this!

    • @umloginqualquer
      @umloginqualquer 8 ปีที่แล้ว

      +ACROBOTIC sorry if I haven't been clear. I suppose that I'll erase esp8266's memory when I upload my code, erasing also the Wi-Fi "drivers" which were written on its memory. Or is the Wi-Fi functionality written somewhere "unerasable" (similar to Arduino's bootloader)?

    • @datasith
      @datasith  8 ปีที่แล้ว

      +umloginqualquer no prob! Yup, they're written somewhere 'unerasable' so you're good to upload different firmware including your own (using Arduino IDE), or even NodeMCU, MicroPython and Espruino (using esptool). For a demo of the latter check out our latest video!

  • @mikedelazzer6062
    @mikedelazzer6062 5 ปีที่แล้ว

    I would pull this video and redo it since so many people are having problems with the instructions. I too could not see the Board in the com port and spent 3 hours trying to figure out if it was a hardware issue or driver issue. In the end I gave up until I read the comments section and saw there was something missing

    • @datasith
      @datasith  5 ปีที่แล้ว

      Thanks for the feedback, I'm glad you got it working! The video works for its intended audience: people who have this board and Operating System. You're right that I could make a video that's more general, and it's on my to-do list, but I'm trying to cover other topics that seem to have a higher demand. Thanks for stopping by the channel, and sharing your thoughts.

  • @danieljunior9434
    @danieljunior9434 7 ปีที่แล้ว

    obrigado ! Salve ACROBOTIC

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

      Gracias! Aguante DANIEL!

  • @daviddoyle18
    @daviddoyle18 7 ปีที่แล้ว

    Great Tutorial. Where did you get the Mic?

    • @datasith
      @datasith  7 ปีที่แล้ว

      Hey David, thanks for the kind words. It's a Blue Yeti USB mic (got it on Amazon), but the high-quality sound is thanks to the work of professional Sound Editor twitter.com/zwaves on every clip ^_^

  • @abdulwaheedsiddiqui7093
    @abdulwaheedsiddiqui7093 8 ปีที่แล้ว

    sir i uploaded this test program to my esp8266( ch340 v3 lua wifi IOT) and accidental save it as init.lua and now it is not connecting to my pc plz help ... it is just flashing and led i want to reset it as it was
    lighton=0
    tmr.alarm(0,1000,1,function()
    if lighton==0 then
    lighton=1
    led(512,512,512)
    -- 512/1024, 50% duty cycle
    else
    lighton=0
    led(0,0,0)
    end
    end)

    • @datasith
      @datasith  8 ปีที่แล้ว

      +sam sid sorry to hear! We're preparing a video for using Lua with the ESP8266. Stay tuned!

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

    I have downloaded the driver but the port is not showing op. help, please

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

      check out the pinned comment, you might need a different driver.

  • @macuduranti
    @macuduranti 6 ปีที่แล้ว

    Hey! I am using the adafruit huzzah on a macbook (pro 2016 with sierra, and connecting it through an adapter to usb c) and can't get to upload any code to it, I'm instead getting errors such as "error: espcomm_upload_mem failed" and "an error occurred while uploading the sketch". Can somebody help me please?? I've installed everything said in this video btw.

    • @pauloteixeira8162
      @pauloteixeira8162 6 ปีที่แล้ว

      You need to flash the firmware´s board to use with arduino IDE. That is what I am trying to do right now

    • @datasith
      @datasith  6 ปีที่แล้ว

      Heya! Can you see the port listed in the Tools > Ports menu?

  • @50merlin
    @50merlin 7 ปีที่แล้ว

    hi very good video can you tell me where you got your mic from ?

    • @datasith
      @datasith  7 ปีที่แล้ว

      Sure, no prob. It's a blue yeti mic, and we bought it from Amazon. Thanks for watching!

    • @user-mfsc-2024
      @user-mfsc-2024 7 ปีที่แล้ว

      The voice recording is great on such a distance where the mic located.

    • @datasith
      @datasith  7 ปีที่แล้ว

      Thanks, we have an amazing sound editor working with us! (twitter.com/ZWaves)

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

    your video was awesome sir. sir, I've managed to replace the faulty module.
    now I'm with my new module. but when uploaded the blink code with arduino IDE it shows the following upload error.::
    "warning: espcomm_sync failed
    error: espcomm_open failed
    error: espcomm_upload_men failed."
    it shows the above 3 errors.
    please help sir.

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

      This error occurs when:
      1) your computer is having trouble communicating with the Serial-to-USB chip on the board.
      Have you installed the correct drivers?
      2) the Serial-to-USB chip is having trouble communicating with the TX/RX (UART) interface of the ESP-12E module (ESP8266 SoC).
      Have you double-checked your soldering particularly of the TX/RX pins?
      Thanks for watching our videos!

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

      I almost gave up on these things, but ACROBOTIC's video got me going again. I could never find the USB port (under TOOLS | PORT)... but one of his comments said (paraphrased), 'A lot of the USB cables are just power cables, not data cables. They don't have all the wires and won't work'. Sure enough!!!!! I am not sure how to tell the difference between data/power and just power, but it took me trying 6 cables until I found one. I have 3 on order and will be putting a dot of green paint on them.

  • @yashasvimuzumdar7568
    @yashasvimuzumdar7568 6 ปีที่แล้ว

    Thanx for uploading...really very helpful video!
    but i am having an issue while uploading the sketch it's throwing an error " espcomm_sync failed espcomm_upload_mem failed" in spite of following all the mentioned steps. Please help me resolving this issue. Thanx in advance :)

    • @datasith
      @datasith  6 ปีที่แล้ว

      Thanks for watching! Try a different USB driver, see the comments section for instructions.

  • @joaoroque1956
    @joaoroque1956 7 ปีที่แล้ว

    I've bought one, but I've connected it to my pc and a blue led flashes on the wi-fi module, but the red led doesn't. Anyone know if it's fried or something? And the board doesn't respond to the ide arduino

    • @datasith
      @datasith  7 ปีที่แล้ว

      Hi, Joao. The blue LED flashes in different situations like when you first connect it to power and when you upload your code. The red LED flashes only when the code successfully uploads and you turn on/off pin #16. If the board doesn't respond to the Arduino IDE, then the code did not upload correctly, and that's why you don't see the red LED blinking.
      There are a few reasons why the board isn't responding. The most likely is that the drivers are not installed correctly. Which model of the board do you have? Can you send a link so we can double check?
      Thanks for watching our vids! Hang in there while we figure things out :)

    • @joaoroque1956
      @joaoroque1956 7 ปีที่แล้ว

      I have a nodemcu lua esp8266 w/ cp2102. In my arduino I'm using the generic esp8266 module. When I compile to the board It just gives errors error: failed reading byte
      warning: espcomm_send_command: cant receive slip payload data
      warning: espcomm_sync failed
      error: espcomm_open failed
      error: espcomm_upload_mem failed

    • @datasith
      @datasith  7 ปีที่แล้ว

      Ok, thanks for the info! For the Arduino IDE, here are a few suggestions: 1) Make sure you have the latest Arduino IDE (1.6.13) installed. 2) Try a different baud rate for uploading the code (Tools > Upload Speed). 3) Try the workarounds here: github.com/igrr/esptool-ck/issues/9
      Let us know how it goes!

  • @tiraamal1083
    @tiraamal1083 7 ปีที่แล้ว

    hello thanks for this vedio it was amazing!but can you please help i want to control 3 servo motors what i will add to the code ?

    • @datasith
      @datasith  7 ปีที่แล้ว

      Check out the examples in the Servo library :)

    • @datasith
      @datasith  7 ปีที่แล้ว

      Also, we have a video that uses 2 servos to control a pan and tilt camera mount:
      th-cam.com/video/Edbxyl2BhyU/w-d-xo.html
      HTH!

  • @bikramkarmakar6482
    @bikramkarmakar6482 7 ปีที่แล้ว

    sir when i press compile bottom on Arduino ID it showing following error--- Error Compiling for board Node MCU 1.0(ESP-12E Modul).
    Board nodemcuv2 (platform esp8266,package esp8266) is unknown
    Error compiling for board ModeMCU 1.0 (ESP- 12E Module)
    please help me

    • @datasith
      @datasith  7 ปีที่แล้ว

      Sounds like the Boards Manager of your Arduino IDE is corrupted. Try following the steps here: learn.acrobotic.com/tutorials/post/esp8266-using-the-arduino-ide

  • @thebug2782
    @thebug2782 7 ปีที่แล้ว

    it is not detected in device manager when connected. I've checked all other USB ports. also I've checked other PC. it is not getting connected. plz help sir

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

      Sounds like a faulty board or at least a non-functional Serial-to-USB chip (CP2102). You could try replacing the chip, or purchasing a new board.

  • @ManishKumar-mg7cg
    @ManishKumar-mg7cg 7 ปีที่แล้ว

    thank you, it is the simplest explanation, it worked in the first go :-)
    Now my question is how can i interface a R305 fingerprint sensor with it? Because it works with arduino but does not work with esp8266 node mcu. Actually i was trying to make a classroom attendance system where fingerprint reader scans and identifies the student, then it displays his name on oled display and send the list of all the students via email to a mail address.
    Thank you

    • @datasith
      @datasith  7 ปีที่แล้ว

      Hey, Manish. That's quite an interesting project you're planning! The R305 sensor communicates with any microcontroller using a Serial UART interface. Whereas we haven't used this sensor ourselves , it seems that there's a very good library for it: github.com/adafruit/Adafruit-Fingerprint-Sensor-Library
      This library uses a software-based Serial UART interface to communicate with the sensor. Since the ESP8266 is more than capable of using this interface, you can certainly use the library. What problems were you having with it?

    • @ManishKumar-mg7cg
      @ManishKumar-mg7cg 7 ปีที่แล้ว

      Thank you for replying, I am using that library only, but when i use arduino uno and example sketch to enrol a fingerprint, it scans finger for the first time, and again for the second time, then it says "unknown error" in the serial monitor and starts over again. I searched on the web and many people have same problem, some say that it is the problem of arduino ide, as they were also using 1.6.13 and it gave same error, but when they used arduino ide 1.6.6 it gave no problem at all. I even tried arduino ide 1.6.6 but problem remains same.
      And while i was trying to compile same code by changing board to node mcu, it gave me this error in compilation.
      Arduino: 1.6.13 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"
      enroll:29: error: no matching function for call to 'Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*)'
      Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
      ^
      /Users/manish/Documents/Arduino/libraries/Adafruit-Fingerprint-Sensor-Library-master/examples/enroll/enroll.ino:29:61: note: candidates are:
      In file included from /Users/manish/Documents/Arduino/libraries/Adafruit-Fingerprint-Sensor-Library-master/examples/enroll/enroll.ino:17:0:
      /Users/manish/Documents/Arduino/libraries/Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:77:3: note: Adafruit_Fingerprint::Adafruit_Fingerprint(HardwareSerial*)
      Adafruit_Fingerprint(HardwareSerial *);
      ^
      /Users/manish/Documents/Arduino/libraries/Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:77:3: note: no known conversion for argument 1 from 'SoftwareSerial*' to 'HardwareSerial*'
      /Users/manish/Documents/Arduino/libraries/Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:72:7: note: constexpr Adafruit_Fingerprint::Adafruit_Fingerprint(const Adafruit_Fingerprint&)
      class Adafruit_Fingerprint {
      ^
      /Users/manish/Documents/Arduino/libraries/Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:72:7: note: no known conversion for argument 1 from 'SoftwareSerial*' to 'const Adafruit_Fingerprint&'
      /Users/manish/Documents/Arduino/libraries/Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:72:7: note: constexpr Adafruit_Fingerprint::Adafruit_Fingerprint(Adafruit_Fingerprint&&)
      /Users/manish/Documents/Arduino/libraries/Adafruit-Fingerprint-Sensor-Library-master/Adafruit_Fingerprint.h:72:7: note: no known conversion for argument 1 from 'SoftwareSerial*' to 'Adafruit_Fingerprint&&'
      exit status 1
      no matching function for call to 'Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*)'

    • @datasith
      @datasith  7 ปีที่แล้ว

      So the error is telling you that you cannot call the constructor *Adafruit_Fingerprint()* with a *SoftwareSerial* object as a parameter. Are you sure you're using the correct library? There's a *HardawereSerial* version also available (github.com/marvinroger/Adafruit-Hardware-Serial-Fingerprint-Sensor-Library). You need to use the one that uses *SoftwareSerial*.
      If you have a *NodeMCU* board, then you can try to use the *HardwareSerial* version, and connect the second UART port (*Serial1*).

  • @marcelomonteiro587
    @marcelomonteiro587 8 ปีที่แล้ว

    Thank you very much

    • @datasith
      @datasith  8 ปีที่แล้ว

      +marcelo monteiro No problem, glad you enjoyed it. More videos are on the way!

  • @saidkouki5061
    @saidkouki5061 6 ปีที่แล้ว

    I did upload the sketch, and when I was done. It started flashing red, why is it flashing red?

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

      Because that's what the code running inside the Chip is doing. It's making the LED flash red :) Try changing the "1000" to "500" and you'll see it flashing faster. Good luck!

    • @saidkouki5061
      @saidkouki5061 6 ปีที่แล้ว

      ACROBOTIC Thank you!

    • @saidkouki5061
      @saidkouki5061 6 ปีที่แล้ว

      But when I was searching for 192.168.4.1 nothing came up. Why is that happening?

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

    Hey guys I’m very very green to all this .. will this video help me to set it up fully ... or half way ..

    • @datasith
      @datasith  5 ปีที่แล้ว

      Try it and see?

  • @user-mfsc-2024
    @user-mfsc-2024 7 ปีที่แล้ว

    How do I get which firmware version on the board ?

    • @datasith
      @datasith  7 ปีที่แล้ว

      If it has the stock firmware, you can use the AT+GMR command.