Cov txheej txheem:

Xaiv Sensor Hloov Chaw hauv Tinkercad Circuit: 3 Cov Kauj Ruam (nrog Duab)
Xaiv Sensor Hloov Chaw hauv Tinkercad Circuit: 3 Cov Kauj Ruam (nrog Duab)

Video: Xaiv Sensor Hloov Chaw hauv Tinkercad Circuit: 3 Cov Kauj Ruam (nrog Duab)

Video: Xaiv Sensor Hloov Chaw hauv Tinkercad Circuit: 3 Cov Kauj Ruam (nrog Duab)
Video: Aroma Diffuser Chav av noo, Suab Sensor Teeb, Hauv Tsev Khoom Siv Hluav Taws Xob Chaw Tsim Tshuaj 2024, Hlis ntuj nqeg
Anonim
Xaiv Sensor Hloov Chaw hauv Tinkercad Circuits
Xaiv Sensor Hloov Chaw hauv Tinkercad Circuits

Tinkercad Cov Haujlwm »

Los ntawm kev tsim, Tinkercad Circuits muaj lub tsev qiv ntawv txwv ntawm feem ntau siv cov khoom siv hluav taws xob. Qhov kev saib xyuas no ua rau nws yooj yim rau cov pib siv txoj hauv kev nyuaj ntawm lub ntiaj teb cov khoom siv hluav taws xob yam tsis muaj kev nyuaj siab. Qhov tsis zoo yog tias yog koj tab tom nrhiav tus lej tshwj xeeb tshwj xeeb lossis tus qauv ntawm lub ntsuas pa uas tsis suav nrog hauv cov tub rau khoom, koj tsis tuaj yeem tsim qhov piv txwv zoo ib yam ntawm koj lub Circuit Court hauv lub simulator.

Hmoov zoo rau peb txhua tus, feem ntau, muaj txoj hauv kev los sawv cev rau koj yam tsis suav nrog los ntawm kev hloov pauv ib yam. Ntau tus sensors zoo ib yam thiab poob rau hauv ob peb pawg loj. Phau ntawv qhia no yuav pab koj xaiv lwm txoj hauv kev rau koj Tinkercad Circuit.

Khoom siv

Txhua yam koj yuav xav tau yog lub khoos phis tawj uas muaj internet txuas thiab tus lej pub dawb ntawm Tinkercad.com!

Kauj ruam 1: Analog Sensors

Analog sensors tso tawm qhov sib txawv qhov hluav taws xob thiab tsis kam raws li lawv tau qhib. Hom kev sib piv feem ntau yog lub zog ntsuas hluav taws xob, thiab ntau yam tshwj xeeb suav nrog hloov lub ntsuas hluav taws xob, lub tshuab ntsuas hluav taws xob, lub microphones, qee qhov ntsuas kub, quab yuam tiv thaiv tus neeg tiv thaiv (ntsuas lub siab), cov ntsiab lus piezo, qee qhov IR nrug nrug, thiab ntau dua. Hauv Arduino, cov tswv yim analog tau nyeem siv analogRead (); lossis "nyeem analog pin" thaiv hauv Tinkercad.

Yog tias lub ntsuas hluav taws xob sib piv koj xav siv muaj peb tus pin, peb pom zoo siv lub hwj chim ntsuas hluav taws xob lossis TMP36 qhov ntsuas kub ua qhov hloov pauv hauv Tinkercad circuits, txij li ob qho tib si kuj muaj peb tus pin (lub zog, hauv av, thiab teeb liab). Nco tseg tias cov no txawv me ntsis ntawm ib leeg: lub hwj chim ntsuas hluav taws xob yog lub zog tiv thaiv lub siab, thiab TMP36 xav kom tswj hwm lub zog hluav taws xob (2.7-5.5V).

Yog tias koj lub ntsuas hluav taws xob sib piv tsuas muaj ob tus pin, tsuas yog hloov pauv tau hauv Tinkercad Circuits yog ob tus pin photoresistor (lub piezo element hauv Tinkercad Circuits tuaj yeem siv los ua qhov tso tawm).

Pib qhov kev sim hauv qab no thiab nyem rau ntawm txhua lub ntsuas kom ntsuas nws qhov kev ua:

Koj tseem tuaj yeem luam qhov kev tsim Tinkercad no rau koj tus kheej lub dashboard.

Kauj Ruam 2: Digital Sensors

Digital Sensors
Digital Sensors

Cov ntsuas hluav taws xob poob rau hauv ob pawg tseem ceeb: siab/qis qhov ntsuas hluav taws xob, thiab cov teeb meem digital nyuaj dua.

Qee qhov kev ntsuas hauv pawg no suav nrog lub pob nyem, hloov pauv, lub pob qaij lub ntsej muag, lub ntsej muag sib nqus sib nqus, PIR lub suab ntsuas lub ntsej muag, thiab kev hloov pauv kev co. Hauv Tinkercad Circuits, sim tawm ib qho ntawm ntau qhov kev hloov pauv thiab nias lub pob xaiv, tab sis tseem txheeb xyuas lub qaij lub ntsej muag thiab PIR lub suab ntsuas qhov ntsuas, uas nws qhov kev sim yuav zoo ib yam li qhov ntsuas qhov twg koj tab tom sim kwv yees. Arduino nyeem cov cim siab/qis voltage siv digitalRead (); Tinkercad thaiv rau cov tswv yim digital yog "nyeem tus pin". Pib qhov kev sim hauv qab no thiab nyem rau ntawm txhua lub ntsuas kom ntsuas nws qhov kev ua:

Koj tseem tuaj yeem luam qhov kev tsim Tinkercad no rau koj lub dashboard.

Txog cov teeb meem nyuaj dua uas siv cov ntaub ntawv txheej txheem xws li i2c, kev sib pauv xaiv tau txwv ntau dua. Thaum koj tuaj yeem tuaj yeem siv lub tsev qiv ntawv ntxiv los ntawm muab nws tso rau hauv koj daim duab Arduino, tsis muaj ib feem uas tuaj yeem coj zoo li koj lub cuab yeej i2c.

Kauj Ruam 3: Cov Kev Pab Ntxiv

Cov Kev Pab Ntxiv
Cov Kev Pab Ntxiv

Peb pom zoo siv cov cuab yeej piav qhia los sau cov ntawv ntawm koj lub voj voog thaum koj hloov pauv. Qhov no tuaj yeem pab sib txuas lus lub hom phiaj, txawm hais tias koj tsis tuaj yeem qhia qhov tseeb uas yog.

Tsis txhob hnov qab txog cov pib muaj nyob hauv Tinkercad Cov Hluav Taws Xob (hauv cov tub rau khoom ntim khoom), uas tuaj yeem pab kom koj nce thiab khiav nrog ntau lub hauv paus ntsuas sai sai.

Txhawm rau kawm paub ntau ntxiv txog yuav ua li cas suav nrog cov cim hauv koj li Arduino cov phiaj xwm, sim tawm peb tus pib Arduino cov lus qhia siv Tinkercad Circuits.

Thov xa koj cov ntawv thov mus rau pab pawg! Txawm hais tias peb khaws qhov kev xaiv ntawm cov khoom me me ntawm lub hom phiaj, peb tseem ib txwm saib qhov peb tuaj yeem ntxiv los ua Tinkercad Circuits txawm tias zoo dua. Koj lub tswv yim yog khoom plig. Ua tsaug!

Pom zoo: