Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Kev Txuas Hluav Taws Xob
- Kauj Ruam 2: Soldering Perfboard Circuit
- Kauj Ruam 3: PCB Circuit
- Kauj Ruam 4: Ntxiv Esp8266 Txhawb rau Arduino IDE
- Kauj Ruam 5: Tshaj Tawm Daim Sketch
- Kauj Ruam 6: Xeem Txoj Cai
Video: ESP8266-07 Programmer Nrog Arduino Nano: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nov yog cov lus qhia luv luv rau kev tsim lub ESP8266-07/12E lub rooj tsav xwm zoo siv Arduino nano. Cov xov tooj hluav taws xob zoo ib yam li qhov tau qhia ntawm no. Koj muaj cov kev xaiv los xaim txoj haujlwm no mus rau ntawm lub khob cij, muab koj tus kheej tso rau ntawm phab ntsa, lossis siv cov ntaub ntawv gerber txuas los tsim kom muaj kev ntseeg siab dua pcb. Kuv hais kom lo nrog pcb lossis perfboard (yog tias koj ntseeg koj tus kheej kom zoo dua qub) yog tias koj nquag siv cov cuab yeej hais los no.
Kuv tab tom npaj tsim qee cov ntsiab lus nrog ESP-07, thiab kuv yuav siv lub rooj tsav xwm tsim hauv qhov kev qhia no tas li.
Tus qauv tsim muaj lub hauv paus tswj hwm 3.3v qhov hloov pauv ntawm ESP module, koj yuav tsum txuas 5v khoom ntxiv rau Arduino usb cable. Ntxiv mus, koj yuav tsum tseem siv lub rooj tsav xwm tawg; nws ua txhua yam kom yooj yim ua haujlwm nrog.
Khoom siv
- Arduino nano cov
- ESP8266-07 lossis/12/e
- ESP-07 breakout board
- Mini usb kab
- 5.5mm fais fab jack (txiv neej thiab poj niam)
- Poj niam header pins 1*15 (2pcs)
- Poj niam header pins 1*8 (2pcs)
- 6pin toggle hloov (yeem)
- laub khawm (2pcs)
- 5Kohm resistors (2pcs)
- 10Kohm resistors (2pcs)
- lm1117 3.3v (Kuv siv lub smd version, koj tuaj yeem siv TH yog tias koj xav tsim lub voj voog ci ci)
- 47uf capacitor (koj tuaj yeem siv qhov txiaj ntsig siab dua yog tias koj muaj teeb meem teeb meem)
- breadboard, lossis perfboard, lossis pcb
Kauj Ruam 1: Kev Txuas Hluav Taws Xob
Daim phiaj Circuit Court:
1. Ntsaws rau hauv daim ntawv qhia zaub mov Arduino nano, thiab ESP tus qauv siv lub rooj tsav xwm tawg. Txhawm rau nkag tau zoo dua rau cov pins ntawm pawg thawj coj tawg, koj tuaj yeem siv ob lub rooj noj mov tsis siv ib qho raws li qhia.
2. Hwj chim rau txoj kab: txuas 5v tus pin ntawm lub zog txuas rau tus pin 3 ntawm lm1117 3.3v tus tswj hwm, GND rau tus pin 1, thiab cov zis los ntawm tus pin 2 mus rau "+" txoj kev tsheb nqaj hlau. Kuj txuas GND tus pin ntawm lub zog txuas mus rau " -" ntawm lub khob cij. Ntxiv 47uf capacitor thiab txuas cov ntsia ua ke raws li qhia.
3. Ntxiv ob lub laub khawm (rov pib dua thiab ua haujlwm) thiab txuas ib tus pin los ntawm txhua qhov kom rov pib dua thiab lwm qhov rau GPIO0 ntawm ESP. Rub qhov txuas txuas ib txwm rau 3.3v siv 10kohm resistors. Txuas qhov nquag qhib pins rau GND
4. Txuas + tsheb nqaj hlau mus rau VCC ntawm ESP pawg thawj coj tawm
5. Txuas - tsheb nqaj hlau mus rau GND ntawm ESP pawg thawj coj tawm
6. Rub tus pin CH_PD thiab GPIO15 ntawm ESP rau +3.3v kev tsheb nqaj hlau siv 5kohm resistors
7. Txuas tus pin RX ntawm nano mus rau RX ntawm ESP siv 2-channel toggle switch
8. Txuas TX ntawm Nano mus rau TX ntawm ESP siv 2-channel toggle switch. (lub toggle hloov yog xaiv tau; nws ua rau nws muaj peev xwm tshem tawm tag nrho cov teeb liab ntawm Arduino thiab ESP)
9. Choj RST thiab GND pins ntawm Arduino, cov kauj ruam no "xiam oob qhab" ATmega nti.
Kuv siv lub zog 5v sab nraud vim tias arduino tsis tuaj yeem xa tam sim no kom txaus rau lub zog ESP module ntseeg tau. Kuv tab tom siv lub charger qub thiab hloov kho usb cable.
Kauj Ruam 2: Soldering Perfboard Circuit
Kuv tau tsim qhov txheej txheem rau ib sab 7cm los ntawm 9cm perfboard raws li daim duab thaiv kab hauv cov kauj ruam dhau los. Sim siv qhov chaw sib koom ua ke ib yam nkaus li koj tsis txhob khiav mus rau qhov teeb meem. Koj tuaj yeem siv cov duab fritzing txuas nrog ua cov lus qhia.
Tsis tas li, Kuv tau siv 2.54mm poj niam lub taub hau taub hau ua Nano thiab ESP tshem tawm tau.
Kauj Ruam 3: PCB Circuit
Xa daim ntawv gerber txuas rau lub chaw tsim khoom pcb thiab qhov ntawd yog nws!
Nws yog ua raws cov thaiv uas tau hais yav dhau los, tab sis kev teeb tsa sib txawv me ntsis. Kuv yuav tsum ua kom nws nruj me ntsis kom txuag tau koj cov nyiaj
Cov ntaub ntawv raug tsim nrog EasyEDA.
Kauj Ruam 4: Ntxiv Esp8266 Txhawb rau Arduino IDE
Koj tuaj yeem hla cov kauj ruam no yog tias koj muaj tus qauv twb teeb tsa lawm
Kauj Ruam 1: qhib IDE thiab mus rau File >> nyiam, lub qhov rais qhib. Nws yuav zoo li ib qho ntawm cov duab txuas nrog
Kauj Ruam 2: Hauv lub npov liab, muab kab ntawv no tso rau:
arduino.esp8266.com/stable/package_esp8266com_index.json
yog tias muaj qee yam twb tau sau muaj, ntxiv tus lej thiab tom qab ntawd muab tshuaj txhuam qhov URL
Kauj Ruam 3: Mus rau cov cuab yeej >> pawg thawj coj >> tus thawj tswj hwm, xa mus rau cov duab txuas yog tias koj muaj teeb meem nrog qhov ntawd
Kauj Ruam 4: thaum lub qhov rai ua tiav qhov kev thauj khoom, siv lub thawv tshawb nrhiav esp8266, nrhiav qhov tshwm sim nrog lub npe "esp8266 los ntawm esp8266 zej zog" thiab teeb tsa
NCO TSEG: Kuv tau teeb tsa version 2.5.2 vim tias qee qhov tom qab ua rau "ua rau neeg tuag taus"
Kauj Ruam 5: Thaum teeb tsa tiav, mus rau Cov Cuab Yeej >> Pawg Thawj Coj >> nrhiav thiab xaiv "genp esp8266 module"
Kauj Ruam 6: Mus rau cov cuab yeej thiab hauv qab "board: Generic esp8266 module" koj yuav pom qee qhov kev teeb tsa. Nco ntsoov tias koj li phim cov uas nyob hauv daim duab txuas.
Kauj Ruam 5: Tshaj Tawm Daim Sketch
Txuas lub usb cable rau Arduino Nano thiab txuas nws mus rau lub khoos phis tawj. Tsis tas li, txuas lub hwj chim 5v rau lub hwj chim txuas ntawm lub rooj tsavxwm.
Yog tias koj tau txiav txim siab ntxiv qhov toggle hloov, nco ntsoov tias nws tau nias.
Txhawm rau muab tus qauv esp rau hauv hom kev ua haujlwm:
Nias thiab tuav RESET thiab PROGRAM cov nyees khawm, thiab tom qab ntawd rov ua dua "RESET" thaum tseem nias "PROGRAM"
Tuav ib pliag thiab mam li rov hais dua "PROGRAM" khawm
Hauv lub khoos phis tawj, qhib IDE thiab mus rau Cov Cuab Yeej >> chaw nres nkoj thiab xaiv COM chaw nres nkoj uas koj tau txuas koj lub xov tooj usb rau hauv lub computer.
Sau koj cov cai, thiab siv khawm rub tawm nyob rau sab saud sab laug ntawm koj li IDE los pib ua haujlwm ESP module.
Kauj Ruam 6: Xeem Txoj Cai
Nws tuaj yeem sim qee qhov haujlwm yam tsis tau tshem tus qauv ntawm nws lub qhov (socket).
Txhawm rau ua li ntawd, nyem qhov toggle hloov, thiab ntaus RESET khawm.
Kuv tau ntxiv qhov hloov pauv to cais ob lub laug cam kom tiav
Zoo siab!
Pom zoo:
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Ua Si Cov Khoom Ua Si Ua Tau Zoo!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Siv Hluav Taws Xob Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Cov cuab yeej cuab tam - Ceramic hauv Cov Ntsiab Lus ntawm Cov Txheej Txheem Digital thiab Analog 2015: 3 Cov Kauj Ruam (nrog Duab)
Cov cuab yeej cuab tam - Ceramic hauv Cov Ntsiab Lus ntawm Digital thiab Analog Cov Txheej Txheem 2015: Txog tam sim no, cov khoom siv hlau yog cov khoom siv tes ua uas tsis muaj kev cuam tshuam digital. Vim li no, nws zoo siab heev los ua phooj ywg nrog cov cuab yeej tshiab. Lub hauv paus pib yog daim ntawv qub thiab CNC Styrocutter.DESIGNBOOM
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: 7 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: Nyob zoo txhua tus! Cov lus qhia no tau yug los ntawm lub laptop faib ua ib nrab, yuav los ntawm ib tus phooj ywg. Thawj qhov kev sim ntawm txoj haujlwm no yog kuv Lego Digital Photo Frame, txawm li cas los xij, yog ib tus neeg mob siab rau Siri thiab Google Tam sim no, Kuv txiav txim siab coj nws mus rau qhov tshiab