Cov txheej txheem:

Kev Cai NeoPixel Rings Los Ntawm Kos!: 8 Cov Kauj Ruam (nrog Duab)
Kev Cai NeoPixel Rings Los Ntawm Kos!: 8 Cov Kauj Ruam (nrog Duab)

Video: Kev Cai NeoPixel Rings Los Ntawm Kos!: 8 Cov Kauj Ruam (nrog Duab)

Video: Kev Cai NeoPixel Rings Los Ntawm Kos!: 8 Cov Kauj Ruam (nrog Duab)
Video: This Is What An $8,000 Lightsaber Looks Like 2024, Kaum ib hlis
Anonim
Image
Image
Yam Koj Yuav Tsum Tau
Yam Koj Yuav Tsum Tau

NeoPixel rings, thiab NeoPixels feem ntau, yog cov khoom siv hluav taws xob nrov tshaj plaws rau cov tsim khoom ntawm txhua hom. Rau qhov laj thawj zoo ib yam, nrog ib tus pin los ntawm ib qho microcontroller nrov Adafruit ua ntxiv LEDs zoo nkauj thiab cov duab rau txhua qhov haujlwm yooj yim heev.

Hmoov tsis zoo lawv kim dua, thiab Adafruit tsuas muag plaub qhov ntau thiab tsawg. Dab tsi ntau tus kws tsim khoom tsis paub yog NeoPixel tsuas yog Adafruit lub npe ntawm ob peb tus tib yam LED chips npe WS2812, WS2811 thiab SK6812 feem. Txhua Adafruit ua nws coj cov nti thiab muab tso rau ntawm lub rooj tsav xwm hauv Circuit, them tus nqi zoo ib yam. Tsis muaj ib yam tsis raug nrog Adafruit ua qhov no vim nws ua rau NeoPixels nkag tau rau txhua tus, tab sis yog tias ib tus tsuas yog ua cov laug cam lawv tus kheej ib tus tuaj yeem ua tus qauv tsim ntawm txhua qhov loj lossis tsim rau ib puag ncig 15% ntawm tus nqi Adafruit tus qauv (rau 24 LED nplhaib) ($ 3). Tseem ceeb dua, lawv tsis tuaj yeem muaj qhov loj me uas koj xav tau! Txawm hais tias, nws tsis zoo li leej twg tau tsim phau ntawv qhia meej rau ua qhov no.

Yog li, thaum kuv xav tau lub nplhaib sib xyaw ua ke rau kuv txoj haujlwm Samus Arm Cannon project (yuav los sai sai) Kuv xav tias yog vim li cas tsis sau cov txheej txheem.

Hauv qhov kev qhia no kuv yuav qhia koj raws nraim qhov kuv tau ua lub nplhaib no, thiab koj tuaj yeem ua koj tus kheej li cas.

Kauj Ruam 1: Yam Koj Yuav Tsum Tau:

Ib txwm Tsim Nyog Tsis hais Txoj Hauv Kev:

  • ws2128b LEDs (NeoPixels)
  • 1uf Caps (1 rau txhua ob lub LEDs) (cov txuj ci xaiv tau)
  • Solder Muab tshuaj txhuam
  • Flux (pom zoo tab sis xaiv tau)
  • Phom Cua Kub

Yog tias koj xaiv kom tau txais koj lub rooj tsav xwm ua haujlwm uas yog txhua yam koj xav tau. Yog tias, txawm li cas los xij, koj yuav tsum xaiv tsim koj lub rooj tsavxwm siv cov txheej txheem hloov pauv toner koj tseem yuav xav tau cov khoom siv hauv qab no. Kuv tus kheej tsis tau siv txoj kev hloov pauv toner, txawm li cas los xij kuv txoj kev nyob sab nraud ntawm qhov kev qhia no. Kuv npaj yuav tshaj tawm cov lus qhia ua raws nraim li kuv ua PCBs, yog li saib xyuas qhov ntawd!

Pawg Thawj Coj (Toner Transfer Method):

  • Copper Clad Board
  • Ferric Chloride
  • Ntawv PCB
  • Laser Tshuab Luam Ntawv
  • Solder Mask Film (Yeem rau Solder Mask)
  • UV Source (Yeem Tau Rau Cov Npog Qhov Muag)
  • Pob tshab (Yeem rau Solder Stencil)
  • Dremel Workstation

Nov yog txhua yam ntawm kuv cov ntaub ntawv, diptrace qiv, thiab ua qauv.

Rau cov uas xav paub yuav ua li cas tus nqi sib piv tsis zoo piv rau Adafruit 24 LED lub nplhaib uas raug nqi $ 17+thauj khoom. Cost per LED: Adafruit: 17/24 = $ 0.70. HyperIon: 7/100 = %0.07

Cov Nqi Ntxiv: Adafruit: ($ 4) Kev Thauj Khoom, Hyperion: $ 1 (tooj liab tooj liab) + $ 0.50 (Ferric Chloride) (thauj dawb)

Tag nrho: Adafruit: $ 21, HyperIon: $ 3.18

Raws li koj tuaj yeem pom nws pheej yig dua, 15% tus nqi. Txawm hais tias koj tsis quav ntsej xa khoom HyperIon version tawm los tsuas yog $ 3.18, txuag nyiaj ntau heev piv rau $ 17.

Kauj Ruam 2: PCB Tsim Tshooj Ib! LED Tso

PCB Tsim Tshooj Ib! LED Tso
PCB Tsim Tshooj Ib! LED Tso
PCB Tsim Tshooj Ib! LED Tso
PCB Tsim Tshooj Ib! LED Tso
PCB Tsim Tshooj Ib! LED Tso
PCB Tsim Tshooj Ib! LED Tso
PCB Tsim Tshooj Ib! LED Tso
PCB Tsim Tshooj Ib! LED Tso

Thawj kauj ruam hauv kev tsim ib qho NeoPixel cov duab yog qhov tso rau ntawm LEDs. Kuv tsim cov ntaub ntawv me me uas muaj txiaj ntsig zoo uas koj tuaj yeem siv rau txhua tus qauv koj xav ua raws lub vojvoog.

Cias sau tus lej ntawm LEDs, feem pua ntawm lub nplhaib koj xav tau npog, thiab lub vojvoog thiab nws tau txiav txim siab tsim txoj haujlwm thiab lub kaum sab xis koj yuav tsum tso koj cov LEDs ntawm. Tom qab ntawd koj tuaj yeem nkag mus rau DipTrace nrov tshaj plaws, ExpressPCB, lossis EaglePCB thiab ntxig cov kev tswj hwm hauv koj cov khoom sib xyaw. Kuv tus kheej siv DipTrace thiab koj tuaj yeem pom tag nrho kuv cov khoom thiab cov tsev qiv ntawv hauv ntu ntu.

Txog qhov haujlwm no kuv tau xaiv siv ob lub nplhaib ntawm lub vojvoog 34 thiab 24 mm. Sab nraub qaum muaj 20 pixels thiab sab hauv nruab nrab muaj 6.

* Cov nyiaj ntxiv* Yog tias CAD qhov haujlwm koj tab tom siv (zoo li DipTrace) tsis tso cai rau kev tso lub voj voos los ntawm nws qhov chaw nruab nrab kos ob kab hla txoj kab uas hla ntawm koj lub vojvoog sab nraud thiab koj lub vojvoog sab hauv. Teem txoj kev sib tshuam nrog ib leeg thiab rov txhais dua tias yog koj keeb kwm. Tam sim no koj muaj lub rooj tsav xwm zoo tshaj plaws!

Kauj Ruam 3: PCB Tsim Tshooj Ob! Routing thiab Capacitors

PCB Tsim Tshooj Ob! Routing thiab Capacitors
PCB Tsim Tshooj Ob! Routing thiab Capacitors
PCB Tsim Tshooj Ob! Routing thiab Capacitors
PCB Tsim Tshooj Ob! Routing thiab Capacitors
PCB Tsim Tshooj Ob! Routing thiab Capacitors
PCB Tsim Tshooj Ob! Routing thiab Capacitors

Cov kauj ruam tom ntej hauv kev ua koj lub rooj tsav xwm luam tawm yog ua kom koj sib txuas ntawm koj li LEDs. NeoPixels txhua tus muaj ib cov ntaub ntawv-nkag ncoo thiab ib cov ntaub ntawv-tso ncoo. Ua ntej tsim cov saw ntev pib nrog lub pixel ze rau qhov uas koj npaj rau tso koj tus pin txuas, mus los ntawm ib tus pixel cov ntaub ntawv-tawm tus pin mus rau tom ntej pixel cov ntaub ntawv-hauv tus pin.

Tom qab ntawd koj yuav tsum tau qhia lub zog thiab hauv av. Txoj hauv kev yooj yim tshaj plaws uas kuv tau ua los ua qhov no yog siv kev sib xyaw ua ke ntawm cov voj voos thiab ib nrab lub voj voos, plaub hauv tag nrho, hloov pauv ntawm lub zog thiab hauv av thaum koj txav mus sab nraud los ntawm keeb kwm. Qhov no ua rau nws yooj yim los tsim qhov txuas me me "jumper" raws li apposed rau tus kheej txuas txhua txhua txij li LED ua ke, ob zaug. Ob khub ntawm lub voj voog/ib nrab-lub voj voog tuaj yeem txuas ua ke qhov twg los xij yog qhov yooj yim tshaj plaws. Thaum kawg, ntxiv tooj liab ntxiv rau. Qhov tseem ceeb no tsuas yog ua rau txhua qhov chaw ntxiv kom puv los ntawm "hauv av", uas muaj ntau yam zoo xws li ua kom yooj yim tsim khoom hauv tsev.

Koj tseem yuav xav teeb tsa ib qho.1uf capacitor nruab nrab ntawm lub zog thiab hauv av nruab nrab ntawm txhua txheej ntawm ob lub LEDs. Kev tsim khoom pom zoo ib qho rau ib qho LED txawm li cas los nws zoo li ib ntawm ob qho yuav ua thiab lawv tau siv sijhawm ntau dua rau cov laug. Cov no tsis tsim nyog rau kev ua haujlwm ntawm lub cuab yeej, lawv tsuas yog txhim kho lub neej ntawm LEDs, yog li lawv tuaj yeem tsis quav ntsej yog xav tau.

Kauj Ruam 4: Luam Circuit Board Etching

Luam Circuit Board Etching!
Luam Circuit Board Etching!
Luam Circuit Board Etching!
Luam Circuit Board Etching!
Luam Circuit Board Etching!
Luam Circuit Board Etching!

Txhawm rau ua kom tiav cov theem no koj muaj ob txoj kev xaiv:

Kev Tsim Khoom:

Yog tias koj tsis tau ua PCB thiab tsis muaj kev txaus siab rau qhov tau txais txuj ci los ua qhov no, qhov no yog qhov kuv xav qhia. Los ntawm kev tau txais koj lub rooj tsav xwm tshaj lij tsim cov teeb meem ntawm txoj haujlwm no mus los ntawm theem nrab mus rau qib pib. Koj lub rooj tsavxwm yuav tau lees tias ua tau zoo, tuaj nrog daim npog qhov muag, thiab tseem tuaj yeem nrog cov ntawv nplaum txuas.

Homemade PCB:

Nov yog qhov kev xaiv rau cov neeg uas xav txhim kho lawv cov txuj ci thiab txhim kho lawv lub peev xwm. Nws tseem yog qhov kev xaiv rau cov uas mus rau hauv kev ua haujlwm nrawm nrawm thiab leej twg yog tus txiav cov nqi qis. Lub peev xwm los ua kuv tus kheej PCBs tau yog ib qho ntawm kuv qhov txiaj ntsig zoo tshaj plaws hauv lub xyoo thiab kuv xav qhia nws rau txhua tus neeg uas txaus siab. Kuv tau tsim kuv tus kheej txoj hauv kev los ua PCBs (saib kuv li channel yuav ua li cas) uas yog me ntsis sab nraum qhov kev qhia no thiab xav tau cov cuab yeej feem ntau pib tsis tuaj yeem them taus. Yog li ntawd, qhov hloov pauv kuv pom zoo cov txheej txheem hloov pauv toner siv cov khoom lag luam hu ua PressN'Peel. Nws yog qhov yooj yim haum thiab tsuas yog cov cuab yeej koj yuav xav tau uas tsis tas txhua tus yuav muaj yog lub tshuab luam ntawv laser pheej yig. Txheeb tawm clacktronics-uk cov lus qhia kom paub ntau ntxiv!

Cov txheej txheem yooj yim yog raws li hauv qab no:

  1. Ntxuav koj daim npav tooj liab.
  2. Sau koj tus qauv tsim rau Peel n 'Stick siv lub tshuab luam ntawv laser.
  3. Hlau tsim los ntawm Peel n 'lo rau ntawm koj lub rooj tsav tooj liab
  4. Muab lub rooj tsavxwm tso rau hauv ferric chloride kom txog thaum muab pov tseg.
  5. Ntxuav tawm lub toner

Daim npog qhov ncauj (Tsis teb los tau):

Daim npog qhov ncauj yog daim npog uas tiv thaiv koj lub rooj tsavxwm hauv txhua qhov chaw tab sis qhov chaw yuav tsum tau siv lub tshuab solder. Qhov no ua rau nws yooj yim dua rau cov laug tab sis qhov tseem ceeb tshaj ua rau txhim kho ascetics ntawm pawg thawj coj saib. Yog tias koj tsis tau txais koj lub rooj tsav xwm tsim khoom koj yuav xav ntxiv ib qho, tab sis nws tsis tsim nyog nruj me ntsis. Tus kheej kuv pom cov txheej txheem no yooj yim heev thiab pom zoo nws. Ib zaug ntxiv, Kuv tsuas yog mus hla cov txheej txheem yooj yim kom koj paub tias koj tab tom nkag mus rau dab tsi. Txheeb xyuas cpeniche cov ntawv qhia kom paub meej ntxiv!

Cov txheej txheem yog raws li hauv qab no:

  1. Luam koj cov laug cam tsim rau ib daim ntawm pob tshab.
  2. Tev thiab lo daim npog qhov ncauj zaj duab xis rau ntawm koj lub rooj tsav xwm.
  3. Hlau/laminate zaj duab xis kom txog thaum nws lo zoo.
  4. Teem lub pob tshab nrog lub rooj tsavxwm thiab kab xev cia.
  5. Tshaj tawm zaj duab xis mus rau qhov chaw UV (ntsia thawv tshuab ziab khaub ncaws ua haujlwm)
  6. Ntxuav cov ntaub uas tsis tau pom dua
  7. Qhia kom txog thaum kho.

Kauj Ruam 5: Muab Tshuaj Txhuam Luam Stencil! (Tsis teb los tau)

Solder Muab Tshuaj Txhuam Stencil! (Tsis teb los tau)
Solder Muab Tshuaj Txhuam Stencil! (Tsis teb los tau)
Solder Muab Tshuaj Txhuam Stencil! (Tsis teb los tau)
Solder Muab Tshuaj Txhuam Stencil! (Tsis teb los tau)
Solder Muab Tshuaj Txhuam Stencil! (Tsis teb los tau)
Solder Muab Tshuaj Txhuam Stencil! (Tsis teb los tau)

Yog tias koj muaj kev nkag mus rau lub tshuab txiav laser txiav txim siab tsim koj tus kheej lub lauj kaub muab tshuaj txhuam stencil. Lawv tso cai rau koj kom zam kev siv dag zog ntawm kev maj mam muab ib qho ntawm cov tshuaj txhuam txhuam tso rau ntawm txhua tus pin. Cias thauj lub ncoo tsim rau hauv koj lub tshuab txiav laser thiab txiav nws tawm ntawm ib daim ntawm lub tshuab luam ntawv pob tshab. Kuv kuj tau pom tias daim ntawv laminator ua haujlwm ib yam nkaus. Qhov no ua haujlwm tau zoo kawg thiab tsim cov txheej yuav luag raws li tuab raws li cov kws tshaj lij. Hauv kuv lub tswv yim lawv yeej ua tau zoo tshaj li qhov lawv hloov pauv tau thiab pob tshab, ua rau lawv siv tau yooj yim dua li cov qauv hlau tsis huv.

Kuv tsis yog tus los nrog txoj hauv kev no tab sis kuv tseem tsis tau pom ib tus neeg sau nws hauv online, uas kuv pom xav tsis thoob.

Kauj Ruam 6: Pawg Thawj Coj

Pawg Thawj Coj
Pawg Thawj Coj
Pawg Thawj Coj
Pawg Thawj Coj
Pawg Thawj Coj
Pawg Thawj Coj

Txhawm rau coj lub rooj tsavxwm mus rau nws qhov kawg koj yuav tsum pib los ntawm kev txiav ntau npaum li koj tuaj yeem nyab xeeb nrog lub dremel txiav tawm lub log. Kuv siv lub chaw ua haujlwm dremel teeb tsa kab rov tav nrog cov hniav saum toj no ib lub thawv ntawv ntawv raws li qhov hloov pauv tabble pom.

Tom qab ntawd koj tuaj yeem pib drilling tawm lub hauv paus qhov. Siv qhov loj tshaj plaws laum loj uas koj muaj rau koj lub dremel thiab maj mam "Swiss cheese" koj txoj hauv kev kom txog thaum koj tau txiav tawm ntu loj txaus kom haum rau hauv kev sib tsoo me ntsis. Tom qab ntawd koj tuaj yeem siv qhov sib tsoo me ntsis los coj lub rooj tsavxwm rau nws qhov kawg.

Txoj hauv kev ntawm lub rooj tsav xwm sib dhos muaj lub nplhaib nyias ntawm tsuas yog fiberglass nyob ib ncig ntawm ntug ntawm lub rooj tsavxwm, Txoj cai ua ntej koj zom mus rau qhov ntawd qhov kawg uas tseem tshuav me me ntawm tooj liab yuav tso tawm. Thaum qhov kawg ntawm cov tooj liab tso tawm tsis zom ntxiv lawm. Los ntawm kev tso siab rau qhov kos npe nws tso cai rau koj los ua ib qho zoo ib yam thiab ib puag ncig (piv txwv tias koj tsis txhob cuam tshuam cov ntawv zoo li kuv tau ua thiab muab tus qauv dhau ze rau ntawm phab ntsa). Ua kom tiav txoj kab uas hla sab nrauv ib yam nkaus.

Koj tseem yuav tsum tau laum tawm lub qhov rau cov ntaub ntawv hauv, 5v, thiab kev sib txuas hauv av. Me me dremel me ntsis (.7mm) ua haujlwm zoo rau qhov no.

Kauj ruam 7: Soldering

Soldering!
Soldering!
Soldering!
Soldering!
Soldering!
Soldering!
Soldering!
Soldering!

Hauv kuv lub tswv yim qhov no yog txoj haujlwm zoo rau ib tus neeg uas xav kawm paub yuav ua li cas thiaj nkag tau rau hauv qhov chaw saum npoo av. Tag nrho cov khoom tseem ceeb yog qhov loj, tiv taus cua sov, thiab cov ntaub qhwv tau sib nrug deb ntawm ib leeg. Nws yog qhov nyuaj heev los cuam tshuam thiab yog txoj hauv kev zoo los txhim kho kev ntseeg siab rau saum npoo av tsis tas yuav cuam tshuam nrog cov khoom me me.

Txhawm rau txhawm rau txhuam koj li NeoPixels mus rau koj lub rooj tsav xwm koj thawj zaug yuav tsum tau tso tus menyuam yaus, tus nqi me me ntawm cov tshuaj txhuam rau txhua lub ncoo uas siv rab koob lossis lub raj. Yog tias koj muaj lub stencil yooj yim kis tau ib qho blob ntawm cov tshuaj txhuam ib ncig ntawm lub stencil zoo li txheej nyias ntawm butter ntawm toast kom txog thaum tag nrho cov ntaub qhwv tau npog. Koj tsis xav tau ntau npaum li koj xav, tsuas yog nthuav tawm.

Tom ntej no koj yuav xav tso koj cov khoom ntawm koj lub rooj tsavxwm. Tsuav yog txhua lub ncoo tau kov nws qhov cuam tshuam ntawm cov laug ces koj nyob ze txaus. Cov tshuaj txhuam hniav muaj cov khoom siv khawv koob no qhov twg thaum nws tig molten nws yeej rub cov khoom sib xyaw rau hauv qhov chaw yuav luag txhua lub sijhawm.

Yog tias koj tsis muaj kev nyab xeeb dhau ntawm koj li kev txawj ntse koj tuaj yeem hloov pauv 0603 lub tshuab hluav taws xob mus rau qhov loj dua lossis hla lawv tag nrho. Lawv ua kom lub neej muaj sia ntawm NeoPixel tab sis tshwj tsis yog tias koj siv qhov no ua lub teeb pom kev zoo nws tsis zoo li koj yuav pom ib qho hlawv tawm. Uas tau hais tias kuv xav pom zoo tias koj teeb tsa lawv, tsuas yog vim qhov txuj ci muaj txiaj ntsig kom muaj.

Hais txog qhov ua tau zoo tiag tiag, nws tsis tuaj yeem yooj yim dua. Tsuas yog siv sijhawm li ob feeb ua ntej koj lub khoos phis tawj nrog rab phom cua kub tom qab ntawd tsom mus rau thaj tsam hnyav dua ib cheeb tsam kom txog thaum txhua yam rov qab los. Koj tuaj yeem qhia thaum nws tau rov qab vim tias lub lauj kaub tig ci thiab feem ntau cov khoom siv ua me ntsis "wiggle" rau hauv qhov chaw.

Pom zoo: