Cov txheej txheem:
- Kauj Ruam 1: Nws Yuav Ua Li Cas
- Kauj Ruam 2: Tshem Caliper
- Kauj Ruam 3: Nrhiav Cov Ntawv Uas Yuav Tsum Tau Los Ua Lub Qhov Ncauj
- Kauj Ruam 4: Txheeb Tus Txuas Tus Pin-out
- Kauj Ruam 5: Rov Qab Ua Haujlwm Kev Sib Txuas Lus
- Kauj Ruam 6: Ua Tus Logic Converter
- Kauj Ruam 7: Arduino Code
Video: Hacked Digital Vernier Caliper Siv Arduino: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Yog li, ua li cas txog kev ntsuas qee yam nrog koj Digital Vernier Caliper thiab muaj koj li Arduino los ua qee yam haujlwm nrog cov ntsuas no? Tej zaum Txuag lawv, Ua qee qhov kev xam-suav lossis ntxiv cov kev ntsuas no mus rau cov lus tawm tswv yim los ntawm koj cov cuab yeej siv tshuab. tso tawm nws ntsuas qhov ntsuas ntawm Arduino Serial Monitor.
Kauj Ruam 1: Nws Yuav Ua Li Cas
Nws hloov tawm tias qee qhov ntsuas ntsuas digital muaj peev xwm kis tau cov ntaub ntawv ntsuas pom ntawm lawv cov lus siv cov txheej txheem sib txawv los siv los ntawm lwm cov khoom siv.
Qhov tseeb muaj yog qhov chaw rau lub qhov (socket) interface ntawm lub rooj tsav xwm caliper, tab sis tsis muaj ib yam dab tsi muag rau nws.
Koj tuaj yeem cia li plam tawm lub hau sab saud hauv cov zaub (tsis yog lub roj teeb npog) thiab koj yuav pom 4 lub ncoo uas xav tias yuav tsum muaj lub qhov (socket) ntawm lawv txhawm rau sib txuas lus nrog lub caliper, Tab sis lawv tsis yog:(.
Qhov tseeb no tau tshawb pom ntau xyoo dhau los ntawm Calipers sib txawv thiab cov lus qhia no yog tsom mus rau tus qauv tseeb ntawm Suav digital vernier caliper koj tuaj yeem pom hauv cov duab, Yog li thov nco ntsoov tias koj li yog tus qauv zoo ib yam li cov qauv sib txawv yuav muaj cov txheej txheem sib txawv rau ua haujlwm nrog, Yog li cov lej sib txawv los siv, Tab sis lub tswv yim tseem ceeb zoo ib yam ntawm cov neeg Suav no feem ntau.
Peb mus:
- Disassemble lub Caliper
- Nrhiav qhov twg peb tuaj yeem siv lub qhov ntsaws sib txuas rau lub rooj tsavxwm
- Txheeb xyuas Connector tus pin-out
- Solder nws thiab dhos Caliper
- Rov qab tus kws tshaj lij cov ntaub ntawv xa mus kom paub tias nws txoj haujlwm li cas
- Qib hloov pauv Caliper cov cim kom haum rau Arduino
- Upload cov cai thiab qhov ntawd yog nws:)
Koj yuav xav tau dab tsi:
- Digital Vernier Caliper
- Arduino (Txhua yam yuav ua txoj haujlwm)
- Logic Converter Board (Kuv yuav xa cov qauv rau ib qho)
- Ib qho huv huv ntxig ntxig hlau
- Nyias soldering hlau
- Qee cov xov hlau jumper
Kauj Ruam 2: Tshem Caliper
- Ua ntej tshaj plaws Tshem lub Caliper roj teeb los ntawm nws cov clip.
- Txog tus qauv no koj yuav pom daim ntawv qhia nyiaj ntawm nws nraub qaum thiab koj yuav pom plaub qhov ntsia hlau ntsia hauv qab nws. Lawv tau tuav rooj plaub no ua ke thiab peb yuav tsum tau ntswj lawv siv tus ntsia hlau Philips. Koj tuaj yeem taug kev koj tus neeg tsav tsheb ntsia hlau hla daim ntawv ntawm ob sab thiab koj yuav pom lawv cov qhov ntsaws.
Tom qab ntawd koj yuav pom tias PCB tau teeb tsa rau ntawm lub vaj huam sib luag pem hauv ntej nrog plaub tus ntsia hlau, Koj yuav tsum tau maj mam ntswj lawv nrog siv cov lus qhia zoo Philips ntsia hlau tsav
Ceev faj tsis txhob khawb lossis txiav ib qho ntawm cov kab ntawm ob sab ntawm PCB sab
- Tam sim no tom qab tau txais tag nrho cov ntsia hlau tawm thiab muab tso rau hauv qhov chaw nyab xeeb yog lawv tsis tuaj yeem ploj:)
- Koj yuav tsum tau nqa PCB kom zoo zoo li cov zaub thiab peb lub khawm roj hmab yuav poob sib nrug.
- Txij ntawm no koj tuaj yeem rub cov zaub thiab cov nyees khawm los ntawm PCB thiab muab lawv nrog cov ntsia hlau thiab txuas ntxiv koj txoj haujlwm nrog PCB liab qab.
Kauj Ruam 3: Nrhiav Cov Ntawv Uas Yuav Tsum Tau Los Ua Lub Qhov Ncauj
Tam sim no, thaum koj saib rau sab saum toj ntawm PCB koj tuaj yeem yooj yim pom qhov twg cov ntaub ntawv txuas yuav tsum tau teeb tsa.
Koj kuj tseem tuaj yeem pom tias Cov lej cim tus pin tsis tuaj yeem siv tau yam tsis muaj ntau qhov tweaking raws li lub suab sib txuas me dua li lawv (suab: nrug nruab nrab ntawm cov chaw nruab nrab ntawm ob lub pawm uas nyob ib sab ntawm lub txuas)
Pin headers pitch yog 100 mil lossis 2.54 mm yog li koj tuaj yeem khoov lawv me ntsis thiab muab lawv tso rau hauv, lossis koj tuaj yeem pom lwm lub qhov (socket).
Thiab ntawm no yog thaum kuv lub npov tag nrho ntawm tsuas yog zaum ib puag ncig PCBs tau los siv zoo.
Kuv pom qhov zoo tshaj 4 tus lej txuas tus lej txuas txuas (FPC txuas) ntawm ib qho ntawm CD-ROM qub tsav PCBs thiab txiav txim siab siv nws nrog Caliper.
Tsis tas yuav hais tias koj yuav tsum tau ceev faj thaum desoldering PCB txuas raws li lawv cov yas yas yuav yaj.
Ceev faj tseem tias koj tau xaiv siv tus pin taub hau lossis lub qhov (socket) tshwj xeeb ua qhov txuas uas koj xav tau cov txuas no kom muaj peev xwm ua tau zoo hauv qhov qhib rau qhov txuas rau hauv Caliper zaub rooj. (Koj tuaj yeem pom daim duab kom paub meej ntxiv)
Kauj Ruam 4: Txheeb Tus Txuas Tus Pin-out
Tam sim no tom qab pom cov ntaub qhwv xav tau, peb yuav tsum paub tias txhua lub ncoo txuas nrog dab tsi.
Zoo, nws twb tau pom nyob hauv lwm qhov Kev thim rov qab engineering rau cov Calipers no thiab feem ntau lawv muaj kev teeb tsa tib yam (GND, DATA, CLOCK, VCC)
Txhawm rau teeb tsa nws nrog koj tus kheej:
Tshem lub roj teeb
- teeb tsa koj lub ntsuas ntau ntawm Buzzer xeev (Kev ntsuas txuas ntxiv)
-
Pib nrog txuas ib qho kev sojntsuam mus rau Roj Teeb -VE lub davhlau ya nyob twg (GND) thiab pom tus pin ntawm tus txuas txuas nrog hauv av siv lwm qhov kev sojntsuam
- Ua tib yam nrog Roj teeb +VE lub davhlau ya nyob twg
Koj tuaj yeem muab lwm ob tus pin txuas nrog lub npe ntawm ob lub npe (EX: D0 thiab D1) raws li peb yuav paub lawv lub luag haujlwm tom qab hauv lawv cov kauj ruam thim rov qab
Yog tias koj tsis xav teeb tsa tus pin-tawm ces koj tuaj yeem kwv yees tus pin txuas-tawm raws li:
(GND, DATA, CLOCK, VCC)
GND yog lub ncoo ze tshaj plaws rau cov zaub
VCC yog lub ncoo ze tshaj plaws rau ntawm ntug PCB
thiab ob daim ntaub loj dua ntawm ntug ntawm qhov txuas rau qhov txuas txuas tau txuas nrog GND (koj tuaj yeem tshawb xyuas lawv nrog lub multimeter)
Kauj Ruam 5: Rov Qab Ua Haujlwm Kev Sib Txuas Lus
Tom qab soj ntsuam ob qho tib si digital tso tawm pins teeb liab nrog oscilloscope ntawm no yog qhov nws zoo li.
koj tuaj yeem pom tias ib qho ntawm tus pin ua haujlwm raws li lub moos rau synchronizing cov ntaub ntawv xa mus (kab CLK) thiab lwm qhov yog kab ntawv cov ntaub ntawv, yog li peb tab tom cuam tshuam nrog cov txheej txheem sib txuas cov ntaub ntawv xa mus.
Nws hloov tawm tias: - Cov ntaub ntawv raug xa mus rau qib kev xav ntawm 1.5 Volts (suab zoo li nws zoo ib yam li lub vernier roj teeb) - Cov ntaub ntawv raug xa hauv 6 nibbles (6 x 4 khoom) nrog rau tag nrho 24 khoom - Muaj txog 200 mS nruab nrab ntawm qhov kawg ntawm txhua pob ntawv cov ntaub ntawv thiab pib ntawm lwm qhov
Kuv txiav txim siab coj mus kuaj cov ntaub ntawv ntawm qhov nce ntawm lub moos yog li tom qab sim nrog kev ntsuas sib txawv ntawm lub caliper thiab hloov nws hom los ntawm (hli mus rau hauv) thiab tseem tso tawm qee qhov tsis zoo kuv tau txais cov lus no (duab 3) rau kuv qhov kev sim thiab kuv pib xam tawm cov txheej txheem kev sib txuas lus
Yog li tom qab kawm cov ntaub ntawv raug:
- nyob rau hauv mm hom: cov khoom ntu 1 txog 16 yog cov sawv cev binary rau cov lej tso tawm ntawm tus caliper (sib npaug 100)- hauv (nti) hom: cov khoom tsis yog. caliper (suav nrog 1000)
- ntsis no.21 sawv cev rau qhov tsis zoo (1 yog tias tus lej pom tsis zoo thiab 0 yog tias nws zoo)
- ntsis no.24 sawv cev rau ntsuas ntsuas (1 yog chav nyob yog (hauv) thiab 0 yog tias chav nyob yog (hli))
- nyob rau hauv (nti) hom: ntsis no.1 sawv cev rau 0.5 lab ntu (1 yog tias nws tau ntxiv thiab 0 yog tias nws tsis yog)
Kauj Ruam 6: Ua Tus Logic Converter
Tam sim no peb yuav tsum tau hloov pauv qhov ntsuas hluav taws xob ntawm cov ntaub ntawv ntsuas ntsuas (1.5 volts tsis haum rau ua haujlwm nrog Arduino, nws qis heev) Kuv tau ntxiv cov phiaj xwm rau lub logic converter kuv tau ua rau txoj haujlwm no tab sis raws li koj tuaj yeem pom cov ntaub ntawv tam sim no ntxiv rau qhov tau hloov mus rau 5 volts qib kev xav nws tseem yuav thim rov qab yog li peb yuav tsum tau them nyiaj hauv qhov chaws.
Kauj Ruam 7: Arduino Code
Thiab tam sim no koj npaj tau los txuas nws nrog Arduino. Koj tuaj yeem pom cov lej txuas.connect lub moos tus pin rau tus pin 2 lossis 3 ntawm Arduino uno, nano lossis pro-mini (koj yuav xav tau tus muaj peev xwm cuam tshuam tus pin) txuas cov ntaub ntawv tus pin rau muaj lwm tus pin. Upload cov cai thiab qhib lub serial saib kom pom cov ntaub ntawv ntsuas
Txoj cai tuaj yeem txheeb xyuas seb hom caliper ua haujlwm li cas los ntawm kev txheeb xyuas cov ntaub ntawv 24th
Pom zoo:
Cov Khoom Siv Teeb Meem Siv Chaw Taws Teeb Siv Arduino: 7 Kauj Ruam
Cov Khoom Siv Teeb Meem Siv Khoom Siv Hluav Taws Xob Siv Arduino: Tam sim no, Cov Tsim, Cov tsim tawm tau nyiam Arduino rau kev txhim kho sai ntawm cov qauv ntawm cov phiaj xwm. Arduino yog lub platform siv hluav taws xob qhib raws qhov yooj yim-rau-siv-kho vajtse thiab software. Arduino muaj zej zog cov neeg siv zoo heev. Hauv qhov no
Yuav Ua Li Cas Tear Down Digital Caliper thiab Yuav Ua Li Cas Digital Caliper Ua Haujlwm: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tear Down Tus Digital Caliper thiab Tus Digital Caliper Ua Haujlwm Li Cas: Ntau tus neeg paub siv calipers rau ntsuas. Phau ntawv qhia no yuav qhia koj yuav ua li cas rhuav lub caliper digital thiab piav qhia txog kev ua haujlwm caliper digital li cas
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Nkag Platform: 9 Cov Kauj Ruam
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Siab Platform: Christmas tsuas yog ib lub lim tiam xwb! Txhua leej txhua tus tibneeg hu tauj coob nrog kev ua koob tsheej thiab tau txais khoom plig, uas, los ntawm txoj kev, tau txais txhua qhov nyuaj dua kom tau nrog qhov tsis muaj peev xwm nyob ib puag ncig peb. Yuav ua li cas mus los ntawm khoom plig qub thiab ntxiv qhov kov ntawm DIY rau
Yuav Siv Dial Caliper Li Cas: 12 Kauj Ruam
Yuav Siv Dial Caliper Li Cas: Ua los ntawm Arif Gunduz
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej