Cov txheej txheem:

Arduino Saib: 12 Cov Kauj Ruam (nrog Duab)
Arduino Saib: 12 Cov Kauj Ruam (nrog Duab)

Video: Arduino Saib: 12 Cov Kauj Ruam (nrog Duab)

Video: Arduino Saib: 12 Cov Kauj Ruam (nrog Duab)
Video: 🤞8 YAM COV NEEG TXAWJ NTSE ZAM TSIS UA YOG DAB TSI?🚫 2024, Kaum ib hlis
Anonim
Arduino Saib
Arduino Saib

Cov Lus Qhia no qhia yuav ua li cas thiaj ua tau Arduino Saib los ntawm Arduino Watch Core.

Kauj ruam 1: Kev npaj

Kev npaj
Kev npaj
Kev npaj
Kev npaj
Kev npaj
Kev npaj

Arduino Dev Board

Lub sijhawm no kuv siv Sparkfun Pro Micro 3.3 V 8 MHz dev board.

Saib Zaub

Lub sijhawm no kuv tab tom siv ST7789 1.3 IPS LCD.

Roj teeb Lipo

Kuv muaj qee lub roj teeb 301420 Lipo hauv tes.

Lipo Charge Board

Kuv muaj qee qhov 15 mm x 15 mm Lipo them nyiaj nyob hauv tes.

RTC nti

Lub sijhawm no kuv tab tom siv DS3231M, nws ua-nyob rau hauv siv lead ua oscillator, tsis xav tau cov khoom ntxiv

RTC Roj Teeb

Qhov no yog nyob ntawm yeem, yog tias koj xav khaws lub sijhawm txawm tias Lipo roj teeb tau siv. MS412FE yog lub roj teeb me me 1 mAh, raws li RTC cov ntaub ntawv 1 mAh twb tuaj yeem khaws sijhawm ntau hnub.

Saib Pluaj

Kuv tau xaj qee qhov 20 hli dav ntaub ntaub saib lub pluaj.

Lwm tus

Ib diode eg 1N5822, plaub 6 mm M2 screws, daim kab xev tooj liab thiab qee cov xov hlau

Kauj Ruam 2: Kho Dev Board & LCD

Kho Dev Board & LCD
Kho Dev Board & LCD
Kho Dev Board & LCD
Kho Dev Board & LCD

Siv daim me me ntawm PET phaj los lo rau Pro Micro thiab IPS LCD ua ke.

Kauj Ruam 3: Txuas GND

Txuas GND
Txuas GND
Txuas GND
Txuas GND

Nyeem cov ntawv LCD uas muab los ntawm koj tus neeg muag khoom.

Txiav me me tooj liab daim kab xev tsuas yog kov txhua GND pins thiab LED tsis zoo pins thiab kho nws ntawm FPC phaj. Tom qab ntawd muab cov pins txuas nrog daim kab xev tooj liab.

Kauj Ruam 4: Txuas Lub Hwj Huam Pins

Txuas fais fab Pins
Txuas fais fab Pins

Txuas dev board GND Pins rau daim kab xev tooj liab. Txuas Vcc tus pin rau LCD Vcc tus pin.

Kauj Ruam 5: Txuas LCD Pins

Txuas LCD Pins
Txuas LCD Pins

Nov yog cov ntsiab lus sib txuas:

LCD -> Arduino

LED+ -> GPIO 10 SDA -> GPIO 16 (MOSI) SCL -> GPIO 15 (SCLK) RST -> GPIO 18 (A0) DC -> GPIO 19 (A1) CS -> GPIO 20 (A2)

Kauj Ruam 6: Tshem Tawm Cov Hluav Taws Xob

Tshem Tawm Cov Hluav Taws Xob
Tshem Tawm Cov Hluav Taws Xob
Tshem Tawm Cov Hluav Taws Xob
Tshem Tawm Cov Hluav Taws Xob
Tshem Tawm Cov Hluav Taws Xob
Tshem Tawm Cov Hluav Taws Xob

Lub hwj chim LED ib txwm nyob thiab siv ntau dua 1 mA tsis tu ncua, yog li nws zoo dua tshem nws. Unsoldering thiab tshem tawm cov LED ua tib zoo.

Kauj Ruam 7: Txuas Lipo Roj Teeb

Txuas Lipo Roj Teeb
Txuas Lipo Roj Teeb

Nov yog cov ntsiab lus sib txuas:

Charge Board +ve in -> Dev Board J1 txuas ze ntawm lub qhov (USB) 5V

Charge Board -ve in -> Dev Board GND Pin Charge Board Battery +ve -> Lipo +ve -> 1N5822 diode -> Dev Board Raw Pin Charge Board Battery -ve -> Lipo -ve

Nco tseg:

Feem ntau Lipo them nyiaj txiag zoo dua siv 5V lub zog ua tswv yim. Txawm li cas los xij, Pro Micro dev board tsis muab USB 5V tus pin. Hmoov zoo, J1 txuas nyob ze ntawm lub qhov (socket) USB tau txuas nrog USB 5V tus pin tiag tiag. Ceev faj tsis txhob siv 2 txuas txuas ua ke.

Kauj Ruam 8: Txuas RTC

Txuas RTC
Txuas RTC
Txuas RTC
Txuas RTC
Txuas RTC
Txuas RTC

DS3231M yog qhov me me heev thiab nws xav tau txuas rau lub roj teeb me me, thov ua siab ntev txuas txhua tus ua ke:

DS3231M tus pin 2 (Vcc) -> dev board Vcc

DS3231M tus pin 5 (GND) -> dev board GND, MS412FE RTC roj teeb -v DS3231M tus pin 6 (VBAT) -> MS412FE RTC roj teeb +ve DS3231M tus pin 7 (SDA) -> dev board GPIO 2 (SDA) DS3231M tus pin 8 (SCL)) -> dev board GPIO 3 (SCL)

Kauj Ruam 9: Txuas Motion Sensor

Txuas Motion Sensor
Txuas Motion Sensor
Txuas Motion Sensor
Txuas Motion Sensor
Txuas Motion Sensor
Txuas Motion Sensor
Txuas Motion Sensor
Txuas Motion Sensor

Raws li tau hais hauv kuv cov lus qhia yav dhau los, Kuv siv 2 lub ntsuas kev co ua lub suab txav los ua rau pawg dev dev sawv tus pin.

Txawm li cas los xij, lub moos tsis muaj chav kom haum 2 5 hli kev co co. Kuv tau sim hloov nrog lub 3 hli kev co sensor thiab kuaj ob peb hnub. Nws yog ib qho yooj yim heev ua rau tsis muaj kev sawv thiab lub roj teeb ntws tawm hauv ib hnub.

Kuv tseem tab tom sim qee lwm txoj hauv kev kom tsis txhob ua yuam kev sawv. koj tuaj yeem ua raws kuv Twitter kom tau txais qhov kev tshawb pom zaum kawg.

Kauj ruam 10: Txoj haujlwm

Program
Program

Thov ua raws li kuv cov lus qhia yav dhau los rau program dev board.

Kauj Ruam 11: 3D Luam Watch Case

3D Luam Watch Case
3D Luam Watch Case

Thov rub tawm thiab luam tawm rooj plaub saib:

Kauj Ruam 12: Sijhawm Zoo Siab

Sijhawm Zoo Siab!
Sijhawm Zoo Siab!
Sijhawm Zoo Siab!
Sijhawm Zoo Siab!
Sijhawm Zoo Siab!
Sijhawm Zoo Siab!

Nws yog los qhia tawm yam koj tau ua rau koj cov phooj ywg!

Thiab koj tseem tuaj yeem:

  • program thiab tsim koj tus kheej lub ntsej muag saib
  • ntxiv cov ntsuas lossis cov khoom siv los ua kom nws dhau los ua lub ntse saib
  • tsim koj tus kheej cov ntaub ntawv saib

Pom zoo: