Cov txheej txheem:

SmartAir: 6 Kauj Ruam
SmartAir: 6 Kauj Ruam

Video: SmartAir: 6 Kauj Ruam

Video: SmartAir: 6 Kauj Ruam
Video: Mi Smart Air Fryer 3.5L: Cook Healthy! | #SmartLivingForEveryone 2024, Kaum ib hlis
Anonim
SmartAir
SmartAir
SmartAir
SmartAir
SmartAir
SmartAir

Hauv qhov kev qhia no kuv yuav qhia koj yuav ua li cas koj tuaj yeem ua lub tshuab ua kom humidifier nrog Raspberry Pi.

Khoom siv

Txhua qhov tivthaiv tuaj yeem pom hauv qab no, rau cov ncauj lus ntxaws ntxaws rub tawm BOM.

- 1x Raspberry pi 4 qauv b

- 1x micro SD lub laub

- 1x micro SD daim npav adapter

- 1 x khob cij

- 1x Raspberry pi t-cobbler

- 2x ntu Ultrasonic humidifier element

- 1x Dej theem ntsuas

- 1x DHT11 Kub-Vaum Sensor Module

- 1x Analog Carbon Monoxide Sensor (MQ7)

- 1x 24v DC kiv cua

- 1x LCD zaub

- 1x Cov khoom siv hluav taws xob 5Vdc

- 1x Cov khoom siv fais fab 24Vdc 1, 5A

- 1x Transistor (BC337)

- 1x TSO 120

1 x MCP3008

- 2 x 220Ω resistors

Kauj ruam 1: Fritzing Schema

Fritzing Schema
Fritzing Schema
Fritzing Schema
Fritzing Schema
Fritzing Schema
Fritzing Schema
Fritzing Schema
Fritzing Schema

nws yog qhov tsim nyog tiag tiag uas koj ua daim duab fritzing. Txoj hauv kev no koj zam ntau qhov yuam kev thaum sim.

Tam sim no tseem txuas tag nrho cov khoom siv ntawm koj lub khob cij. Muab ob qho khoom siv hluav taws xob tso ua ke thiab ntsaws lub ntsaws.

Kauj ruam 2: Database

Database
Database

Ntawm no koj tuaj yeem pom kuv tus qauv database.

Nws muaj 3 lub rooj: Sensors, Actuators thiab keeb kwm. Hauv kab keeb kwm txhua cov ntaub ntawv lossis kev nyeem tau tshaj tawm.

Kauj Ruam 3: Raspberry Pi

Raspberry Pi
Raspberry Pi

Ua ntej koj tuaj yeem pib koj yuav tsum xub teeb tsa koj cov raspberry pi kom raug. Ua raws cov kauj ruam tom ntej hauv lub davhlau ya nyob twg.

1. Lub sudo raspi-teeb tsa.

2. Siv tus xub nqes los xaiv 5 Qhov Kev Sib Txuas

3. Xav mus rau P4 SPI.

4. Select yog thaum nws nug koj kom pab SPI

5. Txhua yam xaiv yog tias nws nug txog kev rub lub kernel module.

6. Siv tus xub xub kom xaiv lub pob.

7. Select yog thaum nws thov kom rov pib dua.

Kauj ruam 4: Code

Code
Code

Txog cov cai koj tuaj yeem rub kuv cov ntawv lossis yog tias koj tuaj yeem tsim kho koj tus kheej koj tuaj yeem ua nws tus kheej. koj tuaj yeem pom kuv tus lej ntawm qhov txuas hauv qab no. Github link

Tam sim no sim cov cai no nrog koj lub Circuit kom koj paub yog tias txhua yam ua haujlwm.

Kauj ruam 5:

Duab
Duab

Koj tuaj yeem luam tawm 3d lub tsev lossis ua koj tus kheej tsim. Lossis ua koj lub tsev nyob.

Lub tsev muaj peb ntu: ntu tseem ceeb, ntu hauv qab thiab lub taub dej.

Cov xim tsis muaj teeb meem ntau. Nov yog kuv qhov chaw luam tawm: PLA, Infil = 10% thiab nrog kev txhawb nqa.

Cov ntaub ntawv

Kauj Ruam 6: Kev sib dhos

Kev sib dhos
Kev sib dhos
Kev sib dhos
Kev sib dhos

Tam sim no nws yog lub sijhawm los tso tag nrho cov khoom siv hauv vaj tsev. xyuas kom koj tau sib sau ua ke txhua yam kom nws tau txais. Kuv tau glued txhua yam nrog cov kua nplaum kub tab sis qhov no tuaj yeem ua tau zoo ib yam nrog lwm hom kua nplaum. Kuj xyuas kom ntseeg tau tias lub kiv cua nyob rau hauv qhov kev coj ntawm kev sib hloov kom nws tshuab rau hauv tsev.

Thaum txhua yam nyob hauv vaj tsev, txoj haujlwm tau npaj rau siv.

Pom zoo: