Cov txheej txheem:

Digital Thereminvox: 4 Kauj Ruam
Digital Thereminvox: 4 Kauj Ruam

Video: Digital Thereminvox: 4 Kauj Ruam

Video: Digital Thereminvox: 4 Kauj Ruam
Video: Ennio Morricone - The Ecstasy of Gold - Theremin & Voice 2024, Lub Xya hli ntuj
Anonim
Digital Thereminvox
Digital Thereminvox
Digital Thereminvox
Digital Thereminvox

Thereminvox (aka theremin, ætherphone/etherphone, thereminophone lossis termenvox) yog cov cuab yeej siv suab paj nruag dawb huv, uas tsis muaj lossis tsis muaj hlua, tsis muaj khawm. Nws ua haujlwm ntawm tes tuav haujlwm.

Qhov ntsuas tau tsim los ntawm Lavxias tus kws tshaj lij hluav taws xob Lavxias thiab tus tsim khoom Leon Theremin xyoo 1920. Ntawm no koj tuaj yeem pom li cas Leon qhia nws lub cuab yeej. Niaj hnub no lub cuab yeej tsis nrov li hluav taws xob piano lossis ntaus guitar tab sis cov kws ntaus nkauj tseem siv nws.

Txoj haujlwm no tau sau hauv kev nco txog Leon Theremin, yuav luag 100 xyoo tom qab nws tsim tawm.

Txoj haujlwm yog kev siv digital ntawm tib lub hauv paus ntsiab lus - cov cuab yeej siv suab paj nruag tsis sib txuas. Thawj Thereminvox siv lub peev xwm ntawm tib neeg lub cev los txiav txim siab txoj haujlwm ntawm ob lub kav hlau txais xov, tab sis ntawm no kuv siv ob lub VL53L1X sensors hloov cov sensors ntsuas nrug deb siv lub teeb ci lub sij hawm-ntawm-txoj cai ya davhlau, piv txwv li lawv yog qhov zoo me me infrared radars, tuaj yeem ntsuas nrug deb li 4 meters (13ft). Lub microcontroller soldered rau Nucleo-L476 demo board tswj lub sensor thiab hloov kev ntsuas mus rau hauv lub suab.

Khoom siv

  • Nucleo64-L476RG MCU lub rooj tsavxwm
  • X-NUCLEO-53L1A1 sensor thaiv daim txiag
  • Mini jack 3.5mm ntsaws thiab cable
  • Qee cov xov hlau
  • Hais lus nrog kab tawm tswv yim thiab USB fais fab mov (Kuv siv JBL Them tus hais lus rau ob qho tib si)

Cov peev nyiaj tag nrho: $ 60 - $ 100

Kauj ruam 1: Flashing Firmware

Txhawm rau flash MCU firmware, txuas MCU board rau koj lub khoos phis tawj nrog Mini-USB cable. Lub rooj tsav xwm yuav raug kuaj pom ua lub flash drive tshiab. Rub tawm qhov tseeb l4-thereminvox.bin cov ntaub ntawv los ntawm github, thiab khaws cia rau hauv lub flash drive ntawd. Cov ntaub ntawv yuav raug xa mus rau MCU tau txais. Tsis txhob hnov qab txiav lub usb cable ua ntej cov kauj ruam tom ntej.

Kauj Ruam 2: Sib dhos Cov Ntsuas

Sib dhos Cov Ntsuas
Sib dhos Cov Ntsuas

X-NUCLEO-53L1A1 teeb tsa muaj cov khoom sib txuas ua ke ntawm arduino nrog ib qhov ntsuas, thiab lwm ob qhov ntsuas ntawm lub rooj zaum satellite, uas tuaj yeem txuas nrog daim ntaub thaiv raws li txheej thib ob. Kuv yuav siv tsuas yog lub cim tseem ceeb thiab sab laug, thiab sab laug yuav tsum tau taw qhia kab rov tav. Lub rooj sib tham satellite tau txuas nrog tus qauv 10-tus pin DIP txuas, thiab kuv tau siv tsib F-tus pin xov hlau los ua qhov txuas txuas. Pins 2-6 (GND, VDD, I2C tsheb npav + teeb liab kaw) yog teeb tsa tsawg kawg kom muaj lub sensor ua haujlwm. Thereminvox yog cov twj paj nruag monofonic, thiab lub suab tso tawm tau ua nrog ib txoj hauv kev ntawm MCUs ntawm-nti DAC. DAC tau sib tham sab hauv nrog rau ntawm-nti ua haujlwm ua haujlwm nrov. Cov amplifiers tso tawm tus pin yog PB0, uas yog txuas rau tus pin 34 ntawm CN7 MCU pawg thawj coj saib txuas. Daim ntawv txuas tom ntej yog lub xov tooj hluav taws xob me me, uas kuv txiav ua ob ntu, thiab tom qab ntawd txuas ob L thiab R suab raws mus rau ib tus pin poj niam txuas, thiab tus pin hauv av mus rau lwm qhov. Tam sim no koj tuaj yeem txuas minijack rau tus hais lus, thiab txhawb lub cuab yeej nrog USB cable.

Kauj ruam 3: Suab paj nruag

Cov cuab yeej tsim tawm ib leeg-suab sine wave tsis pub dhau 20-1200Hz Qhov nrug nruab nrab ntawm cov neeg siv sab laug thiab lub ntsuas hluav taws xob tswj qhov zaus, qhov siab ntawm sab tes xis tswj lub nthwv dej ntim. Unum, kuv tsis yog tshuab raj txhua, kuv ua tsis tau ua si nkauj ib yam li Leon Theremin tuaj yeem ua tau. Kuv tsuas tuaj yeem ua pov thawj tias lub cuab yeej ua haujlwm li cas.

Kauj Ruam 4: Cov Cim Cim

Lawv tau tshaj tawm ntawm github: https://github.com/elmot/l4-thereminvox Kuv tau siv CLion IDE (sau nws yog kuv txoj haujlwm), gcc cov cuab yeej, STM32CubeMX tus tsim hluav taws xob, VL53L1X lub tsev qiv ntawv los ntawm st.com.

Xav tias dawb los ua koj qhov kev hloov pauv piv txwv li qhov haujlwm yuav hloov pauv mus rau qhov ntsuas MIDI puv ntoob.

Pom zoo: