Cov txheej txheem:

Tus Floger: Tus Ntaus los Saib Xyuas Huab Cua Parameter: 6 Kauj Ruam
Tus Floger: Tus Ntaus los Saib Xyuas Huab Cua Parameter: 6 Kauj Ruam

Video: Tus Floger: Tus Ntaus los Saib Xyuas Huab Cua Parameter: 6 Kauj Ruam

Video: Tus Floger: Tus Ntaus los Saib Xyuas Huab Cua Parameter: 6 Kauj Ruam
Video: Мужская Casio G-Shock Magma Ocean Золотой Rangeman | 35-летие GPRB1000TF-1 Обз... 2024, Kaum ib hlis
Anonim
Tus Floger: Tus Ntaus los Saib Xyuas Huab Cua Parameter
Tus Floger: Tus Ntaus los Saib Xyuas Huab Cua Parameter

Ib qho txuas me me thiab AUTONOMUS ntaus ntawv los saib xyuas ob peb yam muaj txiaj ntsig zoo los pab koj ua teb

Cov cuab yeej no yog tsim los ntsuas cov huab cua sib txawv:

  • Pem teb thiab cua kub
  • Pem teb thiab cua noo
  • Luminosity

tso nws rau ntawm lub vijtsam lcd thiab tseem xa nws ntawm actoboard ntawm tus qauv sigfox (koj kuj tseem tuaj yeem xa nws los ntawm actoboard mus rau lwm lub cuab yeej lossis cov ntaub ntawv tab sis peb yuav tsis tham txog nws hauv qhov Tsis Txaus Siab).

Raws li kuv tau hais tias kev sib cais yog autonomus yog li ntawm qhov tseeb peb yuav siv lub roj teeb uas siv los ntawm lub hnub ci vaj huam sib luag tab sis qhov tseem ceeb tshaj plaws yog cov cuab yeej feem ntau yuav tsis siv: qhov tseeb peb yuav npaj nws ntsuas txhua lub sijhawm piv txwv lossis tshwj tsis yog tias koj thov nws ntsuas rignt tam sim no. Yog li thaum kawg lub cuab yeej peb siv tsawg dua 30 thib ob txhua teev.

TSEEM CEEB:

  • Peb yuav siv Mbed los thauj cov cai, uas kuv yuav ua siab dav faib: '), hauv lub microcontroller yog li yog koj paub nws nws yog qhov ntxiv (yog tias koj tsis txhob txhawj kuv yuav piav qhia nws ib qib zuj zus).
  • Kuv tseem muab txhua cov ntaub ntawv los ua koj lub pcb yog li koj tsuas yog yuav tsum luam nws.

Kauj Ruam 1: Cheeb Tsam

Txog qhov haujlwm no kuv tau siv cov ntsuas ntsuas tau kawg tab sis koj tseem yuav xav tau microcontrollers thiab kev tsim khoom noj

Nov yog cov npe ntawm cov khoom kuv siv:

Hauv pem teb sensors:

  • Kub
  • Hws noo

Huab cua sensors:

Kub thiab noo noo: qhov kub thiab noo ntawm huab cua nyob ntawm tib lub ntsuas

Lub teeb ci:

Luminosity

Microcontroller cards: Peb yuav siv 2 lub microcontroller

  • Qauv: STM32L432KC
  • TSI 1208

Kev noj haus:

  • Roj teeb
  • Hnub ci cell
  • Alimentation adaptator Card: Ntawm daim npav no peb yuav txuas lub roj teeb thiab lub hnub ci cell (yog li lub roj teeb yuav tuaj yeem them). Nyob rau lwm sab ntawm daim npav noj zaub mov peb yuav txuas STM32L432KC nrog USB cable los txhawb lub zog tag nrho (hauv 3.3V).

Zaub:

LCD npo

Sigfox:

Sigfox module yuav tso cai rau peb xa peb cov ntaub ntawv mus rau actoboard

Kauj Ruam 2: PCB thiab Cov Cai

PCB thiab Code
PCB thiab Code

PCB:

Txhawm rau pib kuv yuav faib cov pcb cov ntaub ntawv. Lawv nyob ntawm tus qauv uas yuav ua haujlwm ib txwm nyob rau feem ntau ntawm cov tshuab luam ntawv.

Txhawm rau luam nws koj tuaj yeem yooj yim nrhiav lub khw hluav taws xob/khoom siv uas yuav tuaj yeem ua tau.

Koj yuav tsum ua kom muaj VIA hnyav ntawm lub pcb (tsis txhob txhawj lawv tau qhia)

CODE:

Thawj kauj ruam koj yuav tsum tsim tus as khauj ntawm MBED

Thaum qhov no ua tiav tsuas yog nyem rau ntawm LINK hauv qab no koj yuav nkag mus rau qhov haujlwm (hauv hom nyeem nkaus xwb)

Thaum koj tau mus txog qhov project mbed nrog qhov txuas yav dhau los ntshuam nws mus rau koj qhov chaw ua haujlwm (tus sau).

Tom qab ntawd txuas koj lub STM32 rau koj lub khoos phis tawj, suav cov ntaub ntawv tseem ceeb ntawm mbed thiab luam cov ntawv no rau hauv STM32 (nrog daim ntawv yooj yim luam/muab tshuaj txhuam).

Kauj Ruam 3: Txuas Cov Khoom Siv

Txuas Cov Khoom Siv
Txuas Cov Khoom Siv
Txuas Cov Khoom Siv
Txuas Cov Khoom Siv
Txuas Cov Khoom Siv
Txuas Cov Khoom Siv

/!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!

Cov kauj ruam no tsuas yog nyob ntawm no los qhia koj yuav ua li cas txuas cov khoom sib xyaw ua ke YOG koj xav sim lawv ntawm labdec piv txwv thiab vim nws ib txwm zoo kom paub tias yam khoom ua haujlwm li cas koj tuaj yeem hla cov kauj ruam no thiab tsuas yog teeb tsa cov khoom ntawm pcb lawv yuav txuas nrog

/!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\ /!\/!\ /!

Ntawm no koj muaj 3 lub tswv yim hais txog yuav ua li cas xaim txhua yam ua ke.

PS: pom tseeb RED cable mus rau 3.3V kev noj haus thiab BLACK cable mus rau hauv av.

Rau qhov beging yog tias koj tsuas yog xav sim txhua qhov sib piv koj tuaj yeem ua nws yam tsis muaj kev noj zaub mov los ntawm kev txuas koj lub STM32L432KC rau koj lub khoos phis tawj.

Kauj ruam 4: Actoboard

Actoboard
Actoboard
Actoboard
Actoboard
Actoboard
Actoboard

Ntawm ntu no kuv yuav piav qhia koj li cas teeb tsa koj tus as khauj ntawm Actoboard khaws tag nrho cov ntaub ntawv xa los ntawm koj li Sigfox module.

Frist of all go to Actoboard website and create an account

Thaum koj ua tiav tsim cov ntaub ntawv tshiab (duab 1).

Yuav tsum nrhiav Akeru (duab 2) tom qab ntawd thaum koj tau txais nws thiab nyem rau ntawm nws koj yuav tuaj txog "Txuas koj lub cuab yeej Akeru" qhov rai (duab 3).

Sau lub npe koj muab rau koj cov ntaub ntawv siv, nws tus lej xov tooj thiab PAC (2 cov ntaub ntawv xov xwm no tau muab rau koj sigfox module, lawv yog qhov tshwj xeeb).

Qhov kawg yog teeb tsa hom ntawv ntawm cov ntaub ntawv koj yuav rov qab tau:

lum:: int: 8 temp_A:: int: 8 hum_A:: int: 8 temp_S:: int: 8 hum_S:: int: 8

TSIS TXHOB hloov hom ntawv tshwj tsis yog koj kuj tseem tuaj yeem hloov tus lej kuv tau muab rau koj (tsawg kawg koj hloov lub npe tab sis tsis yog hom lossis tus lej tom).

Yog li ntawd koj thiaj muaj: lub teeb ci (lum), huab cua sov (temp_A), huab cua noo (hum_A), av kub (temp_S) thiab av noo (hum_S).

Tam sim no koj tuaj yeem txheeb xyuas, yog Actoboard tau txais cov lus los ntawm koj li Sigfox module, ntawm sab xis ntawm tib lub qhov rai (duab 4). Tsis tas li ntawd, koj tuaj yeem hloov kho koj cov ntaub ntawv nrog lub dashboard, rau nws: Tsim lub dashboard tshiab, nyem rau nws thiab ntxiv cov cuab yeej tshiab (duab 5). Tam sim no lub qhov rai tshiab hu ua "Ntxiv widget" tau qhib (duab 6), nyem rau ntawm lub tab thib ob "Widgets", thiab xaiv ib qho.

Ntawm no, piv txwv li, kuv yuav qhia yuav ua li cas tso saib tus nqi ntawm lub teeb ci. Yog li xaiv tus thib ob widget "Tus nqi" thiab tmodify Widget nqis (duab 7), ntxiv cov ntaub ntawv teeb tsa thiab xaiv dab sib txawv koj xav pom. Tam sim no yog tias koj rov qab los ntawm koj lub dashboard tus nqi koj qhov sib txawv yuav tshwm sim (duab 8).

Kauj Ruam 5: Tso Teeb Meem

Teeb Meem Teeb Meem
Teeb Meem Teeb Meem
Teeb Meem Teeb Meem
Teeb Meem Teeb Meem

Hauv ntu no kuv yuav qhia koj tias qhov txiaj ntsig xav tau los ntawm peb cov ntsuas thiab koj tuaj yeem tshawb xyuas lawv li cas.

Yog tias koj tau ua txhua yam zoo los ntawm qhov pib, los ntawm tam sim no koj yuav tsum muaj valeus ntawm koj lub vijtsam thiab ua tus tswj hwm

Yog tias qhov no koj tsis pom dab tsi ntawm qhov screen lossis ntawm actoboard

  • Ua ntej tshaj plaws thov txheeb xyuas txhua qhov koj sib txuas ntawm cov ntsuas thiab microcontroller.
  • Yog tias koj tab tom tham txog koj cov kev sib txuas nws yuav yog koj lub vijtsam LCD (lawv me ntsis me ntsis). Koj yuav tsum tseem muaj tus nqi ntawm actoboard yog tias koj ua raws cov kauj ruam kawg

Yog tias koj tab tom muaj qee qhov teeb meem teeb tsa actoboard ntawm no yog txoj hauv kev thib peb kom muaj koj li txiaj ntsig: Putty

Yuav ua li cas siv Putty:

  • Txuas koj lub cuab yeej ntawm koj lub khoos phis tawj thiab qhib lub qhov rais tus thawj tswj hwm ib sab thiab nrhiav qhov chaw nres nkoj twg uas koj lub cuab yeej txuas nrog (daim duab 2).
  • Tom qab ntawd qhib Putty thiab xaiv cov lej (xim liab hauv daim duab 3) thiab nug tus lej COM chaw nres nkoj koj pom hauv cov kauj ruam dhau los (txiv kab ntxwv hauv daim duab 3).
  • Nyem rau OK. Lub console yuav qhib qhov pom qhov tseem ceeb

Kauj Ruam 6: Ua Tsaug

Ua tsaug yog tias koj tau sim ua koj tus kheej FLOGER:) lossis txawm tias koj nyuam qhuav nyeem qhov no!

Yog tias koj muaj lus pom, lus nug lossis kev txhim kho zoo siab qhia tawm!

Pom zoo: