Cov txheej txheem:

Spice Dispenser Prototype: 4 Kauj Ruam
Spice Dispenser Prototype: 4 Kauj Ruam

Video: Spice Dispenser Prototype: 4 Kauj Ruam

Video: Spice Dispenser Prototype: 4 Kauj Ruam
Video: EET 495B Automatic Spice Dispensor Final Design 2024, Hlis ntuj nqeg
Anonim
Image
Image

Los ntawm qhov muaj zog Italian keeb kwm yav dhau los, Kuv tau qhia los ntawm cov menyuam yaus tias cov zaub mov zoo tuaj yeem kho dab tsi. Kev ua kom qab thiab nyiam ua los ntawm cov khoom xyaw zoo tshaj plaws thiab ntau yam txuj lom. Rau cov neeg xiam oob qhab, txwv kev txawj ntse, lossis mob caj dab, qhib thiab nchuav cov txuj lom tuaj yeem yog qhov nyuaj. Qhov no tau tshoov kuv siab kom tsim lub tshuab ua kom me me yooj yim uas tuaj yeem ua haujlwm tau yooj yim thiab teeb tsa nyob ze thaj chaw ua noj. Cov ntim cov txuj lom tsuas yog yuav tsum tau qhib ib zaug txhawm rau hliv rau hauv lub raj mis - uas kuv ntseeg tias yuav txo qis kev ntxhov siab thiab mob nrog rau cov haujlwm no. Thiab zoo tshaj plaws, ua zaub mov zoo kawg ua yooj yim li nias lub pob!

Thov nco ntsoov tias qhov no yog qauv tsim. Kuv npaj yuav ua kom qhov loj me ntawm lub dispenser, ntxiv rau cov khoom siv tes ua vaj tsev nrog cov nyees khawm loj. Ua tsaug rau koj kev txhawb nqa!

Khoom siv

Txhua yam khoom siv hluav taws xob xav tau rau txoj haujlwm no suav nrog hauv cov khoom siv no:

x1 Arduino pawg thawj coj saib

x1 nruab nrab lossis loj daim txiag ntoo

x1 28BYJ-48 stepper motor nrog ULN2003A tsav tsheb tsav

x3 ib txwm qhib lub laub khawm

x3 10k Ohm resistors

x1 9V roj teeb + tus tuav nrog poj niam coj

x1 chim fais fab qaum (qhov no tuaj yeem hloov nrog lub roj teeb 9V thib ob nrog lub thoob yas)

Cov xov hlau sib txawv

Rau lub dispenser:

Ib lub tshuab luam ntawv 3D, lossis kev pabcuam luam ntawv

x2 #4 1/2 txiv ntseej thiab ntsia liaj qhov rooj

x1 ntshiab cob kom cov zaub mov xa zaub mov nyab xeeb

Kauj Ruam 1: Luam thiab Sib Sau Cov Dispenser

Luam thiab Sib Sau Cov Dispenser
Luam thiab Sib Sau Cov Dispenser
Luam thiab Sib Sau Cov Dispenser
Luam thiab Sib Sau Cov Dispenser

Txuas nrog yog plaub. STL cov ntaub ntawv xav tau los luam tawm cov khoom faib khoom. Txhua feem tau luam tawm nrog 10% ntxiv qhov siv Cura slicing software. Lub hauv paus thiab auger ntsia hlau yuav tsum tau luam tawm nrog kev txhawb nqa. Thaum cov kev txhawb nqa raug tshem tawm, Kuv pom zoo kom txhuam cov ntsia hlau auger thiab sab hauv ntawm lub hauv paus. Kuv kuj pom zoo kom ruaj ntseg lub raj mis nrog kua nplaum kub, txawm tias nws yuav nyob hauv qhov chaw yam tsis muaj nws.

Nco ntsoov tias lub hau ntswj ntsia hlau tau taw qhia kom raug, nrog lub qhov oval mus rau tom qab ntawm lub hauv paus, thiab lub qhov puag ncig ntawm lub hauv ntej raws li pom hauv daim duab txuas.

Kauj Ruam 2: Sib dhos Circuit

Sib dhos Circuit Court
Sib dhos Circuit Court
Sib dhos Circuit Court
Sib dhos Circuit Court

Siv qhov nruab nrab lossis lub khob cij loj, ua cov kev sib txuas hauv qab no:

Rau txhua lub pob:

1. Muab lub pob hla hla kab nruab nrab ntawm koj lub khob cij. Qhov no yuav ua kom ntseeg tau tias nws tau tsom mus kom raug thiab yuav ua haujlwm raws li qhov xav tau

2. Txuas sab laug ntawm lub pob kom muaj zog.

3. Ntawm sab xis ntawm lub pob, thiab hla cov channel, siv 10K ohm resistor txuas rau hauv av.

4. Nruab nrab ntawm lub khawm thiab hauv av resistor, tso lub xaim thiab txuas nws rau tus pin 2 ntawm Arduino.

5. Rov ua cov kauj ruam no rau txhua lub khawm, siv tus lej digital sib txawv.

Yog tias koj siv ULN2003A transistor array chip:

1. Txuas tus pin 8, 9, 10 thiab 11 ntawm Arduino rau IN1, IN2, IN3 thiab IN4 ntawm ULN2003A board.

2. Txuas 28byj lub cev muaj zog coj mus rau lub rooj tsavxwm.

Kauj ruam 3: Program Arduino

Txuas koj Arduino rau lub khoos phis tawj thiab xa cov lej hauv qab no:

#includeint pinchButton = 2;

int tspButton = 3; int tbspButton = 4; ua tbspRequest; thov tspRequest; koj pinchRequest; const int stepsPerRevolution = 32; // lub cev muaj zog cov kauj ruam Stepper helix (cov kauj ruamPerRevolution, 8, 10, 9, 11); teeb tsa tsis muaj dab tsi () {pinMode (2, INPUT); pinMode (3, INPUT); pinMode (4, INPUT); pinMode (8, NTAWV); pinMode (9, NTAWV); pinMode (10, NTAWV); pinMode (11, NTAWV); helix.setSpeed (700); Serial.begin (9600); } tsis muaj dab tsi voj () {buttonCheck (); Serial.println (pinchRequest); yog (tbspRequest == HIGH) {rau (int i = 0; i <10; i ++) {dispense (); }} lwm yog (tspRequest == HIGH) {rau (int i = 0; i <6; i ++) {dispense (); }} thaum (pinchRequest == HIGH) {helix.step (-50); pinchRequest = digitalRead (pinchButton); }} // Kev ua haujlwm tsis muaj nuj nqis dispense () {helix.step (-2048); } void buttonCheck () {tbspRequest = digitalRead (tbspButton); tspRequest = digitalRead (tspButton); pinchRequest = digitalRead (pinchButton); }

Kauj Ruam 4: Ua Ib Yam Zoo

Txhua yam uas tshuav yog ua kom muaj zog txhua yam thiab faib qee cov txuj lom!

Pom zoo: