Cov txheej txheem:

Fog Sensor - Particle Photon - Txuag Cov Ntaub Ntawv Online: 5 Cov Kauj Ruam (nrog Duab)
Fog Sensor - Particle Photon - Txuag Cov Ntaub Ntawv Online: 5 Cov Kauj Ruam (nrog Duab)

Video: Fog Sensor - Particle Photon - Txuag Cov Ntaub Ntawv Online: 5 Cov Kauj Ruam (nrog Duab)

Video: Fog Sensor - Particle Photon - Txuag Cov Ntaub Ntawv Online: 5 Cov Kauj Ruam (nrog Duab)
Video: Making a Particle Detector (Cloud Chamber) 2024, Kaum ib hlis
Anonim
Fog Sensor - Particle Photon - Txuag Cov Ntaub Ntawv Online
Fog Sensor - Particle Photon - Txuag Cov Ntaub Ntawv Online

Txhawm rau ntsuas cov huab cua lossis pa luam yeeb hauv huab cua peb tau ua qhov ntsuas huab cua no. Nws ntsuas tus nqi ntawm lub teeb uas LDR tau txais los ntawm lub laser, thiab muab piv rau tus nqi ntawm lub teeb ntawm ib puag ncig. Nws tshaj tawm cov ntaub ntawv ntawm daim ntawv google lub sijhawm tiag tiag ntawm IFTTT.

Kauj ruam 1: Cov khoom xyaw

Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw

- Particle Photon

- 2 x Breadboard

- jumper xov hlau

- 2x 220k Ohm resistors

- 3x 10k Ohm resistors

- 3 LEDs (ntsuab, liab, daj)

- Vaum Sensor (DHT11)

- 2 x LDR

-Laser

- Qee cov ntoo lossis cov khoom siv hauv tsev zoo sib xws los sib dhos cov khoom.

- Ib yam dab tsi los npog cov ntsuas (piv txwv li pvc ciav hlau)

Kauj Ruam 2: Teeb LED

Teeb tsa cov LED
Teeb tsa cov LED

Txuas cov xov hlau tom qab daim duab. Tus Pin D7 tag nrho muaj lub zog sab hauv, yog li nws tuaj yeem txuas ncaj qha rau LED.

Kauj Ruam 3: Teeb LDR's, Laser thiab Humidity Sensor

Teeb LDR's, Laser thiab Humidity Sensor
Teeb LDR's, Laser thiab Humidity Sensor

Txuas cov xov hlau raws li qhia hauv daim duab. Peb siv lub khob cij thib ob los tuav lub LDR sensors, tab sis lawv kuj tseem tuaj yeem txuas ncaj qha.

Qhov nrug deb ntawm lub laser thiab LDR tsis tseem ceeb, txawm li cas los xij nws yuav tsum yog yam tsawg 30 cm. Lub laser yuav tsum tau taw qhia ntawm ib qho ntawm LDR's, yog li LDR thib ob tuaj yeem siv los ua tus siv. Lawv yuav tsum raug rau tib lub teeb ntawm ib puag ncig. Ua kom ntseeg tau tias txhua yam khoom siv txuas nrog nruj heev, kev hloov pauv me me hauv kev taw qhia ntawm cov ntsia hlau laser nce koj qhov kev ntsuas.

Peb siv pvc ciav hlau los tiv thaiv LDR los ntawm lub teeb ncaj qha los ntawm ib puag ncig. Koj tuaj yeem muaj tswv yim thiab siv qee cov duab los qhia lossis lwm yam khoom siv ib yam. Nco ntsoov tias huab los yog pa luam yeeb tseem tuaj yeem nkag mus rau lub teeb ci laser.

Kauj ruam 4: Txoj Cai

Txoj Cai
Txoj Cai
Txoj Cai
Txoj Cai

Coding tau ua tiav ntawm build.particle.io. Hauv console.particle.io cov txiaj ntsig tshaj tawm yuav muab tso tawm.

Cov cai peb siv tuaj yeem pom hauv cov ntawv.txt. Cov software me me tsis nkag siab thawj kab. Koj yuav tsum tau ntxiv Adafruit_DHT lub tsev qiv ntawv manually.

Cov lus piav qhia ntxiv:

Txhawm rau ntsuas qhov LDR lub laser raug tua thaum pib. Ob qho LDR tau muab piv rau ntau qhov kev ntsuas thiab ntsuas qhov sib txawv tau teeb tsa ua 'DS'. Qhov no yog qhov sib txawv ntawm kev nkag siab ntawm LDR's.

Txhawm rau ntsuas lub teeb ib puag ncig, lub laser tau qhib thiab qhov ntsuas siab tshaj plaws ntawm S tau txiav txim siab. Qhov no tau teeb tsa raws li 100% rau kev ntsuas ntxiv. Nws tus nqi tau txais kev cawmdim li 'MaxS'.

Tom qab qhov teeb tsa no tiav thiab lub ntsuas pib pib ntsuas lub sijhawm ntsuas huab cua txhua 0.1 vib nas this rau LED's thiab xa qhov ntsuas txhua 5 vib nas this mus rau lub console.

Kauj ruam 5: IFTTT

IFTTT
IFTTT

IFTTT - Yog Qhov No Tshaj Qhov ntawd yog ib qho cuab yeej muaj txiaj ntsig zoo los khaws cov txiaj ntsig tshaj tawm. Tsim tus as khauj yog tias koj tseem tsis tau muaj ib qho ntawm IFTTT.com. Tsim ib qho tshiab applet.

Yog Qhov No

Nyem 'Qhov no', tshawb rau cov khoom me me thiab nyem rau nws. Xaiv 'qhov xwm txheej tshiab tshaj tawm'. Hauv 'lub npe txheej xwm' hom 'cov ntaub ntawv'. Nov yog lub npe ntawm cov xwm txheej uas tau tshaj tawm txhua txhua 5 vib nas this thiab yuav tsum tau khaws tseg hauv daim ntawv. Nyem 'tsim txhais'.

Tom qab ntawd

Nyem 'ntawd', tshawb rau nplooj ntawv. Xaiv lub cim google daim ntawv. Lawv nug koj kom txuas koj li IFTTT tus account rau google yog tias koj tseem tsis tau muaj. Nyem 'ntxiv kab rau daim ntawv'.

Tsis txhob hloov ib qho ntawm kev teeb tsa ua ntej, tshwj tsis yog rau 'kab ntawv kab ntawv' ib feem. Luam muab tshuaj txhuam.txt hauv daim teb no.

Txhawm rau ua kom cov ntaub ntawv muaj txiaj ntsig, excel xav tau kev rho tawm feem pua thiab sijhawm ntawm kev ntsuas mus rau kab sib txawv. Txhawm rau ua qhov no tshwm sim rau txhua kab tshiab, cov cai tau sau hauv IFTTT applet.

Mus rau docs.google.com qhib koj daim ntawv tshiab hu ua 'info'.

Nws yuav siv qee lub sijhawm los tsim daim ntawv thiab ua kom cov ntaub ntawv muaj. Ua siab ntev.

Pom zoo: