Cov txheej txheem:

E32-433T LoRa Module Tutorial - DIY Breakout Board rau E32 Module: 6 Kauj Ruam
E32-433T LoRa Module Tutorial - DIY Breakout Board rau E32 Module: 6 Kauj Ruam

Video: E32-433T LoRa Module Tutorial - DIY Breakout Board rau E32 Module: 6 Kauj Ruam

Video: E32-433T LoRa Module Tutorial - DIY Breakout Board rau E32 Module: 6 Kauj Ruam
Video: Bộ thu phát tín hiệu không dây - Kết nối không dây giữa đầu cân và Loadcell 2024, Kaum ib hlis
Anonim
Image
Image

Hav, ua li cas, Cov Menyuam! Akarsh nov los ntawm CETech.

Txoj haujlwm no ntawm kuv yog kev kawm nkhaus kom nkag siab txog kev ua haujlwm ntawm E32 LoRa module los ntawm eByte uas yog lub zog loj 1-watt transceiver module.

Thaum peb nkag siab txog kev ua haujlwm, Kuv tau tsim PCB uas yog qhov tawg rau E32 tus qauv no uas nthuav tawm UART npav rau tham ncaj qha rau E32 tus qauv yam tsis muaj kev sib txuas sab nraud.

Thaum kawg, peb yuav sim peb cov qauv los teeb tsa qhov sib txuas ntawm 2 cov qauv thiab xa/tau txais cov ntaub ntawv siv LoRa txuas no

Cia peb pib nrog kev lom zem tam sim no

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov

Koj tuaj yeem pom LoRa cov qauv los ntawm eByte ntawm qhov txuas hauv qab no los ntawm LCSC:

E32 1W module:

E32 100mW module:

Kav hlau txais xov 433MHz:

Kauj Ruam 2: Tau PCBs rau Koj Txoj Haujlwm Tsim

Tau PCBs rau Koj Txoj Haujlwm Tsim
Tau PCBs rau Koj Txoj Haujlwm Tsim

Koj yuav tsum txheeb xyuas JLCPCB rau xaj PCBs online kom pheej yig!

Koj tau txais 10 qhov zoo PCBs tsim thiab xa mus rau koj lub qhov rooj rau 2 $ thiab qee qhov xa khoom. Koj tseem yuav tau txais luv nqi ntawm kev xa khoom ntawm koj thawj daim ntawv xaj. Txhawm rau tsim koj tus kheej PCB lub taub hau kom yooj yim EDA, ib zaug uas ua tiav xa koj cov ntaub ntawv Gerber mus rau JLCPCB kom tau txais lawv tsim nrog cov khoom lag luam zoo thiab lub sijhawm hloov pauv sai.

Kauj Ruam 3: Txuas thiab Circuit

Kev tiv thaiv kab mob thiab kab mob
Kev tiv thaiv kab mob thiab kab mob
Kev tiv thaiv kab mob thiab kab mob
Kev tiv thaiv kab mob thiab kab mob

Qhov tseem ceeb tshaj plaws uas yuav tsum tau ua yog ntawm M1 thiab M0 tus pin. Lawv yuav tsum tau txuas nrog GND lossis VCC rau kev ua haujlwm ntawm tus qauv thiab tsis tuaj yeem sab laug ntab. Peb yuav kawm paub ntau ntxiv txog kev xaiv hom sib txawv siv M1 thiab M0 hauv qib tom ntej.

AUX tus pin yog tus pin tso tawm uas qhia qhov xwm txheej tsis khoom ntawm tus qauv yog li peb txuas tus LED rau tus pin no siv 3906 transistor kom paub cov xwm txheej ntawm E32.

Thaum kawg, Kuv kuj tseem tau txuas ob peb LEDs ntawm Rx thiab Tx pins kom thaum cov ntaub ntawv xa mus tau tshwm sim dhau UART nws pom ntawm LEDs.

Kauj Ruam 4: Hom Kev Ua Haujlwm

Hom Kev Ua Haujlwm
Hom Kev Ua Haujlwm

Hloov qhov hluav taws xob ntawm tus pin M1 thiab M0 hom sib txawv ntawm tus qauv tuaj yeem teeb tsa.

Peb tuaj yeem pom cov qauv sib txawv ntawm cov lus saum toj no.

Kuv feem ntau tsom mus rau Hom 0 thiab Hom 3. Rau kev siv LoRa ib txwm, Kuv khaws cov qauv ntawm Hom 0 thiab rau kev teeb tsa, Kuv khaws nws ntawm Hom 3.

Kauj Ruam 5: Pawg Neeg Tawm Tsam

Pawg Neeg Tawm Tswv Yim
Pawg Neeg Tawm Tswv Yim
Pawg Neeg Tawm Tswv Yim
Pawg Neeg Tawm Tswv Yim

Kuv tsim PCB siv daim duab qhia saum toj no thiab tau txais nws tsim.

PCB nthuav tawm UART chaw nres nkoj ncaj qha thiab E32 tuaj yeem siv tau yam tsis muaj kev txuas hluav taws xob sab nraud nrog ib qho microcontroler ncaj qha.

Yog li kuv tau siv cov khoom sib txuas ntawm PCB thiab sim LoRa txuas hauv cov kauj ruam tom ntej.

Kauj Ruam 6: Xeem Kawg

Xeem Kawg
Xeem Kawg
Xeem Kawg
Xeem Kawg

Kuv txuas ib qho qauv siv FTDI tus qauv rau lub PC thiab teeb tsa hom kev hloov ntawm M0 thiab M1 rau 1 thiab 1 rau qhov ntsuas qhov ntsuas.

Tom qab ua qhov ntawd kuv tau qhib RF teeb tsa software thiab tom qab xaiv qhov chaw nres nkoj COM raug, ntaus lub pob GetParam uas sau tag nrho cov thawv hauv software thiab lees paub tias lub module ua haujlwm.

Tom qab ntawd hauv qhov teeb tsa thib ob, Kuv hloov pauv mus rau Hom 0 los ntawm kev ua M1 & M0 rau 0 & 0. Kuv tau ua qhov no rau 2 cov laug cam thiab txuas ob qho ntawm lawv mus rau lub zog hluav taws xob. Tom qab ntawd pib xa cov ntaub ntawv mus rau ib qho qauv hla UART thiab kuv pib saib TX tus pin ntawm lwm tus qauv ua kom pom tseeb uas tau lees paub teeb tsa ntawm wireless LoRa txuas. Saib kuv cov vis dis aus rau tib qhov kev qhia.

Pom zoo: