Cov txheej txheem:
Video: Tsis Muaj Teeb Teeb: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Yog li no Lazy Old Geek (L. O. G.) tau ua haujlwm ntawm Blue Light Project:
www.instructables.com/id/Blue-Light-Projec…
www.instructables.com/id/Blue-Light-Projec…
Zoo, rau qib tom ntej kuv xav tau lub teeb uas yuav ci thaum nruab hnub thiab tsis muaj lub teeb xiav thaum yav tsaus ntuj/hmo ntuj.
Tsim Kho Vajtse:
Kuv txiav txim siab siv RTC (Lub Sijhawm Tiag) los tswj lub sijhawm kom pom kev hloov pauv.
Kuv xaiv DS3231 vim nws muaj lub sijhawm zoo dua kom raug dua li DS1307. DS3231 tuaj yeem yog 5v lossis 3.3v.
Rau lub teeb, Kuv yuav siv txoj hlua WS2812B LED. Cov no muaj qhov yooj yim peb xaim txuas thiab tswj tau Liab, Ntsuab thiab Xiav LEDs. WS2812B yog cov khoom siv 5v.
Rau microcontroller kuv yuav siv Pro Micro, 5v 16MHz.
Thaum WS2812B yuav zaum ua haujlwm nrog 3.3V, nws zoo dua los siv 5V Arduino.
Pro Micro yog Arduino pheej yig siv Atmega32U4 microcontroller.
Lub teeb yuav muaj qhov qhib/tua kom tig lub teeb rau lossis tawm.
Yuav muaj lub zog ntsuas los tswj qhov ci ci.
Tsim Software:
DS3231 RTC yuav tswj lub sijhawm, nws muaj roj teeb thaub qab yog li yuav tsum khaws lub sijhawm txawm tias lub zog poob.
Thaum nruab hnub, txhua qhov RGB LEDs yuav nyob, tswj tau los ntawm lub lauj kaub mus txog qhov siv zog.
Thaum yav tsaus ntuj, Blue LEDs yuav tawm, Liab thiab Ntsuab ntawm qhov siab tshaj plaws.
Raws li kev nce qib yav tsaus ntuj, Liab thiab Ntsuab LEDs yuav poob qis, nrog rau qhov nyiam dua Liab dua Ntsuab (Kuv qhov kev sim hauv Tshooj 2 qhia tias Green LEDs muaj qee qhov xiav hauv lawv).
Tom qab ib ncig 10 teev tsaus ntuj tag nrho cov LEDs yuav tawm.
Teeb meem:
Rov qab mus rau DS3231 RTC module, Kuv yuav kuv li ntawm Aliexpress ib yam li kuv tau ua rau lwm yam khoom siv.
Cov no yuav tsum ua haujlwm nrog thiab them lub roj teeb LIR2032. Kuv sim nws tawm. Tom qab txog ib hnub, lub roj teeb tuag lawm.
Zoo tom qab qee qhov tshawb hauv Is Taws Nem, Kuv pom kab lus no.
www.onetransistor.eu/2019/07/17/zs042-ds3231-…
Kuv pom zoo nrog qhov kev tshuaj xyuas no tab sis xav tias LIR2032 yuav them kom txaus tab sis tsis ntau dhau. Kuv pom tseeb tsis yog lawm. Kuv DS3231 txawm hais tias tseem cim ua ZS-042 zoo li hauv kab lus sib txawv me ntsis tom qab ntawd nws tab sis yuav luag zoo ib yam. Yog li kuv tshem lub diode uas pom hauv daim duab thiab teeb lub roj teeb CR2032. Yog tsis muaj lub diode tus qauv yuav tsis sim them lub roj teeb. Tam sim no DS3231 tuav lub sijhawm raug txawm tias lub zog txuas nrog thiab lub roj teeb yuav tsum zoo rau ntau xyoo.
Yuav tsum muaj hwj chim:
WS2812B yog txoj hlua ntawm RGB LEDs hu ua qee zaum hu ua NeoPixels. Txhua NeoPixel xav tau qhov siab tshaj ntawm 60mA. Kuv siv 12 Neo Pixels yog li xav tau 0.72A. Kuv tab tom siv 2A USB adapter yog li muaj ntau tam sim no.
Kauj Ruam 1: BlueLamp PCB
Yog li kuv ib txwm ua, Kuv tau siv dawb Eagle Cadsoft software (tam sim no Autodesk) los teeb tsa thiab tsim kuv li PCB.
www.autodesk.com/products/eagle/free-downl…
Eagle schematic thiab board cov ntaub ntawv tau txuas nrog nrog cov qauv hauv daim duab.
Ib qho lus hais txog cov txheej txheem, 330 ohm resistor thiab 10, 000uFd capacitor yog cov lus pom zoo los ntawm Adafruit's neopixel phau ntawv qhia:
learn.adafruit.com/adafruit-neopixel-uberg…
Lub toggle khawm Kuv siv Torch pushbutton switch 'yog los ntawm no:
www.aliexpress.com/item/32904942704.html?s…
10K (B103) potentiometer los ntawm no:
www.aliexpress.com/item/32672253655.html?s…
Kauj Ruam 2: Teeb Lub Teeb
Kuv tau tshwm sim kom muaj lub hauv paus hnyav los ntawm lub teeb uas kuv tau yuav. Nws muaj tus pin loj puag ncig nws. Kuv nqa ib daim ntawm PVC yeeb nkab uas haum rau nws. Nws tau xoob me ntsis yog li kuv tau siv tus ntsia liaj qhov rooj thiab ob peb lub txiv ntoo kom kuv tuaj yeem nruj nws. (saib daim duab)
WS2812B tuaj yeem txiav rau tus lej NeoPixels uas koj xav tau. Txoj hlua uas kuv yuav muaj qhov dav dav nruab nrab ntawm NeoPixels. Kuv xav kom nws ci dua me ntsis yog li kuv txiav ob daim 6 NeoPixel ib kab thiab khiav lawv ua ntu zus me ntsis. Cov kab WS2812B tuaj yeem txiav nruab nrab ntawm NeoPixels. Hauv qhov no kuv xav tau qhov hloov pauv 180 degree yog li kuv txiav cov hlua thiab khiav jumper xov hlau ntawm. Yog tias koj tau ua qhov no kom ntseeg tau tias cov cim thiab cov xub qhia tau raug. (Saib daim duab)
Qhov WS2812B no tseem muaj cov xov hlau thiab txuas (qhov txuas no yog JST-SM 3pin txuas yog tias koj xav siv nws lwm qhov). Txij li qhov txuas no twb muaj lawm, Kuv tsuas yog siv cov xov hlau rau kuv PCB. Rau qhov WS2812B qhov liab hlau yog 5v, ntsuab yog teeb liab thiab dawb yog hauv av.
Thaum kuv ua PCB, kuv muab qee daim kab xev tso rau hauv qab thiab kaw nws mus rau lub hauv paus. Tom qab ntawd kuv ntsaws rau hauv Pro Micro thiab DS3231.
Kauj ruam 3: Arduino Sketch
Txawm hais tias kuv yuav kuv li Pro Micro los ntawm Kev Lag Luam, Kuv siv cov ntaub ntawv hauv qab no kom tau Arduino los ua haujlwm:
learn.sparkfun.com/tutorials/pro-micro--fi…
Txhawm rau teeb tsa lub tsev qiv ntawv rau DS3231, Kuv siv qhov no:
github.com/PaulStoffregen/DS1307RTC
Rub tawm Zip file
Qhib Arduino, xaiv 'Sketch' 'Xws li Lub Tsev Qiv Ntawv' 'Ntxiv.zip lub tsev qiv ntawv'
Nruab cov hauv qab no siv tib txoj kev
Lub Sijhawm Qhua PaulStoffregen
github.com/PaulStoffregen/Time
Lub Sijhawm Zej Zos
github.com/JChristensen/Timezone
Thaum ua tiav, pib Arduino.
Hauv Cov Cuab Yeej Boards xaiv "Sparkfun Pro Micro"
Nyem rau ntawm Cov Cuab Yeej dua, yuav muaj kev xaiv rau tus txheej txheem
Koj yuav xav hloov nws "Atmega32U4 (5V 16Mhz)"
CEEB TOOM: Yog tias koj tsis saib xyuas zoo li kuv, kuv tau xaiv "Atmega32U4 (3.3V 8Mhz)" yuam kev. Qhov no "cib" nws kom Arduino tsis pom nws. Zoo, Kuv ib txwm sim nyeem cov khoom tshiab ua ntej kuv tau txais thiab nco qab qee yam txog qhov tshwm sim no:
learn.sparkfun.com/tutorials/pro-micro--fi…
Hauv phau ntawv qhia no, muaj ntu ntu hu ua "Yuav Ua Li Cas Thiaj Rov Kho 'Bricked' Pro Micro" Raws li nws tau hais, nws yog txheej txheem nyuaj tab sis kuv tau tswj kom rov zoo kuv li.
FYI: Yog tias koj xav tsis thoob vim li cas muaj ob lub hlis sib txawv ntawm qhov sib txawv thiab qhov nrawm, Atmega32U4 (tib yam li Atmega328) yuav ua haujlwm zoo ntawm 5V nrog lub moos 16MHz. Tab sis ntawm 3.3V tus qauv tsim hais tias 16MHz moos yuav tsis ua haujlwm, yog vim li cas lawv thiaj muaj lub moos ntawm 8MHz. Feem ntau, hais lus Arduino software yuav saib xyuas txhua lub sijhawm teeb meem.
RTC TSWV YIM: Feem ntau ntawm cov software sau rau DS1307 yuav ua haujlwm nrog DS3231 vim tias lawv muaj software zoo sib xws.
Lub Sijhawm Tshav Ntuj
Zoo, Kuv xav siv DST, yog li kuv tsis tas yuav rov teeb kuv lub teeb ob zaug hauv ib xyoos. Kuv ua haujlwm ntawm no tau ob peb hnub. Kuv tsis tuaj yeem pom cov lus piav qhia yooj yim zoo li cas Lub Sijhawm, TimeLib thiab RTClib ua haujlwm li cas.
Kuv tau sau qee qhov DST code rau kuv IPClock:
www.instructables.com/id/NO-MORE-SPRING-FO…
uas ua haujlwm rau sijhawm Internet tab sis kuv tsis tuaj yeem ua haujlwm rau sijhawm RTC.
Thaum kawg kuv tau hla cov hauv qab no los ntawm JChristensen:
forum.arduino.cc/index.php?topic=96891.0
github.com/JChristensen/Timezone
Txhawm rau siv qhov no, koj yuav tsum xub teeb tsa RTC rau UTC (Ua Haujlwm Sijhawm Ua Haujlwm Thoob Ntiaj Teb), lub sijhawm no yog Greenwich, Askiv. Zoo, tsis paub yuav ua li cas tab sis pom kab lus no:
www.justavapor.com/archives/2482
Sau nws rau Lub Sijhawm Roob (txuas) UTCtoRTC.ino
Tom qab ntawd kuv suav nrog lub sijhawm nyob hauv kuv Sketch. Yuav kom ncaj ncees, Kuv tsis tau sim nws yog li tsuas yog xav tias nws ua haujlwm.
Kuv daim duab kos tau txuas nrog MTS_BlueLamp.ino.
Kauj Ruam 4: Xaus
Kuv tau ua me ntsis nqes rau saum kuv daim npog ntsej muag CPAP. Kuv siv los dai nws ntawm kuv lub teeb txaj qub.
Yeej zoo siab heev nrog lub teeb no. Siab tag nrho thaum nruab hnub thiab tsis muaj xiav thaum yav tsaus ntuj thiab hmo ntuj.
Ib yam uas kuv tsis nyiam yog tias kuv siv tsis tau nws tom qab 10 teev tsaus ntuj thiab ua ntej 5 teev sawv ntxov
Kuv kuj pom tias kuv tsis siv lub toggle on/off li kuv ib txwm tsuas yog siv lub dimmer hloov.
Yav tom ntej, kuv yuav rov sau dua daim duab thiab hloov lub pob kom teem sijhawm lossis tsis tau teem sijhawm (puv rau) hloov. Tab sis nrog kuv cov txuj ci tsis zoo kuv yuav tos ib pliag.
Pom zoo:
Ua kom yooj yim Infinity Daim iav Cube - TSIS MUAJ 3D Luam Ntawv thiab Tsis Muaj Kev Sau Npe: 15 Kauj Ruam (nrog Duab)
Ua kom yooj yim Infinity Daim iav Cube | TSIS MUAJ 3D Luam Ntawv thiab Tsis Muaj Kev Sau Npe: Txhua leej txhua tus nyiam lub voos xwmfab zoo, tab sis lawv zoo li lawv yuav nyuaj ua. Kuv lub hom phiaj rau Cov Lus Qhia no yog qhia koj ib qib zuj zus tias yuav ua li cas. Tsis tsuas yog qhov ntawd, tab sis nrog cov lus qhia uas kuv tau muab rau koj, koj yuav muaj peev xwm ua ib qho
Ua Koj Tus Kheej Pob Zeb Band Ekit Adaptor (tsis muaj Adapter), Tsis Muaj Kev Puas Tsuaj!: 10 Kauj Ruam
Ua Koj Tus Kheej Pob Zeb Band Ekit Adaptor (tsis muaj Legacy Adapter), Tsis Muaj Kev Puas Tsuaj!: Tom qab hnov lub suab nrov podcast tus tswv tsev hais txog nws qhov kev txhawj xeeb txog nws lub xov tooj cua USB txuas txuas qub txeeg qub teg tuag, Kuv tau mus nrhiav DIY kev daws teeb meem kom zoo dua/kev cai eKit rau RB . Ua tsaug rau Mr DONINATOR hauv Youtube uas tau tsim cov vis dis aus qhia txog nws qhov zoo sib xws
Teeb Tsom Teeb Thaum Muaj Xwm Ceev Tsis Muaj Roj Teeb: 10 Kauj Ruam
Teeb Tsom Teeb Thaum Muaj Xwm Ceev Tsis Muaj Roj Teeb: Nyob Zoo Txhua Tus, Nov yog Kuv Thawj Cov Lus Qhia, yog li koj cov lus tawm tswv yim yuav pab tau kuv tiag tiag txhawm rau txhim kho ntxiv. Kuj tshawb xyuas kuv tus YouTube channel rau ntau txoj haujlwm.https: //www.youtube.com/channel/UCy7KKu5hVrFcyWw32..Thov hnub no kuv yuav qhia koj
Hnub ci teeb tsis muaj roj teeb, lossis hnub ci hnub ci Vim Li Cas Tsis?: 3 Kauj Ruam
Hnub ci teeb tsis muaj roj teeb, lossis Hnub Ci Hnub Ci … Vim Li Cas Tsis?: Zoo siab txais tos. Thov txim rau kuv cov lus Askiv hnub? Hnub ci? Vim li cas? Kuv muaj chav tsaus me ntsis thaum nruab hnub, thiab kuv yuav tsum qhib lub teeb thaum siv. Nruab hnub ci rau nruab hnub thiab hmo ntuj (1 chav): (hauv Chile) -Solar panel 20w: US $ 42-Battery: US $ 15-Solar caj caj
Zero Tus Nqi Laptop Txias / Sawv (Tsis Kua, Tsis Muaj Drilling, Tsis Ceev & Bolts, Tsis Ntsia Hlau): 3 Kauj Ruam
Zero Tus Nqi Laptop Txias / Sawv (Tsis Muaj Cov Kua, Tsis Muaj Drilling, Tsis Ceev & Bolts, Tsis Muaj Screws): Hloov kho tshiab: THOV TSHIAB KINDLY VOTE Rau MY INSTRUCTABLE, Ua tsaug ^ _ ^ Koj kuj tseem tuaj yeem sau npe rau kuv qhov kev xav NYEEM NTAWV www.instructables.com/id/Zero-Cost-Aluminium-Furnace-No-Propane-No-Glue-/ LOS YOG MAYBE VOTE rau kuv tus phooj ywg zoo tshaj plaws