Cov txheej txheem:
- Kauj Ruam 1: Cov Ntaub Ntawv Xav Tau
- Kauj Ruam 2: Tsim Piano Ncej
- Kauj Ruam 3: Tsim Cov Khoom Siv Hluav Taws Xob
Video: Raspberry Pi LED Teeb Schroeder Piano: 3 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Raspberry Pi LED Teeb Schroeder Piano
LED (Lub Teeb Emitting Diode) thiab LDR (Lub Teeb Pom Kev Tiv Thaiv, lossis cov duab teeb pom kev zoo) tau siv los ua suab paj nruag sau siv Raspberry Pi Pygame MIDI sequencer. Muaj 15 paris ntawm LED & LDR (12 rau tag nrho octave ntawm cov ntawv, 1 mus rau thiab octave, 1 mus rau hauv thiab octave, thiab 1 rau cov ntawv qhia zaub mov). Thaum lub teeb nruab nrab ntawm LED thiab LDR tau tawg, suab paj nruag tau ua los ntawm Pygame MIDI tus lej. Thaum lub teeb nruab nrab ntawm Octave nce lossis nqis LED/LDR tau tawg, tag nrho lwm cov ntawv tau hloov pauv lossis nce ib qho octave. Pygame MIDI txhawb nqa ntau dua 75 lub suab paj nruas thiab 128 sau ntawv rau ib lub twj paj nruag (10 octaves). Cov ntawv qhia zaub mov tuaj yeem siv los hloov cov twj paj nruag. Raspberry Pi, lub rooj noj mov, thiab tus hais lus nyob hauv 20 nti x 30 nti ntoo piano uas zoo li me me piano loj.
Kauj Ruam 1: Cov Ntaub Ntawv Xav Tau
Cov ntaub ntawv xav tau:
1. Raspberry Pi. Kuv siv tus qauv B qub, rov kho dua 2. Cov qauv tshiab muaj cov txheej txheem nrawm dua thiab muaj GPIO ntau dua uas tuaj yeem nthuav txoj haujlwm 2. 15 pcs LED (Tsom/nqaim teeb nqaj), ci 3. 2 pcs LED (generic) rau xwm txheej (yeem) 4. 19 pcs 100 Ohm resistors 5. 15 pcs 47k Ohm resistors 6. 15 pcs LDR (Light Dependent Resistor) 7. 1 Breadboard 8. Cov xov txuas rau txuas Raspberry Pi rau breadboard, breadboad rau LDR/LED/resistors 9. Piano Ncej a 20 nti x 30 nti 1/2 "plywood b. 4 ko taw x 8 ko taw "hardboard c. 1 nti x 2 nti x 20 nti ntoo mus rau Mount LDR thiab LED (hardwood nyiam) d. 2 nti x 2 nti x 40 nti sab hauv cov lus e. ¾ inch x 15 nti dowel rau ob txhais ceg
Kauj Ruam 2: Tsim Piano Ncej
Saib txuas Raspberry Pi LED Teeb Schroeder Piano - Frame.pdf kom paub meej.
CEEB TOOM
Walls Sab phab ntsa tuaj yeem khoov nrog kua nplaum ntoo (kua nplaum nplaum) thiab clamps yog siv ⅛ Hardboard
❏ Xav tau 4'x8 'Hardboard ntawv rau sab ntev txaus
❏ Ntxiv 4'x8 Hardboard tuaj yeem siv rau Sab Saum thiab Hauv Paus (xav tau ntau txheej rau lub zog)
❏ Lub hauv paus tuaj yeem yog 1/2 Plywood
❏ 2 "x2" cov lus xa tawm los ntawm sab hauv qab ntawm lub hauv paus kom tuav khoov sab tawv
❏ Cov hlua thiab cov hlua txuas nyob rau hauv pem hauv ntej ntawm LDR mounts yeej pab hnav cov xov hlau nyob hauv qab tus ncej mus rau qhov ze ntawm daim txiag ntoo
❏ Hardboard npog sab puag
❏ Siv cov xovxwm laum rau LDR/LED mount qhov kom lawv ncaj ncaj kom haum raws qhov sib txawv
Holes 15 qhov (12 rau Cov Lus Cim, 1 rau Octave Up, 1 rau Octave Down, 1 rau Ntawv Qhia zaub mov
Kauj Ruam 3: Tsim Cov Khoom Siv Hluav Taws Xob
Saib txuas nrog Raspberry Pi Light Schroeder Piano - Schematic.pdf rau txuas xov tooj cua.
LUS CEEB TOOM: ❏ 6 "qhov siab tshaj plaws nrog 1" sib nrug ntawm LDR thiab LED nrog nqaim nqaim LED ua lub teeb pom kev nruab nrab ntawm (1/4 "raj tuav LDR thiab LED) tso rau hauv 1" tag nrho ntawm 1 "x2" txiav
Background Tsaus tom qab ib puag ncig LED pab tshem lub teeb ib puag ncig
❏ 2.0 Volts nrog lub teeb
❏ 15 LED/LDR khub (12 Sau ntawv rau tag nrho Octave, 1 Octave Up, 1 Octave Down, 1 Menu)
❏ LED ib puag ncig tiv thaiv tuaj yeem kho qhov ci ci LED thiab kos tam sim no
❏ Tsis txhob qhib qhov rub tawm/rub tawm ntawm GPIO
DR LDR> 50k Ohm w/ o teeb, <10k Ohm w/ teeb
❏ 5V ntawm Raspberry Pi muaj ntau dua tam sim no/lub zog los tsav LEDs ci dua
❏ Teem LDR nrog Chaw Teeb LED
Pom zoo:
Dusty Wall Arduino Animated Led Teeb Nrog Teeb Lub Teeb: 11 Cov Kauj Ruam (nrog Duab)
Dusty Wall Arduino Animated Led Lamp Nrog Lub Teeb Pom Kev: Kuv nyuam qhuav muaj me nyuam thiab tom qab ua nws chav pw, kuv xav tau lub teeb ntawm phab ntsa. Raws li kuv nyiam heev LED kuv txiav txim siab los tsim ib yam.Kuv nyiam lub dav hlau dav dav, yog li vim li cas ho tsis tso lub dav hlau los ntawm daim duab tas luav rau ntawm phab ntsa, ntawm no thaum nws pib thiab kuv ua li cas
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
Dynamic LED Teeb Pom Duab Duab Lub thawv thiab Ncej rau Kos Duab :: 16 Cov Kauj Ruam (nrog Duab)
Dynamic LED Lighting Shadow Box and Frame for Art :: Teeb pom kev yog qhov tseem ceeb ntawm kev kos duab. Thiab yog tias teeb pom kev zoo tuaj yeem hloov pauv nrog lub sijhawm nws tuaj yeem dhau los ua qhov tseem ceeb ntawm kev kos duab. Txoj haujlwm no tau pib nrog koom nrog kev ua yeeb yam pom thiab pom tias lub teeb pom kev zoo tuaj yeem hloov pauv li cas
Kov Tswj Lub Teeb Nrog Ntawv Teeb Duab: 14 Cov Kauj Ruam (nrog Duab)
Kov Tswj Lub Teeb Nrog Daim Duab Teeb Duab: Hauv cov lus qhia no kuv piav qhia yuav ua li cas koj tuaj yeem tsim lub teeb kov kov nrog ntawv ua lub teeb ntxoov ntxoo.Nws yog txoj haujlwm yooj yim uas txhua tus tuaj yeem tsim nws hauv tsev. los yog tawm lub teeb los ntawm kev kov
LED Teeb Teeb Duab Cwjmem: Cov Cuab Yeej rau Teeb Teeb Doodles: 6 Kauj Ruam (nrog Duab)
LED Teeb Teeb Lub Cwjmem: Cov Cuab Yeej rau Teeb Doodles: Kuv tus poj niam Lori yog tus neeg siv tsis tu ncua thiab kuv tau ua si nrog kev yees duab ntev ntev rau ntau xyoo. Kev tshoov siab los ntawm PikaPika pab pawg teeb pom kev zoo thiab yooj yim ntawm cov koob yees duab digital peb tau siv lub teeb duab kos duab kom pom tias peb tuaj yeem ua dab tsi