Cov txheej txheem:

PCB LED Paj: 7 Kauj Ruam (nrog Duab)
PCB LED Paj: 7 Kauj Ruam (nrog Duab)

Video: PCB LED Paj: 7 Kauj Ruam (nrog Duab)

Video: PCB LED Paj: 7 Kauj Ruam (nrog Duab)
Video: Dopebwoy - Cartier ft. Chivv & 3robi 2024, Kaum ib hlis
Anonim
PCB LED Paj
PCB LED Paj
PCB LED Paj
PCB LED Paj
PCB LED Paj
PCB LED Paj

PCB tsim nws yog kuv txoj haujlwm. Feem ntau, Kuv tau ua qee yam rau kuv tus kheej nkaus xwb, tab sis qee lub sij hawm dhau los kuv tus poj niam nug kuv txog txhua yam zoo nkauj rau nws.

Thiab tsis ntev kuv tsim lub paj no. Nws yog thawj zaug kuv siv tus txheej txheem Attiny, thiab nws tsuas yog lwm qhov kev sim rau kuv.

Txhua lub paj paj nws muaj nws tus kheej lub microcontroller nrog 12 LED txuas nrog hauv charlieplexing order. Thiab cov microcontrollers no yuav raug tswj los ntawm 1-xaim raws tu qauv.

Lub paj tseem tsis tau tiav, kuv yuav tsum sau cov cai tshiab los tswj txhua LED sib cais. Txog tam sim no, Kuv tsuas tuaj yeem pom txhua LEDs ib txhij.

Ua ntej pib qhov haujlwm no, koj yuav tsum paub yuav ua li cas thiaj li smd smd thiab yuav ua li cas rau program ATtiny microcontroller.

Yog tias koj nyiam paj koj tuaj yeem ua tau yooj yim, tsuas yog ua raws cov theem hauv qab no:

Kauj Ruam 1: Txiav txim PCB

Txiav txim PCB
Txiav txim PCB
Txiav txim PCB
Txiav txim PCB
Txiav txim PCB
Txiav txim PCB
Txiav txim PCB
Txiav txim PCB

PCB no muaj txhua yam xav tau ua kom tiav ib lub paj - 6 lub paj thiab 2 lub hauv paus nruab nrab (ib qho liab thiab ib qho daj rau koj xaiv).

Koj tuaj yeem rub tawm thiab xa cov ntawv zip lossis xaj ncaj qha los ntawm Seeed studio. PCB raug nplua tab sis koj yuav tsum txiav tawm txhua yam khoom los ntawm koj tus kheej. Nws yooj yim ua los ntawm Dremel cov cuab yeej.

Los yog rub cov ntawv PCB txuas rau EAGLE thiab xaj cais ib qho.

Thickness kuv xaj yog 1 hli.

Kauj Ruam 2: Npaj Cov Cuab Yeej thiab Cov Khoom Siv

Npaj Cov Cuab Yeej thiab Cov Khoom Siv
Npaj Cov Cuab Yeej thiab Cov Khoom Siv
Npaj Cov Cuab Yeej thiab Cov Khoom Siv
Npaj Cov Cuab Yeej thiab Cov Khoom Siv
Npaj Cov Cuab Yeej thiab Cov Khoom Siv
Npaj Cov Cuab Yeej thiab Cov Khoom Siv

Txhawm rau sib sau ua ke PCB koj xav tau cov cuab yeej tom ntej:

  1. Solder;
  2. Tweezers;
  3. PCB tuav;
  4. Soldering flux;
  5. Cov hlau xaim;

Cov khoom seem:

  1. ATtiny85, SMD: SOIC - 6 pcs; (lossis ATtiny45 - tab sis tsis tau sim);
  2. LEDs, SMD: 0603, xim liab - 72 pcs; (lossis lwm yam xim, tab sis zoo ib yam ntawm PCB);
  3. Cov xov hlau;

Rau programming:

  1. Txhua yam uas koj nyiam rau kev ua haujlwm ATtiny - Arduino, AVRISP lossis lwm tus
  2. Clips rau hauv-Circuit Programming lossis SOIC8 Programming adapter
  3. Arduino mos thiab Attiny lub tsev qiv ntawv

Kauj Ruam 3: Sib sau Ua Ke Ib Leeg

Sib sau Ua Ib Petal
Sib sau Ua Ib Petal
Sib sau Ua Ib Petal
Sib sau Ua Ib Petal
Sib sau Ua Ib Petal
Sib sau Ua Ib Petal

Tom qab txiav tawm cov nplaim paj los ntawm PCB kho nws hauv koj lub yas dhos PCB, thov siv cov kua dej ntws tawm ntawm cov pawm rau LEDs thiab txhuam tag nrho cov LEDs. Ceev faj LEDs yuav tsum taw tes nrog cov cim ntsuab ntsuab rau sab nraud.

Tom ntej no, yog tias koj muaj cov yeeb yaj kiab rau kev ua haujlwm hauv qhov chaw (pom zoo) tom qab ntawd ua ntej txhim kho PCB rau lwm sab, siv cov dej ntws los rau cov ntaub qhwv rau cov ntawv me me thiab muab nws tso rau hauv nws qhov chaw. Ceev faj kom them sai sai rau kev taw qhia ntawm nti cim.

Yog tias koj xav siv lub adapter rau kev tsim lub microcontroller, koj yuav tsum xub thauj cov lej raws li tau piav qhia hauv qib tom ntej thiab tom qab ntawd muab nws tso rau hauv.

Kauj ruam 4: Upload Code

Upload Code
Upload Code
Upload Code
Upload Code

Txuas tus programmer rau koj lub khoos phis tawj thiab teeb cov kab ntawv ntawm lub nti thiab xa cov lej txuas rau lub microcontroller.

Txhua lub LEDs yuav tsum ci tas li.

Rov ua dua yav dhau los thiab cov kauj ruam no rau txhua lub paj.

Kauj Ruam 5: Sib sau Paj (sab nraud)

Sib sau Paj (sab Nraud)
Sib sau Paj (sab Nraud)
Sib sau Paj (sab Nraud)
Sib sau Paj (sab Nraud)
Sib sau Paj (sab Nraud)
Sib sau Paj (sab Nraud)

Thaum xub thawj ob lub paj tawg ib sab, ob sab qhov yuav tsum yog ib qho dhau ib qho, yog li koj tuaj yeem ntxig ib txoj hlua V (+). Ib (lossis tag nrho) ntawm cov xaim no yuav raug siv rau lub hwj chim.

Ib los ntawm ib qho kho txhua lub paj hauv ib lub voj voog.

Kauj Ruam 6: Sib Sau Paj (Sab Hauv)

Sib sau Paj (Sab Hauv)
Sib sau Paj (Sab Hauv)
Sib sau Paj (Sab Hauv)
Sib sau Paj (Sab Hauv)
Sib sau Paj (Sab Hauv)
Sib sau Paj (Sab Hauv)
Sib sau Paj (Sab Hauv)
Sib sau Paj (Sab Hauv)

Tam sim no coj mus rau hauv nruab nrab PCB thiab xaim tooj liab hauv 6 qhov loj dua sab nraud, qhov no yog V (-) lossis GND. Tom qab ntawd ntxig tag nrho 6 cov xov hlau rau lub qhov rau V (-) thiab muab nws tso rau.

Koj tuaj yeem siv cov xov hlau no rau lub zog PCB, lossis txiav tawm thiab ntxiv qee cov xov hlau rau hauv qhov nruab nrab, nws yuav tsim ib lub paj paj.

Fais fab PCB no nrog 2.7 - 5.5V. Txhua LEDs yuav tsum ci. Yog tias tsis txheeb xyuas txhua qhov kev sib txuas ntawm PCBs.

Kauj ruam 7: Ua tiav

Tiav
Tiav
Tiav
Tiav
Tiav
Tiav

Siv koj lub tswv yim kom ua tiav txoj haujlwm no.

Kuv siv qee yam khoom ua si Christmas nrog lub roj teeb rau 2xAAA roj teeb. Raws li cov nyom, kuv siv PCB qub.

Nws yog kuv thawj Txoj Haujlwm Qhia Ntawv thiab nws tseem tsis tau ua tiav.

Yog li nug kuv cov lus nug thiab npaj rau qhov hloov tshiab.

Kev sib tw PCB
Kev sib tw PCB
Kev sib tw PCB
Kev sib tw PCB

Thawj qhov khoom plig hauv PCB Kev Sib Tw

Pom zoo: