Cov txheej txheem:

Dispenser Qab Zib: 7 Kauj Ruam (nrog Duab)
Dispenser Qab Zib: 7 Kauj Ruam (nrog Duab)

Video: Dispenser Qab Zib: 7 Kauj Ruam (nrog Duab)

Video: Dispenser Qab Zib: 7 Kauj Ruam (nrog Duab)
Video: Nco Ntsoov Kuv Mog - Qab Zib [ Nkauj Tawm Tshiab 7/6/2023 ] Official MV 2024, Kaum ib hlis
Anonim
Qab Zib Dispenser
Qab Zib Dispenser

LUS TEB: Feem ntau peb tab tom siv cov pob qab zib, kom cov piam thaj piam piam thiab tsis muaj cov pob qab zib pov tseg. peb siv ob txhais tes los rhuav lub pob ntawv no nyuaj heev rau tib neeg tsis khoom los ua, txhawm rau txo qhov teeb meem no peb tab tom qhia "LILI" Qab Zib Dispenser tshuab nws yuav muab cov piam thaj kom raug ntau dua thiab siv tau yooj yim.

AIM: Nws tuaj yeem hliv cov piam thaj kom raug yog li nws tuaj yeem txo qis cov piam thaj. Nws yog Robust Tsim rau lub tshuab xa cov suab thaj.

QHOV TSEEB: LILI tshuab tau ua los ntawm cov ntoo thaiv, hauv lub tshuab no peb siv cov ntsia hlau thauj khoom los pub cov suab thaj, cov ntsia hlau thauj khoom no peb ua tiav hauv 3d luam ntawv. Lub tshuab no yooj yim heev los daws, peb teeb tsa lub ntsuas ultrasonic. Los ntawm kev qhia koj lub teeb liab tes mus rau lub sensor nyob ze (nrog rau 20 cm). Los ntawm kev tham lub teeb liab no, nws yuav xa mus rau Arduino tom qab ntawd Arduino

Kauj Ruam 1: Cov ntaub ntawv xav tau:

Cov ntaub ntawv xav tau
Cov ntaub ntawv xav tau
Cov ntaub ntawv xav tau
Cov ntaub ntawv xav tau

KAUJ RUAM 1:

Cov ntaub ntawv xav tau:

1. Arduino Uno

2. 360-degree servo motor

3. HC-SRO4 Ultrasonic Sensor

4. Ntoo Thaiv

5. Jumper xov hlau

6. Lub rooj noj mov

7. Sugar Box

8.3D luam tawm cov ntsia hlau thauj khoom

9. PVC yeeb nkab thiab T puab PVC

10. Drilling tshuab

11. Screws

12. Funnel

13. Powder adapter them nyiaj

Kauj Ruam 2: Nws Ua Haujlwm Li Cas - Ultrasonic Sensor

Nws Ua Haujlwm Li Cas - Ultrasonic Sensor
Nws Ua Haujlwm Li Cas - Ultrasonic Sensor

Yuav ua li cas

Nws Ua Haujlwm - Ultrasonic Sensor

Nws tso tawm lub tshuab ultrasound ntawm 40 000 Hz uas taug kev los ntawm huab cua thiab yog tias muaj ib qho khoom lossis teeb meem ntawm nws txoj hauv kev Nws yuav thim rov qab mus rau qhov qauv. Xav txog lub sijhawm taug kev thiab nrawm ntawm lub suab koj tuaj yeem suav qhov deb.

HC-SR04 Ultrasonic Module muaj 4 tus pin, Hauv av, VCC, Trig thiab Echo. Hauv av thiab VCC tus pin ntawm tus qauv yuav tsum tau txuas nrog hauv av thiab 5 volts pins ntawm Arduino Board feem thiab trig thiab echo pins rau ib qho Digital I/O tus pin ntawm Arduino BoardIn thiaj li tsim cov ultrasound koj yuav tsum teeb tsa Trig ntawm Lub Xeev Siab rau 10 µs. Qhov ntawd yuav xa tawm 8 lub voj voog sonic tawg uas yuav taug kev ntawm lub suab nrawm thiab nws yuav tau txais hauv Echo tus pin. Echo tus pin yuav tso tawm lub sijhawm hauv microseconds lub suab yoj yoj mus.

Piv txwv li, yog tias qhov khoom nyob deb li 10 cm ntawm lub sensor, thiab qhov nrawm ntawm lub suab yog 340 m/s lossis 0.034 cm/thes lub suab yoj yuav xav tau mus ncig txog 294 u vib nas this. Tab sis dab tsi koj yuav tau txais los ntawm Echo tus pin yuav yog ob npaug tus lej vim tias lub suab yoj yuav tsum tau mus tom ntej thiab thim rov qab. Yog li, txhawm rau kom tau txais qhov nrug deb hauv cm peb yuav tsum tau muab tus nqi sijhawm mus ncig uas tau txais los ntawm tus ncho tus pin los ntawm 0.034 thiab faib nws los ntawm 2.

Kauj Ruam 3: Teeb Pom Kev deb

Teeb liab nrug deb
Teeb liab nrug deb

Raws li Txoj Cai Saum Ntuj Ceeb Tsheej peb yuav tsum

paub ntau npaum li cas koj tab tom muab lub teeb liab. Raws li lub teeb liab koj yuav tsim cov qauv ua qauv. Hauv kuv qhov xwm txheej kuv yuav muab lub teeb liab nrog rau 15-cm nrug, tam sim no tau tsim cov qauv ua qauv siv cov ntoo thaiv.

ceeb toom: ultrasonic sensor yuav tsis ua haujlwm nrog hauv 2 cm nrug khoom (teeb liab). nws yuav tsum siab tshaj 2 cm.

Kauj Ruam 4: 3d Luam Tshooj

3d Luam Tshooj
3d Luam Tshooj

Kuv tsim cov ntsia hlau ntsia nrog 15 cm txoj kab uas hla thiab 10cm pitch.i tsim 3d qauv hauv creo software thiab tom qab ntawd kuv tau xa kuv xa stl ntawv rau 3d tshuab luam ntawv tus neeg. nws muab 3d luam ib feem.

Kauj ruam 5: Kev teeb tsa

Kev teeb tsa
Kev teeb tsa

npaj lub thawv ntoo thaiv, laum lub qhov uas sensor tuaj yeem nqa lub teeb liab

Kauj Ruam 6: Kev Sib Txuas

Kev sib txuas
Kev sib txuas

qhov tseem ceeb tshaj plaws yog kev sib txuas.as raws li daim duab saum toj no muab cov kev sib txuas

Kauj ruam 7: Code

Image
Image

thov download cov ntaub ntawv.. ("lili lub qab zib dispenser").

Pom zoo: