Cov txheej txheem:
- Kauj Ruam 1: Pawg Neeg Soj Ntsuam Hauv Xeev
- Kauj Ruam 2: Txuas SSR Board rau Box thiab Ntxiv Cords
- Kauj Ruam 3: Tsim Tus Tsav Tsheb
- Kauj Ruam 4: Mount Txhua Yam Hauv Lub Thawv
- Kauj Ruam 5: Teeb Koj Tsob Ntoo
Video: Ambient Sound Level Sensitive Christmas Tree: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Xav tau tsob ntoo Christmas uas cuam tshuam rau lub suab ib puag ncig hauv koj chav nyob? Yuav ua li cas txog ib qho uas teeb nrog kev ntaus koj cov nkauj Christmas uas nyiam tshaj plaws yam tsis tas yuav siv lub suab tso rau tsob ntoo nws tus kheej? Yuav ua li cas txog tsob ntoo uas cuam tshuam nrog lub sijhawm nrog kev sib tham nyob ib puag ncig nws? Nov yog koj tsob ntoo!
Cov ntoo no ua haujlwm "VU meter", zoo li cov ntoo ntawm cov duab sib luag ntawm qee tus neeg txais, lossis zoo li KITT lub suab lub thawv hauv Knight Rider TV series. Nws siv lub suab qub electret microphone ua lub tswv yim tsav lub xeev cov khoom sib txuas ruaj khov. Muaj qhov hloov kho qhov rhiab heev uas yuav tso cai rau koj hloov kho qhov Circuit Court rau koj qhov tshwj xeeb, thiab muaj qhov hloov pauv hla rau thaum koj xav tau tsuas yog muaj lub teeb puv nkaus. Kuv dub nws "Kuv Tsev Neeg Mob Ntawm Nws Hloov".
Nqi Khoom
Solid State Relay (SSR) pawg thawj coj
- Protoboard
- MOC3041 (lossis sib npaug) optocouplers x 6
- BT136-600 (lossis sib npaug) triacs x 6
- 150Ω resistor x 6
- 330Ω resistor x 6
- 2 lub davhlau ya nyob twg PC board txuas x 8
- 6 ko taw txuas txuas x 6 (Dollar Tree muaj cov no ntawm $ 1 ib leeg)
- Hlau ceev
VU tsav tsav
- AN6884 VU meter IC
- LM324 quad op-amp IC
- 2N3906 PNP transistor x 5
- 2.2uf lub capacitor
- 0.1uf capacitor
- 10 kΩ resistor x2
- 4.7kΩ tiv thaiv
- 100 kΩ resistor
- 330kΩ resistor (thiab tejzaum nws qee qhov kev xaiv hauv 40-500kΩ ntau)
- 10kΩ potentiometer (sib txawv resistor)
Lwm yam
- Hinged yas enclosure
- Chim chim
- SPDT swb hloov
- 9V fais fab mov
Kauj Ruam 1: Pawg Neeg Soj Ntsuam Hauv Xeev
Ib feem ntawm txoj haujlwm no tau muab los ntawm qhov zoo tshaj plaws Arduino uas tau tsav Christmas teeb Qhia Cov lus qhia ntxaws thiab cov duab qhia tau tuaj yeem pom nyob ntawd. Kuv siv nqaij nyuj triacs yooj yim vim tias kuv muaj lawv nyob hauv kuv qhov chaw. Koj tuaj yeem siv me me, tsis kim triacs yog tias lawv muaj rau koj. Ib yam li nrog optocouplers. Kuv siv MOC3041 optocouplers vim kuv muaj lawv. Lawv yog nqaij nyug rau optocouplers, thiab koj tuaj yeem siv tus nqi qis dua yog tias koj xav tau. Koj tsuas yog tsav lub rooj vag ntawm triacs nrog lawv.
Kev ceeb toom kev nyab xeeb yog nyob rau hauv kev txiav txim. Koj siv lub hwj chim tseem ceeb ntawm no, thiab nws yog qhov tuag taus. Nco ntsoov yog tias koj siv lub triac zoo li BT136 series, lub tab sib txuas ua ob npaug ua lub dav hlau tseem ceeb! Tsis txhob kov cov hlau tab thaum koj lub rooj tsav xwm SSR tau ntsaws, thiab ua tib zoo nyeem cov ntawv teev tseg rau txhua yam ntawm lub rooj tsavxwm no. Kuv tsis tau sim ua kom ntshai koj-nws yog kev nyab xeeb, lom zem tsim, tab sis nws cuam tshuam nrog lub ntsiab.
Raws li cov lus qhia, superglue yuav zoo heev thiab muaj kev nyab xeeb rau lub davhlau ya nyob twg xiav rau lub protoboard. Kuv kuj tau tso kuv cov resistors ntsug kom txuag chaw. Hauv ntej, qhov txiaj ntsig zoo rau lub dav hlau optocoupler yuav ua rau lub triacs, thiab qhib txhua yam txuas nrog lawv. Ib qho optocoupler muaj LED, thiab lub teeb liab nkag yuav tsum muaj qhov hluav taws xob ntau dua li LED lub zog rau pem hauv ntej, tab sis tsis zoo li muab lub zog loj dhau. 330Ω resistors xav tias koj yuav muab ib puag ncig 5-9V.
Thaum kawg, pawg thawj coj no rov siv tau. Nws yuav cuam tshuam nrog Arduino zoo, piv txwv li.
Kauj Ruam 2: Txuas SSR Board rau Box thiab Ntxiv Cords
Muab koj lub rooj tsav xwm SSR rau hauv qab ntawm koj lub thawv khawm. Kuv siv qee cov xaim xaim, ua kom ntseeg tau tias nws tsis muaj chaw nyob ze rau lub zog loj, txawm tias raug rwb thaiv tsev. Kuv xub nias tus thumbtack los ntawm qhov yooj yim protoboard qhov thiab hla lub thawv hauv qab. Kuv rov hais dua qhov no sab nrauv ntawm tus tiv thaiv kab mob, thiab tom qab ntawd tau pub ib daim hlau uas muaj cov kab xev ua los ntawm lub qhov, thiab ntsaws qhov xaus rau hauv qab ntawm lub thawv. Kuv rov ua cov txheej txheem no rau plaub fab ntawm SSR lub rooj tsavxwm.
Txiav lub qhov (socket) kawg ntawm koj rau txoj hlua txuas ntxiv, tawm tsawg kawg ib txhais taw ntawm xaim. Koj tuaj yeem tawm ntau ntxiv, lossis tseem cuam tshuam qhov ntev ntawm txoj hlua. Koj lub teeb Christmas yuav ntsaws rau hauv cov thom khwm, yog li koj yuav xav npaj tam sim no rau lawv qhov kev tshwm sim zaum kawg ntawm koj tsob ntoo. Tseg ib lub qhov kawg rau lub zog.
Sawb txog 1/4 nti ntawm rwb thaiv tsev los ntawm txhua qhov rau lub qhov (socket) xaus thiab qhov tshwj tseg ntsaws qhov kawg.
Txiav lossis laum qhov rau cov hlua ntawm ib sab ntawm lub npov uas nyob ib sab rau SSR lub hwj chim tseem ceeb. Txhawm rau kom muaj kev thaj yeeb nyab xeeb ntxiv, kuv txiav kuv lub qhov ntawm peb sab, thiab sab laug lub npov ntawm lub npov kom khaws lub thawv ntawv zoo li, ntim tau raws li qhov ua tau. Khi ib txoj hlua hauv txhua txoj hlua, tso cov xaim txaus los txuas rau lub dav hlau. Lub pob tw tiv thaiv cov xov hlau los ntawm kev rub los ntawm yam tsis muaj kev nyuab siab ntawm kev sib txuas ntawm lub rooj tsav xwm hauv PC.
Nco ntsoov tias koj cov hlua txuas txuas muaj ib txoj hlua hlau du thiab ib txoj hlua khi. Cov hlau xaim yog "kub", lossis xaim nqa tam sim no. Nov yog qhov peb yuav hloov pauv. Koj tuaj yeem hloov cov kab uas tsis muaj kab xev, thiab txhua yam tseem yuav ua haujlwm. Txawm li cas los xij, nws muaj kev nyab xeeb dua los hloov cov xaim kub, vim tias nres qhov dej ntws tam sim no ua ntej nws nkag mus rau hauv Circuit Court. Yog li ntawd, txuas qhov kawg ntawm koj rau lub qhov (socket) mus rau rau lub triac terminals, thiab txuas qhov kawg ntawm qhov ntsaws ntsaws rau qhov dav dav triac. Tsis tas li nco ntsoov tias yog tias koj muaj cov hlua qub uas tsis yog polarized (ob lub qhov muag loj tib yam) nws tsis muaj teeb meem twg uas koj txuas nrog, vim tias koj tuaj yeem ntsaws nws rau hauv ob qho tib si!
Txuas tag nrho cov xov hlau nruab nrab ua ke siv cov txiv ntseej. Kuv txiav qee cov xov hlau ntxiv los ntawm ib qho ntawm lub ntsaws ntsaws tas thiab ua cov khoom ua ke ua plaub thiab peb, vim tias nws nyuaj heev los txuas 7 xaim ua ke siv ib leeg txiv ntoo. Nco ntsoov tias koj tuaj yeem sib sau koj lub qhov (socket) nruab nrab cov xov hlau sib txuas ua ke thiab txuas lawv mus rau lub davhlau ya nyob twg dawb ntawm SSR lub rooj tsavxwm, thiab tom qab ntawd txuas lub ntsaws kawg qhov nruab nrab xaim mus rau tib lub davhlau ya nyob twg. Qhov ntawd yog dab tsi uas dawb-ntab davhlau ya nyob twg yog muaj rau. Kuv xaiv tsuas yog khi lawv ua ke nrog cov txiv ntoo, thiab tso lub davhlau ya nyob twg uas tsis siv.
Nrog koj zoo siab. Koj paub tias muaj 6 lub hwj chim tswj tau. Yog tias koj tsis tau ua tiav lawm, Kuv xav pom zoo los ntsuas SSR pawg thawj coj ntawm qhov no.
Kauj Ruam 3: Tsim Tus Tsav Tsheb
Lub plawv ntawm lub voj voog no yog AN6884 IC. Yog tias koj saib ntawm cov ntawv teev npe, koj yuav pom nws tsuas yog 5 tus sib piv hauv koob. IC no yog tsim los rau teeb pom kev zoo LEDs, tsis yog rau kev tswj hwm lwm qhov Circuit. Qhov ntawd tsuas yog koj tab tom ua dab tsi, vim hais tias optocoupler tsuas yog ib qho LED txuas nrog lub tshuab hluav taws xob hauv tib lub hnab yas.
Ib qho kev ceeb toom yog tias peb tau teeb tsa peb SSR pawg thawj coj los ua rau muaj cov cim siab, tab sis AN6884 tso tawm lub teeb liab qis! Yog tias peb pub cov txiaj ntsig ntawm AN6884 rau hauv lub hauv paus ntawm 5 PNP transistors teeb tsa nyob rau hauv cov qauv tso tawm ntau, peb tuaj yeem thim qhov tso tawm. Thaum kawg, siv rau tag nrho cov PNP transistors uas koj tsis zoo li siv rau lwm yam.
Cov tswv yim rau AN6884 yog lub tshuab electret microphone. Lub microphone yog kev lim hiam thiab lim siab dhau. Tab sis nws tsis muaj zog txaus los tsav AN6884, yog li peb xub ua nws dhau los ntawm ib qho ntawm op-amps ntawm LM324 quad op-amp nti. Nco ntsoov, qib kev hloov pauv ntawm qhov hloov pauv lub suab nrov zoo li ib qho hauv Circuit Court no tau txiav txim siab los ntawm kev sib piv ntawm cov lus tawm tswv yim resistor rau cov tswv yim tawm tsam. Peb cov tswv yim tawm tswv yim yog 10kΩ. Kuv sim me ntsis ntawm no. Kuv thawj zaug sim tawm tswv yim tawm tsam ntawm 47kΩ, tab sis tsis txaus siab nrog qhov ua tau zoo ntawm lub Circuit Court. Thaum kawg kuv tau txiav txim siab ntawm 330kΩ resistor. Lub amp oscillates me ntsis, tab sis kuv tsis mloog. Thaum kawg nco ntsoov tias qhov kev nkag siab tseem raug tswj los ntawm 10kΩ potentiometer txuas rau AN6884 qhov kev nkag mus. Qhov no muab rau koj qee qhov on-the-fly rhiab tswj thaum muaj kev hloov pauv ib puag ncig lub suab nrov. Yog tias koj tsis nyiam yuav ua li cas lub teeb nyem ntawm qib ntim tsis tu ncua, koj tuaj yeem tso qee lub capacitors hla ob qho kev tawm tswv yim thiab tawm tswv yim tawm tsam. Koj yuav xav ua kom ntseeg tau tias lawv haum zoo, txawm li cas los xij.
Lwm qhov tseem ceeb ntawm no yog hloov. Nws hla lub mic thiab pub 9V ncaj qha rau AN6884 cov lus qhia, tig nws puv. Qhov ntawd yog qhov zoo rau thaum koj tsuas yog nyiam lub teeb ci, tom qab VU qhov tshiab tshiab tawm.
Kauj Ruam 4: Mount Txhua Yam Hauv Lub Thawv
Kuv tau teeb tsa lub rooj tsav tsheb rau sab ntawm lub thawv siv cov xaim xaim ua ntej. Kuv txiav qhov rau lub thoob yas thiab hloov ntawm lub hauv ntej ntawm lub thawv. Lub jack tuaj nrog txiv ntoo kom ruaj ntseg nws. Kuv kub-glued tus tes hloov qhov chaw. Kuv txiav ib lub qhov nyob rau sab saum toj ntawm lub thawv rau lub microphone
Kuv siv lub taub hau rau tus tsav tsheb tawm, lub hwj chim nkag, thiab hloov mus ua kom sib dhos thiab tshem tawm tau yooj yim dua. Qhov no tau pab tshwj xeeb tshaj yog thaum kuv ua qauv thiab kho txhua yam.
Kuaj txhua yam.
Kauj Ruam 5: Teeb Koj Tsob Ntoo
Kuv siv luv 50 qhov muag teeb hlua hauv dawb. Koj tuaj yeem siv ntau yam xim, ntev ntxiv, thiab lwm yam. Kuv pom zoo siv cov minilights ib txwm tsis yog LEDs vim tias cov teeb pom kev zoo ib txwm yuav ploj mus thiab tawm. Cov LEDs yuav qhib thiab tawm tam sim ntawd, uas tej zaum yuav yog qhov ua tau zoo hauv thiab ntawm nws tus kheej.
Qhwv tsob ntoo hauv txheej, thiab ntsaws txheej qis tshaj rau hauv qhov hluav taws xob 1, thiab ntxiv rau.
Koj tuaj yeem qhwv lub thawv tswj hauv daim ntawv ua kev zoo siab kom nws tsis tshua pom nyob hauv koj tsob ntoo, thiab koj tuaj yeem nkaum lub mic sab hauv lub hneev loj. Koj tsuas yog yuav tsum piav qhia rau koj cov qhua pom qhov muag pom vim li cas ib qho khoom plig tau ntsaws rau hauv.
"AW!" koj hais. "Dab tsi txog qhov thib rau qaum?" Yog lawm AN6884 tsuas muaj 5 qhov kev tso tawm, thiab peb pawg SSR pawg thawj coj muaj rau tus tswv yim. Koj tuaj yeem ua qhov koj nyiam nrog rau thib rau. Tej zaum txuas cov tswv yim mus rau 9V thiab muaj teeb tsa uas ib txwm nyob. Los yog tsis quav ntsej nws. Lossis tsim koj li SSR nrog tsuas yog 5 qhov txuas. Kuv tsuas suav nrog qhov thib rau kom zoo ib yam nrog kuv lub rooj tsav xwm uas siv tau. Kuv xav tias nws yuav tsis meej pem muab cov duab ntawm rau SSRs nrog tsim cov lus qhia rau 5.
Pom zoo:
Cov Khoom Siv Hluav Taws Xob BASED CHRISTMAS TREE: 8 Cov Kauj Ruam
COV LUS QHIA ELECTRONIC BASED CHRISTMAS TREE: Nyob zoo thiab Zoo Siab Txais Tos Rov Qab !!! Raws li yog tus nyiam siv hluav taws xob. Kuv ib txwm pom qee yam lossis kev ua koob tsheej /sijhawm uas yog lub sijhawm los ua qee yam tshiab ntawm cov khoom siv hluav taws xob. Kuv xav txog kev ua tsob ntoo Christmas b
Oh Christmas Tree (Oh Tannenbaum) Nrog MakeyMakey ntawm Dej Synthesizer: 7 Kauj Ruam
Oh Christmas Tree (Oh Tannenbaum) Nrog MakeyMakey ntawm Dej Synthesizer: Zaj nkauj Christmas no yog qhov zoo los ua si nrog makeymakey ntawm cov dej haus. Koj tuaj yeem ua nws nrog cuaj tones.Rau qhov cua nws zoo nkauj kom muaj qee lub teeb Christmas :-) Txaus siab rau
Bluetooth Tswj NeoPixel Christmas Tree: 5 Kauj Ruam
Bluetooth Tswj NeoPixel Christmas Ntoo: Koj puas tau xav paub yuav ua li cas ntxiv IoT (Internet ntawm Yam) hauv koj tsob ntoo Christmas xyoo no? Zoo, nws yog qhov ua tau! Kuv tus kheej hu qhov haujlwm no "ArduXmas", thiab nws muaj RGB NeoPixel coj sawb tswj los ntawm Arduino npua
ELECTRONIC CHRISTMAS TREE: 5 Kauj Ruam
ELECTRONIC CHRISTMAS TREE: Hav txiv neej! Kuv vam tias koj twb nyiam kuv cov lus qhia yav dhau los " NodeMCU Tsev Automation (ESP8266) " thiab koj tau npaj rau qhov tshiab, raws li ib txwm kuv tau ua cov lus qhia no los qhia koj ib qib zuj zus ntawm tsob ntoo hluav taws xob Christmas ua kev zoo siab rau Khetos
Google Trends Powered Christmas Tree: 6 Kauj Ruam (nrog Duab)
Google Trends Powered Christmas Tree: Xav paub tias Christmas zoo li cas? Tshawb nrhiav nrog Google qhov kev hloov pauv no tau siv tsob ntoo Christmas! Hom kev suav nrog