Cov txheej txheem:

Kuv DIY Steampunk Operation Game, Arduino Raws: 9 Cov Kauj Ruam (nrog Duab)
Kuv DIY Steampunk Operation Game, Arduino Raws: 9 Cov Kauj Ruam (nrog Duab)

Video: Kuv DIY Steampunk Operation Game, Arduino Raws: 9 Cov Kauj Ruam (nrog Duab)

Video: Kuv DIY Steampunk Operation Game, Arduino Raws: 9 Cov Kauj Ruam (nrog Duab)
Video: petrol ⛽ engine start #iti #tata #youtube #youtube #hyundai #viral #shorts #maruti #mahindra #itijob 2024, Kaum ib hlis
Anonim
Image
Image

Txoj haujlwm no yog qhov dav heev hauv qhov dav. Nws tsis xav tau ntau yam cuab yeej lossis kev paub ua ntej, tab sis nws yuav qhia rau leej twg (kuv suav nrog) ntau hauv ntau lub tuam tsev sib txawv ntawm kev ua!

Zoo li Captive-sensing nrog Arduino, ua haujlwm ntau nrog Arduino thiab ua kom nrawm, yooj yim cov khoom hlau thiab gluing cov ntawv yooj yim luam ntawv ntawm ntoo.

Kuv kuj xav txhawb kom txhua tus ua qhov no txhawm rau hloov kho txoj haujlwm rau koj cov kev xav tau thiab xav tau. Tej zaum koj xav ua kom nws loj dua, me dua lossis nrog cov duab sib txawv thiab lwm yam … txhua yam tsuas yog kev tawm tswv yim, cia koj lub tswv yim khiav dawb!

Yog li dab tsi yog qhov zoo dua hauv qhov kev ua si mus rau kev ua haujlwm qub?

Ua ntej: Tsis muaj cable ntawm tus tweezers, tsis muaj kev txwv!

Qhov thib ob: Lub plawv dhia uas qhia tias tus neeg mob raug mob npaum li cas thiab txoj kab ncaj!

Qhov thib peb: Koj tuaj yeem siv daim duab ntawm ib lub cev Adonis uas koj xav tau thiab dai qhov kev ua si ntawm koj phab ntsa yog tias koj tsis ua si nrog nws!

Vim tias qhov haujlwm no zoo nkauj heev, ntawm no yog qib ntsuas

Kauj ruam 1: thaiv thiab txuas

Kauj ruam 2: Txoj cai

Kauj ruam 3: capacitance sensing

Kauj Ruam 4: Arduino ua haujlwm ntau

Kauj ruam 5: Tweezers

Kauj Ruam 6: Txheeb Tus Neeg Mob

Kauj Ruam 7: Txiav nws thiab txuas cov ntawv hlau

Kauj Ruam 8: "lub cev"

Kauj Ruam 9: Txheeb qee qhov poob qhov kawg

Khoom siv

Cov ntaub ntawv:- Ob daim ntoo hauv qhov loj me uas koj xav kom koj ua si (txij li thaum kuv siv cov ntawv luam tawm ntawm DIN A4 ntawv luam ntawv kuv nqa ntoo tsuas yog ob peb cm loj dua ntawd) qhov tuab ntawm daim hauv qab yuav tsum ntau dua tuab ntawm Arduino, sab saum toj yuav tsum yog 1-2, 5 cm tuab

- Ntoo nplaum thiab qee yam zoo li 2 ntu epoxy/hotglue/superglue….

-Qee qhov ntsia hlau los txuas hauv qab mus rau sab saum toj tab sis tsis cuam tshuam los ntawm…. Ib qho ntoo ntsia hlau hauv qhov ntev yuav ua thiab qee qhov me me

-A luam tawm tus neeg mob ntawm ib daim ntawv

-One Arduino (Kuv siv nano)

-Buzzer (tus neeg hais lus piezo)

-LED (tsis tsim nyog tiag tiag, tab sis lub plawv dhia zoo nkauj heev)

-Resistors (txog 200kΩ thiab 100Ω)

-Tweezers (sib nqus, tsawg kawg yog tus coj (Kauj Ruam 5))

-Cov khoom siv hluav taws xob uas ua haujlwm rau Arduino (roj teeb yuav tsis ua haujlwm)

-Txawm li cas kuv cia siab tias cov neeg feem coob twb muaj lawm → qee cov khoom siv sib txuas, cov hlua, qee cov ntawv hlau (cov taum tuaj yeem lossis qee yam galvanized hlau ua haujlwm zoo)

Ntxiv (Yog tias koj xav ua kom nws zoo nkauj me ntsis):

- Duab thav duab

- Ntshiab xim

- tooj dag lossis tooj dag tubing

- Protoboard

- Hlau nplaum

- Hloov

Ntsia Hlau-Terminals

- Lub hwj chim ntsaws

Cov Cuab Yeej:

- Ntoo laum

- Ntoo pom

- Soldering hlau

- Qee cov pliers

- Chisel lossis lub thawv txiav riam ntawm qee yam

- tej zaum qee tus txhuam

- Cov cuab yeej tig yuav txaus

Kauj Ruam 1: Kev Txuas Hluav Taws Xob thiab Kev Siv Hluav Taws Xob

Kev Txuas thiab Kev Siv Hluav Taws Xob
Kev Txuas thiab Kev Siv Hluav Taws Xob
Kev Txuas thiab Kev Siv Hluav Taws Xob
Kev Txuas thiab Kev Siv Hluav Taws Xob

Kuv muab Kauj Ruam ua ntej, tab sis koj yuav tsum tsis txhob ua qhov no ua ntej;). Lub khob cij yuav zoo heev rau qhov no … Kuv xav kom koj xav txog qhov no ua ntej, vim txhua yam ntxiv yuav tsim nyob ib puag ncig ntau dua lossis tsawg dua. Tsuas yog khaws daim duab nyob hauv siab yog tias koj tsis muaj lub khob cij. Yog tias koj muaj ib lub xov tooj nws mus kho cov cai hauv cov kauj ruam tom ntej.

Ua tau zoo dua txhua yam tom qab qib 8 raws li daim duab.

R1 yuav tsum yog 200 kΩ resistor (100 kΩ tseem yuav ua haujlwm raws li lub tsev qiv ntawv capsens)

R2 yuav tsum yog 120 Ω resistor

Kauj ruam 2: Txoj Cai

Nov yog cov cai kuv siv thiab sau. Nrog qee qhov vam tias yuav muaj txiaj ntsig cov lus. Koj yuav tsum nyem koj Arduino nrog nws …

Kauj Ruam 3: Kev Ntsuas Peev Xwm

Capacitance Sensing
Capacitance Sensing

Kuv tsis yog tus muaj cai ntawm qhov no, tab sis txhua yam muaj lub peev xwm (koj ib yam). Yog li yog tias koj kov cov hlau nrog koj cov tweezers hlau lossis txhais tes liab qab koj hloov lub peev xwm ntawm tus pin 9. Capacitance hloov lub sijhawm nws siv (Pin 4) tau txais lub teeb liab (los ntawm Pin 9). Arduino xa lub teeb liab ntau zaus thiab tshawb xyuas qhov ncua ntawm kev xa thiab tau txais. Yog tias qhov hloov pauv qeeb Arduino yuav nco qab. Qhov Ntsej Muag Ib Feem ntawm cov cai, tsis yog sau los ntawm kuv, tseem yuav ua kom cov txiaj ntsig tau zoo thiab ntsuas tus kheej. Yog tias koj lub peev xwm kev nkag siab nkag siab dhau lossis tsis nkag siab txaus koj tuaj yeem hloov qhov tsis tseem ceeb uas tau cim hauv cov cai kom txog thaum nws ua haujlwm zoo li koj xav tau.

Koj tuaj yeem siv lub peev xwm ntsuas pom hauv lwm txoj haujlwm zoo, yog li kuv xav tias kuv piav qhia nws hauv qee qhov kev qhia ntau ntxiv thiab ua tib zoo saib xyuas nws tus kheej theem. Kuv tsis paub txog nws ua ntej ua qhov haujlwm.

Kauj Ruam 4: Arduino Multi Tasking

Arduino Multi Tasking
Arduino Multi Tasking

Yog tias koj muaj ib qho kev paub dhau los nrog Arduino, koj paub, tias nws tsuas yog ua haujlwm txhua kab lus los ntawm kab thiab tsis tuaj yeem ua txhua yam tib lub sijhawm.

Kuv kuj tsis muaj txoj cai ntawm qhov no, tab sis koj ib txwm qhia rau Arduino (qhov no tsawg kawg): ua haujlwm A rau x milliseconds tom qab ntawd ua haujlwm B rau y milliseconds. Koj xav tau qhov no tsuas yog tias koj xav kom muaj LED thiab lub suab nrov lub plawv dhia thaum hnov lub peev xwm. Kuv yeej xav tau ob qho tib si, yog li kuv tau siv sijhawm ntxiv los rau qhov ntawd. Lub plawv dhia tiag tiag ua rau ntau qhov zoo rau qhov haujlwm no. Tsawg kawg yog qhov kuv xav …

Koj tuaj yeem siv qhov "Multitasking" hauv lwm qhov haujlwm thiab nws tuaj yeem muaj zog heev, yog li kuv xav tias kuv piav qhia nws hauv qee qhov kev qhia ntau ntxiv thiab ua tib zoo saib xyuas nws tus kheej theem. Kuv tsis paub txog nws ua ntej ua qhov haujlwm.

Kauj ruam 5: Tweezers

Tweezers
Tweezers
Tweezers
Tweezers
Tweezers
Tweezers

Arduino siv tus tweezers hauv kuv tus lej raws li pib thiab nres teeb liab. Nws kuaj pom yog tias tus tweezers raug tshem tawm ntawm lawv qhov chaw los ntawm kev saib xyuas Pin 2 thiab 12 (tej zaum koj tsis xav tau ob qho… ib qho yog siv los cuam tshuam, kom sawv ntawm Arduino thiab lwm qhov kom pom qhov xwm txheej nres, yog li kuv tsis tsis paub yog tias kuv tuaj yeem siv tsuas yog ib tus pin…). Yog li koj xav tau ob lub ntsiab lus qhov twg tus tweezers tuaj yeem sib cuag rau qhov kev ua si.

Lawv muaj ntau txoj hauv kev:

- Koj tsim ob txoj hlua hlau uas txuas ntxiv los ntawm qhov kev ua si thiab txuas nrog hauv av / tus pin (Sketch 1) tej zaum qhov yooj yim tshaj plaws thiab yog ib qho kev daws teeb meem zoo tshaj plaws. Rau qhov kev daws teeb meem no tus tweezers tsis tas yuav tsum muaj hlau nplaum.

- Koj kuj tseem tuaj yeem siv cov hlau nplaum tom qab qee cov hlau lossis nplaum qee cov hlau nplaum tom qab qee cov hlau tsis muaj hlau (Sketch 2-3)

Vim tias kuv muaj lub tshuab dhos hlau kuv ua rau lawv zoo li kuv qhia hauv Sketch 4. Kuv tau ua qee qhov tooj dag uas nthuav tawm hla lub vaj huam sib luag pem hauv ntej thiab lub tsev ntawd qee cov hlau nplaum sab hauv. Cov hlau nplaum thiab xaim tuaj yeem raug clamp los ntawm cov ntsia hlau grub ib txhij.

Tej zaum muaj txoj hauv kev zoo dua thiab/lossis yooj yim dua, muaj tswv yim!

Kauj Ruam 6: Txheeb Tus Neeg Mob

Muab qee daim duab rau ntoo yuav tsum nyuaj, txoj cai? Tsis yog, koj tsis xav tau dab tsi rau nws! Kuv tshawb hauv internet yuav ua li cas, tab sis txhua qhov kev xaiv zoo li nyuaj rau kuv.

Tau kawg koj tseem tuaj yeem sim cov ntawd kom tau txais koj tus neeg mob rau saum cov ntoo (laser, hlawv, xa ntawv, milling lossis txiav …).

Kuv rau ib qho tsuas yog siv cov kua nplaum ntoo ib txwm (tom qab ib nrab ua tiav nrog tshuaj tsuag ntawm kua nplaum) npog ob sab ntawm cov ntoo thiab daim duab kuv tau luam tawm ntawm daim ntawv ib txwm nrog txheej nyias tab sis zoo ib yam ntawm cov kua nplaum. Qhov no yog yam nyuaj, tab sis vim cov khoom pheej yig thiab koj tuaj yeem rub nws, koj tau txais ob peb yam ua dhau. Ua ntej npog sab nraum qab ntawm daim ntawv, yog li cov kua nplaum tuaj yeem nqus tau los ntawm. Thov ib txheej nyias rau sab xub ntiag ntawm lub vaj huam sib luag tom ntej. Txog thaum koj ua tiav cov kua nplaum yog tej zaum qhuav me ntsis, uas yog qhov zoo. Tam sim no muab daim ntawv tso rau ntawm ntoo pib los ntawm ib sab kom tsis txhob muaj npuas. Feem ntau yuav muaj cov npuas yuav nyob ntawd, tsis txhob poob siab. Koj tuaj yeem nias cov npuas tawm nrog lub tog raj kheej ntawm qee yam, uas koj yob hla daim ntawv. Txoj kev ntawd koj nias daim ntawv kom zoo ib yam thiab tsis txhob sib cais. Tom qab qee qhov ziab nws yuav tsum tau ua tiav thiab koj tuaj yeem pleev xim koj cov ntoo/ntawv nrog qee cov kua roj vanish los tiv thaiv nws, yog tias koj xav tau.

Koj tuaj yeem siv qhov no hauv lwm qhov haujlwm uas koj xav tau cov duab tsis raug ntawm ntoo, yog li kuv xav tias kuv piav qhia nws hauv qee qhov kev qhia paub ntau ntxiv thiab ua tib zoo saib xyuas nws tus kheej theem. Kuv tsis paub txog nws ua ntej ua qhov haujlwm.

Kauj Ruam 7: Txiav Nws Thiab Txuas Cov Ntawv Hlau

Txiav nws thiab txuas daim ntawv hlau
Txiav nws thiab txuas daim ntawv hlau
Txiav nws thiab txuas daim ntawv hlau
Txiav nws thiab txuas daim ntawv hlau
Txiav nws thiab txuas daim ntawv hlau
Txiav nws thiab txuas daim ntawv hlau
Txiav nws thiab txuas daim ntawv hlau
Txiav nws thiab txuas daim ntawv hlau

Koj xav tau qee qhov nyob rau sab xub ntiag thiab sab nraub qaum.

Hauv daim ntawv pem hauv ntej koj tuaj yeem tsuas yog laum lossis pom qee qhov hauv qhov loj thiab cov duab uas koj xav tau thiab haum rau koj tus neeg mob. Hauv daim duab koj tuaj yeem pom, qhov twg kuv ua lub qhov (tsuas yog rau koj qhov kev tshoov siab). Kuv siv qhov loj "Frostner" me ntsis, tab sis koj tuaj yeem ua rau lawv txhua txoj kev uas koj nyiam. Vim tias kuv tsis xav kom cov ntawv hlau pom, kuv tau tho qhov me ntsis los ntawm sab nraub qaum, tsis yog txhua txoj hauv kev hla thiab lub qhov me me ntawm sab xub ntiag, raws li qhia hauv daim duab saum toj no !!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!. Vam tias koj tau tso qee qhov chaw rau Arduino thiab cov xov hlau. Yog? Zoo kawg! Tam sim no khij qhov chaw uas lawv xav tau thiab txiav V-grove rau txhua lub qhov nyob rau sab xub ntiag mus rau Arduino. Lub hav txwv yeem xav tau kom haum cov kab uas koj xav siv. Groves mus rau Lub plawv dhia LED, lub hwj chim ntsaws, qhov hloov pauv thiab tus tweezers kuj tseem tuaj yeem txiav tam sim no.

Hauv daim thim rov qab koj tsuas yog xav ua chaw rau cov khoom siv hluav taws xob. Tej zaum nws yog qhov zoo tshaj plaws thiab yooj yim tshaj plaws los txiav qhov ntawd tawm hauv chav, tab sis kuv tsis xav ua cov khoom siv hluav taws xob zoo li pom sab nraum qab yog li kuv tsuas yog ua qhov dig muag.

Txhua qhov thaiv thiab cov khoom siv hluav taws xob yuav tsum txuas rau sab nraum qab ntawm daim ntoo ua ntej. Kuv tu siab, Kuv tsis tau ua li ntawd. Tam sim no nws yog lub sijhawm los txiav cov ntawv hlau hauv cov kab txaij kom npog cov phab ntsa sab hauv ntawm lub qhov. Ua ntej muab lawv tso rau hauv (txuas) ib daim hlau rau lawv uas ntev txaus nws mus txog Arduino. Tom qab gluing soldering tsis zoo, yog li ua nws ua ntej. Kuaj yog tias cov hlau yog cov hlau lossis yog nws tau coated nrog qee yam. Yog tias nws tau lo, tshem cov txheej nrog qee qhov txhuam los yog cua sov.

Tam sim no koj tuaj yeem lo cov ntawv hlau thiab cov xov hlau nyob hauv qhov chaw. Kuj xa lwm cov khoom siv hluav taws xob raws li Kauj Ruam 1.

Koj tuaj yeem ntsia koj lub nraub qaum rau sab xub ntiag tam sim no thiab.

Yuav luag tiav!

Kauj Ruam 8: "lub cev"

"Lub cev"
"Lub cev"
"Lub cev"
"Lub cev"

Kuv xav txog cov no tau ntev tom qab txhua yam ua tiav. Kuv xav tau qee yam coj ua zoo li cov pob zeb ore ntswj ntsia hlau lossis ib yam dab tsi. Ua ntej kuv xav txiav nws tawm ntawm cov ntawv hlau thiab koj tuaj yeem ua tiav qhov ntawd, tab sis nws ntau heev lossis ua haujlwm. Kuv xaus qhov casting lawv los ntawm cov tin (tsuas yog qee qhov soldering tin). Koj tuaj yeem tsuas yog txiav qee yam hauv tawv (nyuaj rau cov ntsiab lus) ntoo thiab yaj qee cov tin ncaj qha rau hauv cov cam khwb cia nrog koj cov hlau txuas thiab rub nws tawm tom qab. Qhov ntawd yog qhov kuv tau ua. Kuv kuj khoov qee cov tooj liab ua cov duab nrog qee cov pliers. Qhov ntawd kuj ua haujlwm tau zoo heev thiab qee lub cev zoo tuaj yeem ua tau li ntawd.

Nws lom zem heev thiab kuv twv tsis tsuas yog tus menyuam hauv kuv nyiam nws. Cov menyuam yaus tiag tiag xav pom cov hlau tiag tsim hauv feeb, Kuv paub tseeb. Tsuas yog ceev faj nrog cov pa taws. Cov tshuaj yaj yeeb yaj kiab tso qee cov pa taws thiab cov ntoo hlawv me ntsis yog tej zaum kuj tsis zoo. Yog li ua nws hauv chav uas muaj cua nkag tau zoo, sab nraum lossis yam uas koj (lossis koj tus menyuam) tsis ua pa hauv cov pa.

Kauj Ruam 9: Txheeb Qee Qhov Poob Xaus

Rho Tawm Qee Qhov Poob Xaus
Rho Tawm Qee Qhov Poob Xaus
Rho Tawm Qee Qhov Poob Xaus
Rho Tawm Qee Qhov Poob Xaus

Kuv ua kuv tus kheej, tej zaum koj xav xav txog qhov ntawd ib yam;)

Kuv kuj drilled ib lub qhov nyob tom qab kom dai nws ntawm phab ntsa

Yuav ua li cas ua si:

koj tuaj yeem ua si hauv ntau txoj hauv kev sib txawv, tab sis kuv xav tias, nws zoo tshaj thaum koj hais tias muaj pes tsawg daim tin uas yuav tsum tau nkag mus thiab tawm ntawm tus neeg mob ua ntej koj plam thiab lawv tiaj-kab thiab tom qab ntawd koj tus khub game yuav tsum sau tus lej ntawd kom txog thaum ib tus neeg poob

Tus tweezers yuav tsum tau muab tso rau ntawm lawv qhov chaw ntawm puag ncig.

Muaj kev lom zem ua thiab ua si!

Kuv xav tias qhov no yog qhov haujlwm txias rau menyuam yaus/hluas ua nrog lawv niam lawv txiv, vim tias koj tuaj yeem kawm ntau yam thiab koj tau ua si yam koj tsim tom qab.

Pom zoo: