Enye yamaphrojekthi okuqala umsebenzisi owufundayo emhlabeni we-elekthronikhi efunda ukusebenza ngamalambu futhi ikakhulukazi ngama-LED. Ijika lokufunda lale nto lilula kakhulu futhi ngemizuzu nje embalwa singakwazi ukufeza izinto ezinhle njengezibani ezihlakaniphile, amasiginali wokukhanya noma izinto zokuqinisekisa zephrojekthi enkulu.
Kodwa-ke kamuva nje, abasebenzisi bafunda ukusebenzisa ama-RGB LEDs, umehluko osuthandwa kakhulu futhi ilusizo kakhulu kumaphrojekthi amaningi. Kepha Kwenzenjani? Yimaphi amaphrojekthi athandwa kakhulu esingawakha ngama-diode e-RGB Led amasha?
Yini i-RGB Led?
I-LED iyi-diode ekhanyayo ekhanyayo. Idivayisi engabizi futhi elula ukuyisebenzisa enanoma iyiphi ibhodi ye-elektroniki ngaphandle kwayo. Imisebenzi yayo eyinhloko amandla aphansi ewasebenzisayo namafomethi ahlukahlukene esiwathola ngama-LED. Ngakho-ke, ngokungafani nezibani zendabuko ezisikhanyisayo, Ama-LED asivumela ukuthi siwasebenzise kumadivayisi ahlukene futhi sakha nezinye izinhlobo ezikude kakhulu nesimo se-bulb yendabuko. Amahora awusizo ama-LED nawo aphakeme kakhulu kunamanye amadivayisi. Ngakho-ke, njengebhalbhu elikhanyayo, idayidi yalolu hlobo inikela ngamahora amaningi okukhanya kunaleyo yokukhanya okujwayelekile; Njengengxenye yesikrini, amaphikseli we-LED anikela ngempilo engaphezulu kwephikseli ejwayelekile; Futhi-ke ngamadivayisi ahlukene asebenzisa ubuchwepheshe.
Kepha kulokhu sizokhuluma ngamalambu e-RGB, amalambu akhula ngokwengeziwe. Isizathu salokhu kuphumelela kungenxa yamathuba abawanikezayo ngaphezu kwamalambu avamile. I-diode ye-LED inikeza umbala owodwa kuphela wokukhanya, into esingeke sikwazi ukuyishintshela kudivayisi ngaphandle kokuthi siguqule idayode. I-diode ye-RGB Led ikhipha ukukhanya ngemibala emithathu: Okubomvu (Okubomvu), okuluhlaza okotshani (okuluhlaza okotshani) nokuluhlaza okwesibhakabhaka (okuluhlaza okwesibhakabhaka) nezinhlanganisela zazoNgamanye amagama, ingaguqula umbala ngokuthanda kwethu ngaphandle kokushintsha idayode. Impumelelo yamalambu e-RGB e-LED ilele ethubeni lokushintsha umbala wokukhanya ngaphandle kokushintsha i-diode, okuthile okusebenziseka kakhulu okudingeka kuphela ulwazi lohlelo.
I-RGB Cube engapheli
Le phrojekthi iqukethe ukudala i-cube enemibala engashintsha ngokwesikhathi esinaso noma kalula njalo ngemizuzwana embalwa. I-Infinite Led RGB Cube iyikhabethe elikhanyayo, elingasebenza njengesibani se-diode. Umphumela wokugcina uzoba ukuhlanganiswa kwe-dig led diode ne-Arduino.
Ngokwakhiwa kwayo udinga ama-diode angama-512 RGB Led, amakristalu ayi-6, i-microcontroller engaba njalo Arduino UNO, ikhebuli noma ibhethri lokunika amandla ama-diode nesisekelo esisekela isakhiwo sonke. Uma sesinakho lokhu, kufanele sihlanganise wonke ama-diode ukuze akhe ikyubhu noma abe nokwakheka kwekhiyubhu. Imfihlo yokwakha lesi sakhiwo ukugoba iphini elilodwa le-diode ngokungafani nedayidi, kwakheke i-engeli elungile nenye iphini. Kuzoba nohlangothi olulodwa lekhiyubhu elingenakho ukuxhumana komunye nomunye, kepha zonke zizonamathiselwa kudayode elilodwa eliholwa yi-RGB.
Lapho nje sesakhiwe sonke isakhiwo, kufanele sijoyine izikhonkwane ezisele ebhodini le-microcontroller board. Kuleli qophelo, kufanele siveze ukuthi uhlangothi lwaleli cube kufanele libe nama-diode ayi-8 x 8, kwakheke ikhubhu lama-8 x 8 x 8 ama-RGB LED. Ngakho-ke, sijoyina izikhonkwane zama-diode ezikhululekile kusuka ku-cube kuya ebhodini futhi sethula uhlelo kuwo oluvula ikhiyubhu le-diode ngokuqhubekayo nangemibala ehlukahlukene. Lapho konke sekuhlanganisiwe, kuzofanela sisebenzise amakristalu ukwakha uhlobo lomchamo ovikela futhi ohlanganise ama-diode, isisekelo ngeke sisekele kuphela i-diode cube kepha nomgudu esiwudalile. Ukwakhiwa kwale Infinity Led RGB Cube kulula kakhulu kepha kulula ukwenza ngezifiso kwayo. Noma kunjalo, ku- Okuhlelekile Uzothola umhlahlandlela wesinyathelo ngesinyathelo ekwakhiweni kwawo.
Isibonakaliso se-RGB se-Easy LED
Le phrojekthi yaziwa kangcono futhi ilusizo kakhulu kepha futhi kunzima kakhulu ukuyakha kunephrojekthi edlule. I-Easy LED RGB Sign iyisibonakaliso semininingwane esakhiwe ngama-diode ne-Arduino. Le phrojekthi idinga ama-LED angama-510 RGB noma singakuguqula lokhu kube yimichilo yohlobo olufanayo. Umqondo ukwakha unxande wama-10 x 51 ama-LED. Sizodinga futhi ama-acrylic amashidi ama-3 azosebenza njengomsekeli nomvikeli we-Easy LED RGB Sign esiyidalayo. Ama-510 RGB LEDs, izintambo zokwenza izintambo, ibhodi le-microcontroller njenge Arduino UNO nebhethri lokusebenzisa i-diode kanye nebhodi le-Arduino.
Okokuqala kufanele sakhe isakhiwo bese sibeka ama-diode kuso. Singenza ngendlela esifuna ngayo kepha iqhinga elihle ukusebenzisa elinye lalawo mashidi e-acrylic ukusekela amalambu e-LED, njengoba esobala, ngeke athokoziswe emphumeleni wokugcina. Ngekhebula elincanyana kufanele sengeze ama-diode bese siwaxhuma kwi-microcontroller. Lapho konke sekunamathiselwe, sixhuma i-microcontroller ebhetri futhi kuyo sethula uhlelo esilufunayo. Uhlelo luzokwenza lo msebenzi olandelayo:
- Vula ama-LED athile.
- Ngayinye yalezi diode izoba nombala othile.
Umphumela uzoba ukwakhiwa kwezinhlamvu, izimpawu noma amasiginali esingawasebenzisa ezimweni ezithile. I-Easy LED RGB Sign iphrojekthi ethakazelisa kakhulu ngoba ilusizo kakhulu, ngoba isivumela ukuthi sakhe izimpawu ezikhanyayo esizifunayo. Sinemininingwane eminingi ngokwakhiwa kwayo ku indawo yokugcina yemiyalo. Kepha akuyona iphrojekthi evaliwe futhi Singashintsha inani lama-diode noma sishintshe ngqo uhlelo olusebenzisa ukukhanya kwama-diode ukuze lusebenze ngokuhlukile. Amandla ayanda lapho sihlanganisa lolu phawu lwe-RGB LED ne-Arduino, sikwazi ukudala izimpawu ezihlakaniphile noma nokuxhuma kumakhompyutha njengezimpawu zobuchwepheshe.
Ithebula le-RGB Pixel Touch Touch
I-Led RGB Pixel Touch Table yiphrojekthi emnandi eguqula ama-diode abe itafula lokudlala elilula. Le phrojekthi inzima kakhulu kunamaphrojekthi wangaphambilini kepha ukwakhiwa kwayo kulula kakhulu. Kulokhu sizohlanganisa okungaphezu kwama-RGB nama-Arduino LEDs, ngoba sizosebenzisa nezinzwa zokuthinta noma izinzwa ze-IR. Ukuze senze lokhu sizodinga izinto ezilandelayo:
- Ithebula elinobuso obusobala.
- I-matrix yama-10 x 16 RGB ama-LED.
- Amalungu we-10 x 16 IR izinzwa zokuthinta.
- Ikhadi le-SD noma le-MicroSD lokugcina idatha.
- Imodyuli ye-Bluetooth.
- Ibhodi le-Arduino.
- Isipikha esihlakaniphile esinokuxhumeka kwe-bluetooth.
Kulokhu kufanele sakhe ama-node noma "okhiye" abakha ukuhlangana kwenzwa yokuthinta nedayode futhi lokho kuzoba yizilawuli esizocindezela lapho sidlala netafula lethu. Ngendlela yokuthi indawo engeyodwa ingakhipha imininingwane uma sithinta iphaneli futhi ingakhipha isibani. A) Yebo, Singadlala ngaleli tafile tetris, imidlalo yememori ebonakalayo, inyoka yakudala, ping-pong noma dala ikhawunta elula. Sekukonke sizoba nezindawo ezingama-160 esingazibeka ngendlela ye-matrix engu-10 x 16.
Sizobeka le matrix ngaphansi kwengilazi yetafula. Ingilazi yetafula kufanele ithathelwe indawo indawo ethambile njengeplastiki ye-acrylic. Lokhu kwenziwa ukuze inzwa isebenza lapho siyicindezela.
Manje, sihlanganise konke, kuzofanela senze uhlelo olusebenzayo nolwenza ngalesi matrix. Singasebenzisa imidlalo efana ne-tetris noma umane umdlalo wakudala ka- "Simon". Siyifaka ebhodini le-microcontroller bese siyixhuma kumatrix. Singakwazi engeza umsindo kule phrojekthi ngenxa yesipikha se-bluetooth esingaxhuma kuso inzwa ye-bluetooth lelo linebhodi le-microcontroller.
Lokhu isifinyezo sephrojekthi yeLed RGB Pixel Touch Table kodwa umhlahlandlela wayo awulula njengoba ubonakala. Ukwakhiwa kwama-node kudinga uhlelo nokwakhiwa kwama-node amancane, ngesoftware yomdlalo kwenzeka into efanayo. Lapha besifuna nje ukukhuluma ngemibono esemqoka nokuthi kungaba namuphi umphumela. Kepha unenkomba ephelele yokwakhiwa kwayo ku lesi sixhumanisi.
Yimuphi umsebenzi ofanele ukwakhiwa?
Sikhulume ngamaphrojekthi amathathu anama-RGB LED ezilula ukwakha futhi ezingabizi kakhulu. Yize iningi lenu selibonile ukuthi sisebenzisa inani elikhulu lama-diode, kufanele sisho ukuthi intengo yalawa amasha iphansi kakhulu, iphansi kakhulu ukuthi ubuningi bama-diode bunezindleko zama-euro ambalwa. Wonke amaphrojekthi anokuhluka kwawo kanye nokuheha kwawo. Ngokwami Ngincoma ukwenza wonke amaphrojekthi. Okokuqala wayezokwakha i-cube yezibani; ngokuhamba kwesikhathi uzokwakha uphawu olukhanyayo futhi ekugcineni uzokwakha itafula lomdlalo. Ukuhleleka kokuphothulwa kubalulekile njengoba sisuka kuphrojekthi elula siya kuphrojekthi enzima kakhulu. Kunoma ikuphi, ngemuva kokwakhiwa kwalezi zinhlelo ezintathu umphumela uzofana: sizokwazi ukusebenzisa la ma-diode. Futhi kuwe Iyiphi iphrojekthi oyithanda kakhulu?