Ukuxhumeka kwekhebula lokubonisa i-LED

Ukwehluleka okuningi kwesibonisi esinombala ogcwele we-LED kubangelwa ukufakwa okungafanele.Ngakho-ke, izinyathelo kufanele zilandelwe ngokuqinile phakathi nenqubo yokufaka, ikakhulukazi phakathi nokufakwa kokuqala.Ukuze unciphise ukwenzeka kwamaphutha, ake sibheke i-LED enombala ogcwele.Umdwebo wezintambo wesikrini esibonisiwe kanye nezinyathelo zendlela yokufaka izintambo zokufakwa kwesibonisi se-LED esinemibala egcwele.

1. Umdwebo wokuxhumeka kwekhebula lesibonisi se-LED enombala ogcwele

Okubili, izinyathelo zendlela

1. Hlola ukuthi ingabe i-voltage yokuphakelwa kwamandla yesibonisi se-LED esinemibala egcwele ijwayelekile.

Thola ugesi oshintshayo onokuxhunywa kwe-DC okuhle nokubi, xhuma intambo yamandla engu-220V kugesi oshintshayo, (qiniseka ukuthi ixhunywe ngendlela efanele, xhuma isiphetho se-AC noma se-NL), bese uxhuma ugesi.Bese usebenzisa imodi ye-multimeter ne-DC ukukala i-voltage ukuze uqinisekise ukuthi i-voltage iphakathi kuka-4.8V-5.1V, futhi kuneknob eceleni kwayo, engalungiswa nge-screwdriver ye-Phillips, futhi imodi ye-DC isetshenziselwa ukukala i-screwdriver. i-voltage.Ukuze unciphise ukushisa kwesikrini futhi welule impilo yaso, i-voltage ingashintshwa ibe ngu-4.5V-4.8 lapho imfuneko yokukhanya ingekho phezulu.Ngemva kokuqinisekisa ukuthi ayikho inkinga nge-voltage, nqamula ukunikezwa kwamandla futhi uqhubeke nokuhlanganisa ezinye izingxenye.

2. Vala amandla esibonisi esinombala ogcwele.

Xhuma i-V+ ocingweni olubomvu, i-V+ ocingweni olumnyama, ngokulandelanayo xhuma ikhadi lokulawula isibonisi se-LED elinombala ogcwele kanye nephaneli ye-LED, nocingo olumnyama ekhadini lokulawula kanye nokuphakelwa kwamandla kwe-GND.Okubomvu kuxhuma ikhadi lokulawula +5V voltage kanye neyunithi yebhodi VCC.Ibhodi ngalinye linocingo.Uma usuqedile, hlola ukuthi uxhumano lulungile.

3. Xhuma isilawuli sesibonisi esinombala ogcwele kanye nebhodi leyunithi.

Sebenzisa izintambo ezinhle nokuxhumana.Sicela unake isiqondiso futhi ungahlehli uxhumano.Ibhodi leyunithi yesibonisi esinombala ogcwele linezindawo ezimbili zokusebenzelana ezingu-16PIN, oku-1 okokufaka, okungu-1 kuyaphuma, futhi indawo eseduze kwe-74HC245/244 okokufaka, futhi ikhadi lokulawula lixhunywe kokokufaka.Okukhiphayo kuxhunywe kokokufaka kwebhodi leyunithi elandelayo.

4. Xhuma ulayini wedatha we-RS232 wesibonisi se-LED esinemibala egcwele.

Xhuma ingxenye eyodwa yekhebula ledatha eyenziwe embobeni yochungechunge yekhompyutha ye-DB9, kanti enye ekugcineni ekhadini lokulawula isibonisi esinombala ogcwele, xhuma amaphinikhodi angu-5 (brown) we-DB9 ku-GND yekhadi lokulawula, bese uxhuma i-3. iphinikhodi (ensundu) ka-DB9 kusilawuli RS232-RX sekhadi.Uma i-PC yakho ingenayo imbobo ye-serial, ungathenga ikhebula lokuguqulela lembobo ye-USB ukuya ku-RS232 eSitolo Sekhompyutha.

5. Hlola ukuxhumeka kwesibonisi esinombala ogcwele oholwa futhi.

Ukuthi intambo emnyama ixhunywe kahle ku--V ne-GND, futhi intambo ebomvu ixhunywe ku-+V kanye ne-VCC+5V.

6. Vula amandla kagesi angu-220V futhi uvule isofthiwe elandwe ngesibonisi se-LED esinemibala egcwele.

Ngokuvamile, ukukhanya kwamandla kuyakhanya, ikhadi lokulawula livuliwe, futhi isibonisi se-LED esinemibala egcwele siyakubonisa.Uma kukhona okungajwayelekile, sicela uhlole ukuxhumana.Noma hlola ukuxazulula inkinga.Setha imingcele yesikrini bese uthumela imibhalo engezansi.Sicela ubheke imiyalelo yesofthiwe.


Isikhathi sokuthumela: Nov-02-2021
Ingxoxo ye-WhatsApp Online!