Cov txheej txheem:
- Kauj ruam 1: Teeb
- Kauj ruam 2: Database
- Kauj Ruam 3: Kev thaiv kab hlau
- Kauj Ruam 4: Ua Kev Pabcuam Tawm Ntawm Koj Txoj Haujlwm
- Kauj Ruam 5: Vaj Tsev
- Kauj ruam 6: Pib App
Video: SmartBar Cocktails: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv cov lus qhia no kuv yuav pab koj ua tus smartbar. kuv tau ua qhov haujlwm no vim tias kuv nyiam haus dej haus cawv thiab kuv xav kom siv tus txheej txheem kom zoo.
Khoom siv:
Cov khoom siv xav tau rau txoj haujlwm no yog raws li hauv qab no:
Tsawg kawg
- 1 Raspberry Pi
- 1 SD daim npav (16GB)
- ob peb jumper xov hlau
- daim kab xev hluav taws xob
- 2 sab nplaum daim kab xev
Sensors
- 1 LCD zaub
- 1 RFID sensor
- 1 sib nqus sib nqus sensor
- 2 thauj lub ntsej muag + HX711 nti
Actuators
- 4 peristaltic twj (12V)
- 14-channel tshaj tawm
Kuv cov ntaub ntawv tsev
- OSB ntoo 12 hli
- plexiglass
- tooj liab raj (1m)
Kauj ruam 1: Teeb
Txhawm rau pib peb yuav tsum xub teeb tsa koj Pi.
Koj yuav xav tau ob yam:
- win32 Disk imager
- Raspbian OS duab
Kev teeb tsa
- Qhib win32 disk imager
- Xaiv koj cov duab ntawm Rasbian OS
- Xaiv koj daim npav SD
- Nyem rau sau
Ua ntej peb tuaj yeem pib coding peb yuav tsum teeb tsa ob peb yam ntawm pi.
- Mus rau khau raj phau ntawv teev npe ntawm SD daim npav
- Qhib cov ntaub ntawv "cmdline.txt"
- Ntxiv ip = 169.254.10.1 Thaum kawg ntawm kab ntawv ntev ntawm cov ntawv sib cais nrog qhov chaw
- Txuag cov ntawv.
- Tsim cov ntaub ntawv npe ssh uas tsis muaj kev txuas ntxiv hauv tib cov npe
Tam sim no koj tuaj yeem nyab xeeb tshem daim npav SD thiab pib pi nrog daim npav SD
Txuas mus rau pi
Koj tuaj yeem txuas nrog ntau txoj hauv kev rau pi, tab sis kuv nyiam siv comand sai.
- Qhib qhov hais kom ua
- Sau "ssh [email protected]"
- Nyem nkag
- Sau tus password "raspberry"
WiFi
Txhawm rau nkag mus rau koj lub xaib ntawm koj lub xov tooj koj yuav xav tau WiFi ip. ntawm no rau koj yuav tsum tau txuas rau WiFi.
- sau "sudo wpa_passphrase" SSID "" PASSWORD ">> /etc/wpa_supplicant/wpa_supplicant.conf"
- Nkag mus rau WPA tus neeg siv khoom
wpa_cli
Xaiv interface
wb wl0
Reload teeb tsa
rov tsim dua tshiab
Nab hab sej pob
- Lub hwj
- Flask-cors
- Flask-MySQL
- Flask-SocketIO
- Gevent
- Gevent-websocket
siv cov cai hauv qab no los teeb tsa pob khoom
"pip nruab Flask Flask-Cors Flask-MySQL Flask-SocketIO Gevent Gevent-websocket"
Kauj ruam 2: Database
Rau kuv cov ntaub ntawv kuv siv 7 cov ntxhuav
- pompConfig
- sensors
- MesureSensors
- cov neeg siv
- xaj Cocktails
- cocktails
- tus account
Kauj Ruam 3: Kev thaiv kab hlau
Siv kuv lub tswv yim los xaim tag nrho txoj haujlwm ua ke.
Cov relay siv 5V tab sis tswj nrog 3.3V
LCD siv 5V
Kauj Ruam 4: Ua Kev Pabcuam Tawm Ntawm Koj Txoj Haujlwm
Txhawm rau kom ntseeg tau tias koj txoj haujlwm pib thaum koj pib koj li pi, koj yuav tsum ua kom koj cov cai siv. Koj ua qhov no ua raws.
"sudo systemctl pab kom myscript.service"
Kauj Ruam 5: Vaj Tsev
Rau qhov haujlwm no kuv tau siv OSB ntoo. Koj yuav xav tau cov phiaj xwm ntawm qhov loj me hauv qab no
- 2 zaug 60 x 42 cm (pem hauv ntej thiab nraub qaum)
- 2 zaug 15 x 42 cm (sab vaj huam sib luag)
- 2 zaug 13 x 40 cm (sab hauv faib)
- 2 zaug 10 x 7 cm (platform rau 2 fwj)
- 1 lub sijhawm 23 x 10 cm (platform rau 2 fwj)
Txhawm rau txiav ntoo no thov ceev faj thiab thov kev pab yog xav tau
Tom qab sib sau ua ke kuv cov ntaub ntawv kuv drilled ob peb wholes rau kuv cov khoom.
- LCD. (7 cm x 2.5 cm)
- Khawm (lub voj voog ntawm 15mm)
- Lub Raj Mis (40 cm x 25 cm)
- RFID (4 cm x 3mm)
Tom qab qhov no tau pib tso rau hauv kuv qhov kev xaiv tsa.
Kauj ruam 6: Pib App
- plug in pib
- tos kom txog thaum qhov program ua haujlwm
- mus rau tus ip koj pom ntawm lub vijtsam LCD
- xaiv cov dej cawv
- scan koj li RFID
- Txaus siab rau cov dej haus uas tsim nyog
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
Kawm Yuav Ua Li Cas Kos Tus Tswm Ciab - Kauj Ruam Ib Kauj Ruam: 6 Kauj Ruam
Kawm Yuav Ua Li Cas Thiaj Li Tswmciab - Kauj Ruam Ib kauj ruam: Cov tswm ciab no siv sijhawm 10 feeb los kos yog tias koj ua raws kuv cov kauj ruam ua tib zoo
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: 9 Kauj Ruam
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: Cov ntawv qhia no yog qhia koj yuav tsim lub Caj Npab Caj Npab ntawm koj tus kheej li cas