Cov txheej txheem:
- Kauj ruam 1: Saib Qhov No
- Kauj ruam 2: Ntsuas lub txaj
- Kauj Ruam 3: Txiav Cov Hluav Taws Xob thiab LED Sawb
- Kauj Ruam 4: Cov Cuab Yeej Cuam Tshuam rau Tsab Ntawv Pom Zoo
- Kauj Ruam 5: Hlau LED Sawb
- Kauj Ruam 6: Hloov Lub Hwj Chim
- Kauj Ruam 7: Txuas Cov Khoom Siv Hluav Taws Xob
- Kauj Ruam 8: Txuas Arduino
- Kauj Ruam 9: Txuas LED Sawb rau Cov Khoom Siv Hluav Taws Xob thiab Arduino
- Kauj Ruam 10: Txuas Motion Sensors rau Arduino
- Kauj ruam 11: Program Arduino
- Kauj Ruam 12: Muab tso rau hauv txaj
- Kauj Ruam 13: Kho, Xeem thiab Pom Zoo
- Kauj Ruam 14: Ua Nws Ntxiv
- Kauj Ruam 15: Yog tias Koj Tsis Muaj Kev Nyuaj Siab
- Kauj Ruam 16: Ua Tsaug Rau Kev Nyeem Ntawv
Video: Tsab ntawv tsa suab hnov qab teeb pom kev hauv txaj: 16 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Puas tau sim tawm ntawm lub txaj ntsiag to thaum hmo ntuj tsuas yog taug kev hla qee yam thiab tsa tag nrho lub tsev?
Tsab ntawv tsa suab pom hmo teeb teeb tsa tsis xwm yeem hauv qab koj lub txaj muab lub teeb qis qis kom txaus los coj koj nyob ib puag ncig cov LEGO uas tsis ncaj ncees tab sis dim txaus yog li koj tsis tau sawv los tas li. Ntxiv rau kev nkag siab lub suab, nws kuj tseem tuaj yeem teeb tsa lub teeb rau xim uas koj xaiv rau lub sijhawm ntev (lossis tsis tas li). Lawv ntxiv qhov ci ci thiab ib puag ncig zoo rau txhua chav pw.
Nrog qee cov khoom siv yooj yim, ob peb yam ntxiv thiab peb T3ch Flicks qhia thiab yees duab, koj tuaj yeem teeb tsa cov teeb no nrog cov txheeb ze yooj yim hauv ob peb teev.
Cov ntaub ntawv:
- Fais fab mov (5V 6A) Amazon
- Chaw nyob LED sawb Amazon
- Arduino Nano Amazon
- Hlau clips Amazon
- Tsab ntawv tsa suab Sensors Amazon
- Rocker hloov Amazon
- AC Plug
- Hlau
Cov ntaub ntawv (https://github.com/sk-t3ch/t3chflicks-night-light-leds):
Kauj ruam 1: Saib Qhov No
Kauj ruam 2: Ntsuas lub txaj
Tig lub txaj mus rau nws sab kom lub hauv paus nkag tau yooj yim. Nrhiav qhov chaw tsim nyog rau lub thawv tswj, peb xaiv thaj chaw me ntsis nyob ze ntawm lub taub hau ntawm lub txaj (saib daim duab). Ntsuas thaj tsam ntawm koj lub txaj thiab nws qhov ntev thiab dav (saib daim duab). Nco tseg koj cov kev ntsuas.
Txiav txim siab qhov chaw rau peb lub ntsuas cua. Koj xav tau ib lub ntsej muag txhua ntawm peb sab ntawm lub txaj uas tsis tawm tsam phab ntsa. Peb xaiv cov chaw uas nyob ze rau ntawm ntug txaj, tab sis tsis pom. Ntsuas qhov nrug ntawm qhov chaw sensor mus rau lub thawv tswj.
Kauj Ruam 3: Txiav Cov Hluav Taws Xob thiab LED Sawb
Txiav LED teeb rau qhov ntev ntawm lub txaj ib puag ncig.
Tom ntej no, txiav cov xov hlau: koj yuav xav tau peb rau txhua lub ntsuas thiab peb rau LED kab txaij, txhua tus coj rov qab mus rau lub thawv tswj - 12 tag nrho. Siv peb qhov ntev ntawm cov xim sib txawv xim, txiav kom loj. Peb siv daj, ntsuab thiab txiv kab ntxwv - qhov kev pom zoo pom zoo yog liab rau lub zog, dub rau hauv av thiab lwm yam (siab tawv) xim rau teeb liab. Nws tsis muaj teeb meem dab tsi uas koj siv xim ntev li koj paub uas yog dab tsi.
Kauj Ruam 4: Cov Cuab Yeej Cuam Tshuam rau Tsab Ntawv Pom Zoo
Peb muaj peb lub tsev ntsuas peb cov lus tsa suab hauv 3D-luam rooj plaub (koj tuaj yeem pom cov ntawv txuas hauv qab no). Nws tsis yog qhov tsim nyog kom muaj cov no, tab sis lawv ua rau lub ntsuas phoo zoo dua thiab yooj yim dua rau hauv qab ntawm koj lub txaj.
Yog tias koj tab tom siv 3D-luam ntawv rooj plaub, pib los ntawm kev sib txuas peb kab xim sib txawv los ntawm lub hau. Cov cim suab muaj peb tus lej sib txawv: hauv av (GND), lub zog (VCC), thiab teeb liab (S) (qhia saum toj no). Thaum tuav lub ntsuas hluav taws xob raws li qhia hauv daim duab saum toj no (piv txwv li nrog tus pin nyob rau hauv qab ntug ntawm tus qauv), txuas rau peb lub xov tooj sib txawv xim lawv cov koob thiab muab lawv tso rau hauv qhov chaw. Tom qab ntawd, npog cov xov hlau siv cua sov. Rov ua qhov no rau cov xov hlau txiav rau txhua ntawm peb lub ntsuas.
Thawb lub dome ntawm lub suab txav los ntawm lub qhov hauv rooj plaub tseem ceeb. Nws yuav tsum nyem rau hauv qhov chaw. Kaw rooj plaub, tso peb lub xov hlau uas muaj kab liab hla hauv qab lub qhov.
Kauj Ruam 5: Hlau LED Sawb
Cov hlua LED muaj peb qhov sib txuas sib xws: lub zog, lub teeb liab thiab hauv av - tshwj tsis yog lub teeb liab tus pin yog cov tswv yim.
Cov LEDs no coj cov lus qhia los ntawm Arduino, txhua tus ntawm lawv tuaj yeem hais tau. Peb tuaj yeem hloov xim (RGB) thiab ci ntsa iab. Cov kab laug sab peb xim xaim rau cov hlua LED, cov no yuav siv los txuas rau Arduino tom qab.
Kauj Ruam 6: Hloov Lub Hwj Chim
Yog tias koj siv lub thawv 3D-luam tswj, koj yuav tsum teeb tsa lub zog hloov pauv thiab txuas nws mus rau cov xov hlau.
Ua ntej, xyuas kom tsis muaj dab tsi nyob rau thaum kawg ntawm koj lub ntsaws, yog tias muaj, txiav nws tawm. Xov hlau hla lub qhov nyob rau hauv ntej ntawm lub thawv thiab tawm dua los ntawm lub qhov rau qhov hloov tam sim ntawd ib sab ntawm nws. Seem txheej sab nrauv ntawm AC hlau kom pom li 10cm ntawm peb lub xov hlau sab hauv (Nyob, Nruab Nrab thiab Ntiaj Teb) tuaj yeem pom.
Tom qab ntawd, txiav thiab tshem tawm 8cm ntawm cov nyob (liab) thiab nruab nrab (xiav) xov hlau thiab tso tseg rau tom qab. Siv qhov seem 2cm ntawm qhov kawg ntawm AC txuas xaim, muab cov kab nyob (liab) thiab nruab nrab (xiav) xaim txuas mus rau qhov hloov pauv hauv qab ob txoj kab (raws li qhia hauv daim duab).
Tom ntej no, nqa 8cm daim nyob (liab) thiab nruab nrab (xiav) cov xov hlau uas koj tau txiav ua ntej thiab muab lawv txuas rau ob txoj kab txuas rau sab saum toj ntawm qhov hloov pauv (raws li qhia hauv daim duab) - cov xov hlau no yuav txuas rau lub thawv fais fab hauv lub thawv tswj. Rub cov xov hlau los ntawm thawj zaug, thawb qhov hloov mus rau hauv nws lub qhov hauv lub thawv.
Kauj Ruam 7: Txuas Cov Khoom Siv Hluav Taws Xob
Muab lub hwj huam tso rau hauv lub thawv kom cov ntsiab lus xaim txuas lub ntsej muag hloov.
Txuas cov nyob (liab) thiab nruab nrab (xiav) cov xov hlau los ntawm kev hloov mus rau qhov nyob thiab nruab nrab qhov txuas txuas (cim l thiab n feem) ntawm lub hwj chim. Cov ntsiab lus sib txuas ntawm cov khoom siv hluav taws xob yog cov ntsia hlau, xyuas kom cov no ua kom nruj thaum cov xov hlau nyob hauv qhov chaw.
Kauj Ruam 8: Txuas Arduino
Lub zog hluav taws xob muaj cov txuas txuas rau 5V thiab hauv av (saib daim duab). Coj mus rau Arduino thiab txiav lub xaim hluav taws xob (pom zoo liab, tab sis xim twg koj siv) kwv yees li 8cm ntev.
Txuas Arduino mus rau lub zog xa hluav taws xob los ntawm kev ntswj ib kawg ntawm lub hwj chim xaim mus rau '5V' qhov txuas txuas thiab siv lwm qhov kawg rau 'VIn' ntawm Arduino.
Rov ua cov txheej txheem nrog hauv av (dub, lossis xim twg koj tau xaiv) xaim, txuas 'GND' ntawm lub hwj chim thiab Arduino.
Kauj Ruam 9: Txuas LED Sawb rau Cov Khoom Siv Hluav Taws Xob thiab Arduino
Tshaj tawm cov kab xaim hluav taws xob LED hla lub qhov khoob uas seem hauv lub thawv.
Tshem tawm cov hlua LED lub zog thiab cov xov hlau hauv av. Txuas lub hwj huam (liab) xaim mus rau lub hwj chim muab '5V' txuas txuas (Arduino twb tau txuas rau qhov no) thiab hauv av (dub) xaim rau lub zog xa khoom 'GND' txuas cov ntsiab lus (Arduino twb tau txuas nrog qhov no, ib yam).
Muab cov hlua LED tso rau ntawm tus lej xov tooj 9 ntawm Arduino.
Kauj Ruam 10: Txuas Motion Sensors rau Arduino
Tshaj tawm cov lus tsa suab ntsuas cov xov hlau (9 nyob rau hauv tag nrho) los ntawm lub qhov uas LED sawb cov xov hlau nyob.
Solder peb lub xov tooj hluav taws xob mus rau +5V ntawm Arduino, cov xov hluav taws xob hauv av mus rau gnd ntawm Arduino thiab muab cov kab hluav taws xob ib leeg tso rau Arduino tus pin 10, 11 thiab 12.
Kauj ruam 11: Program Arduino
Rub tawm cov cai hauv qab no hu ua 'motion_sensing_lights.ino'. Tom qab ntawd, siv Arduino software rub tawm daim ntawv ntawm no, upload cov cai rau koj li Arduino module. Yog tias koj tsis paub meej txog yuav ua li cas, kos tawm ntawm no. Koj kuj tseem yuav tsum rub lub tsev qiv ntawv FastLED los ntawm no.
Txoj cai yog yooj yim zoo nkauj: nws tshuaj xyuas tas li yog tias lub cim suab txav tau tso tawm lub teeb liab thiab yog li, pib lub sijhawm thiab tig rau ntawm cov hlua coj kom ci, nyob ntawm ib feeb thiab tom qab ntawd ci.
Kauj Ruam 12: Muab tso rau hauv txaj
Kaw lub thawv tswj - tsuas yog yam sab nraud nws yuav tsum yog LED sawb thiab AC ntsaws.
Khaws lub npov rau hauv qab ntawm lub txaj hauv qhov chaw koj xaiv - peb tau ua qhov no siv daim kab xev ob tog muaj zog.
Tom qab ntawd, muab cov ntawv tsa suab txav mus rau hauv qab ntawm lub txaj siv daim kab xev ob tog. Cov cim ntsuas yuav tsum tig ntsej muag sab nraud ntawm peb sab ntawm lub txaj uas tsis nyob ntawm phab ntsa. Tom ntej no, teeb lub teeb LED nyob ib puag ncig ntawm lub txaj.
Txawm hais tias LED sawb muaj nplaum rov qab, qhov no tsis muaj zog txaus los tuav nws qhov hnyav. Yog li ntawd, peb tuav nws hauv qhov chaw siv cov yas yas kaw uas peb tsoo rau hauv qab ntawm lub txaj. Plug thiab qhib lub thawv tswj thiab tig lub txaj kom raug.
Kauj Ruam 13: Kho, Xeem thiab Pom Zoo
Ntsuam xyuas koj cov lus tsa suab-hnov qab lub teeb pom kev zoo. Koj tuaj yeem hloov kho qhov ntsuas qhov ntsuas qhov nkag siab los ntawm kev muab lub taub hau ntswj los ntawm lub qhov sab saum toj ntawm rooj plaub thiab sib ntswg qhov cuam tshuam tiv taus.
Kauj Ruam 14: Ua Nws Ntxiv
Siv ESP8266 tus qauv (Amazon) hloov ntawm Arduino, nws muaj peev xwm tswj tau cov kab hluav taws xob LED nrog koj lub xov tooj lossis nrog Alexa los ntawm kev txuas nws mus rau qhov qhib qhov chaw ua haujlwm hauv tsev automation platform Lub Tsev Pabcuam. Muaj twb tau qhia zoo txog yuav ua li cas, thiab koj tuaj yeem pom nws ntawm no.
Kauj Ruam 15: Yog tias Koj Tsis Muaj Kev Nyuaj Siab
Cov khoom no twb muaj lawm, thiab koj tuaj yeem yuav los ntawm amazon ntawm no. Tab sis qhov kev lom zem nyob qhov twg?!
Kauj Ruam 16: Ua Tsaug Rau Kev Nyeem Ntawv
Sau npe rau Peb Cov Npe Xa Ntawv!
Pom zoo:
Chav Tswj Nrog ESP8266 - Kub, Tsab ntawv tsa suab, Kab hlau rhuav thiab teeb pom kev zoo: 8 kauj ruam
Chav Tswj Nrog ESP8266 | Kub, Suab, Kab Hlau thiab Teeb pom kev zoo: Txoj haujlwm no suav nrog kev ua haujlwm raws li NodeMCU ESP8266 tus qauv uas cia koj tswj lub teeb ci ntawm LED Sawb thiab kab hlau rhuav ntawm koj chav, nws tseem tuaj yeem xa cov ntaub ntawv hais txog cov xwm txheej ntawm koj chav thiab qhov kub thiab txias rau huab w
Lub Rooj Tswjhwm Saib qhov pom kev (Tswj Lub Suab Pom Pom Pom Suab): 5 Kauj Ruam
Pawg Thawj Coj Hloov Kho (Tswj Lub Suab Pom Pom Pom Lub Suab): Txhais cov nkauj kom pom lub teeb pom kev zoo nrog qhov kev tsim kho lub teeb pom kev zoo no. Zoo rau DJs, tog, thiab 1: 1 qhia! Hloov kho cov duab hauv qab no
Los ntawm lub teeb nyem mus rau Tsab ntawv tsa suab Sensor nrog ESP8266 thiab MQTT: 5 Cov Kauj Ruam (nrog Duab)
Los ntawm Lub Teeb Nyeem rau Tsab Ntawv Pom Zoo Nrog ESP8266 thiab MQTT: Hauv kab ntawv no, kuv yuav nthuav qhia cov khoom hauv qab no: LEDs xav tau qhov txwv tam sim no circuithow kom ua lub teeb nyem ua lub teeb pom kev los ntawm lub roj teeb nqa tau, thiab dimming LEDs los ntawm ESP8266 ntawm MQTT thiab piav qhia luv luv txog yuav ua li cas th
Tsab ntawv tsa suab qhib lub teeb hloov nrog lub teeb Sensor: 5 Kauj Ruam
Tsab ntawv tsa suab qhib lub teeb hloov nrog lub teeb pom kev zoo: Lub suab qhib lub teeb hloov muaj ntau daim ntawv thov hauv tsev thiab hauv chaw ua haujlwm. Qhov no, txawm li cas los xij, tau ntxiv qhov zoo ntawm kev suav nrog lub teeb pom kev zoo, yog li ntawd, lub teeb no tsuas tuaj yeem ua rau thaum tsaus ntuj
Lub Teeb Pom Kev Pom Kev Pom Zoo/ Handheld Photograpy Teeb: 7 Cov Kauj Ruam (nrog Duab)
Intimate Video Light/ Handheld Photograpy Light: Kuv paub koj xav li cas. Los ntawm "intimate," Kuv txhais tau tias teeb pom kev nyob ze rau qhov xwm txheej teeb pom kev nyuaj-tsis tas yuav rau "xwm txheej zoo." (Txawm li cas los xij, nws tuaj yeem siv rau qhov ntawd ib yam nkaus …) Raws li New York City tus kws yees duab-lossis