Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Txhim Kho Koj Lub Vaj Tsev
- Kauj ruam 2: Upload Code rau Arduino
- Kauj Ruam 3: Cram Nws Rau Hauv Cov Ntaub Ntawv (xaiv tau)
Video: Qhov taub thiab Dragons Hit Point Tracker Nrog E-Ink Display: 3 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Los ntawm NeilM77 Ua raws ntau ntxiv los ntawm tus sau:
Kuv xav tsim qhov ntaus ntaus ntawv uas qhia txog txhua tus players ntaus cov ntsiab lus hauv qhov ntsuas qhov ib txwm ua, yog li koj tuaj yeem pom tseeb leej twg xav tau kev kho mob tshaj plaws thiab ua tsis tau zoo li cas rau tag nrho tog ua. Nws txuas ntawm Bluetooth mus rau lub xov tooj Android uas qhia tag nrho cov nyees khawm koj xav tau los tswj hwm koj tog xwm txheej. Nws tau siv los ntawm lub roj teeb hloov pauv 9V. Lub xeev tam sim no tau txais kev cawmdim rau EEPROM yog li koj tuaj yeem sib pauv lub roj teeb yam tsis tau poob txhua tus neeg qhov kev ntaus nqi tam sim no.
Khoom siv
Cov khoom xav tau
- Arduino Mega 2560
- HC-06 Bluetooth module
- 400x300, 4.2 "E-Ink Display Module
- RobotUI app los ntawm Google Play Store
- 3 resistors. Txhua tus nqi, tab sis lawv txhua tus yuav tsum yog tus nqi tib yam.
- 9V roj teeb
- 9V roj teeb txuas
- Cov xov thiab cov laug
- (xaiv tau) Qee yam ntawm rooj plaub.
- (yeem) Hloov fais fab. Koj tuaj yeem tshem tawm lub roj teeb, tab sis hloov tau yooj yim dua.
- (xaiv tau) Cylewet 55 breadboard. Yog tias koj ntxub soldering ntau npaum li kuv.
Cov cuab yeej
- Tej zaum yog cov hlau txuas
- Hlau txiav
- (xaiv tau) 3D tshuab luam ntawv rau rooj plaub
Kauj Ruam 1: Txhim Kho Koj Lub Vaj Tsev
Qee qhov txuas rau ntau yam khoom siv …
Arduino Mega 2560, HC-06 Bluetooth module, 400x300, 4.2 E-Ink Display Module, https://www.amazon.com/4-2inch-Module-Communicati …
RobotUI app los ntawm Google Play Store, STL cov ntaub ntawv…
Xaim cov khoom siv raws li qhia hauv Fritzing thaiv kab duab kab. Yog tias, zoo li kuv, koj txaus ntshai heev ntawm kev siv tooj liab thiab nyiam siv cov laug cam thaum koj tuaj yeem ua tau, tom qab ntawd koj tuaj yeem tau txais lub khob cij me me txaus uas yuav haum rau hauv rooj plaub. Kuv siv Cylewet 55 breadboard (https://www.amazon.com/Cylewet-Solderless-Circuit-…)
Koj tuaj yeem hla siv qhov hloov pauv rau lub zog yog tias koj xav xaim lub roj teeb ncaj qha rau Vin ntawm Arduino, tab sis koj yuav tsum ntxiv/tshem lub roj teeb kom hloov nws tawm/tawm. Koj tsuas yog yuav tsum tau hloov nws thaum pib ntawm kev sib tham game, yog li qhov no tuaj yeem siv tau.
Koj tsis xav tau lub roj teeb txuas yog tias koj tab tom ua zog Arduino Mega siv USB cable rau kev ua haujlwm, yog li nws yog qhov zoo tshaj rau tshem nws rau qib tom ntej.
Kauj ruam 2: Upload Code rau Arduino
Tsim cov npe hu ua "HPTrackerEInk" thiab muab cov ntawv txuas HPTrackerEInk.ino tso rau hauv.
Yog tias koj suav nws koj yuav muaj peev xwm ua yuam kev kom txog thaum koj tau teeb tsa lub tsev qiv ntawv epd4in2.h los ntawm Waveshare uas los nrog koj e-Ink zaub. Kuv rub tawm nws los ntawm no https://www.waveshare.com/4.2inch-e-paper-module.h…. Yog tias koj tau txais teeb meem nrog lub tsev qiv ntawv ntawd, tom qab ntawv ntxiv cov lus hauv qab no thiab kuv tuaj yeem muab daim ntawv theej ntawm qhov tshwj xeeb uas kuv muaj (Kuv kho qee qhov yuam kev, kuv hu rau Waveshare thiab lawv tau kho qhov teeb meem tam sim)
Koj kuj tseem yuav tsum teeb tsa lub tsev qiv ntawv uas sib tham nrog RobotUI app. Google "RobotUI teeb qhia" lossis tsuas yog mus ntawm no
Txog tam sim no koj yuav tsum tuaj yeem suav HPTrackerEInk.ino yam tsis muaj qhov yuam kev, koj tuaj yeem tso koj tus lej thiab sim txhua yam ua haujlwm.
Koj yuav tsum tau hloov daim ntawv teev npe kom nws muaj cov npe ntawm txhua tus phooj ywg koj tus cim. Hauv HPTrackerEInk.ino koj yuav pom qhov txawv txav hu ua nameOptions nrog cov npe 20 npe. Koj tuaj yeem hloov cov npe no kom muaj cov npe twg uas koj xav tau, tab sis nco ntsoov, tsuas yog thawj 5 tus cim tau tshwm nyob hauv qab cov duab ntaus cim ntawm e-Ink zaub. Txawm li cas los xij muaj ntau lub npe koj tso rau hauv lub npe Xaiv cov ntsiab lus, koj yuav tsum hloov NUM_ID_OPTIONS kom pom tus lej ntawd. Yog li yog koj tsuas muaj 10 lub npe, hloov NUM_ID_OPTIONS los ntawm 20 txog 10.
Yog tias koj muaj hmoo txaus los koom nrog ntau dua ib qhov kev sib tw, kuv tau muab txoj hauv kev los pauv cov phiaj xwm. UI muaj cov ntawv qhia zaub mov nco tseg kom xaiv qhov phiaj xwm twg uas koj tab tom ua tam sim no. Yog li koj tuaj yeem teeb tsa thiab taug qab cov tog neeg sib txawv. Koj tuaj yeem hloov cov npe ntawm peb qhov kev sib tw uas muaj los ntawm kev hloov cov ntsiab lus ntawm qhov xaiv 0, xaiv 1 thiab xaiv 2 qhov sib txawv.
Thaum koj tau suav sau thiab xa mus rau koj Arduino Mega. Pib dua RobotUI app thiab txuas rau koj lub cuab yeej! Qhov ntawd yog nws! Koj tuaj yeem pib ua si Qhov taub thiab Zaj thiab taug qab koj tog cov ntsiab lus ntaus!
TSEEM CEEB: Qhov no tej zaum yog cov kauj ruam nyuaj tshaj plaws rau koj ntawm cov uas tsis tau ua haujlwm rau Arduino ntev, yog li tsis txhob ntshai nug cov lus hauv cov lus. Kuv yuav zoo li qee yam uas xav tau kev piav qhia ntxaws ntxiv rau qee tus neeg, yog li thov qhia rau kuv paub. Qhov ntawd mus rau lwm cov kauj ruam ib yam nkaus.
Kauj Ruam 3: Cram Nws Rau Hauv Cov Ntaub Ntawv (xaiv tau)
Koj tuaj yeem rub cov ntaub ntawv STL los ntawm no
Kuv tsim rooj plaub uas tsis siv cov ntsia hlau zoo li kuv yeej tsis muaj qhov ntsia hlau loj haum rau lwm tus neeg txoj kev tsim STL. Nws tseem zam tag nrho cov teeb meem imperial vs metric. Yog li hloov qhov rooj plaub tso rau hauv qhov chaw thiab koj xav tau ob daim xaim (uas kuv xav tias txhua tus muaj) lossis cov hlua txuas uas xaub hla ob lub qhov nyob hauv lub roj teeb. Lub qhov xov dhau los ntawm peb ntu ntu. Twist cov xaim lossis xauv cov hlua txuas kom cov ntaub ntawv nyob hauv qhov chaw. Yog tias koj xav tau rov qhib rooj plaub tom qab tsis txhob xaim lossis txiav cov hlua txuas!
Txaus siab rau!
Pom zoo:
Xus Pumpkin Nrog Tsiv Tsiaj Animatronic Qhov Muag - Lub taub dag no tuaj yeem dov nws lub qhov muag!: 10 Kauj Ruam (nrog Duab)
Xus Pumpkin Nrog Tsiv Tsiaj Animatronic Qhov Muag | Lub Taub Hau No Tuaj Yob Nws Lub Qhov Muag!: Hauv Phau Ntawv Qhia no, koj yuav kawm paub yuav ua li cas taub dag Xus uas ua rau txhua tus ntshai thaum nws lub qhov muag txav mus. Kho lub ntsuas hluav taws xob ultrasonic ntsuas qhov nrug mus rau tus nqi raug (kauj ruam 9), thiab koj lub taub dag yuav ua rau txhua tus neeg uas tsis kam noj tswm ciab
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: 5 Cov Kauj Ruam (nrog Duab)
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: Hauv Cov Lus Qhia no kuv qhia koj li cas kuv ntxiv kev siv tshuab rau kuv qhov muag tsis pom. Kuv xav kom muaj peev xwm ntxiv thiab tshem tawm qhov kev siv tshuab nws, yog li txhua qhov kev teeb tsa yog clip ntawm.Qhov tseem ceeb yog: Stepper motor Stepper tsav tswj bij ESP-01 Iav thiab teeb tsa
Qhov 'Sup - Mouse rau Cov Neeg Nrog Quadriplegia - Tus Nqi Qis thiab Qhib Qhov Chaw: 12 Cov Kauj Ruam (nrog Duab)
Qhov 'Sup - Mouse rau Cov Neeg Nrog Quadriplegia - Tus Nqi Qis thiab Qhib Qhov Chaw: Thaum lub caij nplooj ntoo hlav xyoo 2017, kuv tus phooj ywg zoo tshaj tsev neeg nug kuv yog tias kuv xav ya mus rau Denver thiab pab lawv nrog txoj haujlwm. Lawv muaj ib tus phooj ywg, Allen, uas muaj quadriplegia vim qhov xwm txheej ntawm kev caij tsheb kauj vab roob. Felix (kuv tus phooj ywg) thiab kuv tau ua qee qhov nrawm dua
Halloween Project Nrog Pob txha taub hau, Arduino, LED ntsais thiab ntsais muag qhov muag - Maker, MakerED, MakerSpaces: 4 Kauj Ruam
Halloween Project Nrog Pob txha taub hau, Arduino, LED ntsais thiab ntsais muag qhov muag | Tsim, Ua, MakerSpaces: Halloween Project nrog pob txha taub hau, Arduino, ntsais muag LEDs thiab Scrolling EyesSoon yog Xus, yog li cia peb tsim qhov project txaus ntshai thaum coding thiab DIY (tinkering me ntsis …). Cov ntawv qhia no yog ua rau cov neeg uas tsis muaj 3D-Tshuab Luam Ntawv, peb yuav siv 21 cm plas
Lub taub hau taub taub taub: 3 kauj ruam
Lub taub hau taub taub tig: Nyob zoo, qhov no yog kuv thawj qhov haujlwm qhia. Hauv txoj haujlwm no, kuv xav ua lub taub taub taub taub tig ntawm sab nraum zoov. Muaj RGB lub teeb ntxiv rau hauv taub hau taub dag, yog li txoj haujlwm no yog qhov zoo tshaj plaws los qhia rooj plaub thaum hmo ntuj! Tshwj xeeb hauv Hallow