Cov txheej txheem:

"CleanBasket" Hauv Nrog Pob Ntaus Pob: 4 Kauj Ruam
"CleanBasket" Hauv Nrog Pob Ntaus Pob: 4 Kauj Ruam

Video: "CleanBasket" Hauv Nrog Pob Ntaus Pob: 4 Kauj Ruam

Video:
Video: Голубая стрела (1958) фильм 2024, Kaum ib hlis
Anonim
Duab
Duab

Koj puas xav tau lub rooj huv? Tom qab ntawd CleanBasket yog qhov tseeb rau koj. Ib txwm pov txhua yam hauv cov thoob khib nyiab thiab tau txais cov ntsiab lus nrog nws. Sim ua txhaum koj cov qhab nia siab txhua hnub!

Khoom siv

Electronics:

- Raspberry Pi 4 Qauv B.

- T-Cobbler Ntxiv Cov Qauv

- Arduino Ib

- 16x2 LCD Module

- 4 tus lej 7 ntu tso saib

- Ultrasoon Sensor - HC -SR04

- LDR (Lub Teeb Ntsuas Tus Kheej)

- FSR (Force-Sensing Resistor)

- Buzzer

PIB 3008

Cov ntaub ntawv:

Pob khawm (x2)

- Bin Ib

- Pob pov hoop (16 cm)

- Ntsia hlau

- Xim tuaj yeem tsuag xim (x4)

MDF 1.8 hli:

35 cm / 8 cm (x2)

- 21 cm / 8 cm (x2)

30 cm / 20 cm (x2)

- 35 cm / 35 cm (x1)

MDF 0.3 hli:

- 35 cm / 24.6 cm

- 35 cm / 23 cm kuv

Cov Cuab Yeej:

- Ntsia hlau laum

- Ntsia Hlau

- Cutter riam

- Daim kab xev

Kauj ruam 1: Fritzing Schematic

Fritzing Schematic
Fritzing Schematic

Txoj hauv kev yooj yim tshaj plaws los ua kev sib txuas lus yog nrog usb cable. Tom qab ntawd Arduino tseem siv los ntawm Raspberry Pi. Yog li koj tsis tas yuav muaj kab txuas ntxiv.

Kauj ruam 2: Database Normalization

Database Normalization
Database Normalization

Kauj ruam 3: Rooj plaub

Case
Case
Case
Case
Case
Case
Case
Case

Kauj ruam 1:

Ua ntej koj ua tus ncej rau cov khoom siv hluav taws xob. Koj ntsia ntsia 35 cm / 8 cm thiab 21 cm / 8 cm los ntawm 1.8 cm ua ke yog li koj muaj lub thav duab sab nrauv (saib daim duab thib ob). Tab sis tsis txhob muab lub vaj huam sib luag sab saum toj, yog li koj tuaj yeem ua haujlwm yooj yim dua hauv e thib ob.

Kauj ruam 2:

Tam sim no koj tuaj yeem txuas 2 lub vaj huam sib luag txhawb rau lub thav duab (saib daim duab thib peb). Thaum cov no tau txuas nrog koj tuaj yeem txuas lub vaj huam sib luag sab saum toj los ntawm tus ncej.

Kauj ruam 3:

Tam sim no koj tuaj yeem ntsia ib sab hauv qab rau rooj plaub. Nco ntsoov tias koj tuaj yeem tuaj yeem sawv ntawm lub platform (saib daim duab thib plaub).

Kauj ruam 4:

Thaum kawg koj tuaj yeem xa daim mdf uas nyias nyias rau ntawm tus ncej. Txuas cov hinges ntawm lub vaj huam sib luag tom qab. Koj tseem tuaj yeem ua qhov rau LCD, LDR, 4 tus lej 7 ntu ntu, FSR thiab lub suab nrov.

Kauj ruam 4: Code

Txuas mus rau Github:

Thaub qab:

Hauv Backend nplaub tshev koj tuaj yeem pom app.py. Nov yog qhov tseem ceeb ntawm daim ntawv thov. Hauv config.py, koj pom kev sib txuas nrog lub database. Kev nyeem ntawv ntawm cov ntaub ntawv tshwm sim hauv cov chaw cia khoom.

Database-xa tawm:

Ntawm no koj pom lub database.

Sab nrauv:

Ntawm no koj tuaj yeem pom qhov index.html thiab highscore.html. Nrog cov qauv thiab cov ntawv sau, koj tau txais txhua yam koj xav tau.

Pom zoo: