Cov txheej txheem:

DIY Pro Trinket Smartwatch: 4 Cov Kauj Ruam
DIY Pro Trinket Smartwatch: 4 Cov Kauj Ruam

Video: DIY Pro Trinket Smartwatch: 4 Cov Kauj Ruam

Video: DIY Pro Trinket Smartwatch: 4 Cov Kauj Ruam
Video: Bhai Ka Dimag Finally Mil Geya ๐Ÿ˜‚ #shorts 2024, Hlis ntuj nqeg
Anonim
DIY Pro Trinket Smartwatch
DIY Pro Trinket Smartwatch

Nov yog lub ntse ntse kuv tau ua siv Adafruit Pro Trinket, thiab qee qhov ntxiv.

Yog tias koj muaj lus nug, qhia rau kuv paub, txwv tsis pub cia pib!

Kauj ruam 1: Cov ntaub ntawv

Cov ntaub ntawv xav tau rau qhov no yog:

Adafruit Pro Trinket 3.3V: Pro Trinket, Adafruit DS3231 Precision RTC Breakout: RTC module, Adafruit LiIon/LiPoly Backpack Ntxiv-Rau rau Trinket/ItsyBitsy: Lub Hnab Roj Teeb, Lithium Ion Polymer Battery - 3.7v 500mAh: Roj teeb, Peb lub khawm me me (Kuv tsis paub qhov twg koj tuaj yeem tau txais cov no, Kuv pom kuv dag nyob ib puag ncig, tos kom siv)

OLED npo: Screen

Kauj Ruam 2: Xeem

Kev Xeem
Kev Xeem

Cov kauj ruam no tsuas yog tso txhua feem ntawm daim ntawv tais thiab ua kom ntseeg tau tias lawv txhua tus ua haujlwm raug, Kuv muaj cov phiaj xwm ntawm yuav ua li cas lawv tau xaim hauv cov duab saum toj no. Thaum koj muaj txhua yam wired koj tuaj yeem tso tus lej!

Tom qab koj muaj tus lej, koj yuav tsum qhib Arduino IDE, yog tias koj tsis muaj Pro Trinket pawg thawj coj saib xyuas tsis tau, koj tuaj yeem mus rau cov cuab yeej/cov laug cam/tus thawj tswj hwm pawg thawj coj thiab tshawb nrhiav Adafruit thiab nws yuav tsum tshwm sim nrog qhov tshwm sim uas muaj pro trinket hauv nws. Koj kuj tseem yuav tsum xaiv tus USBTinyISP programmer los ntawm cov cuab yeej/programmer.

Qhib lub smartwatch code thiab upload nws siv CTRL+SHIFT+U, tsis yog CTRL+U vim nws (CTRL+U) yuav tsis ua haujlwm.

Yog tias koj tau xaim txhua yam kom raug thiab xa tawm tsis muaj qhov yuam kev, koj yuav tsum tau txais txiaj ntsig ntawm lub vijtsam oled uas muaj lub sijhawm (Tus lej tseem tab tom ua haujlwm, teeb tsa lub sijhawm thiab lub moos nres tsis ua haujlwm zoo li lawv yuav tsum tau ua.)

Nov yog cov cai:

Kauj ruam 3: Ua tiav

Tam sim no txhua yam ua haujlwm, so! Yog tias koj twb tau ua qhov ntawd lawm, tom qab ntawd ua raws cov lus qhia (Vim tias qhov ntawd yog Cov Lus Qhia yog txhua yam hais txog, puas yog?) Nyob qhov twg cov xov hlau tau muab muag rau.

THOV XYUAS CEEV CEEV! Cov Kws Muag Khoom IRON yog qhov kub heev thiab tuaj yeem hlawv koj thiab hauv qhov chaw nruj ntawm qhov xwm txheej ntawm kev kub nyhiab tuaj yeem ua rau siab dua.

Tab sis tsis txhob xav tias zoo li koj tsis muaj txhua qhov xam pom yog tias koj tau hlawv tiag tiag, Kuv tau hlawv ntau zaus.

RTC:

SDA rau pro trinket A4 tus pin

SCL rau pro trinket A5 tus pin

Vin rau roj teeb hnab ev 5V tus pin

SQW rau lub roj teeb hnab ev BAT tus pin

GND rau roj teeb hnab GND tus pin

OLED Screen:

DATA rau Pro Trinket tus pin 9

Clk rau Pro Trinket tus pin 10

DC rau Pro Trinket tus pin 11

Pib dua rau Pro Trinket tus pin 13

CS rau Pro Trinket tus pin 12

Vin rau Pro Trinket 3V tus pin

GND rau Pro Trinket GND tus pin

Lub hnab roj teeb:

BAT rau Pro Trinket BAT+ tus pin

G rau Pro Trinket G tus pin

5V rau Pro Trinket BUS tus pin

Thiab qhov ntawd yog txhua qhov kev sib txuas, koj tuaj yeem siv qhov ntawd lossis cov phiaj xwm yog tias koj xav tau. Muaj kev lom zem soldering!

Kauj ruam 4: Koj tau ua tiav

Nrog koj zoo siab! koj muaj smartwatch tshiab! Yog tias nws tsis ua haujlwm raug thawj zaug, tsuas yog kos, thiab rov txheeb xyuas txhua yam ntawm koj cov kev sib txuas thiab sim dua. Mine tsis ua haujlwm raug thawj ob peb sim tab sis kuv pom qhov tsis raug (tsuas yog qee qhov kev sib txuas xoob) kho nws, thiab nws ua haujlwm!

Kuv cia siab tias yuav ua rooj plaub hauv qhov haujlwm tom ntej.

Thov nug cov lus nug uas koj xav tau.

Thiab tsis txhob hnov qab pov npav (Yog tias koj nyiam nws) rau qhov no hauv kev sib tw moos!

Pom zoo: