Cov txheej txheem:
- Kauj Ruam 1: Tsim Txuag Lub Zog
- Kauj ruam 2: Kev npaj
- Kauj Ruam 3: RTS & DTR So Tawm
- Kauj Ruam 4: Kev Txhim Kho Cov Rooj Sib Tham
- Kauj Ruam 5: Tsis teb los tau: Breadboard Prototyping
- Kauj Ruam 6: IoT Device Assembly
- Kauj Ruam 7: Kev Siv Fais Fab
- Kauj Ruam 8: Zoo Siab Tsim
- Kauj Ruam 9: Dab Tsi Ntxiv?
- Kauj Ruam 10: Tsis teb los tau: 3D Luam Ntawv Case
Video: Roj teeb Powered ESP IoT: 10 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Cov lus qhia no qhia yuav ua li cas thiaj ua tau roj teeb Powered ESP IoT puag ntawm tus tsim hauv kuv cov lus qhia yav dhau los.
Kauj Ruam 1: Tsim Txuag Lub Zog
Kev siv hluav taws xob yog kev txhawj xeeb loj rau lub roj teeb siv IoT ntaus ntawv. Txhawm rau kom tshem tawm tag nrho cov kev siv hluav taws xob ntev (ob peb mA) los ntawm cov khoom tsis tsim nyog thaum ua haujlwm, qhov kev tsim no txiav tawm tag nrho cov ntu no thiab hloov mus rau kev txhim kho chaw thau khoom.
Kev Txhim Kho Kev Ntseeg
Nws muaj:
- USB rau TTL nti
- RTS/DTR rau EN/FLASH teeb liab hloov pauv Circuit
- Lipo charger module
Kev txhim kho chaw thau khoom tsuas yog xav tau thaum txhim kho thiab ib txwm txuas rau lub khoos phis tawj, yog li qhov loj me thiab nqa tau tsis yog qhov kev txhawj xeeb loj. Kuv xav siv txoj hauv kev zoo nkauj los ua nws.
IoT ntaus ntawv
Nws muaj:
- ESP32 qauv
- Roj teeb lipo
- 3v3 LDO Circuit
- Hloov fais fab (yeem)
- LCD module (yeem)
- LCD fais fab tswj Circuit Court (yeem)
- khawm kom sawv los ntawm kev tsaug zog tsaug zog (yeem)
- lwm yam sensors (yeem)
Qhov kev txhawj xeeb thib ob rau lub roj teeb uas siv IoT ntaus ntawv yog qhov me me thiab qee zaum kuj txhawj xeeb txog kev thauj khoom, yog li kuv yuav sim siv cov khoom me (SMD) los ua. Tib lub sijhawm, kuv yuav ntxiv LCD los ua kom nws zoo nkauj dua. LCD kuj tseem tuaj yeem qhia pom yuav ua li cas txiav lub zog noj thaum pw tsaug zog.
Kauj ruam 2: Kev npaj
Kev Txhim Kho Kev Ntseeg
- USB rau TTL module (tawg tawm RTS thiab DTR pins)
- Cov khoom me me ntawm acrylic board
- 6 tus pin txiv neej header
- 7 pins round txiv neej header
- 2 NPN transistors (Kuv siv S8050 lub sijhawm no)
- 2 tus tiv thaiv (~ 12-20k yuav tsum ua tau zoo)
- Lipo Charger module
- Qee lub xov tooj ntawm tes
IoT ntaus ntawv
- 7 pins hloov poj niam lub taub hau
- ESP32 qauv
- 3v3 LDO tus tswj hwm (Kuv siv HT7333A lub sijhawm no)
- SMD capacitors rau lub zog ruaj khov (Nws nyob ntawm lub cuab yeej ncov tam sim no, Kuv siv 1 x 10 uF thiab 3 x 100 uF lub sijhawm no)
- Hloov fais fab
- ESP32_TFT_Library txhawb LCD (Kuv siv JLX320-00202 lub sijhawm no)
- SMD PNP transistor (Kuv siv S8550 lub sijhawm no)
- SMD resistors (2 x 10 K Ohm)
- Lipo roj teeb (Kuv siv 303040 500 mAh lub sijhawm no)
- Laub khawm kom ua rau sawv
- Qee cov kab xev tooj liab
- Qee cov xov tooj tooj liab coated
Kauj Ruam 3: RTS & DTR So Tawm
Feem ntau USB rau TTL module uas txhawb Arduino muaj DTR tus pin. Txawm li cas los xij, tsis muaj ntau qhov qauv tawg tawm RTS tus pin.
Muaj 2 txoj hauv kev los ua nws:
- Yuav lub USB rau TTL cov qauv nrog RTS thiab DTR tawg tawm tus pin
-
Yog tias koj ua tiav txhua qhov xwm txheej hauv qab no, koj tuaj yeem ua txhaum RTS tus pin koj tus kheej, hauv feem ntau cov chips, RTS yog tus pin 2 (koj yuav tsum tau lees paub ob zaug nrog koj cov ntawv).
- koj twb muaj 6 tus pin USB rau TTL module (rau Arduino)
- nti nyob hauv SOP tab sis tsis yog QFN daim ntawv foos
- koj ntseeg tiag tiag koj tus kheej cov txuj ci soldering (Kuv tau tshuab tawm 2 cov qauv ua ntej ua tiav)
Kauj Ruam 4: Kev Txhim Kho Cov Rooj Sib Tham
Kev tsim lub voj voos pom tau yog ib qho txuj ci yeeb yam, koj yuav pom ntau yam ntxiv hauv kuv cov lus qhia yav dhau los.
Nov yog cov ntsiab lus ntawm kev sib txuas:
TTL pin 1 (5V) -> Dock pin 1 (Vcc)
-> Lipo Charger module Vcc pin TTL pin 2 (GND) -> Dock pin 2 (GND) -> Lipo Charger module GND pin TTL pin 3 (Rx) -> Dock pin 3 (Tx) TTL pin 4 (Tx) -> Pin 4 (Rx) TTL pin 5 (RTS) -> NPN transistor 1 Emitter -> 15 K Ohm resistor -> NPN transistor 2 Base TTL pin 6 (DTR) -> NPN transistor 2 Emitter -> 15 K Ohm resistor -> NPN transistor 1 Base NPN transistor 1 Collector -> Dock pin 5 (Program) NPN transistor 2 Collector -> Dock pin 6 (RST) Lipo Charger module BAT pin -> Dock pin 7 (Battery +ve)
Kauj Ruam 5: Tsis teb los tau: Breadboard Prototyping
Kev ua haujlwm txuas hauv IoT ib feem yog qhov nyuaj me ntsis, tab sis nws tsis yog qhov tseem ceeb. Pib ntawm tib lub qauv tsim, koj tuaj yeem yooj yim siv lub khob cij thiab qee cov xaim los ua koj daim ntawv pov thawj.
Cov duab txuas nrog yog kuv daim ntawv xeem nrog Arduino Blink test.
Kauj Ruam 6: IoT Device Assembly
Rau kev cog lus me me, Kuv xaiv ntau yam khoom SMD. Koj tuaj yeem yooj yim hloov lawv mus rau lub khob cij ua phooj ywg zoo rau cov qauv yooj yim.
Nov yog cov ntsiab lus ntawm kev sib txuas:
Ntsaws tus pin 1 (Vcc) -> Hloov fais fab -> Lipo +ve
-> 3v3 LDO Regulator Vin Dock pin 2 (GND) -> Lipo -ve -> 3v3 LDO Regulator GND -> capacitor (s) -ve -> ESP32 GND Dock pin 3 (Tx) -> ESP32 GPIO 1 (Tx) ntsaws pin 4 (Rx) -> ESP32 GPIO 3 (Rx) Dock pin 5 (Program) -> ESP32 GPIO 0 Dock pin 6 (RST) -> ESP32 ChipPU (EN) ntsaws tus pin 7 (Roj teeb +ve) -> Lipo +ve 3v3 LDO Regulator Vout -> ESP32 Vcc -> 10 K Ohm resistor -> ESP32 ChipPU (EN) -> PNP transistor Emittor ESP32 GPIO 14 -> 10 K Ohm resistor -> PNP transistor Base ESP32 GPIO 12 -> Wake khawm -> GND ESP32 GPIO 23 -> LCD MOSI ESP32 GPIO 19 -> LCD MISO ESP32 GPIO 18 -> LCD CLK ESP32 GPIO 5 -> LCD CS ESP32 GPIO 17 -> LCD RST ESP32 GPIO 16 -> LCD D/C PNP transistor Collector -> LCD Vcc -> LED
Kauj Ruam 7: Kev Siv Fais Fab
Dab tsi yog lub zog siv tiag ntawm IoT ntaus ntawv no? Cia ntsuas nrog kuv lub zog ntsuas.
- Txhua lub Cheebtsam ntawm (CPU, WiFi, LCD), nws tuaj yeem siv ib puag ncig 140 - 180 mA
- Tua tawm WiFi, txuas ntxiv cov duab hauv LCD, nws siv ib puag ncig 70 - 80 mA
- Tua tawm LCD, ESP32 mus pw tsaug zog, nws siv ib puag ncig 0.00 - 0.10 mA
Kauj Ruam 8: Zoo Siab Tsim
Nws yog lub sijhawm los txhim kho koj tus kheej Cov Khoom Siv Roj Teeb IoT!
Yog tias koj tuaj yeem tos tsis tau coding, koj tuaj yeem sim sau thiab nyem kuv qhov project yav dhau los:
github.com/moononournation/ESP32_BiJin_ToK…
Lossis yog tias koj xav saj lub zog qis dua, sim kuv qhov project tom ntej no:
github.com/moononournation/ESP32_Photo_Alb…
Kauj Ruam 9: Dab Tsi Ntxiv?
Raws li tau hais los ntawm cov kauj ruam dhau los, kuv txoj haujlwm tom ntej yog ESP32 Photo Album. Nws tuaj yeem rub cov duab tshiab yog txuas nrog WiFi thiab txuag rau nyem, yog li kuv ib txwm tuaj yeem saib daim duab tshiab ntawm txoj kev.
Kauj Ruam 10: Tsis teb los tau: 3D Luam Ntawv Case
Yog tias koj muaj lub tshuab luam ntawv 3D, koj tuaj yeem luam tawm rooj plaub rau koj lub cuab yeej IoT. Lossis koj tuaj yeem muab nws tso rau hauv lub thawv pob tshab zoo ib yam li kuv txoj haujlwm yav dhau los.
Pom zoo:
Roj teeb Powered Teeb uas Tig Los Ntawm Kev Siv Cov Hlau nplaum!: 8 Cov Kauj Ruam (nrog Duab)
Roj teeb Powered Teeb uas Tig Los Ntawm Kev Siv Cov Hlau nplaum!: Peb paub tias feem ntau cov teeb qhib/tua los ntawm kev hloov lub cev. Kuv lub hom phiaj nrog txoj haujlwm no yog los tsim txoj hauv kev tshwj xeeb kom yooj yim tig lub teeb rau/tawm yam tsis muaj qhov hloov pauv qub. Kuv tau xav tsis thoob los ntawm lub tswv yim ntawm lub teeb uas hloov pauv lub cev thaum lub sijhawm no
Siv rau Cov Roj Tsheb Tuag thiab Cov Roj Ua Roj Roj Ua Ntej: 5 Kauj Ruam (nrog Duab)
Siv rau Cov Roj Tsheb Tuag thiab Cov Roj Ua Roj Roj Ua Ntej: Ntau lub roj teeb tsheb "tuag" yog cov roj teeb zoo tiag tiag. Lawv tsuas yog tsis tuaj yeem muab ntau pua qhov amps xav tau los pib lub tsheb. Ntau "tuag" kaw cov roj teeb kua qaub ua tau yog cov roj teeb uas tsis tau tuag uas tsis tuaj yeem ntseeg tau ntxiv
Txheeb Xyuas Roj Teeb Nrog Qhov Kub thiab Xaiv Roj Teeb: 23 Cov Kauj Ruam (nrog Duab)
Roj Teeb Txheeb Nrog Qhov Kub thiab Kev Xaiv Roj Teeb: Roj teeb lub peev xwm ntsuas.Nws siv lub cuab yeej no koj tuaj yeem tshawb xyuas lub zog ntawm 18650 roj teeb, kua qaub thiab lwm yam (lub roj teeb loj tshaj kuv tau sim Nws yog 6v Acid roj teeb 4,2A). Qhov txiaj ntsig ntawm qhov ntsuas yog hauv milliampere/teev Kuv tsim cov cuab yeej no vim xav tau Nws los chec
280Wh 4S 10P Li-ion Roj Teeb Ua Los Ntawm Cov Roj Teeb Laptop: 6 Cov Kauj Ruam (nrog Duab)
280Wh 4S 10P Li-ion Roj Teeb Ua Los Ntawm Cov Roj Teeb Laptop: Rau xyoo dhau los lossis li ntawd, Kuv tau khaws cov roj teeb laptop thiab ua thiab txheeb xyuas 18650 lub cell sab hauv. Kuv lub khoos phis tawj qub qub tam sim no, nrog 2dn gen i7, nws noj lub zog, yog li kuv xav tau qee yam los them nws thaum mus, txawm hais tias nqa cov khoom no
Cov Roj Teeb Lemon Me, thiab Lwm Cov Qauv rau Xoom Tus Nqi Hluav Taws Xob thiab Coj Lub Teeb Tsis Muaj Roj Teeb: 18 Kauj Ruam (nrog Duab)
Cov Roj Teeb Lemon Me, thiab Lwm Cov Qauv rau Xoom Tus Nqi Hluav Taws Xob thiab Coj Lub Teeb Tsis Muaj Roj Teeb: Nyob zoo, tej zaum koj twb paub txog txiv qaub roj teeb lossis roj teeb roj teeb. Lawv tau siv ib txwm siv rau lub hom phiaj kev kawm thiab lawv siv cov tshuaj tiv thaiv hluav taws xob uas tsim hluav taws xob qis, feem ntau pom nyob rau hauv daim ntawv ntawm cov coj lossis lub teeb ci ci. Cov no