Cov txheej txheem:

Qhov taub thiab Dragons Hit Point Tracker Nrog E-Ink Display: 3 Cov Kauj Ruam
Qhov taub thiab Dragons Hit Point Tracker Nrog E-Ink Display: 3 Cov Kauj Ruam

Video: Qhov taub thiab Dragons Hit Point Tracker Nrog E-Ink Display: 3 Cov Kauj Ruam

Video: Qhov taub thiab Dragons Hit Point Tracker Nrog E-Ink Display: 3 Cov Kauj Ruam
Video: Dab Ntub Hlub - Cheng Xiong Ft. Douachi Yang (Official Music Video) 2024, Kaum ib hlis
Anonim
Qhov taub thiab Dragons Ntaus Point Tracker Nrog E-Ink Zaub
Qhov taub thiab Dragons Ntaus Point Tracker Nrog E-Ink Zaub

Los ntawm NeilM77 Ua raws ntau ntxiv los ntawm tus sau:

3D Luam D & D Mob Rings
3D Luam D & D Mob Rings
3D Luam D & D Mob Rings
3D Luam D & D Mob Rings
3D Luam Eurorack Case
3D Luam Eurorack Case
3D Luam Eurorack Case
3D Luam Eurorack Case

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

Tsim Koj Tus Kheej
Tsim Koj Tus Kheej
Tsim Koj Tus Kheej
Tsim Koj Tus Kheej

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

Upload Code rau Arduino
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)

Cram Nws Rau Hauv Cov Ntaub Ntawv (tsis teb los tau)
Cram Nws Rau Hauv Cov Ntaub Ntawv (tsis teb los tau)
Cram Nws Rau Hauv Cov Ntaub Ntawv (tsis teb los tau)
Cram Nws Rau Hauv Cov Ntaub Ntawv (tsis teb los tau)
Cram Nws Rau Hauv Cov Ntaub Ntawv (tsis teb los tau)
Cram Nws Rau Hauv Cov Ntaub Ntawv (tsis teb los 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: