Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Sib sau ua ke
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Txoj Haujlwm
- Kauj Ruam 4: Kev txhim kho
Video: Intervalometer Nrog Potentiometer: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Kuv tsuas yog txiav txim siab los ua ib qho yooj yim heev intervalometer, nrog cov tswv yim yooj yim ntawm cov ntsuas rau lub sijhawm lapse. Lub intervalometer siv ob lub nyees khawm (Nkag mus thiab Xaiv) thiab ib lub zog potentiomenter (lauj kaub). Nrog cov nyees khawm koj tuaj yeem nkag mus rau hom kev ua haujlwm lossis pib lub sijhawm tua lub sijhawm. Nrog lub lauj kaub koj tuaj yeem ua qhov tshwj xeeb (nrog qee qhov yuam kev me me) cov vib nas this ntawm kev txhaj tshuaj thiab tag nrho feeb ntawm kev tua.
Muaj ntau txoj hauv kev los xaiv thiab ua raws lub sijhawm tsis dhau. Qhov kuv thov ntawm no tsuas yog ib qho ntawm lawv.
Tom qab nkag mus rau lub sijhawm luv thiab tag nrho lub sijhawm tua lub sijhawm, txoj haujlwm yuav suav tag nrho cov kev txhaj tshuaj thiab yuav pib txhaj tshuaj, ntawm qhov ncua sijhawm ntawm vib nas this.
Kuv tau txuas qhov program kos duab rau Arduino hauv C. Nws tsuas yog kos duab. Kuv tsis yog tus programmer zoo yog li koj tuaj yeem coj qhov no los ua ib lub tswv yim thiab ua qhov zoo dua kom haum rau koj cov kev xav tau.
Khoom siv
Nov yog cov ntaub ntawv kuv siv hauv qhov haujlwm no:
01 x Arduino Nano
01 x LCD 16x2 nrog PCF8574T (I2C)
01 x 4N35 dav dav purpouse phototransistor optocoupler (koj tuaj yeem siv PC817 lossis lwm yam zoo sib xws)
02x swb
01 x 10 k potentiometer
02 x 10 k resistors
Ohter: pawg thawj coj saib, txuas, xov hlau, USB cable.
Kauj ruam 1: Sib sau ua ke
Kuv siv lub rooj tsav xwm thoob ntiaj teb rau kev siv tag nrho cov khoom siv. Tom qab ntawd kuv siv cov dav hlau rau kev teeb tsa Nano thiab zam kev siv cov khoom ncaj qha rau ntawm tus pin. Kuv kuj siv IC qhov nyob rau tus kws kho qhov muag duab. Tom qab ntawd muab tshuaj txhuam ncaj qha hla cov khoom seem.
Kuv siv xaim qhwv thiab tooj liab hlau. Cov zaub tau teeb tsa siv cov khoom sib cais sib cais nrog cov ntsia hlau.
Kuv siv lub zog los ntawm USB txuas mus rau Nano thaum kuv tau ua haujlwm. Tom qab ntawd, Kuv txiav txim siab siv lub hwj chim sawv ib leeg, ntawm 5V los ntawm lub xov tooj ntawm tes qub. Kuv tsuas yog yoog tus txuas rau tus pin. Kuv tau siv Nano siv GND tus pin thiab 5V tus pin.
Tom qab ntawd kuv txuas ib kawg ntawm lub lauj kaub tiv thaiv rau GND thiab lwm qhov rau 5V. Lub chaw txuas nrog A0 (analog input). A0 cov tswv yim yuav nyeem los ntawm 0V txog 5V thiab yuav hloov nws mus rau qhov muaj nuj nqis hauv thaj tsam 0 txog 1023.
Lub pob hloov pauv tau txuas nrog D3 thiab D4 hauv Nano. Thaum kawg kuv siv D13 los ua cov duab digital rau tus phototransistor.
Kuv muaj Cannon SX-50HS qub, tsis yog DLSR, uas siv tus qauv 2.5 hli ntsaws.
Kauj ruam 2: Circuit Court
Lub voj voog yog yooj yim heev. Kuv siv ob DI raws li cov tswv yim (D3, D4), ib qho kev tawm tswv yim zoo sib xws los nyeem tus nqi ntawm lub zog loj (los ntawm 0 txog 1023) thiab ib qho digital tso tawm kom ua rau lub phototransistor (D13). Daim duab qhia qhov yooj yim schematic.
I2C LCD txuas nrog GND thiab 5V. SDA thiab SCL los ntawm cov khoom txuas nrog rau Arduino pins SDA (A4) thiab SCL (A5).
Nws tuaj yeem txhim kho ntau txoj hauv kev thiab tuaj yeem haum rau koj cov kev xav tau.
Kauj Ruam 3: Txoj Haujlwm
Kuv tau txuas cov kab ke ntawm txoj haujlwm. Kuv siv cov tsev qiv ntawv "Wire.h" thiab "LiquidCrystal_I2C.h" los daws cov zaub.
Qhov kev zov me nyuam yog qhov yooj yim heev thiab tuaj yeem txhim kho ntau txoj hauv kev. Nws pib los ntawm kev txheeb xyuas qhov sib txawv, pib ua tswv yim, tso tawm, LCD thiab tom qab ntawd luam tawm cov lus txais tos.
Tom qab ntawd koj xav tau lub sijhawm nkag los ntawm kev txhaj tshuaj thiab sijhawm tag nrho ntawm kev tua. Koj tuaj yeem nias "xaiv" khawm txhawm rau hloov lub sijhawm tsis ua haujlwm lossis "nkag" kom pib tua.
Kauj Ruam 4: Kev txhim kho
Txoj haujlwm no tuaj yeem txhim kho ntau txoj hauv kev. Kho vajtse yog yooj yim heev. Tus ntsuas hluav taws xob tuaj yeem pab nkag mus rau qhov ntsuas tau yooj yim, tab sis qee zaum qhov tseeb tsis zoo. Nyob ntawm qhov zoo ntawm lub hwj chim. Koj tuaj yeem hloov pauv los ntawm qhov ntsuas piv txwv. Qhov phototransistor tuaj yeem hloov los ntawm lwm yam khoom siv. Kev sib dhos ntawm cov khoom tuaj yeem ua tiav ntau dua thiab sab hauv ib lub thawv. Koj tseem tuaj yeem siv lwm lub microcontroller uas koj muaj ntawm tes.
Nov tsuas yog qhov haujlwm yooj yim uas kuv tau ua, vim tias kuv xav tau qee cov duab thiab ua rau ncua sijhawm. Kuv zoo siab los qhia rau zej zog kom nws tuaj yeem txhim kho thiab tuaj yeem pab ua kev tshoov siab rau lwm txoj haujlwm.
Pom zoo:
Tswj LED Brightness Nrog Potentiometer Nrog Arduino: 3 Kauj Ruam
Tswj LED Brightness Nrog Potentiometer Nrog Arduino: Hauv txoj haujlwm no, peb yuav tswj qhov ci ntawm LED siv qhov sib txawv tsis kam muab los ntawm potentiometer. Nov yog txoj haujlwm yooj yim heev rau tus pib tab sis nws yuav qhia koj ntau yam txog potentiometer thiab LED ua haujlwm uas yuav tsum tau ua kom muaj kev tshaj tawm
Intervalometer: 13 Kauj Ruam (nrog Duab)
Intervalometer: Kuv txiav txim siab ua qhov zoo DIY intervalometer rau kuv lub DSLR Pentax lub koob yees duab kom kuv tuaj yeem ua lub sijhawm thaij duab. Qhov ntsuas nruab nrab no yuav tsum ua haujlwm nrog ntau lub npe loj ntawm lub koob yees duab DSLR xws li Nikons thiab Canons. Nws ua haujlwm los ntawm kev kaw lub qhov rooj
Astronomy Intervalometer: 4 Kauj Ruam (nrog Duab)
Astronomy Intervalometer: Ib qho ntawm kuv nyiam yog Astrophotography. Astrophotography txawv ntawm kev yees duab ib txwm, thaum koj thaij duab hla lub tsom iav, vim tias galaxies thiab nebulae tsaus ntuj, koj yuav tsum siv lub koob yees duab ntev ntev (30s mus rau ob peb feeb) thiab
LED Dimmer Nrog Potentiometer: 5 Kauj Ruam (nrog Duab)
LED Dimmer Nrog Potentiometer: Nov yog cov lus qhia uas qhia koj yuav siv lub hwj chim li cas kom dim ib qho LED
Tig TI lub laij lej xam rau hauv Intervalometer thiab Tsim Cov Sijhawm Lapse Yeeb Yaj Kiab: 7 Kauj Ruam (nrog Duab)
Tig TI lub laij lej laij lej mus rau hauv Intervalometer thiab Tsim Lub Sijhawm Lapse Yeeb Yaj Kiab: Kuv ib txwm xav ua lub sijhawm lapse cov yeeb yaj kiab, tab sis kuv tsis muaj lub koob yees duab nrog lub intervalometer feature ua hauv. Qhov tseeb, kuv tsis xav ntau cov koob yees duab tuaj nrog qhov tshwj xeeb (tshwj xeeb tsis yog lub koob yees duab SLR). Yog li koj xav ua dab tsi yog tias koj xav tau