Cov txheej txheem:

DIY Nqis Tus Nqi Qoj Tracker: 6 Kauj Ruam
DIY Nqis Tus Nqi Qoj Tracker: 6 Kauj Ruam

Video: DIY Nqis Tus Nqi Qoj Tracker: 6 Kauj Ruam

Video: DIY Nqis Tus Nqi Qoj Tracker: 6 Kauj Ruam
Video: Casio G-SHOCK GBD800-1B | Black G Shock G-SQUAD Step Tracker GBD-800 Топ 10 вещей 2024, Hlis ntuj nqeg
Anonim
DIY Nqis Tus Nqi Qoj Tracker
DIY Nqis Tus Nqi Qoj Tracker

Phau ntawv qhia no yuav npog txhua yam koj xav paub txhawm rau tsim koj tus kheej ua koj tus kheej kom pheej yig kev noj qab haus huv thiab kev tawm dag zog taug qab thaum tseem tau txais txiaj ntsig muaj txiaj ntsig zoo coding raws txoj kev.

Khoom siv

1x Arduino Nano Cov Khoom

1x OLED Adafruit screen

2x 170-Tie-Point Mini Breadboard

1x Max30102 mem tes sensor

8x jumper kab

Nkag mus rau ib lub khoos phis tawj lossis laptop uas muaj USB chaw nres nkoj

Kauj ruam 1: Sib dhos

Los ua ke
Los ua ke

Kauj Ruam 1: Txuas Arduino Nano mus rau ib lub tais ci kom paub tseeb tias sab nrog cov pins mus txhua txoj kev mus rau hauv lub khob cij.

Kauj ruam 2: Sib dhos

Los ua ke
Los ua ke

Txuas daim ntawv qhia zaub mov thib ob rau thawj tus (Nco ntsoov daim duab tsis suav nrog Arduino Nano txuas nrog hauv qib ib).

Kauj ruam 3: Sib dhos

Kauj Ruam 3: Txuas OLED lub vijtsam rau lub khob cij thib ob kom ntseeg tau tias tus pin sab tau thawb tag tab sis tsis txhob thawb hnyav li koj tsis xav kom tawg lub vijtsam (Koj tuaj yeem tso lub vijtsam txuas rau lub khob cij ua ntej lossis tom qab txuas ob lub rooj sib tham ua ke daim duab qhia pom nws txuas ua ntej txuas lub khob cij).

Kauj ruam 4: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv

Ua raws daim duab hauv qab no txhawm rau xaim lub vijtsam kom raug rau Arduino Nano

Txuas: (Siv Jumper Wires)

Yog tias koj lub rooj mov ci tau teeb tsa ua peb li, ces koj yuav tsum muaj peev xwm ua raws cov lus qhia hauv qab no rau lo lus. Thov saib cov duab kos thaum ua raws cov lus qhia.

Cov xim ntawm cov xov hlau tsis muaj teeb meem.

1. Txuas G3 ntawm board 2 mus rau H4 ntawm board 1

2. Txuas H4 ntawm board 2 mus rau H6 ntawm board 1

3. Txuas G5 ntawm board 2 mus rau H9 ntawm board 1

4. Txuas H6 ntawm board 2 mus rau I10 ntawm board 1

5. Txuas I14 ntawm board 2 mus rau J6 ntawm board 1

6. Txuas H15 ntawm board 2 mus rau J10 ntawm board 1

7. Txuas I16 ntawm board 2 mus rau J9 ntawm board 1

8. Txuas H17 ntawm board 2 mus rau B6 ntawm board 1

Txheeb xyuas ob txoj hlua ua ntej ntsaws Arduino rau hauv lub khoos phis tawj thiab hloov kho thaum Arduino tsis tau ntsaws.

Kauj ruam 5: Code Libraries

Ua ntej mus txuas ntxiv thov rub tawm cov tsev qiv ntawv hauv qab no txhawm rau kom cov cai ua haujlwm tau zoo

github.com/sparkfun/SparkFun_MAX3010x_Sens…

github.com/adafruit/Adafruit_SSD1306

github.com/adafruit/Adafruit-GFX-Library

Kauj Ruam 6: Lub Plawv Ntsuas Sensor Code

Ntxig cov cai hauv qab no los ntawm qhov txuas rau hauv koj Arduino IDE

create.arduino.cc/projecthub/SurtrTech/mea…

Pom zoo: