No video

ESP-01 UART and turning it to a programmer

  Рет қаралды 156,805

Csongor Varga

Csongor Varga

Күн бұрын

Пікірлер: 108
@puzzlefactorysoundstudios
@puzzlefactorysoundstudios 3 жыл бұрын
SOLUTION! The USB programmer I bought had a program/UART switch, but wouldn't work because the chip enable (CH_PD) pin wasn't connected to VCC! (+3.3v). An easy fix, now that I knew the problem. AliExpress buyers beware! Thank you again Csongor for a great informational video.
@javiers.8274
@javiers.8274 3 жыл бұрын
I was about to trow the parts out of the Window. But then it worked as you said. Thanks man!
@MobCat_
@MobCat_ 2 жыл бұрын
Thank you, I got the same "programmer" and was wondering why it wasn't programming. This fixed it. Might I make an improvement though. Wire a 2nd button to the reset pin (pin 6 next to vcc, look it up in the datasheet) to also pull the reset low as well. So to program hold reset, hold program, let go of reset, then let go of program. This means you don't have to unplug and re-plug every time you want to program, just do a little bit of button tango.
@Bariyera
@Bariyera Жыл бұрын
The clearest explanation ever. Thanks alot
@gordon861
@gordon861 Жыл бұрын
I know it's an old video but thanks for the run through. I shorted a couple of the pins based on another video, not shown here but you mention it further down in the comments. The only issue I had was I got weird icons on the Serial Monitor until I changed the baud rate.
@user-mr3mf8lo7y
@user-mr3mf8lo7y 3 ай бұрын
Those garbled characters caused by unmatched baud rates of ESP's and the Serial Monitors'. SOme ESP has default baud rate of 9600. Newest ones are set for115200.
@pranavverma234
@pranavverma234 2 жыл бұрын
Thank you so much! I accidently got a usb to uart converter insted of usb to tts, and this helped me a lot! Thanks again!
@haukewalden2840
@haukewalden2840 5 жыл бұрын
Nice! I soldered a Button right on the pins, makes a nice and sturdy connection.
@knifesk
@knifesk 3 жыл бұрын
Just for safety instead of a jumper wire for the CH_EN use a 10k resistor... that will limit the current and be safer
@alienatheart
@alienatheart 2 жыл бұрын
thanks for the vid, it got the ch340 into programmer mode.
@FlameKaiser_1
@FlameKaiser_1 3 күн бұрын
My programmer just arrived and just in time, I've seen this vid...thanks, very helpful...Tho wouldn't bought the programmer if i saw this much earlier 😅...really, 2:59 is the only info i needed 'cause i wasn't able to find it elsewhere😅
@jachylex6086
@jachylex6086 5 жыл бұрын
Thank you so much! It helps me a lot. I was hopeless why it doesn't and when I soldered it like in the video, it works!
@thomasweich1751
@thomasweich1751 4 жыл бұрын
Works very well, exactly the info I was looking for! Thank you very much!
@davidkempton2894
@davidkempton2894 3 жыл бұрын
Thank you SO much for doing this video. I really needed this information.
@SilvanoMignanti
@SilvanoMignanti 4 жыл бұрын
I've resolved just shor-circuiting the pins with the button thanks to a stapling point (that I could put in place or remove really easily), without needing to keep the button pressed. Furthermore, in some versions of the programmer (mine, for example), VCC and CH_PD (CH_EN) are already short-circuited. In any case, thanks a lot for the tip!!!
@csongorvarga
@csongorvarga 4 жыл бұрын
Yes, I only press the button in the beginning. You can let if go after. And I have also shorted the VCC to CH_EN. that is the small wire link on the side.
@SilvanoMignanti
@SilvanoMignanti 4 жыл бұрын
@@csongorvarga ah, that's easier... But I remain with the stapling point :-D
@mpoltav2
@mpoltav2 Жыл бұрын
Thank you it helped me to program esp-01.
@marianitoucha
@marianitoucha 6 жыл бұрын
Thanks for the video! I wwas trying to flash ESP01 but didnt know about the jumper and buttom! Now is working!!
@csongorvarga
@csongorvarga 6 жыл бұрын
Nice to hear! Great profile pic :)
@marianitoucha
@marianitoucha 6 жыл бұрын
Memories from my trip to Mulhouse, France! Jajaja. To use Serial monitor i hsould cut de jumper? I didnt see anything but i can program the ESP01 as well...
@tra605
@tra605 6 жыл бұрын
I did the same mod just last week. My UART device looks exactly the same as yours, but its CH_PD was already connected to VCC. So the jumper was not needed.
@izemanevobike
@izemanevobike 4 жыл бұрын
Thank you. I was missing the part with the switch, and was wondering how the board would know if I want to program or not. Well, now i know there is NO MAGIC ;)
@mcasualjacques4234
@mcasualjacques4234 6 жыл бұрын
i soldered a 2-pin header, the pins are L-Shaped so the non-soldered ends of the pins are of the side of the board. i added some hot glue to hold the plastic pin separator. then i use a jumper as a switch. looks like it will be a durable solution. Now i'm trying to figure if i can use it as an ftdi to burn a bootloader into a "blue pill" stm32F3
@cyrex686
@cyrex686 5 жыл бұрын
Very useful, thanks. I thought I had bought a programmer when I bought this lol.
@andreamitchell4758
@andreamitchell4758 2 жыл бұрын
me too
@D4rkS7der
@D4rkS7der 5 жыл бұрын
Exactly what i needed to know, thank you!
@onepacedown7211
@onepacedown7211 3 жыл бұрын
worked like a charm, thanks
@radoslawkosicki
@radoslawkosicki 3 жыл бұрын
Excelent, you saved my day and i hope the christmass tree lights as well ;-)
@Metroid1890
@Metroid1890 3 жыл бұрын
I instantly came here when the board didn't begin programming comms xD
@santoshkumar-hy2sb
@santoshkumar-hy2sb 6 жыл бұрын
Thanks the programming connections was awesome short and nice!
@codebeat4192
@codebeat4192 4 жыл бұрын
I was expecting, by title of the video, that you had made a wireless uart and programmer, that would be cool.
@tahubulet640
@tahubulet640 4 жыл бұрын
Thx... Man you safe my life
@getyerspn
@getyerspn 5 жыл бұрын
many thanks for this .... good video quality as well.
@ICStation2013
@ICStation2013 6 жыл бұрын
Thanks for your published awesome video as always, appreciated. :D
@ZdenkoTimulak
@ZdenkoTimulak 3 жыл бұрын
thank you Csongor. Really helpfull video
@mlaciek
@mlaciek 2 жыл бұрын
Thank you Arnold! It works!!! :* :* :*
@MarkJWilliams0
@MarkJWilliams0 5 жыл бұрын
Works brilliantly. Thank you.
@PatriotaMex
@PatriotaMex 3 жыл бұрын
I have a question for you my friend: Do you know how to program the ESP6288 with AT commands using this USB serial adapter? Thank you!
@puzzlefactorysoundstudios
@puzzlefactorysoundstudios 3 жыл бұрын
Yes, I'm having no luck, either. I've tried 3 differents ESP-01 boards with a USB programmer that has the program/UART switch.
@petenztube
@petenztube 4 жыл бұрын
Dude, you're a genius. Thanks! :-)
@krishnapal1616
@krishnapal1616 3 жыл бұрын
what is the arduino alias for the gpio (0,1,2,3) pins for programming the esp 01 with arduino ide ?
@HardcoreMusik
@HardcoreMusik 4 жыл бұрын
I got the same USB adapter. I do not need a bridge to enable the chip. I read about that some adapters have 5v on TX and RX. My adapter have only 5v at the Rx pin. I can flash without any problems. But everywhere they wrote about that this will damage the chip. We will see. That´s only for information.
@nokta3r9fj93
@nokta3r9fj93 2 жыл бұрын
Hey nice video ! But need to same thing for ESP8266-05 or ESP05 I mean. There are no content for it and still can't program it using serial uart.. Hope you can do it
@pavangokul8544
@pavangokul8544 4 жыл бұрын
Hey!.. I did the same thing to my UART to program the ESP8266 01 device through Arduino IDE in MacBook Air. But the code is not uploading and it is showing the error as "esptool. Fatalerror: Failed to connect to ESP8266: Timed out waiting for packet header". Can anyone help me in this issue to sort out please?..
@eusclepius
@eusclepius 4 жыл бұрын
Thanks!
@Laitaino
@Laitaino 6 жыл бұрын
Thanks, it help me a lot
@prakash52kar
@prakash52kar 4 жыл бұрын
Sir, When exactly we have to press button? 1. Keep pressed while inserting the ESP in UART module (while Module is powered by USB) OR 2. Press once after ESP inserted and before programming (Module is powered) OR 3. Keep pressed while program being uploaded! What other things we should learn by noticing the behavior of onboard led. 1. After inserting ESP into UART and powered by USB. 2. While Programming 3. After Programmed. How to Shift from Program mode to Communication mode with PC Sorry for many question!
@csongorvarga
@csongorvarga 4 жыл бұрын
Hi, I insert the ESP to the programmer, and press the button and insert into the USB. Than I release the button after a few seconds. That is all. I think the onboard LED just shows communication over the USB, which can be anything programming, or serial communication. With this modification this board is for programming. You can replace jumper wire with a switch and you switch between programming and UART mode. Btw, I have also purchased a ESP01 programmer which has this mode switch built in. Almost the same price, so check for that on ebay.
@prakash52kar
@prakash52kar 4 жыл бұрын
@@csongorvarga Dear Sir, Thank you very much for your quick reply. However I already bought without switch. I watched other videos on this topic. 1. In this video (kzbin.info/www/bejne/hoTGq554adyMm8U) she used permant connection in place of Button! And 2. In this video kzbin.info/www/bejne/hmm9Xo1-rLOYhKs he did not use anything to enable CH_PD! Thus I have confusion. Also DO we need to remove your GPIO0-GND After programing and communication with ESp with AT -Commands?
@prakash52kar
@prakash52kar 4 жыл бұрын
Dear Sir, Thank you very much your tricks it works funtastically. To communicate ESP with serial monitor we just have to plug in UART without pressing the button. However I was facing another issue. After loading the proggram, When I powered it separately it does not work in STA of AP mode. I checked current and I was applying upto 450 mA. The project I was trying to re-creat was this -> (www.elec-cafe.com/esp8266-temperature-humidity-webserver-with-a-dht11-sensor/).
@csongorvarga
@csongorvarga 4 жыл бұрын
@@prakash52kar This code connects to the wifi that is provided in the code, it will not go into access point mode.
@prakash52kar
@prakash52kar 4 жыл бұрын
@@csongorvarga Thank you for reply. Yes your are right. I was just testing by loading different programs on ESP to check weather it work or not with the power I was delivering to the circuit and trying to run "arp -a" on command prompt. It was powering on. .But was not thowing its IP! I used LD33V regulator to power it.
@zivanovicmiodrag
@zivanovicmiodrag 4 жыл бұрын
Thanks! You’re awesome
@abpccpba
@abpccpba 4 жыл бұрын
Nice Work great images.
@GURU_85
@GURU_85 3 жыл бұрын
I am using esp 01 adaptor and tried flashing esp8266 but am getting error esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header why is this error coming ?
@maxwalter6265
@maxwalter6265 5 жыл бұрын
Great Video! Thank you so much !!
@nattakiet1
@nattakiet1 3 жыл бұрын
ESP32 and ESP8266... UART0 use for only upload/download firmware, I use UART1 for communication other modules.
@ariel5598
@ariel5598 4 жыл бұрын
Thanks a lorT!!!!. want to put the esp01 in a protoboard how can I make the program work without the need of the usb?
@alekjovanovic1518
@alekjovanovic1518 14 күн бұрын
Works!
@_Piers_
@_Piers_ 5 жыл бұрын
Thanks very much, worked great :)
@Nobody1-m2v
@Nobody1-m2v 3 жыл бұрын
Why you didn't say about driver for CH340?
@AHaensel
@AHaensel 3 жыл бұрын
If you're soldering anyway, why not just connect GPIO0 to DTR (pin 13) and RESET to RTS (pin 14) and have fully automatic programming (esptool reset method `ck`). The button solution feels rather tedious.
@ryudastuff
@ryudastuff 6 жыл бұрын
Thanks! I'm finally able to upload a sketch to the esp. But, being a newbie, I still don't know what to do next. How do you get the serial monitor working, and get the esp's IP address and all that (like on 4:40 in the video)? Thanks
@csongorvarga
@csongorvarga 6 жыл бұрын
I just unplug and plug the device back into the USB port. That will boot up the ESP. After you have plugged it in, I just click on the serial monitor button in Arduino and it opens the monitor for the selected COM port (which is the same you selected to program the ESP). Arduino IDE only starts the serial monitor once the COM port is active, and the IP will be reported by the ESP soon after powerup. So you have to be quick opening the serial monitor otherwise so don't see the first few message from the ESP.
@jeffm623
@jeffm623 5 жыл бұрын
Thank you so much !
@ryanb657
@ryanb657 5 жыл бұрын
Not very exciting, but I'm able to program with the same serial module without having to tie chip_en to VCC. I just connected GPI-0 to GND and it did the trick.
@csongorvarga
@csongorvarga 5 жыл бұрын
I am not sure about the chip_en either but I have seen that tied to vcc, so figured it could not hurt.
@lionel_8925
@lionel_8925 4 жыл бұрын
Thank you man!
@filippogermi1618
@filippogermi1618 4 жыл бұрын
Hi following your instruction, probably not correctly, i was able to drop down progs on ESP, but at the end of loading parts via arduino software, at the end i receive "leaving Soft reset" and then nothing work, can you suggest something?
@csongorvarga
@csongorvarga 4 жыл бұрын
What I usually do after burning the firmware is that I unplug the USB programmer, and plug it back again not pressing the button and the ESP will boot into the new firmware.
@filippogermi1618
@filippogermi1618 4 жыл бұрын
@@csongorvarga Thanks i'll try following your suggestion. regards
@JayGamzTV
@JayGamzTV 3 жыл бұрын
Good Day sir what drivers do you need to programming the esp-01 or esp8266?
@csongorvarga
@csongorvarga 3 жыл бұрын
This has either a ch340 or cp1202 usb to serial chip. Sorry can't remember which. That needs the driver not the esp.
@JayGamzTV
@JayGamzTV 3 жыл бұрын
@@csongorvarga i have esp-01 and esp-01 UART but i dont know how to program it
@janinejayy
@janinejayy 5 жыл бұрын
Can you send AT commands when the esp is in programmer mode? I received my esp-01 usb programmer with pin 1 (GND) & pin 5 (GPIO0) soldered together with a single wire. When I send "AT" through the serial monitor on the Arduino IDE, I don't get a response. So I tried the ESP examples to test if it was working, ESP8266 -> Blink example did nothing, however the ESP8266WiFi -> WiFiScan example worked, displaying the available networks on the serial monitor. So I'm unsure as to why the AT commands aren't working or displaying anything on the serial monitor. Any feedback would be appreciated!!
@csongorvarga
@csongorvarga 5 жыл бұрын
Once you flash the ESP with something in the Arduino IDE, the original firmware which was using the AT commands are gone. You don't have that any more.
@janinejayy
@janinejayy 5 жыл бұрын
Csongor Varga ohhh okay! Thank you so much for your quick reply!! 😊
@teodorbirca
@teodorbirca 5 жыл бұрын
hi my programmer looks exactly like yours and i tried your approach with button and jumper ... still same mem failed error and then tried without the jumper still same .. tried to change the reset to nodeMCU still same error .. no idea what else to try ... do you think my PC USB is not a good power source i should attach an external power to the ESP 01? What do you recommend me to try? , i'm able to upload code via old FTDI board but that get messy with a lot of wires so i thought should be much easier using this programmer, thanks
@csongorvarga
@csongorvarga 5 жыл бұрын
Really good question. To be honest, I don't really who what could have gone wrong. I think it should provide enough power for the ESP. Since these are bottom price mass manufactured products, there is always a chance that you have a faulty one.
@teodorbirca
@teodorbirca 5 жыл бұрын
@@csongorvarga thanks... Ill let u know if i found a solution.
@aimusic164
@aimusic164 Жыл бұрын
Can i use Android mobile to programing esp01
@csongorvarga
@csongorvarga Жыл бұрын
Maybe it is possible, but I am not aware of it.
@HackingInfo
@HackingInfo 10 ай бұрын
VCC an EN is already shorted in the programmer no need that jumper
@JLXTV
@JLXTV 4 жыл бұрын
which program do you use to flash the esp? esptool?
@csongorvarga
@csongorvarga 4 жыл бұрын
Yes, esptool.
@anurudhandru2958
@anurudhandru2958 4 жыл бұрын
Can this be directly used for programming esp8266 12e
@csongorvarga
@csongorvarga 4 жыл бұрын
Yes, and ESP8266 version can be programmed, you just need to build and adapter to the 8 pin header on this one.
@anurudhandru2958
@anurudhandru2958 4 жыл бұрын
@@csongorvarga please share link of .. the adapter you ve used ,,, hope it dosint need external power supply
@csongorvarga
@csongorvarga 4 жыл бұрын
@@anurudhandru2958 I don't have an adapter, I never use a bare 12e board before. I usually just but a Wemos D1 mini, which has a USB so the programming is sorted.
@anurudhandru2958
@anurudhandru2958 4 жыл бұрын
@@csongorvarga ohkk ... thankyou for the information ... ...thankyou
@Amnesia_NRW
@Amnesia_NRW 4 жыл бұрын
Sehr cool danke !!! Die Brücke brauchte ich auch nicht
USB TTL to ESP8266-01
13:37
Китайские ГАДЖЕТЫ
Рет қаралды 90 М.
#1 Program an ESP01: The easy way!
7:38
AIbeginsDotNet
Рет қаралды 105 М.
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,1 МЛН
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 19 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 46 МЛН
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 74 МЛН
WIFI module ESP8266 - AT commands & sending Data to WebBrowser
12:36
ESP-01 in 2020 - outdated or still just as good?
8:30
DIY TECH BROS
Рет қаралды 23 М.
Moduł WiFi | ESP8266 - Cz. 1 | #54 [Podstawy]
28:14
ElektroPrzewodnik
Рет қаралды 265 М.
Conexion WIFI |ESP8266 | IoT 2021
7:28
Androbot TECH
Рет қаралды 66 М.
ESP8266 - Getting Started & Connected.
15:47
Equinoxe
Рет қаралды 441 М.
Plug n Play Relays!
5:06
ItKindaWorks
Рет қаралды 72 М.
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,1 МЛН