Ayyuka 3 tare da RGB Led da Arduino

Rgb da Arduino sun jagoranci cube fitilu

Ofayan ayyukan farko da mai amfani wanda ke farawa a duniyar lantarki ya koya shine aiki tare da fitilu kuma musamman tare da ledodi. Hanyar koyo na wannan abun yana da sauki sosai kuma a cikin 'yan mintuna zamu iya cimma manyan abubuwa kamar fitilu masu haske, sigina na haske ko abubuwan tabbatarwa na babban aiki.

Koyaya, kwanan nan, masu amfani suna koyon yadda ake amfani da ledojin RGB, bambancin da ya shahara sosai kuma yana da matukar amfani ga ayyuka da yawa. Amma Menene? Waɗanne shahararrun ayyuka ne waɗanda za mu iya ƙirƙirawa tare da sababbin diodes na RGB Led?

Menene RGB Led?

LED haske ne mai fitarwa. Mai tsada da sauƙin amfani da na'urar tare da kowane allon lantarki koda ba tare da shi ba. Babban ayyukanta sune ƙananan kuzarin da yake cinyewa da kuma nau'ikan tsari da muke samu tare da ledodi. Don haka, ba kamar fitilun gargajiya da ke haskaka mu ba, LEDs suna ba mu damar amfani da su a cikin na'urori daban-daban har ma da ƙirƙirar wasu siffofi waɗanda suke nesa da siffar kwan fitila ta gargajiya. Awanni masu fa'ida na LEDs suma sunfi sauran na'urori yawa. Don haka, a matsayin kwan fitila, diode na wannan nau'in yana ba da ƙarin awoyi na haske fiye da kwan fitila na gargajiya; A matsayin wani ɓangare na allo, pixels na LED suna ba da rai fiye da pixel na al'ada; Sabili da haka tare da na'urori daban-daban da ke amfani da fasaha.

Labari mai dangantaka:
Kayan lantarki

Amma a wannan yanayin zamuyi magana game da fitilun RGB, fitattun fitilu. Dalilin wannan nasarar shine saboda damar da suke bayarwa sama da fitilun yau da kullun. LED diode yana ba da launi ɗaya kawai na haske, abin da ba za mu iya canza shi zuwa na'urar ba har sai mun canza diode ɗin. Rio Led diode yana fitar da haske cikin launuka uku: Red (Red), Green (Green) da Blue (Blue) da haɗuwarsu, ma'ana, yana iya canza launi zuwa yadda muke so ba tare da canza diode ba. Nasarar fitilun RGB LED suna cikin yiwuwar canza launin haske ba tare da canza diode ba, wani abu mai amfani wanda kawai ake buƙata ilimin shirye-shirye.

Infinite LGB RGB Cube

Wannan aikin ya kunshi kirkirar kwalliyar launuka wanda zai iya canzawa gwargwadon lokacin da muke dashi ko kuma kawai duk 'yan dakikoki. Infinite Led RGB Cube cube ne mai haske, wanda zai iya aiki azaman fitilar diode. Sakamakon ƙarshe zai kasance haɗuwa da rgb jagoranci diode da Arduino.

Domin gina ta kuna buƙatar 512 RGB Led diodes, lu'ulu'u 6, microcontroller wanda zai iya kasancewa Arduino UNO, kebul ko baturi don ƙarfafa diodes da tushe wanda ke tallafawa dukkan tsarin. Da zarar mun sami wannan, dole ne mu haɗa dukkanin diodes don su ƙirƙira kwalliya ko kuma su sami siffar siffar sukari. Sirrin gina wannan tsarin shine lanƙwasa ɗaya ƙwanƙolin diode na tsaye zuwa diode, ƙirƙirar kusurwa ta dama tare da ɗayan fil. Za a sami gefe ɗaya na kwalliyar da ba ta da alaƙa da juna, amma dukansu za a haɗe da diode na RGB guda ɗaya.

Da zarar mun sami duk tsarin da aka kirkira, dole ne mu shiga cikin fil ɗin da suka rage zuwa hukumar kula da microcontroller. A wannan lokacin, dole ne mu nuna cewa gefen wannan kwalliyar dole ne ya sami diodes 8 x 8, ƙirƙirar kuubu na 8 x 8 x 8 RGB LEDs. Don haka, muna shiga cikin fil na diodes waɗanda suke kwance daga kwalliyar zuwa allon kuma gabatar da wani shiri a gareta wanda ke kunna diode cube a hankali kuma tare da launuka daban-daban. Da zarar komai ya taru, dole ne muyi amfani da lu'ulu'u don ƙirƙirar wani nau'in urn da ke karewa da rufe diodes, tushe zai tallafawa ba kawai diode cube ba har ma da urn ɗin da muka kirkira. Ginin wannan Infinity Led RGB Cube yana da sauqi amma sauqi shine gyaranta. Har yanzu, a cikin Umarni Zaka sami jagora mataki-mataki zuwa gininta.

Labari mai dangantaka:
Sanya mai sarrafa MIDI naka tare da Arduino

Easy LED RGB Alamar

Yi alama tare da rgb jagoranci da Arduino

Wannan aikin yafi sananne kuma yafi amfani amma kuma yafi wahalar ginawa fiye da aikin da ya gabata. Easy LED RGB Sign alama ce ta sanarwa wacce aka gina tare da diodes da Arduino. Wannan aikin yana buƙatar LEDs 510 RGB ko za mu iya canza wannan don tube iri ɗaya. Manufar shine a gina rectangle na 10 x 51 LEDs. Hakanan zamu buƙaci zanen gado guda uku 3 waɗanda zasuyi aiki azaman tallafi da kariya don Easy LED RGB Sign da muka ƙirƙira. 510 RGB LEDs, igiyoyi don yin wayoyi, allon microcontroller kamar Arduino UNO da batir don kunna diode da kuma kwamitin Arduino.

Da farko dole ne mu kirkiro tsari da sanya diodes akan sa. Zamu iya yin yadda muke so amma dabara mai kyau ita ce amfani da ɗayan waɗancan ɗakunan rubutun acrylic azaman tallafi don fitilun LED, saboda a bayyane yake, ba za a yaba da shi a sakamakon ƙarshe ba. Tare da kebul na bakin ciki dole ne mu ƙara diodes kuma haɗa su zuwa microcontroller. Da zarar an haɗa komai, zamu haɗa microcontroller zuwa baturin kuma a ciki muke gabatar da shirin da muke so. Shirin zai yi aiki mai zuwa:

  • Kunna wasu ledodi.
  • Kowane ɗayan waɗannan diodes ɗin suna da launi na musamman.

Sakamakon zai zama ƙirƙirar haruffa, alamu ko sigina waɗanda za mu iya amfani da su a wasu yanayi. Easy LED RGB Sign aiki ne mai ban sha'awa tunda yana da matukar amfani, tunda yana bamu damar ƙirƙirar alamun da muke so. Muna da karin bayani game da gininsa a ma'ajiyar Instructables. Amma ba rufaffen aiki bane kuma Zamu iya banbanta adadin diodes ko kuma kai tsaye mu canza shirin da ke aiwatar da hasken diodes din domin yayi aiki daban.. Increasesarfin yana ƙaruwa lokacin da muka haɗu da wannan alamar RGB LED da Arduino, kasancewar muna iya ƙirƙirar kyawawan alamu ko tare da haɗin kwamfutoci kamar alamun sana'a.

Teburin Taɓa RGB Pixel

Tebur tare da RGB Led diodes da Arduino

Led RGB Pixel Touch Table aiki ne mai ban sha'awa wanda ke jujjuya yanayin zuwa tebur mai sauƙi. Wannan aikin yana da wahala fiye da ayyukan da suka gabata amma ginin sa yana da sauƙi. A wannan yanayin zamu haɗu sama da RGB da LEDs Arduino, tunda zamuyi amfani da na'urori masu auna sigina ko na'urori masu auna sigina na IR. Don wannan zamu buƙaci abubuwa masu zuwa:

  • Tebur tare da sararin samaniya.
  • Matrix na 10 x 16 RGB LEDs.
  • Jerin na'urori masu auna firikwensin 10 x 16 IR.
  • Katin SD ko MicroSD don adana bayanai.
  • Aikin Bluetooth.
  • Arduino hukumar.
  • Mai magana mai kaifin baki tare da haɗin Bluetooth.

A wannan yanayin dole ne mu ƙirƙiri nodes ko "maɓallan" waɗanda ke samar da mahaɗar firikwensin taɓawa da diode kuma wannan shine ikon da zamu danna yayin wasa da teburin mu. Ta wannan hanyar da kowane kumburi zai iya fitar da bayanai idan muka taba allon kuma tana iya fitar da haske. A) Ee, Zamu iya yin wasa da wannan teburin girkin, wasannin ƙwaƙwalwar ajiya na gani, macijin gargajiya, ping-pong ko ƙirƙirar kanti mai sauƙi. Gabaɗaya zamu sami nodes 160 waɗanda zamu iya sanya su a cikin sifar matrix 10 x 16.

Za mu sanya wannan matrix a ƙarƙashin gilashin tebur. Gilashin tebur dole ne a maye gurbinsu da taushi mai laushi kamar filastik acrylic. Ana yin wannan domin hakan firikwensin yana aiki lokacin da muka danna shi.

Yanzu, an tattara komai, dole ne mu ƙirƙiri shirin da ke aiki da aiwatarwa tare da wannan matrix. Zamu iya amfani da wasanni kamar tetris ko kawai wasan gargajiya na "Simon". Mun shigar da shi a cikin allon microcontroller kuma mun haɗa shi zuwa matrix. Zamu iya ƙara sauti zuwa wannan aikin saboda mai magana da bluetooth wanda za mu iya haɗawa da firikwensin bluetooth wancan yana da microcontroller hukumar.

Wannan shine taƙaitaccen aikin Led RGB Pixel Touch Table amma jagorar sa ba mai sauƙi bane kamar yadda yake. Irƙirar nodes na buƙatar makirci da ƙirƙirar ƙananan ƙwayoyi, tare da software na wasan daidai abin yake faruwa. Anan kawai muna son magana game da manyan ra'ayoyi da abin da zai iya haifar. Amma kuna da cikakken jagorar gininsa a ciki wannan haɗin.

Wane aiki ne ya cancanci ginawa?

Munyi magana game da ayyuka guda uku tare da RGB LEDs masu sauƙin gini kuma basu da tsada. Kodayake da yawa daga cikinku sun ga cewa muna amfani da diodes masu yawa, dole ne a ce farashin waɗannan sababbi suna da ƙasa ƙwarai, don haka ƙasa da cewa irin wannan diodes ɗin yana da kuɗin Euro biyu kawai. Duk ayyukan suna da abubuwan da suka dace da roko. Da kaina Ina ba da shawarar yin duk ayyukan. Da farko zai gina kwalin fitilu; daga baya zai gina alamar haske kuma a ƙarshe zai gina teburin wasan. Umurnin kammalawa yana da mahimmanci yayin da muke tafiya daga aiki mai sauƙi zuwa aiki mafi wahala. A kowane hali, bayan gina waɗannan ayyukan guda uku sakamakon zai zama iri ɗaya: za mu mallaki amfani da waɗannan diodes. Kuma zuwa gare ku Wane aikin kuka fi so?


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.