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

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

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

  • @mrneatandclean
    @mrneatandclean 9 лет назад +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  9 лет назад

      +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 9 лет назад

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

    • @mrneatandclean
      @mrneatandclean 9 лет назад

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

    • @datasith
      @datasith  9 лет назад

      +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 9 лет назад +1

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

  • @TheDhmaster
    @TheDhmaster 6 лет назад +2

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

    • @datasith
      @datasith  6 лет назад

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

  • @paulgibby6932
    @paulgibby6932 6 лет назад

    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  6 лет назад

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

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

  • @CommanderAMB
    @CommanderAMB 8 лет назад

    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  8 лет назад

      You're very welcome, Commander!

  • @asulliv1954
    @asulliv1954 7 лет назад

    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  7 лет назад

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

  • @allanhaydock825
    @allanhaydock825 8 лет назад

    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  8 лет назад

      Glad it helped! :-)

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

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

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

  • @Laura-wd5ns
    @Laura-wd5ns 7 лет назад

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

    • @datasith
      @datasith  7 лет назад

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

  • @hoiblij6737
    @hoiblij6737 5 лет назад

    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  5 лет назад

      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.

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

  • @flamingtoast13
    @flamingtoast13 8 лет назад

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

    • @datasith
      @datasith  6 лет назад

      You're very welcome! :)

  • @Ken-S
    @Ken-S 2 года назад

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

  • @silviasanna97
    @silviasanna97 6 лет назад +1

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

    • @datasith
      @datasith  6 лет назад

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

  • @PhotoGuyOmaha
    @PhotoGuyOmaha 5 лет назад

    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  5 лет назад

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

  • @gauravsinghchauhan
    @gauravsinghchauhan 8 лет назад +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  8 лет назад

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

    • @gauravsinghchauhan
      @gauravsinghchauhan 8 лет назад

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

    • @datasith
      @datasith  8 лет назад

      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 8 лет назад +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  8 лет назад

      Connor, glad we could help 😊

  • @jbrown513
    @jbrown513 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?).

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

  • @josephrodriguez5699
    @josephrodriguez5699 6 лет назад +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  6 лет назад

      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.

  • @Atu108singh
    @Atu108singh 6 лет назад

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

    • @datasith
      @datasith  6 лет назад

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

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

  • @yvanzakowski
    @yvanzakowski 9 лет назад +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 6 лет назад +1

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

    • @datasith
      @datasith  5 лет назад

      Me? Argentine :)

  • @davidjurik9874
    @davidjurik9874 9 лет назад

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

  • @quoit99training83
    @quoit99training83 8 лет назад

    The best tutorial on ESP-12e modules on RUclips! 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  6 лет назад

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

  • @asulliv1954
    @asulliv1954 7 лет назад

    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  7 лет назад

      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!

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

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

  • @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 8 лет назад +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  8 лет назад +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.

  • @swathivinod
    @swathivinod 7 лет назад

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

    • @datasith
      @datasith  7 лет назад

      No worries, thanks for watching!

  • @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  5 лет назад

      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!

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

  • @AnkitGargIndia
    @AnkitGargIndia 8 лет назад

    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  8 лет назад

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

  • @eumesmo-kd1tr
    @eumesmo-kd1tr 8 лет назад +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  8 лет назад +2

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

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

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

    It worked for me, thank you so much.

  • @mikedelazzer6062
    @mikedelazzer6062 6 лет назад

    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  6 лет назад

      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.

  • @eduym17
    @eduym17 8 лет назад

    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  8 лет назад

      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!

  • @HAFahim
    @HAFahim 6 лет назад

    Thanks for good introduction to ESO8266

    • @datasith
      @datasith  6 лет назад

      No worries, thanks for watching!

  • @Owensv64
    @Owensv64 8 лет назад

    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  8 лет назад

      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*

  • @afikile
    @afikile 7 лет назад

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

    • @datasith
      @datasith  7 лет назад

      Thanks for the kind words!

  • @thebug2782
    @thebug2782 8 лет назад

    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  8 лет назад

      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

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

    Thank you! This was very helpful

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

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

  • @fixitalltech1014
    @fixitalltech1014 8 лет назад

    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  8 лет назад

      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.

  • @Civitenko
    @Civitenko 8 лет назад

    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  8 лет назад

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

  • @russellbroomhall4335
    @russellbroomhall4335 8 лет назад

    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  8 лет назад

      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!

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

  • @narut99
    @narut99 7 лет назад

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

    • @datasith
      @datasith  7 лет назад +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!

  • @StepwaveMusic
    @StepwaveMusic 5 лет назад

    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  5 лет назад

      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!

  • @aidanangus-henry5327
    @aidanangus-henry5327 7 лет назад

    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  7 лет назад

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

    • @asulliv1954
      @asulliv1954 7 лет назад

      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

  • @intsoumen
    @intsoumen 6 лет назад

    You are the God if you did this so easily.

    • @datasith
      @datasith  6 лет назад

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

    • @intsoumen
      @intsoumen 6 лет назад

      :-)
      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  6 лет назад +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 6 лет назад

      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?

  • @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 5 лет назад

      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.

  • @thebug2782
    @thebug2782 8 лет назад

    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  5 лет назад

      Couldn't have said it better myself :)

  • @moeshickenyay
    @moeshickenyay 7 лет назад

    Nice and Clear, thank you.

    • @datasith
      @datasith  7 лет назад

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

  • @saisumanthkalluri3207
    @saisumanthkalluri3207 8 лет назад

    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  8 лет назад

      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!

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

  • @niekvanwijk4451
    @niekvanwijk4451 6 лет назад

    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  6 лет назад

      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 6 лет назад

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

    • @datasith
      @datasith  6 лет назад

      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.

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

  • @skyevanderheijden5382
    @skyevanderheijden5382 5 лет назад +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.

  • @NitinGautam81
    @NitinGautam81 8 лет назад

    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 8 лет назад

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

    • @datasith
      @datasith  8 лет назад

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

  • @taranagnew436
    @taranagnew436 6 лет назад

    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  6 лет назад

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

  • @fixitalltech1014
    @fixitalltech1014 8 лет назад

    Thankyou for your reply . It was really very helpful .

    • @datasith
      @datasith  6 лет назад

      You're very welcome!

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

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

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

  • @tuliuslima
    @tuliuslima 8 лет назад

    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  8 лет назад

      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 8 лет назад

      I am also facing same issue

  • @ManishKumar-mg7cg
    @ManishKumar-mg7cg 8 лет назад

    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  8 лет назад

      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 8 лет назад

      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  8 лет назад

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

  • @charispechli
    @charispechli 5 лет назад

    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  5 лет назад

      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

  • @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 5 лет назад

      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.

  • @tuxdevilwy
    @tuxdevilwy 5 лет назад

    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  5 лет назад

      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!

  • @russellbroomhall4335
    @russellbroomhall4335 8 лет назад

    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  6 лет назад

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

  • @50merlin
    @50merlin 8 лет назад

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

    • @datasith
      @datasith  8 лет назад

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

    • @user-mfsc-2024
      @user-mfsc-2024 8 лет назад

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

    • @datasith
      @datasith  8 лет назад

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

  • @joep_
    @joep_ 7 лет назад

    What is the FLASH button for on the ESP8266 board?

    • @datasith
      @datasith  7 лет назад

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

  • @TheTripleSB
    @TheTripleSB 6 лет назад

    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  6 лет назад

      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!

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

  • @MrSrouzier
    @MrSrouzier 5 лет назад

    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  5 лет назад

      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!

  • @fixitalltech1014
    @fixitalltech1014 8 лет назад

    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  8 лет назад

      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!

  • @erikgessner8690
    @erikgessner8690 6 лет назад

    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  6 лет назад

      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 6 лет назад

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

    • @datasith
      @datasith  6 лет назад

      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 6 лет назад

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

  • @GabrielAndroczky
    @GabrielAndroczky 6 лет назад

    The board manager link to put into the Arduino IDE preferences is correctly: arduino.esp8266.com/staging/package_esp8266com_index.json
    When copied off the Video Description, RUclips adds a lot of junk to it and it won't work that way.

    • @datasith
      @datasith  6 лет назад +1

      Thanks for taking the time to share this tip!

    • @GabrielAndroczky
      @GabrielAndroczky 6 лет назад

      You're welcome. Thanks for the tutorial! I'm just starting off with this and it helped me a lot!

  • @The_Active_Region
    @The_Active_Region 8 лет назад

    It says error downloading arduino.esp8266.com/stable/package_esp8266com_index.json when going into board manager. Any ideas?

    • @datasith
      @datasith  8 лет назад

      Hey, Kev. Sometimes the esp8266.com servers are down for maintenance. You can visit the link directly to verify that it's working. As soon as it's working you'll be able to get the Board Manager functioning properly!

    • @The_Active_Region
      @The_Active_Region 8 лет назад

      Yes, It seems to have been down for a week now, frustrating that I cant get this board loaded. Is there a manual way?

    • @datasith
      @datasith  8 лет назад

      Hmm, it works for us here when we test it.
      We keep a backup copy on our own servers: acrobotic.com/downloads/package_esp8266com_index.json
      The manual method is quite involved, so the best way is to get the file working. Sorry for the troubles :)

    • @The_Active_Region
      @The_Active_Region 8 лет назад

      Your link partially worked for me. I was able to see the board in board manage now. When I try to install it stops at
      Error downloading arduino.esp8266.com/win32-xtensa-lx-106-elf-gb404fb9-2.tar.gz . This is strange.

    • @The_Active_Region
      @The_Active_Region 8 лет назад

      It's got to be something on my router end. When i put arduino.esp8266.com/stable/package_esp8266com_index.json in a browser on my cell network, it loads the page fine. That is real odd.

  • @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:
      ruclips.net/video/Edbxyl2BhyU/видео.html
      HTH!

  • @thebug2782
    @thebug2782 8 лет назад +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  8 лет назад +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 5 лет назад

      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.

  • @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  6 лет назад

      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!

  • @joaoroque1956
    @joaoroque1956 8 лет назад

    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  8 лет назад

      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 8 лет назад

      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  8 лет назад

      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!

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

  • @SupremeChief1
    @SupremeChief1 6 лет назад

    Yes! it works thank you !

    • @datasith
      @datasith  6 лет назад

      Awesome! Best of luck going forward :)

  • @bcgelandewagen
    @bcgelandewagen 6 лет назад

    Thanks for the video!

  • @japhillips87
    @japhillips87 8 лет назад

    What is the output voltage of the GPIO pins?

    • @datasith
      @datasith  8 лет назад

      3.3VDC, kind sir!

    • @japhillips87
      @japhillips87 8 лет назад

      ***** Thanks. You guys have some great tutorials.

  • @eng.aljobury5087
    @eng.aljobury5087 7 лет назад

    Thank u for this amazing information

  • @macuduranti
    @macuduranti 7 лет назад

    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 7 лет назад

      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  7 лет назад

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

  • @thieuanh1995hn
    @thieuanh1995hn 7 лет назад

    Why i don't need that driver . Does only usb 3.0 need it ?

    • @datasith
      @datasith  7 лет назад

      Nah, USB 2.0 needs it too. You probably installed it earlier for a different board, or installed another program that installed the driver as well.

    • @thieuanh1995hn
      @thieuanh1995hn 7 лет назад

      How about this link, are they the same ? . www.ftdichip.com/Drivers/VCP.htm .
      I use the macbook and can't find any serial port on IDE arduino . But no problem with the laptop which use Windows

    • @datasith
      @datasith  7 лет назад

      No they are different, the drivers depend on the chip on your board. Our board has the Silicon Labs CP2102, others have the FTDI chips, which use the driver you've linked.

    • @thieuanh1995hn
      @thieuanh1995hn 7 лет назад

      Yes i have solved it . My board use CH340 a Chinese clone one . I tried to install FTDI driver before ^^ . I have just get started . Thank you . The seller did not tell me that it 's just a clone. OMG! .

    • @datasith
      @datasith  7 лет назад +1

      No worries! Also, clones aren't bad/illegal so no worries. Most DIY Electronics boards these days use Open-Source licenses. Some of these licenses allow you to sell clones with two conditions, giving credit to the original creators and changing the name of the cloned board from the original. Welcome to the wonderful world of DIY Electronics, enjoy your ride :)

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

  • @bikramkarmakar6482
    @bikramkarmakar6482 8 лет назад

    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  8 лет назад

      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

  • @ankitsinghal6766
    @ankitsinghal6766 7 лет назад

    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 7 лет назад

      on high sierra?

    • @datasith
      @datasith  7 лет назад

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

  • @AVAL0NIX
    @AVAL0NIX 8 лет назад

    can this esp sold be powered over USB cable or battery?

    • @AVAL0NIX
      @AVAL0NIX 8 лет назад

      and if you're the one selling that esp in amazon, how long does it takes to deliver to singapore? thanks...

    • @datasith
      @datasith  8 лет назад +1

      Both!

    • @datasith
      @datasith  8 лет назад +1

      We're the seller on Amazon, but they handle all the shipping information. Their international shipping options are very good, so you can get the boards to Singapore without a problem. Thanks for watching our videos and supporting our business!

    • @AVAL0NIX
      @AVAL0NIX 8 лет назад

      ***** thx, just bought 2.... hope they come fast! can't wait to try it.

    • @datasith
      @datasith  8 лет назад

      Thank you so much! Let us know if you run into any trouble (master@acrobotic.com).

  • @anandgargate5197
    @anandgargate5197 6 лет назад

    Thanks, I was struggling to get it work on mac

    • @datasith
      @datasith  6 лет назад

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

  • @trilokjt2118
    @trilokjt2118 8 лет назад

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

    • @datasith
      @datasith  8 лет назад

      +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 8 лет назад

      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  8 лет назад

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

  • @thebug2782
    @thebug2782 8 лет назад

    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  8 лет назад +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.

  • @apimyself2012
    @apimyself2012 8 лет назад

    Hello sir how can i use AT commands with NodeMCU?

    • @datasith
      @datasith  8 лет назад

      Here's a quick guide how to:
      learn.acrobotic.com/tutorials/post/esp8266-getting-started#step-3-lnk

    • @apimyself2012
      @apimyself2012 8 лет назад

      thanks a lot ..