Kubiyoyin LED

ya jagoranci shigen sukari

A ƙarshe muna ranar Lahadi, a cikin yawancin al'ummomi rana ce don yin biki kuma wannan shine dalilin da ya sa a yau zan so in gabatar muku da aikin da aka kirkira daga kwamitin Arduino wanda lallai za ku so, ba komai ba sai Kwallon LED kerarre daga 8 x 8 x 8 Shudayen shudi cewa, kodayake yana da ƙasa da aikin sake fasalin salo daban-daban da tasirin hasken wuta, kuma gaskiya ne cewa, dukkanmu da muke son sake kirkirar wannan aikin, wani abu ne wanda baza mu iya tsayayya dashi ba.

Don samun cikakken misalin abin da zaka iya yi da wannan kwalliyar LED ɗin na bar maka a bidiyon da ke ƙasa da waɗannan layukan inda, tare da daysan kwanaki kaɗan na aiki, tabbas za ku iya yin murmushi har ma ku ga mara kyau a fuska lokacin da kuka ga abin da yake iyawa har ma da adadin ƙira da zane-zane waɗanda za ku iya “zana”.

Kamar yadda kake gani, muna fuskantar wani aiki wanda ya cika «mai araha"idan dai ka san wasu kayan lantarkiIdan ba haka ba, baku da damuwa ko dai tunda ginin kumburin LED ba shi da wahala tunda, a ƙarshen rana, abin da ya kamata ku yi shi ne shirinku inda za ku kunna ledojin kamar matrix ce kuma ci gaba da wasa tare da kayan aiki don LEDs suna kunnawa da kashewa.

Labari mai dangantaka:
LCD allo da Arduino

Koyi hawa da sarrafa kwalliyar LED tare da Rasberi Pi

Kwallan LED tare da Rasberi Pi

Dayawa sune masu amfani da suka sayi Rasberi Pi kawai don amfani da shi azaman cibiyar watsa labarai da ma matsayin emulator don ci gaba da buga wasannin da suka fi so, waɗanda a ciki, a matsayinsu na matasa, suka saka hannun jari mai yawa na awanni. A cikin HWLibre muna ƙoƙari, ban da nuna muku da fahimtar aikin mai sarrafa kamar wannan, don nuna muku hakan yana da ƙarfin aiki da yawa wannan kawai yana aiki, daidai, azaman cibiyar multimedia ko emulator don wasannin bidiyo.

A yau za mu ci gaba da mataki daya kuma mu gwada nuna muku wani abu daban daban da kuma burgewa kamar yadda zai iya zama gina kwandon LED cewa zaka iya sarrafawa gaba ɗaya kai tsaye, wani abu mai sauƙin fahimta wanda zaka iya mamakin duk mutanen da muke nuna musu aikin, kasancewar suna iya kunna kumburin kuma su kashe shi gaba ɗaya ko kuma nuna jerin fitilu masu kayatarwa.

3x3 LED kwalliya

A wannan lokacin na tabbata cewa za ku sarrafa kayan aikin da Rasberi Pi ɗinku ke da shi sosai, idan haka ne, tabbas za ku san matsalolin da za ku iya samu yayin kera babban kwalliyar LED dangane da 3 x 3 x 3 Na fadi wannan tunda abu ne mai sauki kunna LED da kashe ta haɗa shi zuwa fil GPIO, Matsalar itace lokacinda, misali, a cikin kwari 3 x 3 x 3 mun riga mun sami LEDs 27 kuma Rasberi Pi kawai yana da fil 17 GPIO, Yi tunanin idan muka haɓaka waɗannan girman.

Maganin wannan matsalar yana cikin software da dole ne mu haɓaka kuma ta hanyar da dole ne mu haɗa ledojin tsakanin su don inganta amfani da GPIO fil na Raspberry Pi gwargwadon iko. Idan muka fara bayani dalla-dalla, abu na farko da zamuyi shine tantancewa, a cikin kowane Lodin da zamuyi amfani da shi mai kyau da mara kyau ya ƙareWannan abu ne mai sauqi tunda yawanci anode ko kyakkyawan qarshe shine fil wanda yake dan tsayi kaɗan, sabili da haka, cathode ko ƙarshen ƙarshen shine mafi guntu.

Shudi mai haske

Da zarar mun sami wannan sarrafawa, dole ne mu walda cathodes ta yadda za mu iya samun matrix ɗin girman da muke so. Tunanin yin aiki da sauri ba tare da kuskure ba shine a hau matakin mataki, ma'ana, da farko muna gina murabba'i na girman da muke so, tare da ledodi uku, hudu, biyar ... don daga baya su maimaita wannan aikin sau dayawa yadda muke so, da zarar mun gama gina dukkanin murabba'ai masu LED sai kawai muyi tari su. Godiya ga waɗannan mafita za mu iya gano kowane jagora tare da daidaitawa mai girma uku.

Tabbas, ka'idar tana da sauki sosai, aƙalla don bayyana lokacin da kuka fahimci abin da yakamata kuyi ko kuma kun riga kun aikata wannan aikin a wani lokaci. Yana iya zama da alama yafi rikitarwa don cimmawa ci gaba zuwa lambar wajibi ne don duk wannan yayi aiki kamar yadda suka bayyana a cikin bidiyo da yawa waɗanda aka buga akan shafuka irin su YouTube.

Don yin duk wannan ya fi sauƙi a gare ku, Na bar muku hanyar haɗi inda zaka iya gani daki-daki kuma daga mataki zuwa mataki yadda zaka kirkiro kwandon ka na girman 4 x 4 x 4. Shin za mu ninka sau ɗaya kuma mu tafi 8 x 8 x 8?


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.