Cov txheej txheem:

Kev Tua Hluav Taws Xob Simulator: 7 Kauj Ruam (nrog Duab)
Kev Tua Hluav Taws Xob Simulator: 7 Kauj Ruam (nrog Duab)

Video: Kev Tua Hluav Taws Xob Simulator: 7 Kauj Ruam (nrog Duab)

Video: Kev Tua Hluav Taws Xob Simulator: 7 Kauj Ruam (nrog Duab)
Video: Hmong new song 2016 - Yog dab tsi - Xub Hluav Taws (Official MV) 2024, Hlis ntuj nqeg
Anonim
Hluav Taws Tua Hluav Taws Simulator
Hluav Taws Tua Hluav Taws Simulator
Hluav Taws Tua Hluav Taws Simulator
Hluav Taws Tua Hluav Taws Simulator
Hluav Taws Tua Hluav Taws Simulator
Hluav Taws Tua Hluav Taws Simulator

Lub simulator tau tsim vim tias kuv tau saib lub tuam txhab siv nyiaj me ntsis ntawm kev cob qhia cov neeg siv nrog cov tua hluav taws nyob. Kuv tau sau tseg tias qhov kev qhia yuav tsum muaj nyob sab nraud kom tshem tawm cov pa CO2 (huab cua) thiab muaj tus nqi zoo kom rov ntim cov tshuaj tua kab dua txhua xyoo. Kuv xav tias yuav tsum muaj txoj hauv kev kom txuag tau cov nyiaj ntawd, thiab tsis txhob cia siab rau huab cua zoo kom ua tiav qhov kev rau siab no. Thaum muaj ntau qhov khoom lag luam muaj muag, txij li thaum kuv ua haujlwm ntawm Arduino microprocessors ntawm kuv lub chaw tsim khoom hauv cheeb tsam, vim li cas ho tsis nrhiav txoj hauv kev los siv qhov kev paub ntawd thiab tej zaum qee qhov CNC thiab 3D luam ntawv los ua ib yam?

Ua qauv qhia ntawm Kev Tua Hluav Taws Xob Simulator

Cov lus pom yooj yim yog qhov no siv lub tshuab tua hluav taws tiag tiag (khoob) nrog lub teeb nyem nyob rau hauv qhov chaw ntawm lub khob hliav qab kawg ntawm lub qhov dej. Lub teeb nyem yuav tsoo photocells ntawm qhov simulated PVC "hluav taws", thiab ib zaug dhau mus hla txhua lub ntsuas peb zaug (3) zaug lub suab nrov nrov thiab teeb nyem LED yuav qhia txog kev ua tiav. Tus neeg siv/tus neeg kawm yuav tsum sim siv qhov tiag los ntawm kev tshem tus pin kev nyab xeeb, kaw tus tes tuav thiab rub lub teeb nyem ntawm lub hauv paus ntawm qhov hluav taws kub simulated.

Kauj ruam 1: Arduino Program

Txoj cai no yuav tsum yooj yim ua raws. Kuv pib los ntawm kev tshaj tawm cov kev hloov pauv uas kuv siv los suav "teeb pom kev zoo"; sib txawv rau ntsuas lub teeb pom kev - lossis txheeb ze ib puag ncig lub teeb. Raws li lub txee tau ntxiv rau, Kuv sim saib seb qhov suav mus txog kuv tus lej pib (12) thiab tom qab ntawd xa koj mus rau qhov haujlwm uas yuav ua rau lub suab nrov nrov thiab teeb lub LED.

Kuv tau tawm tswv yim txog cov cai, thiab tseem muab qee qhov "Serial.print" thiab "Serial.println" los pab koj daws teeb meem nrog cov saib hauv xov tooj ib yam.

Kauj Ruam 2: Kev Hloov Kho Tua Hluav Taws

Kev Hloov Kho Tua Hluav Taws
Kev Hloov Kho Tua Hluav Taws
Kev Hloov Kho Tua Hluav Taws
Kev Hloov Kho Tua Hluav Taws
Kev Hloov Kho Tua Hluav Taws
Kev Hloov Kho Tua Hluav Taws

Kuv thawj qhov kev xav yog siv lub laser taw qhia, tab sis txiav txim siab tias kuv yuav siv lub teeb nyem ci heev thiab cov duab ci los ua txoj haujlwm no, yog li koj tau txais lub teeb pom kev loj dua uas mus rau lub photocells.

Koj tuaj yeem siv lwm yam khoom hloov chaw ntawm lub tshuab tua hluav taws tiag tiag thiab tsim los ntawm kos, tab sis kuv xav kom qhov no zoo li muaj tseeb tiag.

Kuv tau hais txog kev siv zog kom tau txais lub tshuab tua hluav taws los ntawm peb pab pawg nyab xeeb. Peb tau ua kom ntseeg tau tias nws tsis muaj dab tsi, tsis txhob ua txoj haujlwm no rau ib chav uas tau them tag nrho!

Kuv tshem tawm cov raj tso tawm ntawm chav tsev, thiab tom qab ntawd tshuaj xyuas cov tes thiab tus pin nyab xeeb, tom qab ntawd xam tawm qhov twg kuv tuaj yeem tso rau hauv qhov hloov pauv.

Ib feem ntawm qhov kev mob siab rau yuav tsum tau khawb tawm ntu ntu ntu txhawm rau txuas cov xov hlau hla. Koj tuaj yeem xaim ncig thaj tsam no, tab sis kuv zoo li cov xov hlau tuaj yeem tawg tau yooj yim dua thaum siv yog tias koj mus txoj kev ntawd. Kuv xav ua cov khoom lag luam uas yuav kav ntev txog ob peb xyoos ntawm kev siv.

Kuv muaj peev xwm siv ob lub qhov me me sib txawv me ntsis los txhawm rau txawm tias los ntawm lub hauv ntej ntawm lub valve mus rau tom qab, txaus tso ob lub xov hlau me me hla. Ua kom ntev txaus los ntawm qhov kawg ntawm lub valve txhua txoj hauv kev los ntawm tubing mus rau lub teeb nyem ntawm qhov koj xaiv. Kuv tso kuv qhov ntev ntev mus txog thaum kuv paub tias kuv muaj txaus los mus txog rau thaum kawg ntawm lub teeb nyem, thiab nyob rau lwm qhov kawg kom txaus kom yooj yim mus txog qhov hloov pauv uas peb yuav nce rau hauv qab tuav. Ntawm chav tshwj xeeb uas kuv tau muab, muaj qhov chaw zoo tshaj plaws kom haum rau qhov hloov pauv. Yog li kuv tau mus rau hauv cov cuab yeej tsim qauv dawb hu ua TinkerCad thiab tsim qhov hloov pauv uas yuav xaub mus rau tom qab ntawm lub tshuab tua hluav taws thiab tom qab ntawd kuv tuaj yeem laum txhawm rau txhawm rau hloov cov menyuam hom. Kuv tau suav nrog daim duab thiab STL cov ntaub ntawv ntawm chav tsev kuv tsim.

Nco ntsoov yog tias koj tsim ib qho, xyuas kom tseeb tias tom qab kev teeb tsa thiab hloov pauv nyob rau hauv qhov chaw koj xav kom ntseeg tau tias qhov hloov pauv thiab teeb tsa tsis nres qhov kev tuav tuav, lossis lwm qhov nws yuav tsis zoo li qhov tiag thaum koj tso siab rau tuav kom tso CO2 tawm. Kuv muaj peev xwm tau txais kev txav mus los, rau qhov kev xav zoo dua.

Kuv siv lub micro-hloov nrog cov menyuam rau ntawm nws, Kuv xav tias qhov no yuav nyob ntev dua, thiab muab kev pab lub neej zoo dua li tsuas yog qib-hloov version yuav.

Kuv tso tawm qhov hloov pauv thiab kaw nws rau kuv daim ntawv luam 3D, tom qab ntawd tshem tawm ob lub qhov ntsaws. Koj kuj tseem tuaj yeem hloov kho.stl cov ntaub ntawv rau 3d luam tawm qhov kev teeb tsa no nrog qhov nyob hauv.

Tom ntej no kuv ntsuas lub vojvoog ntsis ntawm cov tshuaj tua hluav taws. Qee cov tshuaj tua hluav taws tuaj yeem muaj lub khob hliav qab siv lub taub me me. Kuv muaj ib lub tswv yim. Tom qab ntawd kuv tau ntsuas sab nraub qaum ntawm lub teeb nyem kom tau txais lub vojvoog ntawm qhov ntawd ib yam. Kuv rov qab mus rau TinkerCad thiab tsim cov qauv tsim uas yuav khi lub teeb nyem thiab qhov kawg ntawm cov tshuaj tua hluav taws thiab ua kom yooj yim rau kev pabcuam.

Kuv tau txuas STL rau qhov kev rau siab, koj tsuas yog luam ob daim los ua lub clamp. Lub teeb nyem tuaj ntawm Harbor Freight.

Tom ntej no kuv tshem lub nraub qaum npog lub roj teeb ntawm lub teeb nyem, thiab txiav tawm lub khawm. Kuv tau luam tawm lub ntsaws kom puv rau qhov chaw no thiab txuas cov hlua txuas rau lub roj teeb thiab rooj plaub. Lub ntsaws tau muaj lub qhov luam tawm, yog li kuv tuaj yeem muab 4-40 ntsia hlau hla lub qhov. Lub taub hau ntsia hlau hu rau lub davhlau ya nyob twg lub roj teeb thaum koj ntsaws lub hauv paus rov qab, thiab tom qab ntawd kuv tau muab txuas rau lwm qhov kawg thiab kaw nrog ob 4-40 txiv ntoo ua kom lub Circuit Court nce mus rau qhov hloov ntawm tus kov. Lwm cov xaim tau txuas thiab txuas rau sab ntawm lub teeb nyem kom ua tiav lub Circuit Court. Tam sim no, koj tuaj yeem sim los ntawm nyem nyem tuav thiab kaw qhov hloov pauv, koj lub teeb nyem yuav los txhawm rau txheeb xyuas qhov ua haujlwm.

Kauj ruam 3: Qhov System

Qhov Circuit Court no yooj yim ua raws. Kuv tau suav nrog kuv daim duab Fritzing kom yooj yim ntawm kev ua raws nrog. Yog tias koj tsis siv Fritzing, kuv pom zoo qhov cuab yeej pub dawb no, vim nws ua kom yooj yim rau sau, thiab yog tias koj xav ua lub PC tiag tiag, nws tuaj yeem tsim cov ntaub ntawv tsim nyog xa tawm rau qhov kev pabcuam no.

Txoj kev xav ntawm kev ua haujlwm rau lub cuab yeej no yog tias peb muaj plaub (4) daim duab duab faib rau hauv qab ntawm qhov hluav taws kub simulated. Cov photocells tau txais cov teeb pom kev tom qab tas mus li, uas tau sau npe txhua lub sijhawm uas cov photocell raug xaiv los ntawm Arduino. Muaj qhov "cais tawm" photocell uas nyob tom qab qhov hluav taws kub simulated. Qhov no yog siv los khaws cov teeb pom kev ib puag ncig hauv thaj tsam ib puag ncig ntawm qhov kev sim. Qhov no yog siv hauv qhov kev zov me nyuam kom ntseeg tau tias lub teeb yuam kev tsis teeb ntawm lub photocells. Thaum koj txav lub teeb nyem los ntawm ib lub photocell mus rau lwm qhov, tom qab ntawv sau lub teeb pom kev zoo dua. txhua lub photocell yuav tsum "ntaus" peb zaug ua ntej nws suav tias yog "cheb" zoo ntawm qhov hluav taws. Qhov suav no yog ua tiav los ntawm Arduino program. Thaum peb suav rau txhua lub photocell mus txog, lub suab nrov yuav nrov nrov thiab ntauwd LED yuav nyem los qhia tias tus neeg teb xov tooj tau ua tiav txoj haujlwm. Lub software lawv mus ncig txhua tus suav rov qab rau xoom kom rov pib dua.

Kauj Ruam 4: Cov Hluav Taws Xob Hluav Taws Xob

Hauv Circuit Court
Hauv Circuit Court
Hauv Circuit Court
Hauv Circuit Court
Hauv Circuit Court
Hauv Circuit Court

Kuv siv tus txheej txheem qhob cij los tsim thiab ntsuas qhov Circuit. Tom qab ntawd kuv tau siv lub rooj sib tham zoo ib yam li cov laug cam los hloov lub thaiv rau. Koj yuav tsum ua kom ntseeg tau tias txhua thaj chaw koj tau txuas nrog rau ib qho chaw sib koom. Kuv tsav ob lub buzzer, LED thiab UNO board los ntawm 12 volts kom yooj yim rau hauv Circuit Court. Nws tuaj yeem khiav tawm roj teeb ib yam nkaus, tab sis kuv tau siv lub laptop qub lub zog siv. Nov yog daim duab qhia chaw ntawm lub Circuit Court. Kev ua haujlwm feem ntau yog ua tiav hauv software software.

Tag nrho cov Photocells muaj kev txuas mus rau +5 txoj kev tsheb nqaj hlau, thiab tom qab ntawd mus rau hauv av ntawm tus tiv thaiv. Lawv tau siv rau ntawm qhov txuas ntawm nruab nrab ntawm cov duab photocell thiab tus tiv thaiv, thiab rov qab mus rau cov lus sib piv ntawm Arduino.

Kev xa tawm tau teeb tsa kom muaj zog los ntawm tus lej Arduino, thiab xa 12 volts mus rau lub teeb ci LED thiab lub suab nrov thaum lub program logic pom tias txhua lub photocell tau "tsoo" los ntawm lub teeb peb zaug. Nov yog qhov sib txawv uas koj tuaj yeem hloov pauv yog tias koj xav kom nws siv tsawg dua lossis ntau dua ntawm cov tshuaj tua hluav taws.

Kuv tau suav nrog Fritizing cov ntaub ntawv kom koj tuaj yeem saib txhua qhov txuas thiab txuas txuas ntawm daim phiaj.

Pom zoo: