Cov txheej txheem:

USB ESP-12 Programmer: 7 Kauj Ruam
USB ESP-12 Programmer: 7 Kauj Ruam

Video: USB ESP-12 Programmer: 7 Kauj Ruam

Video: USB ESP-12 Programmer: 7 Kauj Ruam
Video: Универсальный USB программатор для ESP8266, ESP7, ESP 12, ESP 12E, ESP 12F 2024, Kaum ib hlis
Anonim
USB ESP-12 Programmer
USB ESP-12 Programmer
USB ESP-12 Programmer
USB ESP-12 Programmer
USB ESP-12 Programmer
USB ESP-12 Programmer

Kuv xav tias nws yuav ntxim nyiam ua si ib puag ncig nrog IoT yog li kuv txiav txim siab sim tawm esp8266. Kuv pom ntau qhov kev daws teeb meem tawm rau qhov program esp8266 yog li kuv qiv qee lub tswv yim los ntawm no https://www.instructables.com/id/USB-to-ESP-01-Boa… thiab ntawm no https://cmheong.blogspot.com/2018/05/siv-ch340-u… rau qhov program esp-01 yooj yim nrog nyem thiab rov pib dua cov nyees khawm suav nrog. Tom qab kuv tau ua tiav uas kuv xav tias nws yuav muaj kev lom zem sim ua tus qauv hloov pauv rau nws kuj tseem ua haujlwm rau esp-12.

Qhov:

Cov nqi yuav txawv vim yog nyiaj cheb thiab xa mus rau txawv teb chaws thiab qhov tsis yog, tab sis raug raws li thaum lub sijhawm sau ntawv hauv kuv qhov xwm txheej tshwj xeeb

CH340 USB rau ESP8266 ESP-01 Wifi Module Adapter $ 0.80

10 pcs Momentary hloov khawm $ 0.52

ESP-12S ESP8266 $ 1.95

2 pcs ESP-12 Breakout board $ 0.40

10 pcs pogo pins $ 2.05

2 pcs Ob Kab Kab SMT SMD Txiv neej Pin Header Sawb Txuas $ 1.33

xaim nyias

kub kua nplaum phom thiab kua nplaum

soldering hlau thiab solder

txoj hlua khi

Kauj Ruam 1: Muab cov Pogo Pins tso rau ntawm Pawg Neeg Tawm Tswv Yim

Solder Pogo Pins rau Pawg Breakout
Solder Pogo Pins rau Pawg Breakout

Muab cov pogo pins tso rau lub rooj sib cais rau cov pins hauv qab no:

REST (RESET)

CH_PC (EN)

VCC

TXD

RXD

PIB 0

GPIO 2

PIB 15

GND

Cov pogo pins yog qhov me me yog li kuv yuav tsum tau siv ib khub tweezers nrog qee daim kab xev nyob ib puag ncig nws txhawm rau tiv thaiv tshav kub kom tuav cov pins thaum kuv soldered.

Nco ntsoov tias cov pogo pins tsis luv nrog txhua lwm yam los ntawm kev tshuaj xyuas txuas ntxiv nrog lub multimeter. Muaj 10k tus tiv thaiv nruab nrab ntawm CH_PC thiab VCC, GPIO15 thiab GND ntawm pawg tswj hwm kev sib cais yog li cia siab tias yuav nyeem ntawm cov pins.

Kauj Ruam 2: Solder Pin Headers rau ESP-12 Breakout Board thiab Wire

Solder Pin Headers rau ESP-12 Breakout Board thiab Hlau
Solder Pin Headers rau ESP-12 Breakout Board thiab Hlau
Solder Pin Headers rau ESP-12 Breakout Board thiab Hlau
Solder Pin Headers rau ESP-12 Breakout Board thiab Hlau

Txuas ob lub 8p tus pin lub taub hau uas los nrog lub hauv paus tawg nrog cov pins ntev nyob rau ntawm lub hauv ntej ntawm lub rooj tsavxwm thaum siv cov khoom siv tom qab ntawm lub rooj tsavxwm, koj tsis tas yuav siv tag nrho cov pins rau lub rooj tsavxwm tsuas yog cov siv saum toj no (saib nov rau qhov tsawg tshaj plaws flashing schematics). Qhov laj thawj rau qhov no yog tias koj xav khiav/ua haujlwm ib qho esp-12 uas twb tau muab muag rau ntawm lub rooj sib cais lawm nws yuav tsum tuaj yeem ua nws (txawm hais tias kuv tseem tsis tau sim qhov ntawd ເທື່ອ). Tam sim no txiav ib ntu ntawm kab ob kab smt pin header kom muaj ob kab ntawm 4 tus pin. Cov kab hlau txuas txuas tus pinout rau 4 tus pin ob kab raws li ib qho ESP-01 pinout txuam nrog rau pawg thawj coj.

Cov npe tsis zoo ib yam (tshwj tsis yog GND) tab sis:

VCC = 3V3

REST = RST

CH_PC = TSO

TX = TX

RXD = RXD

GPIO0 = IO0

GPIO2 = IO2

GND = GND

Kauj Ruam 3: Cov Khawm Khawm rau CH340 USB Adapter

Cov Khawm Khawm rau CH340 USB Adapter
Cov Khawm Khawm rau CH340 USB Adapter
Cov Khawm Khawm rau CH340 USB Adapter
Cov Khawm Khawm rau CH340 USB Adapter

Cov laug khawm nyob hauv qab ntawm CH340 USB adapter rau hom FLASH ntawm GPIO0 thiab GND pins. Kub nplaum nws mus rau lub adapter.

Cov laug khawm nyob sab nraum qab ntawm CH340 USB adapter rau RESET hom ntawm RESET thiab GND pins. Kub nplaum nws mus rau lub adapter

Kauj Ruam 4: Kub Glue Pogo Pins, Ua Npuas Ncauj thiab Ob Kab 4p Pin Header

Hot Glue Pogo Pins, Ua Npuas Ncauj thiab Ob Kab 4p Pin Header
Hot Glue Pogo Pins, Ua Npuas Ncauj thiab Ob Kab 4p Pin Header
Hot Glue Pogo Pins, Ua Npuas Ncauj thiab Ob Kab 4p Pin Header
Hot Glue Pogo Pins, Ua Npuas Ncauj thiab Ob Kab 4p Pin Header
Hot Glue Pogo Pins, Ua Npuas Ncauj thiab Ob Kab 4p Pin Header
Hot Glue Pogo Pins, Ua Npuas Ncauj thiab Ob Kab 4p Pin Header

Kub kua nplaum sab hauv sab ntawm pogo pins rau pawg thawj coj saib kom muab lawv lub zog, saib xyuas kom tsis txhob muaj kua nplaum rau ntawm tus pin txav. Kua nplaum me me ntim ua npuas ncauj (lossis ib yam khoom zoo li daim txhuam cev) ntawm cov pogo pins yog li esp-12 yuav tsis poob rau qhov sib txawv yooj yim heev. Kua nplaum smt ob kab 4p header mus rau tom qab ntawm pawg thawj coj tawg kom nws thiaj li yuav tsis raug txuas thaum rub tawm ntawm CH340 usb adapter.

Kauj Ruam 5: Teem ESP-12 Onto Pogo Pins thiab Sandwich Nrog Lwm Pawg Tawm Tsam

Teem ESP-12 Onto Pogo Pins thiab Sandwich Nrog Lwm Pawg Tawm Tsam
Teem ESP-12 Onto Pogo Pins thiab Sandwich Nrog Lwm Pawg Tawm Tsam
Teem ESP-12 Onto Pogo Pins thiab Sandwich Nrog Lwm Pawg Tawm Tsam
Teem ESP-12 Onto Pogo Pins thiab Sandwich Nrog Lwm Pawg Tawm Tsam
Teem ESP-12 Onto Pogo Pins thiab Sandwich Nrog Lwm Pawg Tawm Tsam
Teem ESP-12 Onto Pogo Pins thiab Sandwich Nrog Lwm Pawg Tawm Tsam

Teem ESP-12 (kuv sim nrog ESP-12F thiab ESP-12S) mus rau pogo pins thiab qhaub cij nws nrog lwm lub rooj sib cais tawm sab saum toj. Siv ib txoj hlua khi los tuav nws khov kho. Tej zaum koj yuav tsum tau kho qhov esp-12 kom ntseeg tau tias txhua tus neeg tau sib chwv nrog lub siab txaus. Nws yuav zaum tsawg dua yog tias tsis siv pogo pins siv lub caij nplooj ntoo hlav hlau rau sab ntawm ESP-12. Nov yog qhov piv txwv ntawm youtube uas ib tus neeg tau siv cov neeg sib cuag los ntawm PCI qhov los ntawm lub niam ntawv tsis siv https://www.youtube.com/embed/BvY_T-My9Ls thiab https://www.youtube.com/watch? v = gI_lKu2uJDs

NCO TSEG: Tom qab qee qhov siv ntau dua kuv pom tias nws yooj yim heev los ua kom haum thiab siv lub zog txaus rau ntawm pogo pins, yog li kuv xav kom tib neeg tsis txhob sim siv pogo pins tshwj tsis yog lawv tuaj yeem daws qhov kev ntxhov siab ntau

Kauj Ruam 6: Txuas Esp-12 Adapter Mod Rau CH340 USB Adapter thiab Kev Pab Cuam

Plug Esp-12 Adapter Mod Rau CH340 USB Adapter thiab Program Away
Plug Esp-12 Adapter Mod Rau CH340 USB Adapter thiab Program Away
Plug Esp-12 Adapter Mod Rau CH340 USB Adapter thiab Program Away
Plug Esp-12 Adapter Mod Rau CH340 USB Adapter thiab Program Away
Plug Esp-12 Adapter Mod Rau CH340 USB Adapter thiab Program Away
Plug Esp-12 Adapter Mod Rau CH340 USB Adapter thiab Program Away

Plug esp-12 adapter mod rau CH340 USB adapter (nrog rau sab saum toj ntawm pawg thawj coj tib yam li usb ntsaws) tom qab ntawd lo rau hauv koj lub pc thiab siv Arduino IDE lossis ESP Flash Download Tool txhawm rau thauj koj cov haujlwm.

NCO TSEG: yog tias txheej txheem nyem tsis ua haujlwm nws tuaj yeem yog vim kev sib cuag ntawm cov pogo pins thiab esp-12 tsis zoo, kho esp-12 thiab/lossis cov hlua ywj kom ua tau zoo txawm tias siab thoob plaws txhua pogo pins

Kauj Ruam 7: Ua piv txwv BLINK Piv Nrog Arduino IDE (xaiv tau)

Image
Image
Teeb nyem BLINK Piv Txwv Nrog Arduino IDE (xaiv tau)
Teeb nyem BLINK Piv Txwv Nrog Arduino IDE (xaiv tau)
Flashing BLINK Piv Txwv Nrog Arduino IDE (xaiv tau)
Flashing BLINK Piv Txwv Nrog Arduino IDE (xaiv tau)

Pib Arduino IDE thiab thauj BLINK piv txwv.

Txhawm rau nkag mus rau FLASH hom tuav khawm FLASH (hauv qab) thiab nias RESET khawm (rov qab) tom qab ntawd tso FLASH khawm (hauv qab).

Teeb tsa qhov ntsuas ntawm esp-12

Nyem upload

Yog tias nws ua haujlwm raug nws yuav tsum coj zoo li hauv video

NCO TSEG: yog tias txheej txheem nyem tsis ua haujlwm nws tuaj yeem yog vim kev sib cuag ntawm cov pogo pins thiab esp-12 tsis zoo, kho esp-12 thiab/lossis cov hlua ywj kom ua tau zoo txawm tias siab thoob plaws txhua pogo pins

Pom zoo: