Cov txheej txheem:

PixelOrgan: Suab-teb DotStar LED Sawb (nrog MicroView): 3 Cov Kauj Ruam (nrog Duab)
PixelOrgan: Suab-teb DotStar LED Sawb (nrog MicroView): 3 Cov Kauj Ruam (nrog Duab)

Video: PixelOrgan: Suab-teb DotStar LED Sawb (nrog MicroView): 3 Cov Kauj Ruam (nrog Duab)

Video: PixelOrgan: Suab-teb DotStar LED Sawb (nrog MicroView): 3 Cov Kauj Ruam (nrog Duab)
Video: Python for Everybody - Full University Python Course 2024, Kaum ib hlis
Anonim

Los ntawm thedodMy github nplooj ntawv Ua raws ntau los ntawm tus sau:

Micro: arcade - Pheej Yig, Micro: me ntsis -based, Solderless
Micro: arcade - Pheej Yig, Micro: me ntsis -based, Solderless
Micro: arcade - Pheej Yig, Micro: me ntsis -based, Solderless
Micro: arcade - Pheej Yig, Micro: me ntsis -based, Solderless
Pheej yig solderless khawm rov pib dua rau Raspberry Pi
Pheej yig solderless khawm rov pib dua rau Raspberry Pi
Pheej yig solderless khawm rov pib dua rau Raspberry Pi
Pheej yig solderless khawm rov pib dua rau Raspberry Pi
Ua Seedstudio's I2C LCD saib ua haujlwm nrog Arduino qub
Ua Seedstudio's I2C LCD saib ua haujlwm nrog Arduino qub
Ua Seedstudio's I2C LCD saib ua haujlwm nrog Arduino qub
Ua Seedstudio's I2C LCD saib ua haujlwm nrog Arduino qub

Hais txog: Nqus ntawm cov laug, [vam tias] them nyiaj nrog coding. Xav paub ntau ntxiv txog thedod »

Nov yog lub teeb-lub cev-ish thingie qhov chaw built-in microphone lub tswv yim tau tshwm ntawm DotStar 72 LED sawb kom lub sab saum toj LED nruab nrab tam sim no siab/nruab nrab/qis qis li R/G/B, thiab tas li ntawm LEDs sawv cev qhov txiaj ntsig yav dhau los (yog li peb tau txais cov dej tsaws tsag). Saib cov yeeb yaj kiab ntawm no.

Raws li tus tswj hwm, Kuv siv MicroView - ib qho me me Arduino clone nrog cov duab OLED kos. Qhov no cia cov kab ke qhia tam sim no siab/nruab nrab/qis duab nraaj-vaj huam sib luag-style, nrog rau kab rov tav pom cov qib tag nrho (siv tau thaum kho lub mic-rhiab heev potentiometer). Nws yuav tsum tsis txhob nyuaj ua txhua yam no nrog tus nqi Arduino qis dua (thiab txo tus nqi los ntawm ~ $ 35). Koj tsuas yog xav tau tshem tawm MicroView-cuam tshuam cov kab hauv txoj cai (lawv yooj yim pom).

Kauj ruam 1: Cov ntaub ntawv

  • MicroView maub los.
  • MicroView programmer (tseem siv rau USB lub zog xa khoom).
  • 72 LED DotStar strip (Kuv siv qhov no).
  • Lub tshuab electret microphone (nrog lub built-in amp).
  • 10㏀ potentiometer.
  • Ib qho "ib nrab-me me" qhob cij.
  • Breadboard jumpers.
  • Cov tub ntxhais 22 AWG xov hlau (rau lub microphone).
  • USB hom A txiv neej rau ntsia hlau dav hlau txuas.
  • USB phab ntsa them nyiaj (tsawg kawg 2 chaw nres nkoj, tsawg kawg ib ntawm lawv> = 2A).

Kauj ruam 2: Sib dhos

Los ua ke
Los ua ke
Los ua ke
Los ua ke
  • Sib sau MicroView (nyob rau sab saum toj ntawm tus programmer), mic (koj yuav tsum tau muab nws txuas rau xov hlau) thiab lub zog ntsuas ntawm lub khob cij (saib daim duab).
  • Nyob rau theem no (Ua ntej koom nrog DotStar hauv qhov no), txuas tus programmer rau koj lub khoos phis tawj ntawm USB, thiab xa cov cai (saib cov kauj ruam tom ntej).
  • Txuas cov xaim liab thiab dub xaim ntawm DotStar sawb rau USB ntsia hlau-lub davhlau ya nyob twg adapter (dub rau sab xis ntsia hlau, liab rau ntsia hlau thib ob ntawm sab laug).
  • Khaws cov dhia mus los ntawm lub moos thiab cov ntaub ntawv pins (4th thiab 5th pins ntawm sab laug ntawm "sab saum toj" sab ntawm MicroView).
  • Txuas tus MicroView programmer thiab USB ntsia hlau lub davhlau ya nyob twg adapter (txuas nrog DotStar) rau lub qhov ntsaws ntawm phab ntsa them nyiaj. Tseem ceeb: tus adapter yuav tsum nyob hauv lub qhov (socket) uas tuaj yeem muab tsawg kawg 2A (MicroView tsawg dua tuaj yeem xaiv).

Txaus siab rau.

Kauj ruam 3: Code

Koj tuaj yeem rub cov cai hauv qab no.

Koj kuj tseem yuav tsum tau teeb tsa Adafruit DotStar thiab Sparkfun MicroView cov tsev qiv ntawv (tsis tas yuav rub tawm lawv. Koj tuaj yeem yooj yim nruab lawv los ntawm Sketch/suav nrog Lub Tsev Qiv Ntawv/Tswj Libtraries ntawv qhia zaub mov ntawm Arduino IDE).

Txo cov nqi

Yog tias koj xav [txuag ~ $ 35] thiab siv "ib txwm" Arduino clone hloov pauv ntawm MicroView [+ Programmer], tshem tawm txhua kab uas muaj microview | uview | widget, thiab nws yuav zaum khiav ntawm ib qho Arduino clone (tsis tau sim [tseem]). Koj yuav tsis muaj cov duab nraub qaum (tau kawg), tab sis koj tuaj yeem tau txais kev tawm tswv yim thaum kho lub mic rhiab heev potentiometer los ntawm LED sawb nws tus kheej.

Tseem nco ntsoov tias txawm hais tias kuv siv tus programmer ua lub zog siv hluav taws xob USB, koj tuaj yeem txuag tau ~ $ 15 thiab siv lub microView los ntawm Dotstar (tus pin liab thiab dub ntawm JST txuas), tab sis koj yuav tsum tseem txuas a> 1mF capacitor nruab nrab ntawm lawv (los tiv thaiv MicroView los ntawm kev nce siab).

Pom zoo: