Cov txheej txheem:
- Kauj Ruam 1: Cov Cuab Yeej/Cov Khoom
- Kauj Ruam 2: Kev Nyab Xeeb
- Kauj Ruam 3: Cov Khoom Siv Hluav Taws Xob - Tshaj Tawm
- Kauj Ruam 4: Cov Khoom Siv Hluav Taws Xob - PCB
- Kauj Ruam 5: Tsim Tus Qauv
- Kauj Ruam 6: Txoj Haujlwm
- Kauj ruam 7: Ua tiav
- Kauj ruam 8: Troubleshoot
Video: Tshuab Cocktail: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Koj puas nyiam ob tog thiab thev naus laus zis? Koj xav tau qee yam ua rau koj cov phooj ywg hauv tsev kawm qib siab khib? Tom qab ntawd koj xav tau lub tshuab cocktail. Ntawm no kuv qhia koj yuav tsim ib tus kheej li cas.
Kauj Ruam 1: Cov Cuab Yeej/Cov Khoom
Cov Cuab Yeej:
- Soldering Hlau
- Cordless ntsia hlau
- Sawv
- Multimeter
Cov ntaub ntawv:
-Ib Arduino Uno
- Lub twj tso kua mis (peb siv cov twj qub khaws cia los ntawm lub tshuab kas fes qub)
- Ib qho Relais Module
- Lub zog 5V rau Arduino
- 12V Fais fab mov rau lub twj tso kua mis
- Cov raj uas haum rau lub twj tso kua mis
- Ib lub qhov cub
- Qee cov ntoo seem rau lub tsev
- Ntsia hlau
- Jumper Hlau
- Daim Breadboard (txhawm rau ntsuas qhov thaiv)
- Qee cov PCBs
Kauj Ruam 2: Kev Nyab Xeeb
Qee lub twj tso kua mis ua haujlwm nrog lub zog hluav taws xob. Yog tias koj tsis muaj kev paub dhau los nrog hluav taws xob, siv cov uas muaj 12V. Yog tias koj ua haujlwm nrog cov hluav taws xob tseem ceeb, tom qab ntawd ceev faj tiag. Ib txwm hloov lub hwj chim tawm thaum nws tsis xav tau. Kuj tseem ceev faj nrog qhov koj kov. Mains Voltage yog qhov txaus ntshai kiag li.
Kauj Ruam 3: Cov Khoom Siv Hluav Taws Xob - Tshaj Tawm
Ua ntej no peb yuav los saib ntawm tus qauv relay. Relay yog qhov hloov hluav taws xob. Nws ua haujlwm zoo ib yam li kev hloov phau ntawv, tab sis tsis yog yuav tsum tau thawb tus tes hloov, koj siv lub zog rau nws los hloov txoj haujlwm hloov. Nws yog qhov muaj txiaj ntsig zoo rau kev tig lub zog ntawm lub cuab yeej qhib thiab kaw cia vim tias nws tuaj yeem hloov cov cuab yeej siv hluav taws xob siab dua nrog lub zog qis.
Txog Kev Yooj Yim Av tam sim no luv nrog 'GND', 5V nrog 'VCC' thiab 12V nrog 'lub neej'.
Tam sim no peb yuav tsum Hwj chim rau Relay. Rau qhov ntawd koj yuav tsum txuas VCC-PY nrog 3.3 volts ntawm koj Arduino, GND rau GND thiab VCC nrog 5 volts ntawm koj Arduino. Tam sim no tsuas yog txuas tus pin Arduino nrog tus lej txuas. Saib xyuas, kev xa tawm feem ntau yog 'tsis muaj zog' uas txhais tau tias Relay hloov pauv yog tias koj txuas tus pin rau GND. Yog tias koj ua haujlwm nws tus kheej, koj yuav tsum tau program tus pin li 'ib txwm HIGH'.
Tom qab pawg thawj coj tau txuas nrog, peb txuas txhua lub twj tso kua mis mus rau qhov xa tawm. Txhawm rau ua qhov ntawd peb ntsia hlau GND xaim rau ib qho ntawm ob qho "ib txwm qhib" kev sib txuas ntawm kev xa xov. Hauv kuv qhov xwm txheej nws GND mus rau nruab nrab qhov, thiab los ntawm qhov ntawd mus rau GND ntawm koj li 12V lub zog xa khoom. Qhov 'Lub Neej' ntawm txhua lub twj tso kua mis yuav tsum raug xa mus rau lwm qhov ntawm 'ib txwm qhib' txuas. Hauv kuv rooj plaub thawj lub qhov relay.
Tswv yim: koj tuaj yeem siv lub ntsuas ntsuas hauv kev ntsuas txuas mus ntxiv txhawm rau txiav txim siab seb qhov qhib qhov sib txuas yog 'ib txwm qhib' lossis 'ib txwm kaw'. Yog tias koj kov ob lub qhov txuas sib txuas thiab nws "beeps" dua li ob qho no 'ib txwm kaw'.
Cov ntsiab lus: Nws yog qhov zoo tshaj los txuas koj lub hwj chim 12V ncaj qha rau lub tsheb ciav hlau xa hluav taws xob. Los ntawm qhov 12V mus rau lub twj tso kua mis. Lwm qhov cable ntawm lub twj tso kua mis ces mus rau ib qho ntawm qhov txuas. Lwm qhov ntawm qhov txuas mus rau GND.
Kauj Ruam 4: Cov Khoom Siv Hluav Taws Xob - PCB
Peb tseem xav tau qee yam los qhia rau Arduino thaum peb xaj dej haus. Qhov no ua tiav nrog khawm. Koj tuaj yeem tso lub pob ntawm 5V thiab tus pin Arduino, tab sis yuav muaj qhov siab uas tus pin yuav 'ntab'. Qhov no yog vim tias Arduino pins nyob rau hauv hom nkag thiab muaj qhov ua haujlwm siab. Yog li yog tias peb nias lub pob, Arduino tau txais lub cim 'HIGH', tab sis yog tias peb tso lub pob, hais lus tsis tu ncua, hluav taws xob tsis mus qhov twg. Yog li nws feem ntau nyob qis qis ntawm 5V txog ~ 0V. Qhov no feem ntau messes nrog lub teeb liab. Qhov no yog vim li cas peb xav tau lub npe hu ua Pull-Down-Resistor. Nws txuas ib feem ntawm tus Pin thiab Khawm rau GND thiab ua kom lub teeb liab cuam tshuam-tsis pub dhau. Nws tsis kam yog qhov tseem ceeb. Ib yam dab tsi ntawm 1k thiab 100k Ohm yuav ua.
Tom ntej no peb xav tau lub LED uas qhia tias khawm tau raug nias. LEDs yog tswj tam sim no thiab xav tau Resistor uas tiv thaiv lawv. Qhov Resistor no tseem ceeb dua. Nws yuav tsum yog yam tsawg kawg 220 Ohm. Txhua yam qis dua 220 Ohm tej zaum yuav rhuav tshem LED. Qhov siab dua qhov siab dua qhov tsaus nti LED yuav ci. Kuv pom zoo qee yam ntawm 220 Ohm thiab 470 Ohm.
Txij li nws tuaj yeem nyuaj piav qhia cov kab lus nrog cov lus, kuv kuj tau ua daim duab ntawm nws.
Cov lus qhia dav dav:
- Soldering yog yooj yim dua nrog ci, ntxig ntxig
- Ua ntej ua kom sov cov khoom koj xav txuas los ntawm kov nws 1-2 vib nas this nrog koj cov hlau soldering, tom qab ntawd maj mam nias tus laug rau ntawm nws, thiab tso koj cov hlau txuas.
- Tsis txhob tshuab koj lub lauj kaub kom nws txias dua. Qhov no tuaj yeem ua rau muaj kev sib txuas tsis zoo.
- Tsuas yog cov laug hauv qhov chaw muaj cua nkag tau zoo, lossis zoo dua rau peb cov fume extractor. Cov pa taws tuaj yeem ua teeb meem.
- Qhov "Pab Tes" lossis "Tes Thib Peb" tuaj yeem ua ke.
Kauj Ruam 5: Tsim Tus Qauv
Ua ntej peb pib ua haujlwm peb xav txog qhov zoo ntawm lub cuab yeej. Hauv peb qhov xwm txheej yuav tsum muaj chaw txaus rau tsib lub raj mis, 5 lub twj tso kua mis, lub raj dej thiab cov xaim hluav taws xob, cov khoom siv hluav taws xob thiab lub qhov taub. Lub raj mis yuav tsum nkag tau yooj yim thiab cov khoom siv hluav taws xob zais.
Peb muab lub rooj tsav tsheb plywood tso ncaj, thiab kos cim qhov chaw uas lub hwj yuav tuaj tom qab.
Tswv yim: Tiag tiag Siv Lub raj mis txhawm rau kos qhov chaw. Txoj hauv kev no tej zaum nws yuav tsis dhau me me. Tom ntej no khij qhov chaw uas koj tso koj lub iav cocktail.
Tom ntej no peb tig ntoo ib ncig, thiab kos rau qhov chaw uas cov twj yuav raug txuas nrog. Kuj xav txog qhov hoses coj mus thiab qhov hluav taws xob mus qhov twg. Yog tias txhua yam tau cim nws tsawg dua qhov ua yuam kev.
Tam sim no txhua yam tau cim thiab cov khoom siv hluav taws xob tau sim, nws yog lub sijhawm los ntsia txhua yam rau ntawm lub rooj tsav tsheb. Koj yuav tsum ntsuas yam tsawg kawg ntawm lub twj tso kua mis ua ntej sib dhos, tsis yog tias lawv tso rau hauv qhov tsis raug. Tsis txhob hnov qab laum qhov rau txhua qhov hoses. Thaum koj ua tiav nws yuav tsum zoo ib yam li peb kev tsim ntawm daim duab. Rau lub raj mis peb tau siv lub raj mis qub. (Tsis txhob qhia leej twg)
Kauj Ruam 6: Txoj Haujlwm
Txhim kho cov programm ntawm Arduino yog yooj yim zoo nkauj. Rub tawm Arduino IDE, thiab nruab nws. Tom qab ntawd koj rub tawm qhov program koj xav nruab. Qhib nws, mus rau "cuab yeej" thiab xaiv sab xis USB chaw nres nkoj. Tom qab ntawd koj ntsaws rau hauv koj Arduin Uno thiab nyem rau Upload.
Koj yuav tsum tau hloov tus pin teeb tsa, yog li nws haum rau koj teeb tsa. Koj ua li ntawd hauv cov ntawv 'config.h'. Qhov kawg uas yuav tsum ua tam sim no yog hloov pauv qhov dej haus (tseem nyob hauv qhov teeb tsa). Thawj ntawm rau tus lej yog qhov ntim ntawm cov dej haus hauv milliliters. Cov lej hauv qab no yog qhov muaj pes tsawg leeg ntawm cov dej haus ua ib feem ntawm ib qho. Qhov no yog vim li cas cov lej ua ke yuav tsum ua rau ib qho, txwv tsis pub txoj haujlwm yuav tsis ua haujlwm. Thiab koj ua tiav.
cov lus qhia tshaj tawm: Theresalways qhov kev xaiv tub nkeeg, uas qhov no txhais tau tias tsis hloov pauv qhov txiaj ntsig ntawm kev haus txhua. Tus pin teeb ntawm lwm tus yuav tsum zoo li yuav hloov pauv.
Kauj ruam 7: Ua tiav
Kawg tab sis tsis tsawg kawg yog qhov kov kawg. Lub tshuab tseem zoo li liab qab. Yog vim li cas peb thiaj li npog txhua yam nrog ntoo ntau dua tam sim no. Hauv theem no koj tuaj yeem muab pub dawb rau koj tus kws kos duab sab hauv. Tsis txhob hnov qab zom cov ntse ntse. Tsis tas li ntawd yeej tsis muaj qhov kawg ntawm kev muaj tswv yim. Koj tuaj yeem nthuav dav lub tshuab ntau npaum li koj nyiam. Qee qhov tswv yim ntxiv piv txwv yog tus neeg siv cuam tshuam nrog lub vijtsam LED. Los yog qee qhov zoo nkauj ntsais muag teeb. Tshwj xeeb yog xiav zoo nyob hauv thaj chaw faib khoom.
Tam sim no txaus siab rau koj cov dej haus.
Kauj ruam 8: Troubleshoot
Tshuab tsis ua haujlwm
- Ua kom ntseeg tau tias txoj hlua txuas raug. Qhib qhov program thiab saib cov pins siv.
- Koj qhov txuas txuas yuav tawg. Siv hom kev ntsuas txuas mus ntxiv ntawm koj lub multimeter txhawm rau txheeb xyuas yog tias cov ntsiab lus solder zoo.
- Txheeb xyuas koj cov kev sib txuas sib txuas. Koj puas tau siv qhov "ib txwm qhib" txuas?
- Puas yog koj lub hwj huam hluav taws xob ntsaws?
Cov twj ua suab nrov txawv txawv
- Txheeb xyuas yog tias koj lub twj tso kua mis tsis raug.
- DC lub twj tso kua mis muaj qee qhov sib txawv, koj puas tau xaim nws kom raug?
Kuv nias lub pob, tab sis qhov tsis raug LED tig rau
- Koj tau pauv pauv tus lej Arduino LED. Tsuas yog hloov cov cables thiab nws yuav tsum ua haujlwm raug.
Pom zoo:
Cocktail Tshuab Nrog GUI Raspberry: 7 Kauj Ruam (nrog Duab)
Tshuab Cocktail Nrog GUI Raspberry: Koj puas nyiam thev naus laus zis thiab tog? Qhov haujlwm no yog ua rau koj! Hauv qhov kev qhia no peb yuav tsim lub tshuab ua cocktail tsis siv neeg nrog cov duab nraaj.Qhov txhua yam tswj los ntawm raspberry! EDIT: Kuv tau ua qhov tshiab yooj yim dua thiab pheej yig dua qhov txuas ntawm no
Ua Koj Tus Kheej Crude Cocktail Tshuab: 5 Kauj Ruam (nrog Duab)
Ua Koj Tus Kheej Crude Cocktail Machine: Hauv qhov haujlwm no kuv yuav qhia koj li cas kuv ua ke Arduino Nano, lub LCD, lub cav nkag teb chaws, peb lub twj tso kua mis peristaltic nrog cov tsav tsheb, lub nra thauj khoom thiab ob peb daim ntoo los tsim cov khoom nyoos, tab sis ua haujlwm Cocktail Tshuab. Nrog txoj kev kuv yuav ua
Tsim Ib Lub Tshuab Saib Xyuas Lub Zog Siv Lub Tshuab Hluav Taws Xob: 5 Kauj Ruam (nrog Duab)
Tsim Cov Khoom Siv Hluav Taws Xob Siv Lub Tshuab Hluav Taws Xob: Hauv feem ntau cov lag luam, peb xav txog Lub zog los ua lag luam. Daim nqi pom nyob hauv peb cov ntawv lossis email thiab peb them nws ua ntej hnub tso tseg. Nrog qhov tshwm sim ntawm IoT thiab cov cuab yeej ntse, Lub zog tab tom pib ua qhov chaw tshiab hauv kev lag luam 'bala
YUAV UA LI CAS YUAV TSHUAB TSHUAB TSHUAB NROG NROG ARDUINO: 8 Kauj Ruam
YUAV UA LI CAS YUAV TSUM TSHUAB TSHUAB TSHUAB NROG ARDUINO: QHOV TSEEB Lub tshuab sau ntawv tau tsim los ntawm cov ntaub ntawv uas tuaj yeem tau yooj yim hauv tsev; nws ua rau siv rau lub cav hluav taws xob uas yog lub hauv paus tseem ceeb ntawm nws txoj haujlwm. Nws tuaj yeem siv hauv Kev kos duab Engineering thiab kos duab kos duab. Nws tuaj yeem yog
Cocktail Tshuab Luam Ntawv: 6 Cov Kauj Ruam
Cocktail Tshuab Luam Ntawv: Peb tau tsim nrog kuv tus txiv ua lub tshuab luam ntawv cocktail: lub tshuab uas tuaj yeem "luam tawm" txawv cocktails tawm ntawm 6 qhov chaw ua kua. Tab sis nws tuaj yeem yog 4, 8, 12, 37 …. Xijpeem koj xav tau.Qhov txheej txheem no tso cai txiav txim siab seb koj xav luam tawm cocktail twg