Cov txheej txheem:

DIY Dodow Clone Arduino Sleep Meditation Machine: 4 Kauj Ruam (nrog Duab)
DIY Dodow Clone Arduino Sleep Meditation Machine: 4 Kauj Ruam (nrog Duab)

Video: DIY Dodow Clone Arduino Sleep Meditation Machine: 4 Kauj Ruam (nrog Duab)

Video: DIY Dodow Clone Arduino Sleep Meditation Machine: 4 Kauj Ruam (nrog Duab)
Video: Dodow DIY Arduino Clone 2024, Kaum ib hlis
Anonim
Image
Image
Yam Koj Yuav Tsum Tau
Yam Koj Yuav Tsum Tau

Sync koj ua pa rau lub teeb ci kom txo koj cov pa thiab cia siab tias yuav tsaug zog yooj yim dua.

Tom qab muaj peev xwm kuv ib puas txhiab hmo tsis tsaug zog kuv tau tshawb nrhiav ib yam dab tsi uas tuaj yeem pab ua rau kuv tsaug zog sai dua thaum kuv dawm hla Dodow. Nws yog qhov tseem ceeb peb lub teeb ci LED uas maj mam qeeb dhau sijhawm nrog lub hom phiaj sim ua kom koj so kom koj tuaj yeem tsaug zog yooj yim dua. Zoo ib yam li cov kev ua pa ua pa uas xav tau.

Rau kuv qhov no zoo li yog txoj haujlwm zoo rau rov ua dua nrog Arduino. Kuv twb tau sim rov tsim dua kev ua haujlwm zoo li qub; koj tuaj yeem xaiv ntawm 8 lossis 20 feeb hom, koj muaj qhov qhib/tua hloov thiab khawm rov pib dua. Koj tseem tuaj yeem ua si ib puag ncig nrog cov cai thiab txiav nws rau koj tus kheej.

Kauj ruam 1: Yam Koj Yuav Tsum Tau

x1 Arduino Nano $ 3.46 los ntawm banggood.com

x3 LEDs Ib puag ncig $ 0.34 txhua

x3 220 Resistors Ib puag ncig $ 0.13 txhua

x2 SPDT Hloov yuav 100 ntawm no rau $ 2.76

x1 lub pob nyem hloov yuav 100 ntawm no rau $ 3.25

x 1 4AA Cov Roj Teeb Tus Nqi $ 2.17 los ntawm banggood x1 me ntsis ntawm perfboard rau cov khoom sib txuas ntawm.

Koj kuj tseem yuav xav tau xaim rau kev sib txuas (Kuv siv 22awg), cov hlau txuas, cov laug, tej zaum cov cua sov-ntsws tubing yog tias koj yog tus ua kom tiav. Tej zaum yuav yog cov ntsia hlau nyob ntawm qhov xwm txheej twg uas koj ua? Huag thiab tej zaum cov tuav LED.

Koj tuaj yeem siv Arduino Uno yog tias koj tsis muaj Nano seem (tus pin zoo ib yam), tab sis koj yuav tsis tau txais lub roj teeb zoo nrog Uno.

Kauj ruam 2: Upload Code

Rub tawm Txoj Cai
Rub tawm Txoj Cai

Tam sim no upload cov cai rau Arduino. Nws yuav khiav ntawm Nano lossis Uno yam tsis muaj kev hloov pauv, txawm li cas los koj yuav tau txais lub roj teeb zoo dua los ntawm Nano. Yog tias koj paub me ntsis txog kev ua haujlwm koj yuav txaus ntshai ntawm txoj cai no … Thov koj xav txhim kho! Koj tseem tuaj yeem nce/txo lub sijhawm nruab nrab ntawm qhov muag thiab lwm yam.

Txuas ncaj qha rau Github ntawm no

Kauj Ruam 3: Txhim Kho Circuit

Tsim Circuit Court
Tsim Circuit Court

Koj tuaj yeem ua zaub mov hauv Circuit Court ua ntej thiab ua si ib puag ncig nrog cov cai, lossis tsuas yog siv nws txuas mus tas li.

LEDS: Cov ceg luv ntawm LEDs muaj 220 Ohm Resistors txuas nrog lawv, tom qab no lawv mus rau hauv av.

Cov ceg LED ntev dua mus rau hauv cov pins hauv qab no; D9, D10, D11

RESET SWITCH: Ib sab ntug ntawm qhov hloov pauv hloov mus rau RST tus pin, tus pin nruab nrab mus rau hauv av. Tus pin thib peb tsis siv.

8 MIN / 20 MIN SELECTOR SWITCH: Ib sab ntug ntawm qhov hloov mus rau D2, nruab nrab mus rau hauv av. Tus pin thib peb tsis siv.

HWJCHIM: Qhov ua tau zoo ntawm lub roj teeb mus rau ib qho kawg ntawm qhov hloov pauv, tus pin nruab nrab mus rau ArduinoVin. Tus pin thib peb ntawm qhov hloov pauv tsis siv.

Kauj Ruam 4: Muab lub Circuit tso rau hauv rooj plaub

Muab lub Circuit hauv ib rooj plaub
Muab lub Circuit hauv ib rooj plaub
Muab lub Circuit hauv ib rooj plaub
Muab lub Circuit hauv ib rooj plaub
Muab lub Circuit hauv ib rooj plaub
Muab lub Circuit hauv ib rooj plaub

Kuv siv lub thawv miter thiab qee cov ntoo seem los tsim cov ntaub ntawv, tom qab ntawd kuv tau ruaj ntseg cov LEDs nrog cov tuav rau hauv qee qhov project dub DIY daim ntawv. Sab nraub qaum tsuas yog fibreboard nrog ob peb tus ntsia hlau kom nws txhua qhov chaw. Thaum kawg kuv kub-glued lub roj teeb pob rau lub rooj tsavxwm thiab ntxiv qee cov roj hmab taw.

Vam tias tam sim no koj yuav tsum muaj Dodow clone ua haujlwm. Tsaug zog!

Pom zoo: