Cov txheej txheem:
- Kauj Ruam 1: Sau cov Khoom
- Kauj Ruam 2: Siv lub Gyro rau Zero W
- Kauj Ruam 3: Kho Koj Li RPi
- Kauj ruam 4: MySql Database
- Kauj Ruam 5: Ua tiav Zero W
- Kauj Ruam 6: Webapplication/Txais MQTT
- Kauj ruam 7: Khiav thiab Txaus Siab
- Kauj Ruam 8: Casing (ntxiv)
Video: JumpTie: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Cov cuab yeej no ntsuas koj dhia! Koj tuaj yeem pom muaj pes tsawg dhia koj tuaj yeem ua nyob rau lub sijhawm.
Hauv webapplication txhua qhov koj dhia dhia tau tshwm thiab koj tuaj yeem pom koj qhov kev nce qib!
Txoj haujlwm tau ua los ntawm tsev kawm ntawv txoj haujlwm. Tam sim no kuv tab tom kawm Kev Tshaj Tawm Tshiab thiab Kev Sib Txuas Lus ntawm Howest Kortrijk, Belgium.
Kauj Ruam 1: Sau cov Khoom
Ua ntej peb yuav tsum sau qee cov khoom siv kho vajtse.
Peb xav tau:
- Raspberry Pi 3B
- Raspberry Pi Zero W.
- Powerbank rau Zero W.
- Gyroscope (LSM9DS1): kev ntsuas
Nqi thiab khw hauv online rau cov khoom no yog qhov kawg ntawm kev qhia.
Kauj Ruam 2: Siv lub Gyro rau Zero W
Ua tib zoo ntsuas lub Gyroscope rau RPi Zero W. Yog tias koj tsis tau ua qhov no ua ntej kuv pom zoo kom nug ib tus neeg uas muaj qee qhov kev paub dhau los ntawm kev siv tshuaj txhuam.
Dubbelcheck lossis tripplecheck yog tias koj ua kom raug 3.3V thiab GND!
Tsis ua qhov no kom raug yuav rhuav tshem koj lub Gyroscope lossis koj RPi Zero W
Kauj Ruam 3: Kho Koj Li RPi
Kho ob qho ntawm koj li RPi.
Qee cov lus qhia lossis txuas txuas muaj txiaj ntsig los teeb tsa RPi 3B:
www.raspberrypi.org/help/noobs-setup/2/
caffinc.github.io/2016/12/raspberry-pi-3-h…
Qee cov lus qhia lossis txuas txuas muaj txiaj ntsig los teeb tsa RPi Zero W:
github.com/initialstate/pi-zero-w-motion-s…
learn.sparkfun.com/tutorials/getting-start…
Yog ua tiav, nco ntsoov hloov kho lawv thiab teeb tsa cov pob hauv qab no:
Nab hab sej 3
- Mysql-neeg rau zaub mov
- Mysql-tus neeg siv khoom
- …
Peb kuj xav tau Mosquitto MQTT. Siv cov lus qhia hauv qab no rau nruab Mosquitto:
www.instructables.com/id/Installing-MQTT-B…
Tswv yim: siv Jessie duab, tsis Ncab!
Kauj ruam 4: MySql Database
Tam sim no peb yuav tsum kos daim duab ERD rau peb cov ntaub ntawv. Kuv siv MySql rau txoj haujlwm no.
Koj tuaj yeem tsim koj tus kheej cov ntaub ntawv, theej kuv lossis tsuas yog rub kuv cov ntawv thiab khiav nws.
Peb yuav siv peb RPi 3B ua peb Lub Chaw Nruab Nrab los ua haujlwm peb li Database thiab Webserver.
Tswv yim: Siv FileZilla los theej cov ntawv ntawm RPi 3B.
Kauj Ruam 5: Ua tiav Zero W
Txhawm rau ua Gyroscope ua haujlwm peb yuav tsum ua raws phau ntawv qhia no:
ozzmaker.com/berryimu-quick-start-guide/
Peb siv lub tsev qiv ntawv BerryIMU ua ke nrog qee cov ntawv sau ua ntej los nyeem Gyros qhov tseem ceeb.
Kuv yuav siv tsab ntawv "berryIMU-measure-G.py". Tab sis kuv tau ntxiv qee cov cai kom paub txog kev dhia thiab xa kev dhia mus rau hauv Central Point ntawm MQTT.
Kauj Ruam 6: Webapplication/Txais MQTT
Yog tias peb cov ntaub ntawv ua haujlwm tau zoo, peb tuaj yeem txav mus rau qhov tsim lossis Webapplication!
Kuv siv Flask (nab nab) rau lub backend thiab html/css rau frontend. Tab sis koj tau dawb los ua koj tus kheej daim ntawv thov web!
Koj tseem tuaj yeem rub kuv kab ntawv kom tau txais cov lus ntawm Central Point ntawm MQTT.
Kauj ruam 7: Khiav thiab Txaus Siab
Ntawm RPi Zero W khiav tsab ntawv "berryIMU-measure-G.py". Qhov no yuav ua haujlwm rau Zero W.
Ntawm RPi 3B, khiav "mqtt.py" tsab ntawv thiab koj lub vev xaib.
Tam sim no txaus siab rau koj qhov txiaj ntsig!
Kauj Ruam 8: Casing (ntxiv)
Mus saib hauv koj lub nkas -las rau lub qub thiab lub thawv me me los tso rau hauv koj cov khoom siv kho vajtse.
Kuv muab kuv Zero W rau hauv lub thawv me me uas kuv pom. Ofcourse Kuv siv qee cov ntaub ntawv kom paub tseeb tias kuv cov cuab yeej txav tsis tau.
Tsuas yog muaj tswv yim!
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