Using an ESP8266 ESP01 Module

Ғылым және технология

In this video I take a look at using an ESP8266 ESP-01 module and see what its like to use and power.
Parts:
----------------------
Aliexpress:
ESP01 Module - s.click.aliexpress.com/e/EYjaQrZ
ESP01 Programmer - s.click.aliexpress.com/e/Nj2ZFIi
3.3v Regulator - s.click.aliexpress.com/e/eeI6YBA
Micro USB breakout - s.click.aliexpress.com/e/MZVf2fa
Switch for Programmer Mod - s.click.aliexpress.com/e/zzZVJaY
Amazon:
ESP01 - amzn.to/2vo78yi
ESP01 Programmer - amzn.to/2wgDB6c
Videos:
----------------------
Program ESP-01 With a Uno:
• Program ESP8266 Via Ar...
Program ESP-01 With a NodeMCU:
• #7 Flash ESP-01 easily...

Пікірлер: 69

  • @PGUIMA69
    @PGUIMA69 Жыл бұрын

    Thanks a lot. I spent many hours trying to load a program to esp01 using esp01-programmer without success. When i putted the switch like you shown everything worked at first try.

  • @BGLENN-dp4tx
    @BGLENN-dp4tx6 жыл бұрын

    VERY instructive. It was easy to make choice of module-type decisions. Thank you.

  • @tarawood-bradley2119
    @tarawood-bradley21192 жыл бұрын

    I was so stuck setting up this esp-01 and this video is a breath of fresh air.

  • @robertthompson5908
    @robertthompson59083 жыл бұрын

    Nice video. I needed to set up a network of sensor modules throughout my home, and I wanted to make them small and inexpensive. I used an ESP-01 on a 170 hole breadboard for each one and that was perfect. I programmed the ESP-01s with a NodeMCU which was very effective for that.

  • @thezebiano
    @thezebiano6 жыл бұрын

    You, Sir, are amazing. Thank you.

  • @uweri_3851
    @uweri_38513 жыл бұрын

    thanks for the tip with 3.3V for CH_PD

  • @energybytessa
    @energybytessa4 жыл бұрын

    Really clear fabulous video thank you

  • @americanpsychosis11
    @americanpsychosis114 жыл бұрын

    Do you happen to have any tutorials on how to use an 01 with a single relay board?

  • @charlesgoehring3445
    @charlesgoehring34454 жыл бұрын

    Thanks for making this video. I bought a bunch of these because they were cheap and I figured you could put them all over the place in a network, maybe as slaves to a nodemcu device. The configuration of these modules is kinda stupid though because you have to adapt it no matter how you want to use it. That big connector takes up a lot of space. Maybe the answer is to remove the connector altogether.

  • @rgmtb
    @rgmtb3 жыл бұрын

    I have a few of these and was thinking they might be good for small IoT needs. Things like a window opening or even a mailbox alert tool. Question, since they are so minimal do you get a good power savings compared to a Wemos D1 Mini? Would this device be better for battery powered projects? If you toss in deep sleep would the be a good idea?

  • @lohikarhu734
    @lohikarhu7342 ай бұрын

    With I2C, you can do a lot of work with peripherals, like I/I expanders, ADC/DAC, LED drivers, and more...

  • @garrypkeogh
    @garrypkeogh7 жыл бұрын

    I believe these have their place Brian. I just received 6 at a total cost of €11 shipped so sub €2 which in my book is negligable. I also ordered a USB to serial ESP01 programmer with the switch already in place, about €2.50 shipped IIRC. For embedded projects that focus on the ESP8266's WiFi features as distinct from DIO applications they are great. This is what I use in my smart smoke alarm Pushbullet notifier as it is actually easier to fit this in a small space, even compared to a D1 Mini with no headers. Having good success using custom fields in the WiFi config (some stuff persists reflashing! SPIFFS perhaps making debugging frustrating) for super portability and sharability so exploiting some amazing features of a tiny chip on a ready to go module for

  • @BrianLough

    @BrianLough

    7 жыл бұрын

    Hey Gary, thanks so much for taking the time to comment! Yeah I agree that they are useful for the kind of projects you describe, just personally I think it's more convenient to work with a development board. I think the video might have come across a little negative on the board, I didn't really mean it like that, it was more that I would recommend the development boards over the ESP01. I was actually only thinking on the way to work this morning that I didn't make it clear that functionally from a WiFi point of view these are the same chip, I'll try clear that up in the next video I do on them. ( The project I mentioned at the end is where I'm controlling LED lights from a webpage) Price wise, an ESP-01 is roughly $2 delivered from Aliexpress while a clone Wemos D1 mini (which I have never had any problems with) is about $3 delivered. Personally for the sake of a $1 I would prefer the D1 mini as i mentioned I power most of projects through USB and being able easily program it and have the serial monitor available is a big bonus too. I take your point on size, but I as mentioned on the video I was surprised that it isn't that much smaller than a Wemos D1 mini. Yeah, the fact that these chips can do any of this is still crazy to me! How are you going to detect the cycle is done? I might do the same myself :)

  • @garrypkeogh

    @garrypkeogh

    7 жыл бұрын

    Brian Lough I too keep a good stock of D1 Minis and there is so little difference in price, that's a fact. I agree they are so simple and a really good compromise in size, IO and power pins, maybe my inner environmental manager tells me it's a waste to use a US to serial converter once and often a half dozen IO never! For the washing machine I was thinking along the lines of a switching power supply matched up with an esp8266 and a mini current transformer on the power line to the door switch. This drives the indicator on the door at 220Vac so the current transformer means no dangerous ac potential on dev boards. In this case I have a few 5v power supplies and a can't help thinking voltage divider on the analog pin of a D1 Mini is the winner on account of the on board LDO reg and analog channel.

  • @rfdave3980
    @rfdave39803 жыл бұрын

    Have replaced the flash with 1MB and use 4 gpio pins with Home assistant. Small module to drive RGB analog and digital RGB strips. Make sure use pullup resisters on the RX, GPIO0,and GPIO2. Must be high on boot. Happy Home assistant developing.

  • @albertroswell
    @albertroswell5 жыл бұрын

    Have you have found a better way to use it?

  • @crassProgrammer
    @crassProgrammer4 жыл бұрын

    Can we use micropython to code esp01?

  • @spicysoap
    @spicysoap4 жыл бұрын

    Where are the names for the libraries for this board?

  • @SonalK
    @SonalK Жыл бұрын

    What's the difference between and the larger ESP8266 with micro USB port?

  • @gavinsmalley1513
    @gavinsmalley15136 жыл бұрын

    You only need to hold GPIO0 low while booting to enter program mode, so a momentary switch held down while you plug it in would work to. Also you can use the Rx and Tx pins for GPIO as well so up to 4 digital GPIOs. No analogue in though unfortunately.

  • @BrianLough

    @BrianLough

    6 жыл бұрын

    +Gavin Smalley good tips! I haven't really used the esp01 since this video, I must use the few I have up!

  • @gavinsmalley1513

    @gavinsmalley1513

    6 жыл бұрын

    I quite like the ESP-01. If you think of the Wemos as equivalent to an Arduino Nano then the 01 is kind of the ESP version of the ATTiny85. A lot of power in a relatively small space. Hope you enjoy thinking up projects to use them.

  • @zuhaibchoudhary4635

    @zuhaibchoudhary4635

    5 жыл бұрын

    can you peade tell me that when I use it GPIO 0 AND CONNECT AN LED WITH IT THE BOARD GOT RESET ALL THE CONFIGURATION SETTINGS

  • @mioakiyama7005
    @mioakiyama70055 жыл бұрын

    thanks Sir, you save my day :D

  • @mioakiyama7005

    @mioakiyama7005

    5 жыл бұрын

    @Random Duo just connect CHPD pin to Vcc pin and your esp 01 can run

  • @tikeshwardewangan1158
    @tikeshwardewangan11584 жыл бұрын

    Thank you sir for the video.. Can i use Rx and Tx as a gpio output?

  • @hamishwatt2475

    @hamishwatt2475

    3 жыл бұрын

    Yes, they are GPIO 1 & 3

  • @bobsort
    @bobsort4 жыл бұрын

    Why do you call that one module "fake wemos"? does it anywhere on the board it says it is wemos?

  • @whatelseison8970
    @whatelseison89703 жыл бұрын

    Holy sh*t blue tack! That's genius. This video was worth it for that alone!

  • @elabinnovations
    @elabinnovations6 жыл бұрын

    How to backup esp-01 into old or original version? Please help me

  • @thatgeezeruk

    @thatgeezeruk

    5 жыл бұрын

    Just in case you never found out mate kzread.info/dash/bejne/nKakxLN6lLS0pps.html

  • @earlowens998
    @earlowens9985 жыл бұрын

    There are DIYmall ESP8266 01 breakout board adapters available from Amazon for $6.99 for 5.

  • @englishrupe01

    @englishrupe01

    4 жыл бұрын

    Yep, there are now......but not when Brian made this video, as you are probably aware.

  • @dvhx
    @dvhx2 жыл бұрын

    Can it do audio DSP?

  • @LeePyatt
    @LeePyatt3 ай бұрын

    Use it as a relay. With tx and rx connected to like a nodemcu

  • @sisirmallick6635
    @sisirmallick66353 жыл бұрын

    Sir.. i want this kit

  • @Drakanx
    @Drakanx3 жыл бұрын

    i'd like to connect to phpmyadmin using esp-01 (no at commands)

  • @floood6566
    @floood65665 жыл бұрын

    is it possible to use it to scan via Bluetooth and if my phone is in the scan range it turns on a relaise

  • @_caspar

    @_caspar

    5 жыл бұрын

    how about check if your phone is registered on your wifi network? ($arp -a or something)

  • @germas369
    @germas3694 жыл бұрын

    thanks for the help mate. do you happen to know how much program memory is in this device? i cant find any official documentation online. this is a nice piece of kit though, i just got myself 2.

  • @joshuarosen6242

    @joshuarosen6242

    4 жыл бұрын

    The blue ones have 512KB. The newer black ones have 1MB.

  • @germas369

    @germas369

    4 жыл бұрын

    @@joshuarosen6242 thank you!

  • @v1ncen715
    @v1ncen7156 жыл бұрын

    cant find the examples or select the board in arduino app.. I suppose they need to be installed first??

  • @BrianLough

    @BrianLough

    6 жыл бұрын

    +v1nce n7 yeah you need to install esp8266 to the arduino boards manager There are steps how to do it here kzread.info/dash/bejne/c3qJo6-Pdt3Wh9o.html

  • @v1ncen715

    @v1ncen715

    6 жыл бұрын

    Thanks!

  • @novianisagita6737
    @novianisagita67376 жыл бұрын

    Hi, i've been watching ur video and i have a question, if i dont have a switch can i replace that ? thx

  • @BrianLough

    @BrianLough

    6 жыл бұрын

    Hi, yeah you can replace with a button if you wanted (not 100% sure when you need to hold it down, possibly just when plugging in) or you can just leave it connected all the time, but it will always go into programming mode if you do that

  • @novianisagita6737

    @novianisagita6737

    6 жыл бұрын

    Brian Lough okay thx brian :)

  • @arthurpearce3517
    @arthurpearce35177 жыл бұрын

    Brian - how does one know the difference between a real Wemos d1 mini and a fake one

  • @BrianLough

    @BrianLough

    7 жыл бұрын

    +Arthur Pearce you can tell by looking at them. The fake ones tend to have a more square PCB. Honestly though I use the fake ones all the time and never had an issue with them. If you had one your not sure about if you wanted to post a picture of it I could tell you They are about half the price for a single unit delivered

  • @nbr517
    @nbr5173 ай бұрын

    Good video, but much has changed , Really like the adapter hack, Dremel tool will make cuts easy (to make adapter smaller). Some where I saw a video of someone soldering wires to surface mount chip and ended up with 6 io pins. Small boxes are easy to think outside of. Why pay extra for a built in programmer that you may need only once? Suspect you can get as many io's as any other esp8266 chip based board.

  • @MrBobWareham
    @MrBobWareham5 жыл бұрын

    Nice but I just want to make a simple door indicator so when my front door goes open I get a message on my phone so when in the workshop I know I have a delivery as I am new to all this it has to be as simple as posable thanks for the video very good

  • @BrianLough

    @BrianLough

    5 жыл бұрын

    I think this video would be a good start to a project like that kzread.info/dash/bejne/q3qdraaakrywYaw.html You would need to swap out the push button for a door sensor is something but it should be easy enough

  • @clarissesandiego8956
    @clarissesandiego89566 жыл бұрын

    What if only the RED LED works? Then the blue sometimes light up, but in a faster blinking way, then goes off.

  • @allcoolandnew

    @allcoolandnew

    5 жыл бұрын

    In newer models of the EPS-01 the built-in LED is set differently. In the Arduino IDE you could try changing the 'builtin led' option under Tools to 1 or 13 or 16.

  • @emilsitka7590

    @emilsitka7590

    Жыл бұрын

    @@allcoolandnew Thanks for that. 1 on mine.

  • @samuelolteanu
    @samuelolteanu2 жыл бұрын

    It's cheap. Like 3 times cheaper than a nodemcu right now in my area. But it IS harder to connect, like right now I flashed esphome but wifi doesn't connect for some reason.

  • @dogeeatsveggies
    @dogeeatsveggies3 жыл бұрын

    thank you!!!!

  • @sercandemircan1906
    @sercandemircan19063 жыл бұрын

    Thank you so much. Thank you. You are perfect. Hhhrrryy. It worked. :D

  • @muhammadfarooqi
    @muhammadfarooqi2 жыл бұрын

    hello bro.. I tried to connect the programmer or powering USB device with esp-01, but devices device doesn't appear in thonny. BTW it works great with PICO. Any idea what am i missing. I've connected a swich connected with GPO1 and GND which I press while connecting to the USP port. .. also I've another switch RST+GND .. i've tried .. > press GP01+GND button and RST+GND button while connecting to USB.. > press GP01+GND button only while connecting to USB.. > press GP01+GND button and RST+GND button while connecting to USB, first released RST+GND Button and later the other > pressed Only GP01+GND AFTER connecting to USB.. .. nothing works.

  • @hirsutusi5536

    @hirsutusi5536

    5 ай бұрын

    Muhammad, in case you are still waiting for an answer, it is GP00 that should be grounded to go to load mode. I also pull-up EN to 3.3V.

  • @DistortedChrist
    @DistortedChrist3 жыл бұрын

    I think the module is much more suited for usage with other components and not as stand-alone.

  • @hermanvanwoensel
    @hermanvanwoensel4 жыл бұрын

    The newer ESP-01 boards have the blue blink LED on IO2, not IO1. In addition the programmer is useless and has several design flaws: lack of program switch and reset button. On the signal lines there is +5V present, which is out of the ESP8266 specifications! The reason for this is that the USB-to-serial converter chip CH340G is powered by +5V. They should have used the 3V3 from the on-board regulator.

  • @sbiwpo
    @sbiwpo2 жыл бұрын

    Followed instructions to the letter, no error, no Blinky Blinky :(

  • @emilsitka7590

    @emilsitka7590

    Жыл бұрын

    To get it to work for me under "tools" change "Builtin Led" to 1

  • @asdasdasdasdasdasd646
    @asdasdasdasdasdasd6465 жыл бұрын

    You, sir, have some very hairy hands.

Келесі