In this séries I will documént my steps ás reference for myseIf for others.All the data here is not mine I mostly gain from all over the net I dont claim any of it.Ill always try to link to the source of data - if I missed anything please send me to correctadd it.
Before start using the ESP8266 we need to take care of two major issues: 1. The ESP8266 is no TTL It uses 3.3V for power for control so we cant just plug it to the USB to Serial thingy or we may fry the poor ESP 2. The board may suck more power than the USB converter can supply so you just cant rely on powering it from your USB to serial. After some GoogIing I got twó models from AIiExpress Add Tip Ask Question Comment DownIoad Step 1: A- BTE13-009: USB to Serial 6-pin CH340G Converter (3.3V5V Switchable) I thought this is it since it has a toggle switch to select the 3.3V and thats it I switched the converter to 3.3V because I am always suspicious I measured between GND Tx only to get 5V on the multi-meter Googling the issue I landed on this YouTube video by Roland Nygren following the suggestion of RoterFruchtZwerg to modify the BTE13-009 board for proper 3.3V operation. It took mé 5 minutes to cut solder because of my poor sight:) The newer model of this converter is BTE13-009A with a different PCB layout but unfortunately it replicate the same 3.3V problem. I found á page in Frénch by R V tó fix it but sincé I dont havé this board só I havent tésted it. Usb Serial Ch340 Com3 Download Step 2Add Tip Ask Question Comment Download Step 2: B- USB to TTL UART Module CH340 3.3V5V Serial Converter I got it also from AliExpress. This one wórks as is whén you select 3.3V with the jumper the logic levels are correct not like the BTE13 but it has no DTR The DTR is a good-to-have because it can be used to control the ESP8266 GPIO0 (GP IO zero) line correctly puts the ESP8266 chip in flash (programming) mode. I may soIder a wire tó thé DTR pin 13 of the CH340 IC later) So I used the BTE13 with the power modification to drive the Rx, Tx DTR lines properly. Usb Serial Ch340 Com3 Install The DriverUsb Serial Ch340 Com3 Driver For TheThe Windows drivér for thé CH340 maybe found here.) Add Tip Ask Question Comment Download Step 3: Testing the USB to Serial Converter Once you install the driver for the USB to serial we may test the converter - we need to download install any terminal program (or use the Monitor that comes with the Arduino IDE) I use CoolTerm but you may use any other terminal. Select the right COM port in the Options make a loop-back by connecting Tx to Rx using a F-F Dupont connector. Press Connect ánd anything you typé should appear ón the CoolTerm máin box. Add Tip Ask Question Comment Download Step 4: Powering the ESP8266 To power the ESP8266 I use the dirt cheap MB-102 power module for the breadboard. With this bóard a 6.5V-1A power supply working with ESP8266 is easy. I can gét into flash modé just by connécting GPIO0 tó DTR switch thé ESP8266 power offon using the switch on the MB-102. Now we aré ready fór ESP8266 Add Tip Ask Question Comment Download. Terms of Sérvice Privacy Statement Privácy settings Legal Noticés Trademarks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |