Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Tsim Circuit + Code
- Kauj ruam 2: Soldering Circuit
- Kauj Ruam 3: Txhim Kho Ultrasonic Sensor
- Kauj Ruam 4: Txhim Kho LED Sawb
- Kauj Ruam 5: Txhim Kho Arduino thiab Hooking It All Up
- Kauj Ruam 6: Ntxiv Hnub Ci Panels
- Kauj Ruam 7: Ntxiv Hnub Ci Tus Thawj Tswj Fais Fab
- Kauj Ruam 8: Xeem Nws
Video: Hnub ci Powered LED Parking Sensor: 8 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Los Ntawm Ntau Tshaj SumMy youtube channel Ua raws ntau los ntawm tus sau:
Txog: Kuv yog tus kws qhia ntawv uas qee zaum ua yeeb yaj kiab. Ntau Ntxiv Txog Ntau Tshaj Li Ntxiv »
Peb lub nkas -las tsis muaj qhov tob ntau, thiab muaj cov khoom tom kawg qhov txo qhov tob ntxiv. Kuv tus poj niam lub tsheb tsuas yog luv txaus kom haum, tab sis nws nyob ze. Kuv tau ua qhov ntsuas no kom yooj yim rau txheej txheem ntawm chaw nres tsheb, thiab kom ntseeg tau tias lub tsheb puv hauv lub nkas -las ua ntej mus dhau thiab tsoo cov khoom.
Thaum nws tau tsim, Kuv txiav txim siab ua lub zog nrog lub hnub ci ci vim tias kuv muaj qhov chaw zoo los tso rau lawv, thiab kuv lub phiaj xwm yog nthuav cov txheej txheem no kom muaj zog ntau yam hauv chav nres tsheb yav tom ntej.
Saib cov vis dis aus no kom ntxaws ntxaws:
Khoom siv
Cov ntawv luam tawm 3D thiab LED diffuser
3D luam tawm cov xov hlau
Arduino Nano, Breadboard thiab Jumper Wires
Hnub Ci Tus Thawj Tswj Fais Fab
Hnub ci vaj huam sib luag
Solderrable Breadboard, 2 xaim txuas, 3 xaim txuas, 4 xaim txuas
LED sawb (60/m) WS2812
14500 Lithium Ion roj teeb
Ntsia Hlau Ntsia Hlau
Ultrasonic Sensor
Daim Kab Xev Ob Sab, Daim Kab Xev Hluav Taws Xob
Hlau Stripper, Soldering Iron
3d tshuab luam ntawv
Phom cua kub
M3x8mm screws, M3 txiv ntoo
*txhua qhov txuas yog cov koom nrog txuas
Kauj Ruam 1: Tsim Circuit + Code
Rub tawm thiab teeb tsa daim duab arduino. Pom ntawm no: Parking Sensor Sketch
Lub Circuit Court suav nrog ultrasonic sensor, arduino nano, thiab WS2812B 5V addressable LED sawb. Kuv xub tau txhawj xeeb txog kev siv lub ntsuas hluav taws xob ultrasonic vim tias lub tsheb tsis tiaj tus, tab sis tom qab kuaj thawj zaug, nws tsis pom muaj teeb meem.
Txuas cov hauv qab no mus rau tus pin arduino tshwj xeeb (lossis hloov lawv hauv cov cai ntawm kab 5-7):
LED sawb -> pin 8
Ultrasonic Sensor Trig -> tus pin 12
Ultrasonic Sensor Echo -> tus pin 11
Txhawm rau kho cov cai kom phim koj daim ntawv thov, koj tuaj yeem hloov cov kab hauv qab no:
9: Qhov no yog tus lej cm, thaum lub teeb qhib
10: qhov no yog qhov pib qhia rau koj paub tias koj nyob ze
11: qhov no yog tus lej cm uas qhia rau koj paub tias koj nyob nyab xeeb deb npaum cas
12: ntawm qhov deb no, lub teeb pib tig liab, qhia rau koj paub kom nres
13: ntawm qhov deb no, lub teeb pib ntsais, qhia rau koj paub tias koj nyob ze heev
Qee tus lej los kho:
15: Nov yog tus lej hauv vib nas this tos tom qab lub tsheb nres txav ua ntej lub teeb tig thiab Arduino nkag mus rau lub zog qis.
17: Tus lej no sawv cev rau qhov kev hloov pauv ntawm qhov deb uas tso cai ua ntej lub ntsuas hluav taws xob sau npe txav chaw thiab tig rov qab.
Kuv siv lub tsev qiv ntawv "Tsawg zog" los tso Arduino hauv lub xeev pw thaum nws tsis siv. Phau ntawv Sparkfun no muab cov ntsiab lus hais txog nws ua haujlwm li cas, thiab koj tuaj yeem rub tawm nws nruab ntawm no: Lub Tsev Qiv Ntawv Tsawg. Qhov kuv pom yog tias lub tsev qiv ntawv cuam tshuam nrog lub ntsuas saib, yog li koj yuav tsis tuaj yeem siv nws thaum tseem suav nrog thiab siv Lub Tsev Qiv Qis Qis qis.
Kauj ruam 2: Soldering Circuit
Hloov cov khoom siv hluav taws xob mus rau pawg thawj coj saib thiab cov laug nyob hauv qhov chaw. Siv tus lej 4 tus pin JST txuas rau lub ntsuas hluav taws xob ultrasonic, thiab 3 tus pin JST txuas rau cov hlua LED. Kuv ntxiv 2 lub xov hlau JST txuas rau 5V thiab hauv av txhawm rau txhawm rau txhawb lub zog thiab cov khoom siv sab nraud.
Kauj Ruam 3: Txhim Kho Ultrasonic Sensor
Tua tawm 4 tus pin daim ntawm tus poj niam header strip, khoov tus pin thiab txuas rau 4 tus pin txuas, yog li koj tuaj yeem xaub nws mus rau lub ntsuas ultrasonic. Xim nrog daim kab xev hluav taws xob ua kua.
Txheeb xyuas qhov chaw rau lub ntsuas cua thiab cov kab hluav taws xob LED ntawm lub txee uas lub ntsuas yuav raug teeb tsa. Daim kab xev 3d luam tawm ultrasonic sensor nce mus rau qhov chaw xaiv nrog daim kab xev ob tog. Laum qhov rau hauv phab ntsa txhawm rau pub xaim hla.
Kauj Ruam 4: Txhim Kho LED Sawb
Txiav ib txoj hlua LED rau qhov ntev uas ua haujlwm rau koj. (Kuv yog 20 LEDs ntev, thiab tau sib nrug ntawm 60 LEDs/m). Solder 3 tus pin txuas rau sab nkag, thiab pleev xim nrog daim kab xev hluav taws xob ua kua.
Yog tias koj tso cov LEDs zoo li yog rau ntawm phab ntsa, cov pixels muaj qhov txwv qhov pom, thiab yog li ntau lub teeb tau nkim. Koj tuaj yeem pom qhov sib txawv hauv daim duab saum toj no. Lub npog kuv tsim los nthuav lub teeb muaj tuab li ntawm 0.5 hli, uas zoo li tau muab qhov zoo tshaj qhov sib npaug ntawm qhov ci thiab qhov sib kis.
Xaiv qhov chaw koj xav tso cov LEDs. Qhov zoo tshaj, lawv yuav tsum yog nyob rau hauv pem hauv ntej ntawm tus neeg tsav tsheb, ze rau qhov muag ntawm tus neeg tsav tsheb lub rooj. Muab ob daim thim rov qab ntawm tus tuav ua ke, xaub LED sawb rau hauv tus tuav, tshem cov nplaum los ntawm sab nraum qab ntawm cov hlua LED, thiab nias rau hauv qhov chaw. Xaub cov npog rau tus tuav thiab siv daim kab xev ob tog txhawm rau txhawm rau qhov chaw koj tau xaiv.
Nco tseg: daim duab kos tau teeb tsa rau 20 LEDs, yog li yog tias koj siv tus lej sib txawv, nco ntsoov hloov tus lej ntawm kab 5 kom pom qhov ntawd. Yog tias koj siv tus lej tsis zoo ntawm LEDs, nws tau teeb tsa kom nws tseem yuav ua haujlwm raws li qhov xav tau.
Kauj Ruam 5: Txhim Kho Arduino thiab Hooking It All Up
Siv ob lub M3 ntsia hlau thiab cov txiv ntseej txhawm rau txuas lub khob cij uas muag tau tawg mus rau lub thawv ntawv, xaub cov txuas los ntawm qhov qhib rau sab, thiab ntswj lub hau rau hauv qhov chaw.
Xaiv qhov chaw yooj yim txhawm rau txuas lub thawv ntawv ze ntawm LEDs thiab lub ntsuas hluav taws xob ultrasonic, thiab ntxiv cov ntsia hlau kom koj tuaj yeem dai nws nyob hauv qhov chaw siv lub qhov ntsaws ntsaws. Kuv tau tso ncaj qha ib sab ntawm lub ntsuas hluav taws xob ultrasonic kom kuv tuaj yeem zam tsis tau ua plaub txoj hlua txuas rau lub ntsuas.
Txuas lub sensor thiab LED. Siv 3d luam cov xov hlau los pab tswj cov xov hlau, thiab tiv thaiv cov xov hlau tsis tuaj yeem txav tau ntau dhau.
Kauj Ruam 6: Ntxiv Hnub Ci Panels
Kuv txiav txim siab ntxiv hnub ci zog rau txoj haujlwm no kom kuv tsis tas yuav txhawj xeeb txog roj teeb, thiab yog li kuv tsis muaj nws tas li ntsaws rau hauv phab ntsa. Hnub ci teeb tsa yog hloov pauv, yog li kuv npaj yuav ua ntau qhov chaw tso tsheb uas yuav rub lub zog los ntawm nws, thiab kuv tuaj yeem txhim kho lub hnub ci ci lossis tus tswj hwm lub roj teeb thiab xav tau ntxiv.
Tus tswj xyuas lub hnub ci siv nyob rau hauv txoj haujlwm no yuav tsum muaj qhov hluav taws xob qis ntawm 6v, thiab lub zog tsawg kawg 5W txhawm rau txhawm rau them lub roj teeb. Qhov nyuaj tshaj plaws ntawm cov phiaj xwm hnub ci me me, yog tias cov roj teeb lithium ion xav tau yam tsawg 1 amp tam sim no thiaj li yuav tau them. Hauv qhov no, Kuv muaj ob lub 5v vaj huam sib luag uas tau ntsuas ntawm 0.5 A txhua. Vim tias tus tswj hwm lub zog xav tau tsawg kawg 6v, cov vaj huam sib luag yuav tsum tau txuas hauv kab, ntxiv lawv qhov hluav taws xob ua ke. Hauv qhov kev npaj no, tam sim no nyob ntawm 0.5A, tab sis vim tias lub zog muab los ntawm cov vaj huam sib luag ua ke yog 5W, thaum tus tswj hwm tus nqi poob qhov hluav taws xob, nws yuav muaj txaus tam sim no los them lub roj teeb.
Nco tseg: hnub ci vaj huam sib luag qhov hluav taws xob hloov pauv ntau hnub, thiab yuav nce ntawm qhov txiaj ntsig siab dua qhov ntsuas hluav taws xob. Vim li no koj thiaj tsis xav txuas Arduino lossis roj teeb ncaj qha rau lub vaj huam sib luag.
Siv xaim txhawm rau txhawm rau txhawm rau lub vaj huam sib luag, thiab ntxiv 2 tus pin JST txuas kom koj tuaj yeem txuas tau yooj yim thiab txuas lawv los ntawm tus tswj hwm lub zog. Nrhiav ib lub tiaj tiaj uas tau txais ntau lub hnub los txhim kho lub vaj huam sib luag. Rau kuv, Kuv muaj qhov chaw uas kuv tuaj yeem kaw lawv yooj yim siv ob daim kab xev. Kuv ntxuav qhov saum npoo ua ntej, tom qab ntawv kaw lub vaj huam sib luag. Kev tuav zoo li muaj zog txaus, tab sis lub sijhawm yuav qhia yog qhov no txaus los tuav txog qee qhov cua daj cua dub uas peb tau nyob ib puag ncig ntawm no. Kuv siv cov zauv sib txuas los khaws cov xaim nyob hauv qhov chaw thaum nws pub rov qab rau hauv chav nres tsheb.
Ntau lub tshuab hluav taws xob kuj tseem tuaj yeem siv ua lub load thaum siv hluav taws xob rau lawv. Hauv lub microphone, nws tuaj yeem siv ua tus hais lus. Lub tshuab hluav taws xob tuaj yeem ua haujlwm zoo li lub cav. Ib qho LED tuaj yeem siv los ntsuas lub xub ntiag ntawm lub teeb. Yog tias qhov hluav taws xob tau siv rau lub hnub ci vaj huam sib luag, nws yuav kos tam sim no, thiab kuv ntseeg tias nws yuav tso tawm lub teeb (tsis paub meej tias zaus npaum li cas). Hauv qhov xwm txheej zoo li no, qhov thaiv thaiv diode yuav tsum tau teeb tsa ib qho twg hauv Circuit Court txhawm rau tiv thaiv lub hnub ci vaj huam sib luag los ntawm kev tso roj teeb thaum tsis muaj lub hnub ci tuaj. Kuv xav tias qhov kev tswj hwm lub zog hluav taws xob tau tsim qhov no rau hauv nws, tab sis tom qab ob peb hnub los nag, lub roj teeb tau tas lawm.
Kuv siv lub diode uas kuv pom nyob ib puag ncig, thiab muab nws txuas rau qhov kawg ntawm cov xaim uas yuav txuas rau 5V lub davhlau ya nyob twg ntawm tus tswj hwm tus nqi. Yog tias koj txuas rau tib qhov chaw, qhov kawg ntawm cov diode nrog cov qhab yuav tsum taw tes rau tus tswj hwm tus nqi, thiab deb ntawm qhov zoo ntawm lub hnub ci vaj huam sib luag. Qhov no yuav thaiv tam sim no los ntawm xau rov qab rau hauv vaj huam sib luag. Kuv siv lub tshuab cua sov ua kom sov txuas cov hlau txuas rau hauv qhov chaw, vim tias kuv tau teeb tsa kuv li tom qab kuv muaj lub kaw lus nyob hauv qhov chaw.
Kauj Ruam 7: Ntxiv Hnub Ci Tus Thawj Tswj Fais Fab
Tus tswj hwm lub hwj chim muaj kev xaiv txuas nrog siv poj niam jumper xov hlau, lossis USB cables. Tsis yog ib qho ntawm no tshwj xeeb tshaj yog rau qhov kev deb kuv xav khiav cov xaim, yog li ntawd, kuv tau siv cov xov hlau txuas rau hauv qab ntawm lub rooj tsavxwm qhov twg 5v thiab cov pins hauv av tau txuas nrog.
Txuas ob 5 tus pin Wago qib txiv ntseej rau hauv lub thawv uas siv daim kab xev ob tog. Qhov no yuav tso cai rau txhawb ntau lub cuab yeej los ntawm tus tswj hwm lub zog no. Nws muaj peev xwm tawm mus txog 1A tam sim no ntawm 5V, yog li yog tias koj daim ntawv thov yav tom ntej yuav xav tau ntau dua tam sim no, koj yuav tsum tshawb nrhiav siv lwm tus tswj hwm lub zog.
Sab nraum qab ntawm tus tswj hwm lub zog, muaj cov hloov pauv, yog li koj tuaj yeem teeb tsa qhov kwv yees qhov hluav taws xob ntawm koj lub hnub ci vaj huam sib luag, yog li hloov nws kom haum rau hnub ci teeb tsa uas koj tau siv. Hauv kuv qhov xwm txheej, kuv teeb nws mus rau 9v, raws li cov vaj huam sib luag hauv kab ntawv kev teeb tsa raug ntsuas li 10v.
Tus tswj hwm lub hwj chim los nrog qhov kev tsis pom zoo, yog li tshem tawm ob ntawm lawv, thiab siv cov qhov los ntswj tus thawj tswj hwm lub zog rau lub qhov rooj uas siv M3x8 ntsia hlau. Pub cov xov hlau uas tau muab muag rau 5v thiab hauv av hla lub qhov hauv qab, thiab kaw lawv rau hauv Wago qib txiv ntseej.
Nrhiav qhov chaw zoo rau tus tswj hwm lub zog, thiab ntxiv cov ntsia hlau rau ntawm phab ntsa. Siv lub qhov tseem ceeb ntawm lub thaiv kom dai nws nyob hauv qhov chaw. Khiav hlau los ntawm Arduino mus rau tus tswj hwm lub zog, thiab kaw rau hauv qhov chaw siv 5v thiab hauv av Wago txuas. Ua tib zoo saib kom tsis txhob muab nws rov qab, Arduino cov laug cam tuaj nrog qee qhov kev tiv thaiv, tab sis koj tuaj yeem muaj peev xwm kib koj li ntawm no yog tias koj xaim 5v tus pin rov qab. Siv cov xov hlau txuas kom cov xaim nyob hauv qhov chaw raws phab ntsa.
Ua tib yam nrog cov xaim los ntawm lub hnub ci vaj huam sib luag. Nco ntsoov tshem tawm cov hnub ci vaj huam sib luag ua ntej koj txuas cov xov hlau mus rau lub zog tswj, yog li koj tsis txhob ua rau lawv luv lossis ua rau lub rooj tsavxwm puas tsuaj.
Thaum ua tiav, muab daim npog rau hauv lub thawv ntawv, qhib qhov hloov rau lub roj teeb, thiab rov txuas lub hnub ci vaj huam sib luag.
Kauj Ruam 8: Xeem Nws
Thawj qhov khoom plig hauv LED Strip Speed Challenge
Pom zoo:
Chaw Ua Haujlwm Roj Teeb Hnub Ci System Nrog Pib Hloov Sab Hnub Poob/Sab Hnub Poob Panels thiab Cua Turbine: 11 Kauj Ruam (nrog Duab)
Chaw Ua Haujlwm Roj Teeb Hnub Ci System Nrog Pib Hloov Sab Hnub Poob/Sab Hnub Poob Panels thiab Cua Turbine: Txoj Haujlwm: Ib thaj tsam 200 square ft. Chaw ua haujlwm xav tau roj teeb. Lub chaw haujlwm tseem yuav tsum muaj tag nrho cov tswj, roj teeb thiab cov khoom siv xav tau rau lub kaw lus no. Hnub ci thiab cua zog yuav them cov roj teeb. Muaj teeb meem me ntsis ntawm tsuas yog
LED Lub Plawv Duab Lub Cev - Ua Kom Zoo Tshaj Valentine lossis Hnub Yug Hnub Yug: 7 Kauj Ruam (nrog Duab)
LED Lub Plawv Lub Duab Duab - Ua Kom Zoo Tshaj Plaws Valentine lossis Hnub Yug Hnub Yug: Nyob Zoo! Hauv cov lus qhia no kuv yuav qhia koj li cas koj tuaj yeem ua qhov txaus txaus LED Lub Plawv Duab Duab Ncej. Rau txhua tus neeg nyiam Electronics! Ua kom zoo nkauj Valentine, Hnub Yug lossis Hnub Ua Ntej tam sim no rau koj cov neeg hlub! Koj tuaj yeem saib Demo Video ntawm no
Cov Khaub Ncaws Khaub Ncaws Niaj Hnub Nyoog Vintage Cov Kab Xev Nrog Cov Ntaub Ntawv MP3: 8 Kauj Ruam (nrog Duab)
Kev Sau Ntiag Tug Vintage Cassette Tapes Nrog Cov Ntaub Ntawv MP3: Nrog cov kab xev nplaum kab xev popping hauv pop-kab lis kev cai tam sim no ntau dua li yav tas los, ntau tus neeg xav tsim lawv tus kheej cov ntawv. Hauv qhov kev qhia no, kuv yuav qhia koj yuav ua li cas (yog tias koj muaj daim kab xev kaw) kaw koj tus kheej cov kab xev nrog cov thev naus laus zis niaj hnub
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Hnub Ci Tsim Cov Duab Duab: 11 Cov Kauj Ruam (nrog Duab)
Hnub Ci Tsim Cov Duab Duab: Nov yog qhov khoom plig me me uas kuv tau ua rau kuv tus poj niam Christmas kawg. Nws yuav ua qhov khoom plig zoo tshaj plaws txawm hais tias - hnub yug, hnub tseem ceeb, Hnub Valentine lossis lwm yam xwm txheej tshwj xeeb! Ntawm cov tub ntxhais yog tus qauv tawm ntawm lub txee keychain cov duab digital rau