Cov txheej txheem:

Dhia rhiab Neopixel Trampoline: 11 Kauj Ruam (nrog Duab)
Dhia rhiab Neopixel Trampoline: 11 Kauj Ruam (nrog Duab)

Video: Dhia rhiab Neopixel Trampoline: 11 Kauj Ruam (nrog Duab)

Video: Dhia rhiab Neopixel Trampoline: 11 Kauj Ruam (nrog Duab)
Video: Rihanna - Diamonds 2024, Hlis ntuj nqeg
Anonim
Image
Image

Los ntawm RooKosherbay Ua raws ntau los ntawm tus sau:

Rov kho lub Vase tawg nrog Kintsugi
Rov kho lub Vase tawg nrog Kintsugi
Qhia Cov Menyuam Pixel Art Animation rau Kev Ua Si
Qhia Cov Menyuam Pixel Art Animation rau Kev Ua Si
Qhia Cov Menyuam Pixel Art Animation rau Kev Ua Si
Qhia Cov Menyuam Pixel Art Animation rau Kev Ua Si
Tig tawg lub mloog pob ntseg rau hauv AUX Cable
Tig tawg lub mloog pob ntseg rau hauv AUX Cable
Tig tawg lub mloog pob ntseg rau hauv AUX Cable
Tig tawg lub mloog pob ntseg rau hauv AUX Cable

Hauv cov lus qhia no, kuv yuav qhia koj yuav tsim lub trampoline uas hloov xim thaum twg koj dhia rau nws!

Kauj Ruam 1: Yam Koj Xav Tau

Yam Koj Xav Tau
Yam Koj Xav Tau
Yam Koj Xav Tau
Yam Koj Xav Tau

Cov ntaub ntawv:

  • 3 yob xaim, xim sib txawv, ua kom zoo dua qub
  • Cov laug, cov thwjtim zoo dua - Kuv tau siv cov xov hlau tuab hauv qhov pib, thiab nws tau yaj qeeb vim nws npau suav phem
  • Arduino - Uno yuav tsum ua haujlwm zoo tab sis kuv twb muaj Mega, yog li kuv tau siv qhov ntawd
  • Ua si trampoline (https://www.amazon.com/Golds-Gym-Circuit-Trainer-Trampoline/dp/B013XRMEIW)
  • Neopixel Led strip, Kuv tau siv qhov pheej yig dua WS28121B (https://www.amazon.com/ALITOVE-WS2812B-Individually-Addressable-Waterproof/dp/B00ZHB9M6A)
  • 0.1 uF capacitor
  • ~ 10K ohm resistor
  • ~ 500 ohm resistor
  • 60zip sib

Cov Cuab Yeej:

  • Soldering hlau
  • Phom phom kub - Txhawm rau tiv thaiv thiab tiv thaiv cov thaiv
  • Cov hlua hlau
  • Hlau txiav
  • Txiab

Kauj Ruam 2: Sib sau Trampoline

Lub thawv muaj cov lus qhia, lawv yooj yim heev.

Tsis txhob kov cov khoom siv hluav taws xob, peb yuav siv nws tom qab;)

Kauj Ruam 3: Txiav Neopixel Sawb

Txiav Neopixel Sawb
Txiav Neopixel Sawb
Txiav Neopixel Sawb
Txiav Neopixel Sawb
Txiav Neopixel Sawb
Txiav Neopixel Sawb

Muaj qhov tseeb 30 qhov chaw nruab nrab ntawm cov pab pawg uas tuav daim ntaub dhia hauv trampoline. Peb yuav txiav Neopixel kab txaij rau hauv 30 tus neeg LEDs, thiab muab tso rau nruab nrab ntawm txhua pawg.

Faj seeb: Muaj cov pob me me uas tau tuav cov hlua tuav ua ke, koj tuaj yeem txiav lawv ib yam nkaus.

Kauj Ruam 4: Siv cov LEDs

Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs
  1. Txiav txhua lub xov hlau txog li 2.5 ntiv tes. Qhov no yuav ua kom ntseeg tau tias cov xaim sib txuas ntawm LEDs tau ntev dua li txhua qhov qhab ntev
  2. Tshem cov xov hlau ntawm txhua sab
  3. Muab cov xov hlau txuas rau cov LEDs. Tawm cov yas tiv thaiv los tiv thaiv cov LEDs
  4. Ua qhov no txog 10 LEDs ib zaug (saib peb kauj ruam tom ntej)
  5. Ua kom ntseeg tau tias cov kab ntawv nyob hauv tib txoj kev

Kauj Ruam 5: Kub Kub Tag Nrho Cov Kev Sib Txuas

Kub Nplaum Txhua Qhov Kev Sib Txuas
Kub Nplaum Txhua Qhov Kev Sib Txuas
Kub Nplaum Txhua Qhov Kev Sib Txuas
Kub Nplaum Txhua Qhov Kev Sib Txuas
Kub Nplaum Txhua Qhov Kev Sib Txuas
Kub Nplaum Txhua Qhov Kev Sib Txuas
Kub Nplaum Txhua Qhov Kev Sib Txuas
Kub Nplaum Txhua Qhov Kev Sib Txuas

Ua ntej tshaj kom ntseeg tau tias cov xov hlau tsis sib kov thiab txhua yam yog gucci. Tom qab ntawd, siv cov kua nplaum kub los tiv thaiv cov xov hlau los ntawm kev sib kov, thiab tseem yuav lo cov LEDS rau cov yas npog kom tiv thaiv los ntawm ya raws.

Kauj Ruam 6: Txheeb xyuas tias Txhua Yam Ua Haujlwm Kom Zoo

Txheeb xyuas tias Txhua Yam Ua Haujlwm Kom Nyob Deb
Txheeb xyuas tias Txhua Yam Ua Haujlwm Kom Nyob Deb
Txheeb xyuas tias Txhua Yam Ua Haujlwm Kom Nyob Deb
Txheeb xyuas tias Txhua Yam Ua Haujlwm Kom Nyob Deb

Txuas cov kab txaij mus rau Arduino hauv qhov kev txiav txim hauv qab no.

  1. Txuas hauv av, Ua kom ntseeg tau tias koj txuas nrog PINS GROUND FIRST. Cov LEDs yog qhov tsis yooj yim heev
  2. Txuas lwm ob tus pin. Nco ntsoov tias Din tus pin yog PWM tus pin. (Saib daim duab)
  3. Rub tawm Fastled lub tsev qiv ntawv ntawm no, thiab ntshuam nws rau hauv koj li arduino IDE
  4. Mus rau kuv qhov git repo thiab rub tawm check_leds code (https://github.com/seniorburito/led_trampoline)

Txoj cai no yuav teeb LEDs nyob rau hauv kev txiav txim, yog li yog muaj teeb meem, koj yuav pom qhov twg xav tau kho.

Tsis tas li nco ntsoov nyeem cov ntawv Fastled ntawm no, nws tau sau zoo tiag tiag

Txog tam sim no, koj tuaj yeem tso arduino ntawm ib sab, lossis hauv qab trampoline.

Kauj Ruam 7: Txuas cov LEDs rau Trampoline Nrog Zip-ties

Txuas cov LEDs rau Trampoline Nrog Zip-ties
Txuas cov LEDs rau Trampoline Nrog Zip-ties
Txuas cov LEDs rau Trampoline Nrog Zip-ties
Txuas cov LEDs rau Trampoline Nrog Zip-ties
Txuas cov LEDs rau Trampoline Nrog Zip-ties
Txuas cov LEDs rau Trampoline Nrog Zip-ties

Kuv khi txhua tus coj nrog ob tus zauv sib txuas txhawm rau tiv thaiv kev coj ntawm kev txav mus los. Zipties yuav ua haujlwm zoo dua vim tias koj tuaj yeem tshem tawm yog tias koj txiav txim siab tshem tawm cov LEDs thiab vim tias zipties pheej yig.

Kauj Ruam 8: Hack tus dhia Sensor

Hack lub dhia Sensor
Hack lub dhia Sensor
Hack lub dhia Sensor
Hack lub dhia Sensor
Hack lub dhia Sensor
Hack lub dhia Sensor
Hack lub dhia Sensor
Hack lub dhia Sensor

Lub trampoline los nrog cov cuab yeej uas suav cov calories raws li koj dhia ntau npaum li cas. Peb tsis tuaj yeem ua dab tsi nrog nti, tab sis yog tias koj qhib lub ntsuas hluav taws xob dhia, koj yuav paub tias nws tsuas yog hloov pauv uas ua rau thaum koj siv lub zog rau nws. Nws yog qhov yooj yim heev los siv hloov pauv hloov pauv nrog Arduinos. Yog li ntawd, peb yuav siv nws hauv txoj haujlwm no kom nkag siab dhia, thiab ua rau muaj kev cuam tshuam thaum qhov ntawd tshwm sim.

Kauj Ruam 9: Txuas lub Sensor dhia

Txuas lub Jumping Sensor
Txuas lub Jumping Sensor
Txuas lub Jumping Sensor
Txuas lub Jumping Sensor
Txuas lub Jumping Sensor
Txuas lub Jumping Sensor

Txuas lub sensor mus rau ib qho ntawm cov ceg trampoline. Thiab teeb tsa lub Circuit Court zoo li qhia ntawm no.

Koj tuaj yeem txuas cov xov hlau los ntawm lub sensor hauv ib ntawm ob txoj hauv kev:

  1. Txuas cov kab nab kuab rau ob ntu hlau ntawm txoj kab txuas
  2. Txiav cov hlau, faib nws ua ob qho, ib sab ib sab, muab nws txuas rau txiv neej lub taub hau lossis pcb lossis qee yam zoo li ntawd.

Kauj ruam 10: Khiav Code

Khiav Txoj Cai
Khiav Txoj Cai
Khiav Txoj Cai
Khiav Txoj Cai

Rub lub led_trampoline.ino code los ntawm kuv qhov repo (https://github.com/seniorburito/led_trampoline).

Hloov LED_PIN, SWITCH_IN_PIN, SWITCH_OUT_PIN rau tus pin koj siv, thiab koj tau teeb tsa mus!

Nov yog daim vis dis aus txuas ntawm trampoline hauv kev nqis tes yog tias koj tsis tuaj yeem qhib nws los ntawm intro (https://www.youtube.com/embed/k_8mHe4OKWg)

Kauj Ruam 11: Yuav Muaj Ntxiv

Txoj haujlwm no tseem yog ib qho qauv. Kuv tseem tab tom ntxiv ntau tus qauv thiab kev ua haujlwm. Yog tias koj muaj tswv yim, thov qhia rau kuv paub, thiab yog tias koj xav pab nrog txoj cai, thov ua!

Xim ntawm Kev Sib Tw Zaj sawv
Xim ntawm Kev Sib Tw Zaj sawv
Xim ntawm Kev Sib Tw Zaj sawv
Xim ntawm Kev Sib Tw Zaj sawv

Khiav Tawm Hauv Cov Xim ntawm Zaj Zaj Sib Tw

Pom zoo: