Cov txheej txheem:

Ambient Light Gift Badge: 5 Kauj Ruam
Ambient Light Gift Badge: 5 Kauj Ruam

Video: Ambient Light Gift Badge: 5 Kauj Ruam

Video: Ambient Light Gift Badge: 5 Kauj Ruam
Video: Car LED Strip Light. Product Link in the Comments! 2024, Kaum ib hlis
Anonim
Ambient Lub Teeb Khoom Plig Khoom Plig
Ambient Lub Teeb Khoom Plig Khoom Plig
Ambient Lub Teeb Khoom Plig Khoom Plig
Ambient Lub Teeb Khoom Plig Khoom Plig
Ambient Lub Teeb Khoom Plig Khoom Plig
Ambient Lub Teeb Khoom Plig Khoom Plig
Ambient Lub Teeb Khoom Plig Khoom Plig
Ambient Lub Teeb Khoom Plig Khoom Plig

Tom qab Christmas kuv nyob hauv qhov xwm txheej uas kuv tus tub xeeb ntxwv ua kev zoo siab hnub yug los ze. Kuv nug nws yog tias nws muaj qhov tshwj xeeb ntawm nws daim ntawv teev npe thiab nws hais rau kuv tias nws tsis muaj qhov xav tau txhua lub sijhawm, tam sim no. Nws tseem tsis tau ua si nrog txhua yam khoom ua si nws tau txais rau Christmas. Peb txiav txim siab nws yuav zoo tshaj yog tias kuv muab nws daim ntawv pov thawj khoom plig uas nws tuaj yeem siv tom qab xyoo. Hmmmmmmm…. Kuv tsis nyiam cov ntawv uas tsis muaj tus yam ntxwv, thiab kuv tau muab nws xav. Kuv txiav txim siab ua cov nyiaj npib no tawm ntawm tooj liab pcb. Kuv nyiam kos qee cov ntawv tawm ntawm nws. Tom qab ntawd kuv pom lub qub thiab tawg txias kiv cua dag ntawm kuv lub rooj thiab nco qab tias kuv muaj qee lub hwj chim siab RGB LED hauv kuv qhov khoom sau. Tom qab qee qhov tshawb hauv Is Taws Nem kuv txiav txim siab tsim lub cuab yeej nruab hnub nrig nrog cov nyiaj npib rov qab los ntawm RGB LED. Kuv tau qee qhov txwv rau microprocessor. Kuv muaj ATTiny13 seem, thiab tsis xav siv ntau lub khawm tswj. Txhua yam yuav tsum yooj yim. Kuv pom cov software no https://www.loetstelle.net/projekte/moodlight/moodlight.php. Markus siv ATTiny12, tab sis nws yooj yim los hloov nws cov cai rau ATTiny13.

Kauj Ruam 1: Qhov Yuav Tsum Tau

Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau
Qhov Yuav Tsum Tau

Koj xav tau rooj plaub los tso txhua yam rau hauv. Kuv siv cov ntaub ntawv los ntawm qhov tawg txias kiv cua ntawm cov servers siv hluav taws xob. Tus kiv cua yog 40mm kiv cua cim ua GM1204PQV1-8A. Qhov tshwj xeeb ntawm tus kiv cua no yog qhov tubing ntev dua ntawm rooj plaub. Cov ntaub ntawv yog ua los ntawm ob ntu. Ib tug tuav lub kiv cua thiab lwm tus tsuas yog lub raj.- Kuv pom qee cov khoom siv rwb thaiv tsev sab hauv lub zog hluav taws xob tawg.- Lub dab dej kub los ntawm lub niam ntawv qub haum rau hauv rooj plaub, yog tias cov npoo raug txiav me ntsis.- Qee lub sijhawm yav dhau los kuv yuav cov roj hmab khawm rau thawb khawm los ntawm DealExtreme.- ATTiny13 (lossis ATTiny12).- qee qhov tiv thaiv thiab cov khoom siv hluav taws xob- qee cov xov hlau me me- khawm me me-silicone muab tshuaj txhuam los tso rau RGB-LED mus rau lub rhaub dej kub- me me 5V fais fab mov (3V npib cell roj teeb tuaj yeem ua tau zoo ib yam… rau qee lub sijhawm)- pob pingpong qub- qee qhov acrylic- kos pcb's- muaj peev xwm los kos pcb's- yas tsuag, PLASTIK 70, txhawm rau muab cov cim npe- cov cuab yeej zoo li cov hlau txuas, pliers, ntsia hlau …

Kauj Ruam 2: Kev Tsim Vaj Tsev

Kev Tsim Vaj Tsev
Kev Tsim Vaj Tsev
Kev Tsim Vaj Tsev
Kev Tsim Vaj Tsev
Kev Tsim Vaj Tsev
Kev Tsim Vaj Tsev

Schematic yog qhov yooj yim dua. Tag nrho cov Circuit Court yog tsim nyob ib ncig ntawm lub microcontroller. Muaj ib lub khawm thawb nkaus xwb, qee lub capacitors thiab qee qhov tiv thaiv. Cov neeg tawm tsam tau txwv qhov tam sim no uas ntws los ntawm txhua lub diode ntawm RGB LED. Muaj lub program txuas rau ntawm pcb. Qhov no tsuas yog xav tau yog tias koj muab lub tshuab microprocessor tso rau hauv lub rooj tsavxwm thiab xav ua haujlwm tom qab. Lub pcb muaj ib txheej ib sab. Cov duab kawg tsis yog duab plaub tab sis sib npaug, yog li nws haum rau hauv rooj plaub. Lub laub khawm nyob deb ntawm qhov nruab nrab ntawm pcb li sai tau. Lub hau roj hmab tuaj yeem muab tso rau hauv nruab nrab thiab qhov ntawd ua rau nws zoo nkauj dua. Qhov PCB tau muab tso rau hauv ib feem ntawm rooj plaub nrog sab laug sab taw tes rau pem hauv ntej ntawm lub cuab yeej. Lub laub khawm taw tes rau tom qab. Nyob rau sab nraum qab daim ntawv acrylic tuav lub hau roj hmab ntawm lub laub khawm. Put qee cov khoom siv rwb thaiv tsev ntawm sab laug thiab kaw ua ke ob daim ntawm rooj plaub. Tom qab teeb tsa RGB-LED mus rau lub taub hau dab dej LED tau thawb mus rau qhov rwb thaiv tsev khoom LED taw tes rau pem hauv ntej. Tom qab txiav lub pob pingpong hauv cov duab nws raug thawb hla RGB-LED thiab thaum kawg cov ntawv cim khoom plig tau muab tso rau hauv qhov chaw. Txoj kev no tag nrho cov cuab yeej tau teeb tsa hauv cov qhob noom xim kasfes thiab tuav ua ke los ntawm cov phaj acrylic ntawm sab nraub qaum thiab daim npav khoom plig ntawm sab xub ntiag.

Kauj Ruam 3: Daim Npav Khoom Plig

Khoom Plig Khoom Plig
Khoom Plig Khoom Plig

Ua ntej tshaj plaws koj yuav tsum txiav txim siab qhov koj xav luam tawm rau ntawm daim paib. Kuv siv "Gimp" rau kev tsim. Ua qee qhov kev xeem luam tawm ntawm cov ntawv txheem thiab hauv qhov loj me los txheeb xyuas cov txiaj ntsig. Kuv tsis nyiam piav qhia txheej txheem txheej txheem, vim tias muaj Cov Lus Qhia Zoo uas twb nyiam lawm; https://www.instructables.com/id/5pcb/, https://www.instructables.com/id/Mostly-easy-PCB-manufacture/. Kuv siv cov txheej txheem no rau cov paib thiab rau pcb ib yam. Thaum kawg txiav daim paib hauv cov duab. Kuv tau ua cov npoo kom nws zoo nkauj. Laum qee qhov kev teeb tsa. Thaum cov duab tau npaj txhij ntxuav daim paib siv Acetone. Thaum cov tooj liab yog ci iab siv qee cov tshuaj tsuag yas los ntim rau saum npoo. Kuv siv https://www.kontaktchemie.dk/Produktoversigt/plastik_70.htm. Yog tias koj tsis kaw qhov saum npoo tooj liab yuav oxidize. Tsis txhob siv ntawv xuab zeb rau ntawm daim paib. Kuv xav tias nws tsis zoo …

Kauj ruam 4: Electronics

Electronics
Electronics
Electronics
Electronics
Electronics
Electronics
Electronics
Electronics

Luam cov pcb thiab muab cov khoom sib txuas ua ke. Ib yam li nrog pcb edging, Kuv tsis nyiam sau rau ntawm qhov muag muaj ntau, ntau Cov Lus Qhia nyob ib puag ncig. Yog tias koj xav ua haujlwm ATTiny13, koj tuaj yeem siv Cov Lus Qhia ntawm Qhov Tseeb Elliot https://www.instructables.com/ id/ Ghetto-Programming%3a-Getting-pib-nrog-AVR-micro/. Qhov RGB-LED xav tau qee qhov txias. Siv tus choj cua sov sab qab teb me me thiab sau cov ntug kom nws haum rau hauv rooj plaub. Laum qee qhov me me mounting qhov rau LED. Muab qee cov kua nplaum tso rau sab nraum qab ntawm LED thiab teeb nws mus rau lub rhaub dej kub siv cov ntsia hlau me me. Ua tib zoo nruj cov ntsia hlau, vim tias lub hauv paus ntawm LED tawg yooj yim dua. Cov LED yuav tsum zaum khov kho ntawm lub dab dej sov, tab sis nws yuav tsum tsis muaj cov ntawv pov thawj;-) Tom qab siv lub tshuab fais fab thiab cov xov hlau LED mus rau PCB, thawb nws mus rau hauv rooj plaub. Thawb lub LED teeb tsa ntawm lub dab dej kub rau hauv rooj plaub ib yam. Muab cov xov hlau tso rau ntawm LED. Tam sim no koj tuaj yeem ua haujlwm microprocessor thiab ua qee qhov kev sim.

Kauj Ruam 5: Rooj Sib Tham Kawg

Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg

Tom qab qhov kev sim ua tiav ntawm cov khoom siv hluav taws xob, txhua yam tuaj yeem raug teeb tsa thaum kawg txiav lub pingpong pob hauv ib nrab nrog me me jigsaw. Txiav ib nrab ntawm cov duab nrog rab riam ntse kom nws haum rau hauv rooj plaub. Pob pingpong xav tau kom tau txais qhov pom kev ntau dua. Yog tias koj tsis mloog tias koj tuaj yeem tso nws tawm. Siv qee lub phaj acrylic thiab laum lub qhov rau hauv nws loj txaus kom muab lub hau roj hmab tso rau hauv. Tom qab ntawd khij lub phaj hauv cov duab. Acrylic yog cov khoom siv rhiab heev. Tawm daim ntawv tiv thaiv ntawm nws thaum ua haujlwm. Ua cov npoo ntawm phaj kom zoo zoo. Kuv tau teeb tsa lub phaj acrylic siv qee qhov me me nyob deb li cas. Qhov no tawm qee qhov chaw me me rau cua sov cua sov. Mount lub phaj rau sab nraum qab nrog cov ntsia hlau. Ua qhov kawg muab cov khoom plig rau ntawm lub xub ntiag, tseem siv cov ntsia hlau. Kuv tsis tau ntxiv cov ntaub qhwv nyob deb ntawm no vim tias kuv tsis xav kom lub teeb kis tawm ntawm qhov cua qhov cua. Qhov ntawd yog nws. Nws coj kuv li 8 teev los tsim qhov no, suav nrog tshawb nrhiav lub teeb pom kev zoo software thiab hloov kho nws mus rau ATTiny13. Tam sim no txoj haujlwm tuaj yeem ua tiav li ntawm 5 teev kuv xav.

Pom zoo: