Cov txheej txheem:

Khoos phis tawj Tswj Cov Khoom Siv Hluav Taws Xob Hluav Taws Xob: 4 Kauj Ruam
Khoos phis tawj Tswj Cov Khoom Siv Hluav Taws Xob Hluav Taws Xob: 4 Kauj Ruam

Video: Khoos phis tawj Tswj Cov Khoom Siv Hluav Taws Xob Hluav Taws Xob: 4 Kauj Ruam

Video: Khoos phis tawj Tswj Cov Khoom Siv Hluav Taws Xob Hluav Taws Xob: 4 Kauj Ruam
Video: Tus Cawm Seej Hloov Neeg Txoj Hmoo (HD) 2024, Hlis ntuj nqeg
Anonim
Khoos phis tawj Tswj Cov Khoom Siv Hluav Taws Xob
Khoos phis tawj Tswj Cov Khoom Siv Hluav Taws Xob

Kuv yeej nyiam cov khoom siv hluav taws xob yooj yim zoo li Tronex 72+ Rhiav Kev Tshawb Fawb los ntawm Tedco Cov Khoom Ua Si. Dhau li ua kom yooj yim siv, Tronex tsuas muaj cov khoom siv txaus los tsim cov phiaj xwm sai sai vim tias koj tsis tas yuav tsum ua raws qee qhov vim tias lawv tau hais ncaj qha rau lub rooj tsavxwm. Lub caij nplooj ntoo hlav txuas ua kom yooj yim txuas mus rau ib lub voj voog. Ntxiv rau, nthuav tawm thiab ntxiv ib feem rau nws yog qhov yooj yim heev … tsuas yog xaim ib qho ntawv me me. Hauv qhov kev qhia yooj yim no tiag tiag, kuv yuav qhia ntxiv kev tswj hwm lub khoos phis tawj rau ib qho kev hloov pauv qhov haujlwm uas koj tsim nrog Tronex lossis lwm yam khoom siv hluav taws xob ua khoom noj.

Kauj Ruam 1: Qhov Yuav Tsum Tau Ua Rau Txoj Haujlwm no

Yam Yuav Tsum Tau Ua Rau Txoj Haujlwm no
Yam Yuav Tsum Tau Ua Rau Txoj Haujlwm no
Yam Yuav Tsum Tau Ua Rau Txoj Haujlwm no
Yam Yuav Tsum Tau Ua Rau Txoj Haujlwm no
Yam Yuav Tsum Tau Ua Rau Txoj Haujlwm no
Yam Yuav Tsum Tau Ua Rau Txoj Haujlwm no

Rau qhov haujlwm no koj yuav xav tau:

  • Tronex 72+ Rhiav Kev Tshawb Fawb
  • LCA710 Solid State Relay nti (teeb tsa ntawm ib qho khoom me me)
  • 1K Ohm tus tiv thaiv
  • Adafruit's Circuit Playground Classic tau ntim nrog Ncav thiab Qhia RTPLAYGROUND software (lossis koj tus kheej nyiam tswj yog tias koj muaj)

Cov khoom siv ua tiav ntawm ntu tuaj yeem yuav ntawm no

LCA710 yog ib qho yooj yim heev los siv lub xeev cov khoom xa tawm. Nws yuav tsum tau 1.4V tig nws sab hauv hloov ON. Vim li no, koj yuav xav tau 1K Ohm resistor ntawm Solid State Relay thiab koj lub microcontroller tus digital tso tawm.

Txog tus tswj, peb tab tom siv Adafruit's Circuit Playground Classic ntsaws nrog RTPLAYGROUND software los ntawm Ncav thiab Qhia. Lub Chaw Ua Si Hauv Chaw Ua Si Classic yog Arduino nrog txhua yam kev ntsuas, cov khoom siv digital thiab analog thiab cov txiaj ntsig, hloov pauv, thiab xim LEDs twb tau tsim rau hauv pawg thawj coj saib. RTPLAYGROUND software ua rau nws yooj yim rau tus qauv ntawm ntau hom kev ua haujlwm uas siv lub rooj tsavxwm no yam tsis tas yuav sau tus lej. Koj tsuas yog xaiv txoj haujlwm uas koj xav tau thiab koj npaj mus.

Koj tuaj yeem yuav Circuit Circuit Playground Classic uas twb tau ntim ua ntej nrog RTPLAYGROUND software ntawm Ncav thiab Qhia lub vev xaib. Yog tias koj twb muaj Circuit Playground Classic thiab koj paub yuav thauj Arduino sketches siv Arduino IDE, koj tuaj yeem rub tawm RTPLAYGROUND Arduino kos duab ntawm GitHub.

Yog tias koj tab tom siv lwm tus tswj hwm (arduino, raspberry pi, thiab lwm yam), cov lus qhia no tseem yuav ua haujlwm tshwj tsis yog tias koj yuav txuas koj tus kheej lub maub los rau LCA710 nti thiab koj yuav tsum sau me ntsis cai los tswj nws.

Kauj Ruam 2: Txhim Kho Lub Circuit Court ntawm Tronex

Txhim Kho Cov Hluav Taws Xob ntawm Tronex
Txhim Kho Cov Hluav Taws Xob ntawm Tronex

Rau qhov ua piv txwv no, peb tsuas yog txuas lub xov tooj tsis zoo kawg los ntawm kev nias lub pob kom hloov mus rau ib sab ntawm lub cav. Lwm qhov kawg ntawm lub cav txuas nrog qhov kawg ntawm lub roj teeb. Kev thawb lub laub khawm yuav tsum ua rau lub cav tig raws li qhov xav tau. Tau kawg, koj tuaj yeem xaim xov hluav taws xob. Peb yuav tsuas yog hloov qhov hloov pauv nrog lub khoos phis tawj tswj hwm lub computer.

Kauj Ruam 3: Txuas lub LCA710 Hloov mus rau Tronex thiab Circuit Chaw Ua Si

Txuas tus LCA710 Hloov mus rau Tronex thiab Circuit Chaw Ua Si
Txuas tus LCA710 Hloov mus rau Tronex thiab Circuit Chaw Ua Si
Txuas lub LCA710 Hloov mus rau Tronex thiab Circuit Chaw Ua Si
Txuas lub LCA710 Hloov mus rau Tronex thiab Circuit Chaw Ua Si
Txuas tus LCA710 Hloov mus rau Tronex thiab Circuit Chaw Ua Si
Txuas tus LCA710 Hloov mus rau Tronex thiab Circuit Chaw Ua Si

Tsuas yog xaim tus pin 4 thiab tus lej 6 ntawm LCA710 mus rau Tronex lub khawm hloov pauv raws li qhia. Cov nab kuab clip #6 ntawm CIrcuit Chaw Ua Si Classic los ntawm 1K ohm resistor rau tus pin 1 ntawm LCA710. Txuas tus pin 2 ntawm LCA710 rau ib qho ntawm cov ntaub qhwv cim GND ntawm Circuit Chaw Ua Si Classic.

Yog tias koj siv lwm tus tswj hwm (arduino, raspberry pi, thiab lwm yam) hloov chaw Chaw Ua Si Hauv Chaw, txuas tus lej digital tso tawm los ntawm koj tus tswj los ntawm 1K ohm resistor rau tus pin 1 ntawm LCA710. Txuas tus pin 2 ntawm LCA710 rau tus pin hauv av ntawm koj tus tswj.

Kauj Ruam 4: Kho RTPLAYGROUND Software thiab Xeem

Kho lub RTPLAYGROUND Software thiab Xeem
Kho lub RTPLAYGROUND Software thiab Xeem
Kho lub RTPLAYGROUND Software thiab Xeem
Kho lub RTPLAYGROUND Software thiab Xeem

Fais fab ntawm Circuit Chaw Ua Si thiab xaiv qhov kev ua haujlwm 3 (Hu Tag) ntawm Circuit Playground Classic raws li tau piav qhia hauv RTPLAYGROUND cov ntaub ntawv. Kev siv lub luag haujlwm no, kov lub ncoo #3 thiab hauv av tib lub sijhawm (lossis cov ntaub qhwv hauv av #3 los ntawm txhua txoj hauv kev) yuav ua rau cov digital tso tawm ntawm ncoo #6 kom hloov pauv ntawm digital siab thiab digital qis uas nyob rau hauv yuav ua haujlwm Tronex Circuit Court. Xwb, kev ua haujlwm 4 yuav tso cai rau koj qhib thiab ua kom qhov hloov pauv los ntawm kev taw lub teeb nyem lossis laser ntawm Circuit Chaw Ua Si lub teeb pom kev zoo.

Yog tias koj siv lwm tus tswj hwm (arduino, raspberry pi, thiab lwm yam) hloov chaw Chaw Ua Si Hauv Circuit, koj tsuas yog yuav tsum tau sau tus lej me me txhawm rau tsav tus lej pin tso rau ntawm koj tus tswj kom HIGH tig lub cav rau thiab LOW kom tig nws tawm. Lub voj voog no yuav tsum ua tiav nrog kev tawm tswv yim ntawm 3.3V thiab 5V.

Thiab, qhov no yog txhua qhov muaj rau qhov kev ua qauv qhia ntawm yuav ua li cas koj tuaj yeem yooj yim khoos phis tawj tswj Tronex cov khoom siv hluav taws xob yooj yim.

Pom zoo: