Cov txheej txheem:

QHOV TSEEB CAMERA HOUSING LEAK DETECTOR: 7 Kauj Ruam (nrog Duab)
QHOV TSEEB CAMERA HOUSING LEAK DETECTOR: 7 Kauj Ruam (nrog Duab)

Video: QHOV TSEEB CAMERA HOUSING LEAK DETECTOR: 7 Kauj Ruam (nrog Duab)

Video: QHOV TSEEB CAMERA HOUSING LEAK DETECTOR: 7 Kauj Ruam (nrog Duab)
Video: Niam tais Npab Ntxhais tuag ua Dab 1/23/2020 2024, Hlis ntuj nqeg
Anonim
IMPROVED UNDERWATER CAMERA HOUSING LEAK DETECTOR
IMPROVED UNDERWATER CAMERA HOUSING LEAK DETECTOR
IMPROVED UNDERWATER CAMERA HOUSING LEAK DETECTOR
IMPROVED UNDERWATER CAMERA HOUSING LEAK DETECTOR
IMPROVED UNDERWATER CAMERA HOUSING LEAK DETECTOR
IMPROVED UNDERWATER CAMERA HOUSING LEAK DETECTOR

Ib qho ua ntej ntawm lub koob yees duab hauv qab lub tsev ntsuas lub ntsuas hluav taws xob tau tshaj tawm ntawm Cov Lus Qhia xyoo tas los uas qhov kev tsim qauv tsim raws li Atmel AVR raws AdaFruit Trinket. Qhov kev txhim kho no ua haujlwm ntawm Atmel SAMD M0 raws li AdaFruit Trinket. Qhov tshwm sim yog lub roj teeb lub neej ntev dua muab qhov zoo tshaj Atmel microprocessor.

Qhov teeb meem nrog AVR tsim yog ib feem vim AdaFruit xaiv AVR qhov chaw. Qhov tsawg kawg nkaus ua haujlwm ntawm AVR tus txheej txheem yog 2.7 volts, qhov twg lub roj teeb (CR2032) yog nominal 3 volts. Cov txiaj ntsig tau yog tus txheej txheem rov pib dua sai li sai tau lub roj teeb hluav taws xob poob mus rau ~ 2.7 volts (piv txwv li nyob rau hauv load los ntawm flashing lub teeb pom lub teeb LED).

SAMD M0 tus txheej txheem tuaj yeem ua haujlwm qis dua 1.6 volts thiab muaj lub zog siv hluav taws xob qis dua (3.5 uA piv rau 25 uA rau AVR qub). Qhov tshwm sim yog lub roj teeb lub neej kwv yees yog 3 xyoos. Hmoov zoo, AdaFruit Trinket M0 yog qhov zoo ib yam nrog kev hwm rau tus qauv tsim thiab pinout nrog kev hwm rau cov laus AVR.

Cov koob yees duab hauv qab dej tsis tshua muaj qhov xau, tab sis yog tias qhov xwm txheej no tshwm sim qhov tshwm sim feem ntau ua rau muaj kev puas tsuaj loj uas ua rau tsis tuaj yeem ua puas rau lub cev thiab lub lens.

SparkFun tau tshaj tawm txoj haujlwm ntsuas dej hauv xyoo 2013, qhov chaw tsim qauv qub tau npaj los hloov pauv rau NautiCam qhov xau sensor. Txoj haujlwm no hloov kho SparkFun tsim rau AdaFruit Trinket. Qhov ua tiav ua tiav yog qhov txaus me me kom haum rau hauv Olympus PT-EP14 vaj tse (piv txwv li rau Olympus OM-D E-M1 Mark II lub cev).

Kauj Ruam 1: Txiav Vero Board thiab Txuas Ribbon Cable

Txiav Vero Board thiab Txuas Ribbon Cable
Txiav Vero Board thiab Txuas Ribbon Cable
Txiav Vero Board thiab Txuas Ribbon Cable
Txiav Vero Board thiab Txuas Ribbon Cable
Txiav Vero Board thiab Txuas Ribbon Cable
Txiav Vero Board thiab Txuas Ribbon Cable
Txiav Vero Board thiab Txuas Ribbon Cable
Txiav Vero Board thiab Txuas Ribbon Cable

Ib feem ntawm Vero board tau siv los tsim lub ntsuas hluav taws xob uas tso rau hauv qab ntawm lub koob yees duab hauv qab dej. Lub rooj tsav xwm Vero muaj cov kab sib dhos ntawm tooj liab, qhov twg ib txwm tsim ib ntu rau ib tus zuj zus ntawm ib leeg.

Lub Rooj Tsav Xwm Vero tuaj yeem txiav nrog tus lej ntawm cov cuab yeej, tab sis qhov kev daws teeb meem tshaj plaws yog siv pob zeb diamond pom hniav (piv txwv li ib txwm siv rau kev txiav pobzeb), qhov twg tsis xav tau dej rau cov hniav. Qhov dav ntawm lub ntsuas cua yog ob daim kab xev tooj liab dav thiab qhov ntev yog qhov tsim nyog rau lub tsev nyob hauv nqe lus nug. Cov tsev nyob hauv Olympus ib txwm muaj ob lub zawj hauv qab hauv qab ntawm lub tsev uas tau siv los ntxiab lub hnab ntim cov khoom nqus. Qhov ntsuas tau haum nruab nrab ntawm qhov nqaj, raws li qhia hauv daim duab. Txuas cov hlua txuas hlua (ob tus coj dav) mus rau ib qho kawg ntawm Vero pawg thawj coj thiab xaiv tau ntxiv cov cua sov ntswj tubing hla qhov kawg ntawm lub rooj tsavxwm, npog cov hlua txuas.

Kauj ruam 2: Flash Software

Siv Arduino IDE, nyem qhov firmware mus rau Trinket siv USB cable TSIS YOG CR2032 roj teeb tau teeb tsa. Ob daim ntawv yuav tsum tau muab tso rau hauv cov npe "H2OhNo".

Wiring.c tau hloov kho kom tso tus txheej txheem tus pin kom sab laug hauv lawv lub xeev tsis raug piv rau yuam kom lawv teeb tsa raws li cov tswv yim. Teem tus txheej txheem tus pin ua lub tswv yim tsis rub tawm lossis rub qis ua rau siv hluav taws xob ntau dhau. AdaFruit Trinket tsis muab ib qho rub tawm lossis rub tawm qis.

Ntsuas lub ntsuas ntsuas los ntawm kev ntub dej kom pom tseeb vero tooj liab ua ntej mus rau qib tom ntej.

Nco tseg: Thaum tus tswj hwm raug tshem tawm lossis tso tus pin tshem tawm, 3V CR2032 tsis muab hluav taws xob txaus kom nyem rau SAMD processor. Yog li cov kauj ruam flashing yuav tsum tau ua ua ntej tshem tawm tus tswj hwm. Los yog lub zog hluav taws xob sab nraud teeb tsa rau 3.3 V yuav tsum tau siv thaum flashing.

Kauj Ruam 3: Tshem DotStar LED thiab Nqa Tus Tswj Hluav Taws Xob Pin

Tshem tawm DotStar LED thiab Nqa Tus Tswj Tus Zais Tawm Tus Pin
Tshem tawm DotStar LED thiab Nqa Tus Tswj Tus Zais Tawm Tus Pin

Hmoov tsis zoo AdaFruit M0 Trinket suav nrog DotStar LED pixel, txawm tias thaum muab tso rau hauv kev tos yuav luag 1 mA uas cuam tshuam rau roj teeb lub neej. Tshem DotStar los ntawm Trinket.

Tus tswj hwm onboard rau nws daim ntawv cov ntaub ntawv yog lub zog qis heev. Tab sis hauv kev xyaum nws siv yog 10x cov ntawv teev npe. Txoj kev daws teeb meem yog peb txuas lub CR2032 roj teeb ncaj qha mus rau lub khoos phis tawj thiab nqa tus tswj hwm tus pin tso tawm nws, yog li ua kom nws tsis kos lub zog. Tog twg los tshem tus tswj hwm lossis nqa tus pin tso tawm.

Kauj Ruam 4: Tsiv tus tiv thaiv mus rau sab tom qab ntawm daim npav Circuit

Tsiv Resistor mus rau sab nraub qaum ntawm daim npav Circuit
Tsiv Resistor mus rau sab nraub qaum ntawm daim npav Circuit
Tsiv Resistor mus rau sab nraub qaum ntawm daim npav Circuit
Tsiv Resistor mus rau sab nraub qaum ntawm daim npav Circuit

Hmoov tsis zoo SAMD tus txheej txheem tawm tsam kom muab rub tawm tsis kam ntawm cov tswv yim analog. Yog li peb yuav tsum tau ntxiv tus tiv thaiv rau hauv Circuit Court los ntawm kev rov ua dua cov khoom uas twb muaj lawm ntawm lub rooj tsavxwm. Lub trinket muaj lub zog ntawm LED uas peb tsis xav muab qhov no yuav tso lub roj teeb. Tus tiv thaiv rau cov LED no raug tshem tawm thiab txav mus rau sab nraum qab ntawm lub rooj tsavxwm, txuas nrog ntawm 3V thiab SCL cov pawm.

Kauj Ruam 5: Txhim Kho Hauv Tsev

Nruab Hauv Tsev
Nruab Hauv Tsev

Lub roj teeb tuav thiab Trinket txuas nrog lub tsev nyob hauv qab dej siv Velcro dots (piv txwv li ~ 1 inch inch). Piezo transducer muaj lub nplhaib nplaum rau tus kheej, qhov twg lub transducer txuas rau ntawm phab ntsa ntawm vaj tsev nyob ze ntawm Trinket. Lub sensor yog kev sib txhuam haum rau hauv qis dua ntawm lub tsev Olympus. Lwm lub tsev yuav xav tau kev pab tshwj xeeb. Daim duab dai putty tau siv txhawm rau txhawm rau ntsuas lub ntsuas thaum tsis muaj cov yam ntxwv zoo nyob hauv tsev.

Nco tseg: Lub piezo transducer yuav tsum tau teeb tsa rau saum npoo, txwv tsis pub lub ntim ntawm nws cov zis yog cov pab pawg ntawm qhov ua tiav thaum qhov ib puag ncig raug txwv.

Kauj Ruam 6: Xeem

Ntub koj cov ntiv tes thiab kov lub Vero boards strips. Lub LED yuav tsum nyem thiab lub piezo transducer tsim lub suab nrov nrov.

Kauj Ruam 7: Nqi Khoom

- AdaFruit Trinket M0

- Liab LED

- 47K ohm resistor

Piezo transducer (TDK PS1550L40N)

- CR2032 tus tuav lub roj teeb (Cov Khoom Siv Tiv Thaiv P/N BA2032SM)

- CR2032 roj teeb

Pom zoo: