Cov txheej txheem:

Roj teeb Powered ESP IoT: 10 Cov Kauj Ruam (nrog Duab)
Roj teeb Powered ESP IoT: 10 Cov Kauj Ruam (nrog Duab)

Video: Roj teeb Powered ESP IoT: 10 Cov Kauj Ruam (nrog Duab)

Video: Roj teeb Powered ESP IoT: 10 Cov Kauj Ruam (nrog Duab)
Video: Dave Mustaine sneaks into seats behind fans secretly handing kids guitar picks 2024, Hlis ntuj nqeg
Anonim
Image
Image
Roj teeb Powered ESP IoT
Roj teeb Powered ESP IoT

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

Txuag Txuag Tsim
Txuag Txuag Tsim

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:

  1. USB rau TTL nti
  2. RTS/DTR rau EN/FLASH teeb liab hloov pauv Circuit
  3. 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:

  1. ESP32 qauv
  2. Roj teeb lipo
  3. 3v3 LDO Circuit
  4. Hloov fais fab (yeem)
  5. LCD module (yeem)
  6. LCD fais fab tswj Circuit Court (yeem)
  7. khawm kom sawv los ntawm kev tsaug zog tsaug zog (yeem)
  8. 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 npaj
Kev npaj
Kev npaj
Kev npaj
Kev npaj
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

RTS & DTR tawg tawm
RTS & DTR tawg tawm
RTS & DTR tawg tawm
RTS & DTR tawg tawm
RTS & DTR tawg tawm
RTS & DTR tawg 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).

    1. koj twb muaj 6 tus pin USB rau TTL module (rau Arduino)
    2. nti nyob hauv SOP tab sis tsis yog QFN daim ntawv foos
    3. 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 Txhim Kho Cov Rooj Sib Tham
Kev Txhim Kho Cov Rooj Sib Tham
Kev Txhim Kho Cov Rooj Sib Tham
Kev Txhim Kho Cov Rooj Sib Tham
Kev Txhim Kho Cov Rooj Sib Tham
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

Yeem: Breadboard Prototyping
Yeem: Breadboard Prototyping
Yeem: Breadboard Prototyping
Yeem: Breadboard Prototyping
Yeem: Breadboard Prototyping
Yeem: Breadboard Prototyping
Yeem: Breadboard Prototyping
Yeem: 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

IoT Device Sib Dhos
IoT Device Sib Dhos
IoT Device Sib Dhos
IoT Device Sib Dhos
IoT Device Sib Dhos
IoT Device Sib Dhos
IoT Device Sib Dhos
IoT Device Sib Dhos

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

Image
Image
Kev siv fais fab
Kev siv fais fab
Kev siv fais fab
Kev siv fais fab
Kev siv fais fab
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

Zoo Siab Txhim Kho!
Zoo Siab Txhim Kho!

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?

Dab Tsi Ntxiv?
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

Image
Image
Yeem: 3D Luam Case
Yeem: 3D Luam 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: