Cov txheej txheem:
- Kauj Ruam 1: Luam Tshooj
- Kauj Ruam 2: Cov Hluav Taws Xob Hluav Taws Xob rau Cov Tsav Tsheb
- Kauj Ruam 3: Txoj Haujlwm thiab Ruaj Ntseg Cov Tsav Tsheb
- Kauj Ruam 4: Txuas Lub Tsav Tsheb Npog
- Kauj Ruam 5: Txuas D1 Mini thiab Tsav Tsav Tsav Tsheb
- Kauj Ruam 6: Txuas Cov Khoom Siv
- Kauj Ruam 7: Kho lub Sketch
- Kauj Ruam 8: Blynk Mobile App
- Kauj Ruam 9: Ntxig Neeg Hlau Rau Hauv Pob
- Kauj ruam 10: Ua Si Tam Sim No …
Video: Pet Robot Ball: 10 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Kuv tus dev dev nyiam ua si nrog cov khoom ua si tshwj xeeb tshaj yog nws tuaj yeem caum! Kuv tau tsim lub pob neeg hlau uas hloov pauv thiab yob tawm thaum twg los xij thaum nws cuam tshuam nrog nws, ceeb toom rau kuv ntawm kuv lub xov tooj ntawm tes uas kuv tuaj yeem siv los tswj nws dhau WiFi thiab thaum kawg tso tseg thaum kev lom zem dhau los kom txuag roj teeb.
Lub pob tshwj xeeb tau tsim los ua kom nruj nrog txhua yam khoom siv hluav taws xob thiab cov khoom txav tau ntsaws ruaj ntseg sab hauv. Nws tuaj yeem siv tau zoo ib yam rau lwm cov tsiaj xws li miv.
Pob siv lub d1 mini micro-controller, programmed siv Arduino thiab muab tso ua ke siv qee qhov luam tawm 3D thiab qee qhov pheej yig, cov khoom siv tau yooj yim.
Rau qhov haujlwm no koj yuav xav tau:
- Hamster Ball 17cm inch (https://amzn.to/2PShVKr)
- 2 x DC Motors thiab Log (https://amzn.to/2PQkm0n) Los yog (https://www.banggood.com/custlink/GKmGBes7RB)
- Wemos D1 Mini (https://www.banggood.com/custlink/GDmv4JTGLi)
- WS2812B RGB LED (https://www.banggood.com/custlink/KK3GBr7RcZ)
- 2N2222 Transistor (https://www.banggood.com/custlink/DDm3eJ7DbH)
- Buzzer (https://www.banggood.com/custlink/Dv33g6N1hQ)
- KY-002 Shock Sensor (https://amzn.to/2oOvHTm)
- 2 x 14500 3.7V Li-Ion Roj teeb (https://www.banggood.com/custlink/m33GB6n1Jv)
- AA Roj Teeb Nrog Cov Hloov (https://www.banggood.com/custlink/mGDv4BnTpt)
- L298N Tsav Tsav Tsav Tsheb (https://amzn.to/2pM7PAd) Los yog (https://www.banggood.com/custlink/mvGG0gbTco)
- Ntau cov xov hlau ntev
- Vaious M2 thiab M3 screws
- 5 x 3D-Luam qhov chaw
Kauj Ruam 1: Luam Tshooj
Koj yuav xav tau 5 qhov chaw luam tawm 3D tag nrho. Lub hauv paus lub cev muaj zog thiab npog uas tuav 2 lub cav ruaj khov nyob rau hauv qhov chaw thiab qhov uas D1 mini thiab lub cav tsav tsheb tsav txuas nrog rau 2 lub taub hau pob uas txuas rau caj npab qhia.
Luam nrog txheej txheej siab txog ib ncig ntawm 0.2 hli thiab ntxiv ntawm 20% thiab lawv yuav tsum tawm los zoo xwb.
Kauj Ruam 2: Cov Hluav Taws Xob Hluav Taws Xob rau Cov Tsav Tsheb
Siv 2 lub xov hlau txuas rau txhua lub cav
Kauj Ruam 3: Txoj Haujlwm thiab Ruaj Ntseg Cov Tsav Tsheb
Muab 2 DC lub cev muaj zog tso rau hauv lub hauv paus lub cav thiab ruaj ntseg siv qhov ntev M3 ntsia hlau thiab kho txoj haujlwm (2 rau txhua lub cav).
Kauj Ruam 4: Txuas Lub Tsav Tsheb Npog
Muab lub hau npog npog thiab ruaj ntseg siv 4 x M3 ntsia hlau.
Kauj Ruam 5: Txuas D1 Mini thiab Tsav Tsav Tsav Tsheb
Siv qee qhov M2 ntsia hlau, txuas D1 mini thiab lub rooj tsav tsheb tsav rau lub hau.
Kauj Ruam 6: Txuas Cov Khoom Siv
Txuas tag nrho cov khoom siv siv lub cim nco tseg kom tshem 2 tus dhia tawm ntawm L298N lub rooj tsavxwm raws li qhia. Txuas lub log rau lub cav. Ruaj ntseg lub roj teeb npog rau sab hauv qab ntawm lub cev muaj zog siv cov kua nplaum kub. Siv cov kua nplaum kub kom huv thiab ruaj ntseg txhua lub xoob xaim (Koj yuav xav hla mus rau ntu tom ntej thiab sim txhua yam ua ntej!).
Ib me ntsis ntawm kev xav …
Lub ntsuas hluav taws xob tau txuas nrog tus pin rov pib dua kom D1 mini sawv los ntawm kev tsaug zog tsaug zog uas peb siv los cawm lub zog thaum twg tus neeg hlau tsis ua si nrog. Lub transistor tau siv los ua qhov hloov pauv kom ntseeg tau tias cov cim no tsis tau txais thaum lub cuab yeej hloov mus lossis lwm yam sai li sai tau thaum lub pob neeg hlau txav nws yuav yooj yim rov pib dua nws tus kheej.
Lub transistor xav tau teeb liab los ntawm tus pin tso tawm ntawm micro-maub los ua haujlwm. Hmoov zoo rau peb, tus pin D0 (GPIO16) tau teeb tsa siab rau HIGH thaum pw tsaug zog thiab peb tuaj yeem yooj yim teeb nws rau LOW sai li sai tau thaum kos duab pib los tiv thaiv ib qho rov pib dua. Tus pin tau teeb tsa rov qab mus rau HIGH dua rau 'caj npab' lub sensor sai li sai tau thaum lub micro-maub los rov qab mus pw tsaug zog.
Kauj Ruam 7: Kho lub Sketch
Rub tawm Arduino IDE tshiab kawg thiab kos duab Arduino tshiab kawg uas tuaj yeem pom ntawm no.
Xyuas kom koj muaj cov tsev qiv ntawv hauv qab no teeb tsa. Cov no tuaj yeem teeb tsa siv tus thawj tswj tsev qiv ntawv los ntawm hauv Arduino IDE yog tias tsis yog. Cov ntawv tshiab yuav ua haujlwm tab sis tsis tau sim.
- FastLED v3.3.2
- Blynk v0.6.1
Cov tsev qiv ntawv hauv qab no yuav tsum tau teeb tsa tus kheej los ntawm kev txav nws cov ntsiab lus mus rau hauv Arduino cov tsev qiv ntawv nplaub tshev:
ESP8266WiFi Library v2.4.2 -
Qhib cov duab kos hauv Arduino IDE. Hloov 3 kab uas qhia hauv qab no txhawm rau cuam tshuam koj li peev xwm WiFi thiab koj li Blynk Auth Token (saib ntu Blynk App txhawm rau nrhiav qhov no).
// Koj li ntawv pov thawj WiFi.// Teem tus password rau "" rau qhib tes hauj lwm. char ssid = "KOJ WIFI SSD NTAWM NO"; char pass = "KOJ WIFI PASS HERE";
// Koj yuav tsum tau txais Auth Token hauv Blynk App. // Mus rau Qhov Chaw Haujlwm (icon txiv ntoo). char auth = "KOJ YUAV TSUM NTSEEG NTAWM NO";
NCO TSEG: Koj yuav tsum tshem tus pin los ntawm D0 ua ntej koj yuav tuaj yeem rub cov duab kos. Rov txuas nws dua tom qab rub tawm tiav
Txuas D1 Mini rau PC siv lub micro-USB, xyuas kom meej tias cov chaw teeb tsa tau siv, qhov tseeb COM Port tau teeb tsa thiab xa cov duab kos.
Lub pob tam sim no yuav tsum rov pib dua thiab txuas rau koj li WiFi network. Nws yuav dhau los ua tus tswj tau ntawm koj tus kheej lub mobile Blynk app tom qab ua tiav Blynk ntu ntawm phau ntawv qhia no. Txhawm rau daws qhov tsis raug, nrog D1 mini txuas nrog lub PC, siv Serial monitor hauv Arduino IDE los pab kuaj mob.
Kauj Ruam 8: Blynk Mobile App
Lub pob tau tswj hwm siv Blynk web app. Blynk yog IoT platform pub dawb rau kev tsim qauv/tsis yog lag luam siv.
Pib los ntawm rub tawm Blynk los ntawm Android Play lossis Apple App Store. Tsim tus account thiab Luam theej duab QR-code saum toj no los ntawm hauv app. Ua raws cov phiaj xwm phiaj xwm nrhiav cov phiaj xwm Auth Token los ntawm kev xa email rau koj tus lej nyiaj lossis siv Luam theej duab tag nrho. tus cim token rau hauv daim duab hauv, tso tawm thiab koj yuav tsum zoo mus!
Kauj Ruam 9: Ntxig Neeg Hlau Rau Hauv Pob
Maj mam muab cov khoom siv hluav taws xob ua tiav rau hauv pob. Ib zaug sab hauv, txuas daim ntawv qhia sab caj npab nrog lub npas qhia nyob hauv qhov chaw ib sab.
Nco tseg: Daim duab qhia pom cov lus qhia ntawm caj npab thiab pob nyob rau hauv qhov chaw ua ntej muab tso rau hauv cov lus qhia nkaus xwb. Koj yuav tsis tuaj yeem tso tus neeg hlau rau hauv pob yog tias koj ua tej yam hauv qhov kev txiav txim no
Ruaj ntseg phau ntawv txhais tes nyob rau hauv qhov chaw nrog lub zipper khi, velcro pluaj lossis roj hmab band.
Ntxig 2 x 3.7V roj teeb, qhib lub hwj chim hloov thiab kaw lub hau ntawm lub pob.
Kauj ruam 10: Ua Si Tam Sim No …
Teeb koj lub pob neeg hlau qhov chaw rau koj tus tsiaj kom pom thiab sai li sai tau thaum lawv pib cuam tshuam nrog nws saib nws los rau hauv lub neej thiab lom zem lawv txhua tus los ntawm nws tus kheej. Yog tias koj xav tau, siv lub mobile app rov ua si nrog qee qhov txav txav. Txaus siab rau thiab yog tias koj nyiam txoj haujlwm no thov pov npav rau peb hauv kev sib tw Robot. Ua tsaug.
Qhov khoom plig thib ob hauv kev sib tw Robotics
Pom zoo:
LED Table Tennis Ball-Ball: 16 Kauj Ruam (nrog Duab)
LED Table Tennis Ball-Ball: Cov Dab Neeg Ua ke nrog kuv qhov kev txaus siab ua "kos duab" los ntawm kev rov ua dua cov duab geometric Kuv
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv