Cov txheej txheem:

LED Dab Neeg Nrog Kov Sensors thiab MIDI: 9 Cov Kauj Ruam (nrog Duab)
LED Dab Neeg Nrog Kov Sensors thiab MIDI: 9 Cov Kauj Ruam (nrog Duab)

Video: LED Dab Neeg Nrog Kov Sensors thiab MIDI: 9 Cov Kauj Ruam (nrog Duab)

Video: LED Dab Neeg Nrog Kov Sensors thiab MIDI: 9 Cov Kauj Ruam (nrog Duab)
Video: ? Что такое многополосный 6 атомный хронометраж ? То 2024, Kaum ib hlis
Anonim
Image
Image
LED dab noj hnub nrog Kov Sensors thiab MIDI
LED dab noj hnub nrog Kov Sensors thiab MIDI
LED dab noj hnub nrog Kov Sensors thiab MIDI
LED dab noj hnub nrog Kov Sensors thiab MIDI
LED dab noj hnub nrog Kov Sensors thiab MIDI
LED dab noj hnub nrog Kov Sensors thiab MIDI

LED dab noj hnub yog qhov ntsuas sib tham nrog LEDs, lub peev xwm kov lub ntsej muag, thiab MIDI tso tawm txhua qhov tswj nrog Arduino Uno. Koj tuaj yeem teeb tsa lub cuab yeej hauv ntau txoj kev sib txawv. Hla tag nrho cov ntawv thov, lub tswv yim zoo ib yam nkaus: txiav txim siab lub sensor twg raug kov thiab tom qab ntawd hloov kho LEDs thiab MIDI cov zis. Hauv cov vis dis aus tshaj tawm ntawm no, koj tuaj yeem tshawb xyuas qee qhov haujlwm uas kuv tau sau. Lub chassis yog tsim los ntawm MDF thiab tau tshoov siab los ntawm laser txiav cov duab qhia chaw uas kuv pom ntawm cov lus qhia.

Kuv tau mob siab rau tsim lub cuab yeej vim tias kuv xav ua kom muaj kev sib tham sib ntau dua li cov cuab yeej uas ntxiv qhov tshiab tig rau LED cov ntxhuav. Vim muaj qee qhov teeb meem kuv muaj nrog IR lub cim xeeb hauv kuv qhov project geodesic dome, lwm lub hom phiaj rau LED dab noj hnub yog ua kom muaj kev ntseeg siab dua. Kuv tau xaiv lub ntsej muag kov lub ntsej muag, uas zoo dua ntawm kev muab lub teeb liab huv rau txhua lub ntsuas tsis tas yuav kho lub lauj kaub zoo ib yam li IR sensors. Kuv kuj xav ua lub cuab yeej me me uas yooj yim rau sib dhos thiab thauj.

Hauv cov lus qhia no, Kuv yuav mus teeb tsa kaum lub peev xwm kov lub ntsej muag nrog Arduino, WS2801 LED pixel sawb, thiab MIDI tso tawm. Cia peb pib tsim lub dab noj hnub!

Kauj Ruam 1: Cov Khoom Siv

Cov Khoom Muag
Cov Khoom Muag
Cov Khoom Muag
Cov Khoom Muag

Cov ntaub ntawv:

1. Arduino Uno (Atmega328 - sib dhos)

2. 30 cov laug cam ntawm 45cm x 45cm nruab nrab ntom fiberboard (MDF) nrog 3mm tuab

3. 1/16 tuab Acrylic rau diffusing LEDs (https://www.amazon.com/gp/product/B00DCKOH3G/ref=o…

4. 9V 2A Fais fab mov (https://www.amazon.com/gp/product/B0194B7TKO/ref=o…

5. Chaw nyob RGB LEDs (https://www.amazon.com/gp/product/B0192X56MM/ref=o…

6. Daim kab xev tooj liab (https://www.amazon.com/gp/product/B00Z8MCK6M/ref=o…

7. Buck converter rau Arduino (RioRand LM2596 DC-DC Buck Converter 1.23V-30V)

8. Pin Headers (Gikfun 1 x 40 Pin 2.54mm Ib Leeg Ib Leeg Breakaway Txiv Neej Pin Header)

9. USB txuas ntxiv (https://www.amazon.com/gp/product/B002M8VBIS/ref=o…

10. DC lub qhov (socket) DC (https://www.amazon.com/gp/product/B01LQGESUO/)

11. Txiv neej DC 2.1mm x 5.5mm Barrel Plug Socket (https://www.amazon.com/gp/product/B01GPL8MVG/ref=o…

12. MIDI rau USB cable (https://www.amazon.com/gp/product/B071KLC884/ref=o…

13. MIDI nkaus (https://www.amazon.com/gp/product/B00MEI42PU/ref=o…

14. Cov xov hlau (https://www.amazon.com/gp/product/B008AGUABU/ref=o…

15. Ib 5.5MΩ Resistor

16. Kaum 1kΩ Resistors

17. Ob 220Ω Resistors

18. 5/16 nti txoj kab uas hla tus pas nrig

19. Kho vajtse (https://www.amazon.com/gp/product/B06XQMBDMX/ref=o…

Cov Cuab Yeej:

1. Laser txiav

2. Orbital sander

3. Super kua nplaum

4. Kub kua nplaum phom

5. Soldering hlau

6. Cov cuab yeej qhwv

Kauj Ruam 2: Txheej Txheem Txheej Txheem

Txheej txheem cej luam
Txheej txheem cej luam

LED dab noj hnub siv lub peev xwm kov lub ntsej muag nyob ib puag ncig ntawm lub cuab yeej los tswj kaum LEDs thiab MIDI teeb liab. Tus Pin 2 ua tus xa tus pin rau lub peev xwm kov lub ntsej muag yog li 5.5MΩ resistor txuas nrog tus pin 2 txog kaum daim ntawv tooj sib txawv. 1kΩ resistor txuas nrog ntawm txhua tus tau txais tus pin (tus pin 3 txog 12) thiab daim ntawv tooj liab. Txog kev tshuaj xyuas ntawm lub peev xwm kov lub ntsej muag, txheeb xyuas kuv lwm yam kev qhia.

LEDs los ntawm LED sawb kuj tseem nyob ib puag ncig ib puag ncig ntawm lub cuab yeej, thiab lub teeb liab thiab moos pins tau txuas nrog pins A0 thiab A1 ntawm Arduino. Txog kev tshuaj xyuas ntawm LED strips thiab Arduino, txheeb tawm qhov txuas no. Thaum kawg, teeb liab tus pin ntawm MIDI nkaus txuas nrog tus pin kis (piv txwv li tus pin 1).

Hauv txoj cai, Arduino xa tus mem tes los ntawm tus pin 2 thiab ua rau digital nyeem ntawm ib qho ntawm cov pins tau txais ntawm lub peev xwm kov lub ntsej muag. Lub mem tes tau xa thiab kuaj pom rau txhua lub peev xwm kov lub ntsej muag. Nyob ntawm kev nyeem ntawv ntawm lub ntsuas cua, Arduino hloov xim ntawm LEDs thiab/lossis tsim tawm MIDI teeb liab.

Kauj Ruam 3: Tsim thiab Txiav Lub Thawv

Tsim thiab Txiav Lub Thawv
Tsim thiab Txiav Lub Thawv

Thawj qhov khoom plig hauv LED Contest 2017

Pom zoo: