Cov txheej txheem:

3D Luam Flahing LED Lub Npe Tag - Tau Koj Lub Npe hauv Teeb!: 4 Cov Kauj Ruam (nrog Duab)
3D Luam Flahing LED Lub Npe Tag - Tau Koj Lub Npe hauv Teeb!: 4 Cov Kauj Ruam (nrog Duab)

Video: 3D Luam Flahing LED Lub Npe Tag - Tau Koj Lub Npe hauv Teeb!: 4 Cov Kauj Ruam (nrog Duab)

Video: 3D Luam Flahing LED Lub Npe Tag - Tau Koj Lub Npe hauv Teeb!: 4 Cov Kauj Ruam (nrog Duab)
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Kaum ib hlis
Anonim
Image
Image
Luam Ntawv
Luam Ntawv

Nov yog qhov haujlwm zoo me me uas koj tsim lub npe cim uas yog lub ntsej muag zoo nkauj thiab ntxim nyiam siv ntau lub teeb LED.

Cov lus qhia yees duab:

Rau qhov haujlwm no koj yuav xav tau:

  1. 3D Luam Qhov Chaw
  2. Hloov me me
  3. 3 WS2812 LED Teeb
  4. Me Ardiuno - Nano, Nano Pro, lossis Digispark/Pro (Nano siv hauv qhov kev qhia no)
  5. Hlau
  6. Ntawv ntawv
  7. 2 2032 Roj teeb
  8. Zoo li txhua qhov haujlwm - ua siab ntev!

Kauj Ruam 1: Luam Ntawv

Koj yuav tsum luam tawm ib qho ntawm txhua ntu tshwj tsis yog rau cov clip, uas koj xav tau 2 ntawm. Thaum luam cov ntawv nrog cov lus ntawm lawv, koj yuav xav siv lub tshuab luam ntawv nrog ob lub taub hau, lossis teeb tsa koj cov ntawv kom ncua ntawm qhov siab raug yog li koj tuaj yeem hloov cov ntaub ntawv. Cov lus qhia ntawm kev ua qhov no nrog Cura muaj nyob hauv Youtube video hauv qab no. Koj tseem yuav tsum tau lo rau sab saum toj thiab hauv qab ntawm cov npe phaj mus rau ntu ntu nruab nrab. Cov kauj ruam ntxiv no yog dab tsi tso cai rau koj kom muaj lub ntsej muag nrog 4 cov ntaub ntawv sib txawv thaum siv lub tshuab luam ntawv ib leeg.

Yog tias koj xav hloov lub npe (feem ntau yuav) ntawm no yog CAD cov ntaub ntawv:

Cov vis dis aus hauv qab no tseem taug kev koj los ntawm kev hloov pauv uas yuav tsum tau hloov lub npe.

Kauj ruam 2: Program Arduino

Koj tuaj yeem teeb tsa Arduino txhua lub sijhawm tom qab sib dhos, tab sis nws yooj yim dua yog tias peb ua nws thawj zaug.

Koj tuaj yeem tsim kho Nano los ntawm kev ua raws cov lus qhia hauv video hauv qab no.

Nov yog cov ntsiab lus:

  1. Nruab thiab khiav Arduino IDEInstall Adafruit NeoPixel lub tsev qiv ntawv
  2. Thauj cov Piv txwv cov ntawv hauv [File -> Piv txwv -> Adafruit NeoPixel -> strandtest
  3. Hloov kab 16 los ntawm: Adafruit_NeoPixel strip = Adafruit_NeoPixel (60, PIN, NEO_GRB + NEO_KHZ800);
  4. rau: Adafruit_NeoPixel strip = Adafruit_NeoPixel (3, PIN, NEO_GRB + NEO_KHZ800);
  5. Program Nano nrog qhov piv txwv no

Kauj Ruam 3: Sib sau Cov Khoom Siv Hluav Taws Xob

Sib sau Electronics
Sib sau Electronics

Raws li koj tuaj yeem pom hauv daim duab, 2032 lub npib cell zaum hauv cov khoom ncig ntawm lub npe tag rov qab thooj - ib qho nrog rau sab zoo, thiab lwm qhov nrog rau sab tsis zoo. Koj yuav xav muab daim ntawv thwj rau nruab nrog khoov me ntsis ntawm txhua qhov kawg hauv cov kab hauv qab lawv ua ntej tso lub roj teeb. Koj tseem yuav siv 2 ntu me me ntawm daim ntawv xov uas khoov kom lawv tso siab rau saum lub roj teeb. Koj cov xov hlau zoo thiab tsis zoo raug muab txuas rau cov kab saum toj no - tsuas yog ua kom ntseeg tau tias koj muab qhov zoo tso rau sab nrog lub roj teeb zoo tig mus. Cov xaim zoo mus rau ib tus pin ntawm qhov hloov pauv thiab tom qab ntawd tus pin txuas tom ntej yog txuas rau Vin ntawm Nano. Qhov tsis zoo mus ncaj nraim rau GND ntawm Nano. Qhov no ua li cas yog siv qhov ntsuas hluav taws xob uas tau tsim rau hauv Nano pawg thawj coj los muab qhov xav tau 5 volts rau txhua yam.

Tom ntej no koj yuav xav khiav xov hlau los ntawm lwm tus GND tus pin ntawm Nano mus rau thawj lub rooj tsav xwm LED, lwm qhov los ntawm 5V tus pin ntawm Nano mus rau 5V ntawm thawj lub rooj tsav xwm LED, thiab thaum kawg xaim los ntawm tus pin D6 los ntawm Nano mus rau DI ntawm thawj LED. Tom qab ntawd koj yuav txuas txoj hlua txuas los ntawm xaim 5V, GND thiab Ua rau 5V, GND, thiab DI ntawm pawg thawj coj saib LED thib ob. Rov ua qhov no kom txuas lub rooj tsavxwm thib ob mus rau qhov thib peb. Tom qab ntawd koj tuaj yeem siv daim kab xev ob npaug me ntsis txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau sab nraum qab ntawm rooj plaub.

Kauj Ruam 4: Rooj Sib Tham Kawg

Image
Image
Los Ua Ke Kawg
Los Ua Ke Kawg

Ntxiv daim npog ntsej muag thiab kua nplaum rau ntawm 2 lub hnab tshos tom qab ntawm rooj plaub. Tom qab ntawd tsuas yog qhib nws thiab sim nws!

Pom zoo: