Akatungamirira kuutio

akatungamirira kuutio

Pakupedzisira tiri paSvondo, munharaunda zhinji zuva rekupemberera uye ndosaka nhasi ini ndichida kukupa iwe chirongwa chakagadzirwa kubva kubhodhi reArduino iwe chauchanyatsoda, hapana chakaderera pane Akatungamirira kuutio kugadzirwa kubva 8 x 8 x 8 maBlue ebhuruu izvo, kunyangwe iine zvishoma zvishoma pane mashandiro ekudzoreredza masitayera akasiyana uye simba remwenje, ichokwadi zvakare kuti isu tese tinoda kutangazve rudzi urwu rweprojekiti chimwe chinhu chatisingakwanise kuramba.

Kuti uve nemuenzaniso wakajeka wezvaunogona kuita neiyi cube re LED ndinokusiira a vhidhiyo iri pazasi pemitsara iyi uko, nemazuva mashoma chete ebasa, zvirokwazvo iwe unogona kuwana kunyemwerera uye kunyangwe kuona imwe kumeso kwechiratidzo kuti uone icho chinokwanisa uye kunyangwe huwandu hwezvigadzirwa uye magiraidhi iwe aunogona kuwana ku "dhonza".

Sezvauri kuona, isu tiri kutarisana nechirongwa chaizvo «zvakachipa" chero paine unoziva here zvemagetsiKana zvisiri, iwe haufanire kunetseka futi, nekuti kuvaka iyo cube cube haina kunyanya kuomesa sezvo, pakupera kwezuva, zvese zvaunofanirwa kuita chirongwa chako kwaunobatidza maLED kunge ari matrix uye enda unotamba nezvinobuda kuitira kuti maLED ajeke uye abvise.

Nyaya inoenderana:
LCD skrini uye Arduino

Dzidza kukwira uye kudzora cube re LED neako Raspberry Pi

LED cube ine Raspberry Pi

Vazhinji vashandisi vanowana iyo Raspberry Pi kungoishandisa senzvimbo yemultimedia uye kunyangwe semumulator kuti varambe vachitamba mitambo yavo yavanofarira, iyo iyo, sevechidiki, vakaisa mari yakawanda kwazvo. MuHWLibre isu tinoedza, pamusoro pekukuratidza uye nekunzwisisa mashandiro emutungamiriri seizvi, kukuratidza izvo ine chinzvimbo chakanyanya iyo inoshanda chete, chaizvo, seyemultimedia nzvimbo kana emulator yemavhidhiyo mitambo.

Nhasi tichaenda nhanho kumberi uye ini ndichaedza kukuratidza chimwe chinhu chakasiyana pamwe nekurova sezvazvinogona kuve kuvaka iyo cube cube kuti iwe unogona kudzora zvakazvimiririra zvakakwana, chimwe chinhu chiri nyore kwazvo chekushamisa vanhu vese avo vatinoratidza chirongwa ichi, kugona kubatidza cube uye kudzima zvachose kana kuratidza kuteedzana kunonakidza kwemarambi.

3x3 akatungamirira kuutio

Parizvino ndine chokwadi chekuti iwe unodzora Hardware iyo yako Raspberry Pi ine mushe mushe, kana zvirizvo, zvirokwazvo iwe uchazoziva nezve matambudziko aungave nawo paunenge uchigadzira yakakura LED cube maererano ne3 x 3 x 3. Ini ndinotaura izvi sezvo zviri nyore kwazvo kuwana batidza LED nekudzima nekuibatanidza kune GPIO pini, dambudziko nderekuti, semuenzaniso, mune 3 x 3 x 3 cube isu tatova ne27 maLED uye iyo Raspberry Pi ine chete gumi nematanhatu GPIO pini, chimbofungidzira kana isu tichiwedzera izvi zviyero.

Mhinduro yedambudziko iri inowanikwa mune software iyo yatinofanira kukudziridza uye munzira iyo yatinofanirwa kubatanidza ma LED pakati pavo kugadzirisa mashandiro eGPIO pini dzeRaspberry Pi yedu zvakanyanya sezvinobvira. Kuenda mune zvakadzama zvishoma, chinhu chekutanga chatinofanira kuita kuziva, mune yega yega maLED atinozoshandisa akanaka uye akaipa magumoIzvi zvakapusa sezvo kazhinji anode kana yakanaka magumo ipini iyo ingori yakati rebei muchinguva, nokudaro, iyo cathode kana yakaipa magumo ndiyo ipfupi pini.

Bhuruu ye LED cube

Kana tangova neizvi zvinodzorwa, tinofanirwa kusimbisa macathode nenzira yekuti titore matrix ehukuru hwatinoda. Pfungwa yekushanda nekukurumidza uye pasina zvikanganiso kuenda padanho nedanho, ndokuti, kutanga isu tinovaka mraba wehukuru hwatinoda, iine maLED matatu, mana, mashanu ... kuzodzokorora chiitiko ichi kakawanda sezvatinoda, kana tangova nezvikwata zvese zveLED zvakavakirwa isu tinongofanirwa zviunganidze. Nekuda kwemhinduro idzi isu tinokwanisa kuona yega yega inotungamirwa neatatu-matatu mativi.

Ehezve, dzidziso yacho yakapusa, zvirinani kutsanangura kana iwe uchinyatsonzwisisa zvekuita kana iwe watoita basa iri pane imwe nguva. Zvinogona kutaridzika kunge zvakaoma kunzwisisa develop kukodhi zvakafanira kuti zvese izvi zvishande sezvavanoonekwa mumavhidhiyo mazhinji akaburitswa pamapeji akadai seYouTube.

Kuita kuti zvese izvi zvive nyore kwazvo kwauri, Ini ndinokusiya iwe chinongedzo kwaunogona kuona zvakadzama uye nhanho nhanho maitiro ekugadzira yako 4 x 4 x 4 LED cube. Tinogona here kuti tifanane zvakapetwa uye tokwira kusvika ku8 x 8 x 8?


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako