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

Sdílet
Vložit
  • čas přidán 18. 01. 2016
  • • Your support helps me post videos more frequently:
    / acrobotic
    www.paypal.me/...
    buymeacoff.ee/...
    BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
    ==========
    • Find me on:
    / acrobotic
    / acrobotic
    / acrobotic
    ==========
    • My shops:
    acrobotic.com/...
    amazon.com/sho...
    ==========
    • 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/...
    amzn.to/2dAZ1mW (affiliate)
    ==========
    • Project code:
    Download the Arduino IDE from:
    www.arduino.cc...
    Download the USB drivers for the USB to Serial UART module:
    www.silabs.com...
    Enter the following URL into the "Additional Board Manager URLs" field in the preferences menu of the IDE:
    arduino.esp8266...
    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.acroboti...
    ==========
    • Music:
    Jason Shaw (audionautix.com/). Creative Commons License 3.0.
    ==========
    #ESP8266 #Arduino #Tutorial
  • Věda a technologie

Komentáře • 427

  • @mrneatandclean
    @mrneatandclean Před 8 lety +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  Před 8 lety

      +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 Před 8 lety

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

    • @mrneatandclean
      @mrneatandclean Před 8 lety

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

    • @datasith
      @datasith  Před 8 lety

      +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 Před 8 lety +1

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

  • @doramonlovers176
    @doramonlovers176 Před 3 lety +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.

  • @paulgibby6932
    @paulgibby6932 Před 5 lety

    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  Před 5 lety

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

  • @TheDhmaster
    @TheDhmaster Před 5 lety +2

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

    • @datasith
      @datasith  Před 5 lety

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

  • @CommanderAMB
    @CommanderAMB Před 7 lety

    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  Před 7 lety

      You're very welcome, Commander!

  • @sanketss84
    @sanketss84 Před 7 lety

    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  Před 7 lety

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

  • @asulliv1954
    @asulliv1954 Před 6 lety

    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  Před 6 lety

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

  • @yvanzakowski
    @yvanzakowski Před 8 lety +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.

  • @gauravsinghchauhan
    @gauravsinghchauhan Před 7 lety +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  Před 7 lety

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

    • @gauravsinghchauhan
      @gauravsinghchauhan Před 7 lety

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

    • @datasith
      @datasith  Před 7 lety

      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 Před 7 lety +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  Před 7 lety

      Connor, glad we could help 😊

  • @PhotoGuyOmaha
    @PhotoGuyOmaha Před 4 lety

    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  Před 4 lety

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

  • @Ken-S
    @Ken-S Před rokem

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

  • @allanhaydock825
    @allanhaydock825 Před 7 lety

    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. :-)

  • @josephrodriguez5699
    @josephrodriguez5699 Před 5 lety +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  Před 5 lety

      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.

  • @hoiblij6737
    @hoiblij6737 Před 5 lety

    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  Před 5 lety

      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.

  • @NamanGupta-ik2or
    @NamanGupta-ik2or Před 5 lety +1

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

  • @Jack-mz7lb
    @Jack-mz7lb Před 8 lety +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  Před 8 lety

      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 Před 8 lety

      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  Před 8 lety

      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 Před 6 lety

      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!

  • @CptBongue
    @CptBongue Před 5 lety +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  Před 4 lety

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

  • @tseckwr3783
    @tseckwr3783 Před 2 lety

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

  • @Laura-wd5ns
    @Laura-wd5ns Před 6 lety

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

    • @datasith
      @datasith  Před 6 lety

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

  • @silviasanna97
    @silviasanna97 Před 6 lety +1

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

    • @datasith
      @datasith  Před 6 lety

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

  • @flamingtoast13
    @flamingtoast13 Před 8 lety

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

  • @eumesmo-kd1tr
    @eumesmo-kd1tr Před 7 lety +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  Před 7 lety +2

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

  • @AtulSingh-bc8wo
    @AtulSingh-bc8wo Před 6 lety

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

    • @datasith
      @datasith  Před 6 lety

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

  • @SRBmilan
    @SRBmilan Před 7 lety

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

    • @datasith
      @datasith  Před 7 lety

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

  • @aclaraboia
    @aclaraboia Před 8 měsíci

    It worked for me, thank you so much.

  • @skyevanderheijden5382
    @skyevanderheijden5382 Před 4 lety +1

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

    • @datasith
      @datasith  Před 4 lety +1

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

  • @crimsonBen
    @crimsonBen Před 5 lety +1

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

    • @datasith
      @datasith  Před 5 lety +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 Před 8 lety +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  Před 8 lety +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.

  • @davidjurik9874
    @davidjurik9874 Před 8 lety

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

    • @datasith
      @datasith  Před 8 lety

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

  • @HAFahim
    @HAFahim Před 6 lety

    Thanks for good introduction to ESO8266

    • @datasith
      @datasith  Před 6 lety

      No worries, thanks for watching!

  • @jdmcgowa
    @jdmcgowa Před 2 lety

    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~

  • @quoit99training83
    @quoit99training83 Před 8 lety

    The best tutorial on ESP-12e modules on CZcams! 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  Před 6 lety

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

  • @stevecowell2415
    @stevecowell2415 Před 6 lety

    Excellent video, clear and precise. Thank you

    • @datasith
      @datasith  Před 6 lety

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

  • @thebug2782
    @thebug2782 Před 8 lety

    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  Před 8 lety

      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

  • @swathivinod
    @swathivinod Před 6 lety

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

    • @datasith
      @datasith  Před 6 lety

      No worries, thanks for watching!

  • @alexbeum7403
    @alexbeum7403 Před 4 lety

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

    • @datasith
      @datasith  Před 4 lety

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

  • @intsoumen
    @intsoumen Před 6 lety

    You are the God if you did this so easily.

    • @datasith
      @datasith  Před 6 lety

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

    • @intsoumen
      @intsoumen Před 6 lety

      :-)
      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  Před 6 lety +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 Před 6 lety

      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?

  • @eduym17
    @eduym17 Před 7 lety

    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  Před 7 lety

      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!

  • @jotarokujo6729
    @jotarokujo6729 Před 5 lety +1

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

  • @neelvek
    @neelvek Před 4 lety

    Thank you! This was very helpful

    • @datasith
      @datasith  Před 4 lety

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

  • @afikile
    @afikile Před 6 lety

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

    • @datasith
      @datasith  Před 6 lety

      Thanks for the kind words!

  • @abdulsamadpn
    @abdulsamadpn Před 4 lety

    Arduino: 1.8.12 (Mac OS X), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    fork/exec /Users/abdulsamad/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory
    Error compiling for board NodeMCU 0.9 (ESP-12 Module).
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    how to fix this

    • @datasith
      @datasith  Před 4 lety

      github.com/esp8266/Arduino/issues/6528

  • @moeshickenyay
    @moeshickenyay Před 6 lety

    Nice and Clear, thank you.

    • @datasith
      @datasith  Před 6 lety

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

  • @StepwaveMusic
    @StepwaveMusic Před 4 lety

    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  Před 4 lety

      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!

  • @bikramkarmakar6482
    @bikramkarmakar6482 Před 8 lety

    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  Před 8 lety

      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

  • @fixitalltech1014
    @fixitalltech1014 Před 8 lety

    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  Před 8 lety

      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.

  • @thebug2782
    @thebug2782 Před 8 lety

    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  Před 8 lety +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.

  • @bcgelandewagen
    @bcgelandewagen Před 5 lety

    Thanks for the video!

  • @thebug2782
    @thebug2782 Před 8 lety +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  Před 8 lety +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 Před 4 lety

      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.

  • @abdulwaheedsiddiqui7093

    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  Před 8 lety

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

  • @AnkitGargIndia
    @AnkitGargIndia Před 7 lety

    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  Před 7 lety

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

  • @spartangaming8639
    @spartangaming8639 Před 7 lety +2

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

    • @datasith
      @datasith  Před 7 lety

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

  • @siddheshbhalerao7084
    @siddheshbhalerao7084 Před 7 lety

    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  Před 7 lety

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

  • @thebug2782
    @thebug2782 Před 8 lety

    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  Před 4 lety

      Couldn't have said it better myself :)

  • @neilvermeulen5283
    @neilvermeulen5283 Před 6 lety

    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  Před 6 lety

      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 Před 6 lety

      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!

  • @SupremeChief1
    @SupremeChief1 Před 6 lety

    Yes! it works thank you !

    • @datasith
      @datasith  Před 6 lety

      Awesome! Best of luck going forward :)

  • @tuxdevilwy
    @tuxdevilwy Před 4 lety

    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  Před 4 lety

      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!

  • @tuliuslima
    @tuliuslima Před 8 lety

    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  Před 8 lety

      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 Před 8 lety

      I am also facing same issue

  • @Civitenko
    @Civitenko Před 7 lety

    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  Před 7 lety

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

  • @fixitalltech1014
    @fixitalltech1014 Před 8 lety

    Thankyou for your reply . It was really very helpful .

  • @nahummaciel6385
    @nahummaciel6385 Před 6 lety

    Thanks for the video.

    • @datasith
      @datasith  Před 6 lety

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

  • @georgepad4787
    @georgepad4787 Před 7 lety

    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  Před 7 lety

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

  • @joaoroque1956
    @joaoroque1956 Před 7 lety

    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  Před 7 lety

      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 Před 7 lety

      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  Před 7 lety

      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!

  • @daviddoyle18
    @daviddoyle18 Před 7 lety

    Great Tutorial. Where did you get the Mic?

    • @datasith
      @datasith  Před 7 lety

      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 ^_^

  • @eng.aljobury5087
    @eng.aljobury5087 Před 7 lety

    Thank u for this amazing information

  • @aidanangus-henry5327
    @aidanangus-henry5327 Před 6 lety

    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  Před 6 lety

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

    • @asulliv1954
      @asulliv1954 Před 6 lety

      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

  • @anandgargate5197
    @anandgargate5197 Před 5 lety

    Thanks, I was struggling to get it work on mac

    • @datasith
      @datasith  Před 5 lety

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

  • @Owensv64
    @Owensv64 Před 7 lety

    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  Před 7 lety

      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*

  • @russellbroomhall4335
    @russellbroomhall4335 Před 7 lety

    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  Před 7 lety

      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!

  • @NitinGautam81
    @NitinGautam81 Před 7 lety

    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 Před 7 lety

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

    • @datasith
      @datasith  Před 7 lety

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

  • @robertblaylock618
    @robertblaylock618 Před 7 lety

    Great tutorial.

  • @asulliv1954
    @asulliv1954 Před 6 lety

    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  Před 6 lety

      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!

  • @saisumanthkalluri3207
    @saisumanthkalluri3207 Před 7 lety

    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  Před 7 lety

      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!

  • @kerron_
    @kerron_ Před 7 lety

    That was easy good video.

    • @datasith
      @datasith  Před 6 lety

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

  • @narut99
    @narut99 Před 6 lety

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

    • @datasith
      @datasith  Před 6 lety +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!

  • @tsravuri
    @tsravuri Před 6 lety +1

    Thank you!

  • @marcosantoniooliveiradasil401

    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  Před 6 lety

      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!

  • @TheTripleSB
    @TheTripleSB Před 5 lety

    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  Před 5 lety

      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!

  • @mikedelazzer6062
    @mikedelazzer6062 Před 6 lety

    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  Před 6 lety

      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.

  • @mohammedpatel6718
    @mohammedpatel6718 Před 7 lety

    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  Před 7 lety

      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 Před 4 lety

      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.

  • @niekvanwijk4451
    @niekvanwijk4451 Před 5 lety

    I got this error:
    Arduino: 1.8.7 Hourly Build 2018/09/28 12:01 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    Sketch uses 247876 bytes (23%) of program storage space. Maximum is 1044464 bytes.
    Global variables use 28012 bytes (34%) of dynamic memory, leaving 53908 bytes for local variables. Maximum is 81920 bytes.
    warning: espcomm_sync failed
    An error occurred while uploading the sketch
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    • @datasith
      @datasith  Před 5 lety

      Hi! This is a common problem (your computer can't communicate with the board), but unfortunately there's more than one solution and we have no easy way of knowing, which one applies to your specific case. Start by following the steps in the pinned comment of this video. Good luck, and please let me know how it goes!

    • @niekvanwijk4451
      @niekvanwijk4451 Před 5 lety

      I also can't find the right port. I can only use the bluetooth incoming port.

    • @datasith
      @datasith  Před 5 lety

      This narrows it down a bit. It shows that the USB driver isn't installed correctly, thus you get the error because the computer can't communicate over USB with the board. In the pinned comment, there's a mention of installing a different USB driver as your board isn't exactly the same as the one in the video.

  • @yunginternet
    @yunginternet Před 3 lety

    hey! this worked great. Can someone point me to an explanation on why with lightblue it works on my phone, but it won't show up on either of my osx machines?

  • @taranagnew436
    @taranagnew436 Před 6 lety

    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  Před 6 lety

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

  • @erielmarimon6051
    @erielmarimon6051 Před 5 lety

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

    • @datasith
      @datasith  Před 5 lety +1

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

  • @DigantGoradia
    @DigantGoradia Před 7 lety

    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  Před 7 lety

      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 Před 7 lety

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

  • @fixitalltech1014
    @fixitalltech1014 Před 8 lety

    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  Před 8 lety

      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!

  • @trilokjt2118
    @trilokjt2118 Před 8 lety

    How to format Flash memory, LED is blinking continuously???? Please help me

    • @datasith
      @datasith  Před 8 lety

      +TRILOK JT if you follow the steps on this video, you will format the flash memory with the Blink program firmware. You can then write a different program, hit "Upload" on the Arduino IDE to flash other firmware to the flash memory. Thanks for watching our videos!

    • @trilokjt2118
      @trilokjt2118 Před 8 lety

      Got it, and I have another issue, i.e., webserver example I'm not able receive IP on Serial monitor after uploading the Helloserver Program to ESP. I'm getting some garbage value... Please can you tell me what is the main problem with it.

    • @datasith
      @datasith  Před 8 lety

      Remember to change the baud rate from the drop down menu to 115200 instead of 9600!

  • @tarunbirgambhir3627
    @tarunbirgambhir3627 Před 7 lety +1

    when I go to Boards Manager, I get the the following error
    Error downloading downloads.arduino.cc/packages/package_index.json
    Anyone help please, I am not able to fix this!

    • @datasith
      @datasith  Před 7 lety

      This problem can occur from time to time when the arduino.cc servers are down. The problem should go away after a few minutes/hours.

    • @tarunbirgambhir3627
      @tarunbirgambhir3627 Před 7 lety

      Initially i thought the same, but now it has been many days and I still see the error. I tried reinstalling the ide but it had no effect.

    • @datasith
      @datasith  Před 7 lety

      Let us know if this works!
      1. Open command prompt (windows start button, type cmd in search)
      2. Click top left of command prompt, click properties, enable quick edit mode
      3. Copy: setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true
      4. Right click on command prompt, should paste
      5. Hit enter.

    • @tarunbirgambhir3627
      @tarunbirgambhir3627 Před 7 lety

      no effect :/

    • @luciferdevil7572
      @luciferdevil7572 Před 7 lety

      yeh having same issue please someone help

  • @ankitsinghal6766
    @ankitsinghal6766 Před 7 lety

    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 Před 6 lety

      on high sierra?

    • @datasith
      @datasith  Před 6 lety

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

  • @macuduranti
    @macuduranti Před 7 lety

    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 Před 7 lety

      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  Před 7 lety

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

  • @russellbroomhall4335
    @russellbroomhall4335 Před 7 lety

    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  Před 6 lety

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

  • @JaviepalFordring1
    @JaviepalFordring1 Před 7 lety

    i get this
    warning: espcomm_send_command: cant receive slip payload data
    error: failed reading byte
    i follow all steps, and the mcu start blinking when upload, but never fully upload sketch

    • @datasith
      @datasith  Před 7 lety

      Hi, Javiepal! 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 :)

    • @JaviepalFordring1
      @JaviepalFordring1 Před 7 lety

      CP2102, already install drivers, and install arduino board, the only program that let me send code is with ESPlorer, and i flashed it too. I'm using the exact same NodeMCU as you. I'm Already coding with ESPlorer but i can't get pin 1 go low, just high
      print(wifi.sta.getip())
      wifi.setmode(wifi.STATION)
      wifi.sta.config("INFINITUM5272", "Javiermago1!")
      pin = 1
      gpio.mode(pin,gpio.OUTPUT)
      srv=net.createServer(net.TCP)
      srv:listen(80,function(conn)
      conn:on("receive", receiver)
      end)
      function receiver(sck, data)
      print(data)
      if (data=="on") then
      print('light')
      gpio.write(pin,gpio.HIGH)
      elseif (data=="off") then
      print('dark')
      gpio.write(pin,gpio.LOW)
      end
      end
      i'm trying to toggle a Relay. And takes too long to chose between High and low.

    • @datasith
      @datasith  Před 7 lety

      Nice! You're well on your way. 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
      And for your code, when you call *print(data)* do you see the expected strings *"on"* and *"off"*? In this case the problem is with the hardware, so you can try connecting an LED to *pin 1* and verify that the behavior is correct. Then you can conclude that the problem is with the relay.
      Depending on the relay model the problem might be that you need additional circuit:
      www.electroschematics.com/8975/arduino-control-relay/
      Let us know how it goes!

  • @marcelomonteiro587
    @marcelomonteiro587 Před 8 lety

    Thank you very much

    • @datasith
      @datasith  Před 8 lety

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

  • @MrSrouzier
    @MrSrouzier Před 4 lety

    Hello, thanks for this usefull tutorial. I've got an error message "duplicated library" when copiling the blink.ini example on my Mac, and i can't figure to solve it. Would you be so kind to help please? Thanks a lot !!

    • @datasith
      @datasith  Před 4 lety

      Can you try a clean install of the Arduino App? Sometimes you'll see these conflicts after an upgrade, or installing specific versions of the ESP8266 board package. HTH!

  • @umloginqualquer
    @umloginqualquer Před 8 lety

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

    • @datasith
      @datasith  Před 8 lety

      +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 Před 8 lety

      +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  Před 8 lety

      +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!

  • @fernando812
    @fernando812 Před 7 lety

    I have a problem with the serial port, I downloaded the drivers but doesn't work... someone can help me please?

    • @datasith
      @datasith  Před 7 lety

      Try the drivers for the CH340g. Depending on your board model, they have different USB-to-Serial adapter chips!

  • @arashaga
    @arashaga Před 7 lety

    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  Před 7 lety

      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 Před 4 lety

      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.

  • @50merlin
    @50merlin Před 7 lety

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

    • @datasith
      @datasith  Před 7 lety

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

    • @user-mfsc-2024
      @user-mfsc-2024 Před 7 lety

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

    • @datasith
      @datasith  Před 7 lety

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

  • @bobmixon6021
    @bobmixon6021 Před 5 lety

    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  Před 5 lety +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 Před 5 lety

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

    • @datasith
      @datasith  Před 5 lety +1

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

    • @bobmixon6021
      @bobmixon6021 Před 5 lety

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

  • @joep_
    @joep_ Před 7 lety

    What is the FLASH button for on the ESP8266 board?

    • @datasith
      @datasith  Před 7 lety

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