Ityhubhu ye-LED

ityhubhu ekhokelwa

Okokugqibela siseCaweni, kwiindawo ezininzi usuku lokubhiyozela kwaye yiyo loo nto namhlanje ndifuna ukukubonisa iprojekthi eyenziwe kwibhodi yeArduino oya kuthi uyithande ngokuqinisekileyo, hayi ngaphantsi kwe Ityhubhu ye-LED yenziwa ukusuka I-8 x 8 x 8 ii-LED eziluhlaza ukuba, nangona incinci ngaphantsi kokuphinda usebenzise izitayile ezahlukeneyo kunye nokutshintsha kwezibane, kuyinyani ukuba sonke esithanda ukuphinda sisebenzise olu hlobo lweprojekthi siyinto esingenako ukuyichasa.

Ukuba nomzekelo ocacileyo wento ongayenza ngale cube ye-LED ndikushiyele i- ividiyo ebekwe nje ngezantsi kwale migca apho, ngeentsuku nje ezimbalwa zomsebenzi, ngokuqinisekileyo unokufumana uncumo kwaye ubone nobunye ubuso bokubona ukuze ubenako oko kunye nenani loyilo kunye nemizobo onokuyifumana "ukuzoba".

Njengoko ubona, sijamelene neprojekthi «ngexabiso eliphantsi" Nangona kuza Ngaba uyazi ezinye izinto zombaneUkuba akunjalo, awuzukuba naxhala nokuba, kuba ukwakha ityhubhu ye-LED akunzima kakhulu ukusukela, ekupheleni kosuku, konke okufuneka ukwenze yinkqubo yakho apho uvula khona ii-LED ngokungathi zii-matrix kwaye uye kudlala neziphumo ukuze ii-LED zivule kwaye zicime.

Isikrini se-Arduino D20 LCD yeArduino
Inqaku elidibeneyo:
Izikrini zeLCD kunye neArduino

Funda ukukhwela kunye nokulawula ityhubhu ye-LED ngeRaspberry Pi yakho

Ityhubhu ye-LED eneRaspberry Pi

Uninzi lwabasebenzisi bafumana i Raspberry Pi ukuyisebenzisa kuphela njengeziko losasazo oluninzi kunye nokulinganisa ukuba baqhubeke nokudlala imidlalo abayithandayo, apho, njengabantu abancinci, batyale ixesha elininzi. Kwi-HWLibre sizama, ukongeza ekuboniseni nasekuqondeni ukusebenza komlawuli onje, ukukubonisa loo nto inesakhono esikhulu ngakumbi elisebenza kuphela, ngokuchanekileyo, njengeziko lemultimedia okanye i-emulator yemidlalo yevidiyo.

Namhlanje siza kuhamba inyathelo eliya phambili kwaye ndiza kuzama ukukubonisa into eyahlukileyo kunye nokubetha kangangoko kunokwenzeka Yakha ityhubhu ye-LED uyakwazi ukulawula ngokuzimeleyo, into elula kakhulu enokumangalisa bonke abantu esibabonisa iprojekthi, ukwazi ukuyicima nokuyicima ngokupheleleyo ityhubhu okanye ubonise olona lungelelwaniso lwezibane.

3x3 ityhubhu ye-LED

Okwangoku ndiqinisekile ukuba uya kuyilawula i-hardware ethi i-Raspberry Pi yakho isebenze kakuhle, ukuba kunjalo, ngokuqinisekileyo uya kwazi malunga neengxaki onokuba nazo xa usenza ityhubhu enkulu ye-LED ngokwe-3 x 3 x 3 Oku ndikuthetha kuba kulula ukufumana layita ucime kwaye uyicime ngokuyixhuma kwipini ye-GPIO, ingxaki kuxa, umzekelo, kwi-3 x 3 x 3 cube esele sinee-LED ezingama-27 kwaye I-Raspberry Pi inezikhonkwane ezili-17 ze-GPIO, khawufane ucinge ukuba siyayonyusa le milinganiselo.

Isisombululo kule ngxaki sifumaneka kwisoftware ekufuneka siyiphuhlisile kunye nendlela ekufuneka sidibanise ngayo ii-LEDs phakathi kwazo ukulungiselela ukusetyenziswa kwezikhonkwane ze-GPIO zeRaspberry Pi yethu kangangoko kunokwenzeka. Ukuya kwinkcukacha ezithe kratya, into yokuqala ekufuneka siyenzile kukuchonga, kwii-LED nganye esiza kuzisebenzisa iziphelo ezilungileyo nezingalungangaOku kulula kakhulu kuba ngesiqhelo i-anode okanye isiphelo esifanelekileyo sisikhonkwane esisekude ithutyana, ke ngoko, i-cathode okanye isiphelo esibi yipini emfutshane.

Ityhubhu ye-Blue Blue

Nje ukuba oku kulawulwe, kuya kufuneka sidibanise ii-cathode ngendlela enokuthi ifumane i-matrix yesayizi esiyifunayo. Uluvo lokusebenza ngokukhawuleza kwaye ngaphandle kweempazamo kukuya kwinqanaba ngokwamanqanaba, oko kukuthi, kuqala sakha isikwere sobukhulu esifuna bona, Ngee-LEDs ezintathu, ezine, ezintlanu ... zibeke. Siyabulela kwezi zisombululo siya kuba nakho ukuchonga nganye ekhokelwa kulungelelwaniso lwamacala amathathu.

Ewe, ithiyori ilula kakhulu, ubuncinci ukuyichaza xa uyiqonda kakuhle into oza kuyenza okanye sele uwenzile lo msebenzi ngamanye amaxesha. Ingabonakala inzima ngakumbi ukuyiphumeza phuhlisa ikhowudi Kuyimfuneko ukuba konke oku kusebenze njengoko zibonakala kwiividiyo ezininzi ezipapashwe kumaphepha afana ne-YouTube.

Ukwenza konke oku kube lula kuwe, Ndikushiya unxibelelwano apho ungabona khona ngokweenkcukacha kwaye inyathelo ngenyathelo ukuba uyila njani ityhubhu yakho ye-4 x 4 x 4 ye-LED. Ngaba sinokuphinda kabini ngokufanayo size siye kwi-8 x 8 x 8?


Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.