Cov txheej txheem:

MAKE Controller Persistence of Vision Effect With LEDs: 4 Kauj Ruam
MAKE Controller Persistence of Vision Effect With LEDs: 4 Kauj Ruam

Video: MAKE Controller Persistence of Vision Effect With LEDs: 4 Kauj Ruam

Video: MAKE Controller Persistence of Vision Effect With LEDs: 4 Kauj Ruam
Video: Holographic FlexLED 2024, Hlis ntuj nqeg
Anonim
MAKE Controller Persistence of Vision Effect With LEDs
MAKE Controller Persistence of Vision Effect With LEDs
MAKE Controller Persistence of Vision Effect With LEDs
MAKE Controller Persistence of Vision Effect With LEDs

Nyob zoo, qhov no yog kuv thawj zaug qhia thiab kuv vam tias koj nyiam nws. Nws yog txoj haujlwm yooj yim, siv MAKE Controller (tus tswj tau txiaj ntsig zoo los ntawm www.makezine.com), uas ua rau muaj kev nyob ruaj khov-ntawm-pom-cuam tshuam siv LEDs. Thaum koj txav lub rooj tsavxwm sai koj tuaj yeem pom ob kab sib dhos kos duab 'roob' lossis cov duab peb sab tas mus li.

Cov npe khoom siv: 8 LEDs 2 220ohm resistors MAKE Controller

Kauj Ruam 1: Npaj Lub Circuit Court

Npaj Lub Circuit Court
Npaj Lub Circuit Court

Ua ntej, koj yuav tsum coj 4 LEDs, 1 220ohm resistor thiab ob peb cm ntawm cov xaim thiab ua rau lub Circuit Court qhia hauv qab no. Thaum koj ua tiav thawj Circuit Court, tsuas yog ua qhov thib ob.

Kauj ruam 2: Txuas nrog Pawg Thawj Coj

Txuas nrog Pawg Thawj Coj
Txuas nrog Pawg Thawj Coj

Tam sim no, koj yuav tsum txuas ob lub voj voog mus rau lub rooj tsavxwm. Ib qho rau thawj 4 qhov tawm digital (0-3), thiab lwm qhov rau 4-7 digital outs.

Kauj ruam 3: Programming Board

Programming Pawg Thawj Coj
Programming Pawg Thawj Coj

Tam sim no, peb yuav tsum sau txoj haujlwm me me uas yuav ua rau muaj txiaj ntsig. Kuv txuas ib qho '.c' cov ntaub ntawv nrog cov cai thiab cov lus qhia sab hauv. Thov ceeb toom tias koj yuav xav tau Tus Tswj Xyuas firmware qhov chaws, rub tawm los ntawm https://www.makingthings.com/makecontrollerkit/software/index.htm. Koj kuj tseem xav kom muaj tus kws kho C. Txog MAKE Controller qhov chaws kuv yeej pom zoo rau koj CrossStudio (https://www.rowley.co.uk/arm/) vim tias nws suav nrog tus kws kho qhov chaw, tus sau, thiab tus thawj tswj haujlwm. Muaj lwm txoj hauv kev hloov: siv GNU ARM compiler ua ke nrog cygwin. Nyeem cov tswj kev qhia kom tau txais xov xwm ntau ntxiv txog cov ncauj lus no;-)

Kauj ruam 4: Rub tawm Firmware thiab Test

Thaum kawg, thaum koj tau suav sau 'hnyav' firmware, upload nws mus rau lub rooj tsavxwm siv MAKE Controller tus pabcuam (!! nco ntsoov lwv cov ntawv qub qub ua ntej yog tias koj tso nws ua ntej !!) thiab thaum ua tiav tsuas yog rov pib dua lub zog rau pawg thawj coj. Koj yuav tsum tau txais qee yam zoo li no: Thiab … yog li ntawd. Koj tuaj yeem txhim kho nws ntau, piv txwv li ua thawj kab ntsuab thiab xim liab thib ob, lossis ua tus cim cim, qhia cov lus Yog tias koj tau pom ib qho yuam kev, thov qhia rau kuv paub yog li kuv tuaj yeem kho nws. Kuv tseem qhib rau cov lus qhia;-)

Pom zoo: