Using an ESP8266 ESP01 Module

  Переглядів 114,524

Brian Lough

Brian Lough

День тому

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

КОМЕНТАРІ: 68
@tarawood-bradley2119
@tarawood-bradley2119 2 роки тому
I was so stuck setting up this esp-01 and this video is a breath of fresh air.
@BGLENN-dp4tx
@BGLENN-dp4tx 6 років тому
VERY instructive. It was easy to make choice of module-type decisions. Thank you.
@robertthompson5908
@robertthompson5908 3 роки тому
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.
@PGUIMA69
@PGUIMA69 10 місяців тому
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.
@thezebiano
@thezebiano 5 років тому
You, Sir, are amazing. Thank you.
@americanpsychosis11
@americanpsychosis11 4 роки тому
Do you happen to have any tutorials on how to use an 01 with a single relay board?
@charlesgoehring3445
@charlesgoehring3445 4 роки тому
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.
@rfdave3980
@rfdave3980 3 роки тому
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.
@garrypkeogh
@garrypkeogh 6 років тому
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 6 років тому
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 6 років тому
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.
@uweri_3851
@uweri_3851 3 роки тому
thanks for the tip with 3.3V for CH_PD
@rgmtb
@rgmtb 3 роки тому
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?
@energybytessa
@energybytessa 4 роки тому
Really clear fabulous video thank you
@tikeshwardewangan1158
@tikeshwardewangan1158 4 роки тому
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
@gavinsmalley1513
@gavinsmalley1513 6 років тому
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 4 роки тому
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
@albertroswell
@albertroswell 5 років тому
Have you have found a better way to use it?
@nbr517
@nbr517 22 дні тому
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.
@spicysoap
@spicysoap 4 роки тому
Where are the names for the libraries for this board?
@whatelseison8970
@whatelseison8970 2 роки тому
Holy sh*t blue tack! That's genius. This video was worth it for that alone!
@crassProgrammer
@crassProgrammer 4 роки тому
Can we use micropython to code esp01?
@mioakiyama7005
@mioakiyama7005 4 роки тому
thanks Sir, you save my day :D
@mioakiyama7005
@mioakiyama7005 4 роки тому
@Random Duo just connect CHPD pin to Vcc pin and your esp 01 can run
@germas369
@germas369 4 роки тому
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!
@dogeeatsveggies
@dogeeatsveggies 3 роки тому
thank you!!!!
@earlowens998
@earlowens998 5 років тому
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.
@novianisagita6737
@novianisagita6737 6 років тому
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 :)
@SonalK
@SonalK Рік тому
What's the difference between and the larger ESP8266 with micro USB port?
@hermanvanwoensel
@hermanvanwoensel 4 роки тому
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.
@dvhx
@dvhx 2 роки тому
Can it do audio DSP?
@LeePyatt
@LeePyatt 18 днів тому
Use it as a relay. With tx and rx connected to like a nodemcu
@DistortedChrist
@DistortedChrist 2 роки тому
I think the module is much more suited for usage with other components and not as stand-alone.
@bobsort
@bobsort 4 роки тому
Why do you call that one module "fake wemos"? does it anywhere on the board it says it is wemos?
@floood6566
@floood6566 5 років тому
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)
@sisirmallick6635
@sisirmallick6635 3 роки тому
Sir.. i want this kit
@samuelolteanu
@samuelolteanu 2 роки тому
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.
@muhammadfarooqi
@muhammadfarooqi Рік тому
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 2 місяці тому
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.
@v1ncen715
@v1ncen715 6 років тому
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 ukposts.info/have/v-deo/eXaGdYONfbChuKs.html
@v1ncen715
@v1ncen715 6 років тому
Thanks!
@elabinnovations
@elabinnovations 5 років тому
How to backup esp-01 into old or original version? Please help me
@thatgeezeruk
@thatgeezeruk 5 років тому
Just in case you never found out mate ukposts.info/have/v-deo/oqKhlod4m4d_12w.html
@arthurpearce3517
@arthurpearce3517 6 років тому
Brian - how does one know the difference between a real Wemos d1 mini and a fake one
@BrianLough
@BrianLough 6 років тому
+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
@MrBobWareham
@MrBobWareham 5 років тому
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 ukposts.info/have/v-deo/sXaaf3qYmY97kn0.html You would need to swap out the push button for a door sensor is something but it should be easy enough
@sercandemircan1906
@sercandemircan1906 3 роки тому
Thank you so much. Thank you. You are perfect. Hhhrrryy. It worked. :D
@Drakanx
@Drakanx 3 роки тому
i'd like to connect to phpmyadmin using esp-01 (no at commands)
@clarissesandiego8956
@clarissesandiego8956 6 років тому
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.
@sbiwpo
@sbiwpo 2 роки тому
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
@asdasdasdasdasdasd646 4 роки тому
You, sir, have some very hairy hands.
#1 Program an ESP01: The easy way!
7:38
AIbeginsDotNet
Переглядів 97 тис.
ESP-01 UART and turning it to a programmer
5:03
Csongor Varga
Переглядів 154 тис.
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Переглядів 19 млн
Зомби Апокалипсис  часть 1 🤯#shorts
00:29
INNA SERG
Переглядів 4,2 млн
The World's Fastest Cleaners
00:35
MrBeast
Переглядів 98 млн
Getting Started With the ESP8266 ESP-01 || 4 way Programming ESP01S
10:24
#107 ESP8266 WiFi Relay (with an Arduino)
25:45
Ralph S Bacon
Переглядів 78 тис.
ESP-01 in 2020 - outdated or still just as good?
8:30
DIY TECH BROS
Переглядів 23 тис.
ESP8266 in 5 minutes
5:50
MrDIY
Переглядів 112 тис.
#2 ESP01 + Alexa = Smart Switch !!
10:51
AIbeginsDotNet
Переглядів 12 тис.
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Переглядів 278 тис.
Infrared Soldering Iron from Cigarette Lighter
0:58
ALABAYCHIC
Переглядів 1,9 млн
Бюджетная видеокарта за 5000 рублей
17:47
Nitroxsenys
Переглядів 24 тис.
How Neuralink Works 🧠
0:28
Zack D. Films
Переглядів 21 млн