Cov txheej txheem:
- Kauj Ruam 1: Tsim lub Bumpers
- Kauj Ruam 2: Mounting Bumpers
- Kauj Ruam 3: Tsim Circuit Court
- Kauj ruam 4: Ntxiv Txoj Cai
- Kauj ruam 5: TXHUA TUS
Video: Teeb Pom Boe Bot: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Txhawm rau ua qhov txuj ci no nrog lub peev xwm ntawm kev teeb tsa kev taw qhia, lub teeb pom kev thiab lub suab, koj yuav xav tau:
-Qhov ua haujlwm tau zoo Boe Bot
-Ntau ntawm cov xov hluav taws xob
-Tinfoil
-Daim npav
-Stapler
-Popsicle sticks
-Wire Strippers
-Cov Pliers me me
-Kev kub yaj phom thiab kua nplaum kub
-Cov kab xev hluav taws xob
-1 tus hais lus Circuit Court
-2 hom cathode LEDs
-61K resistors
-2 10K resistors
-10 10uf capacitor
Peb Puas Tsim Nws?
Kauj Ruam 1: Tsim lub Bumpers
Txhawm rau ua lub bumpers, koj yuav siv qhov ntawm:
-wire
-tinfoil
-daim ntawv
-kub kua nplaum
-Popsicle sticks
-stapler
1. Yam koj yuav xav ua ua ntej yog txiav tawm ib daim duab los duab thiab muab nws tso rau hauv ib nrab (saib daim duab thib ob thiab thib 3) (YUAV TSUM XYUAS X 2).
2. Tom ntej no, koj yuav nqa ib lub xaim nyob ib ncig ntawm 20cm hauv qhov ntev thiab sawb ob qho kawg, tab sis ntev dua lwm qhov. Tom qab ntawd ntswj cov hlua ntev ntev mus rau hauv qhov muab kauv (Saib daim duab thib 4) (YUAV TSA X4).
3. Nqa ib daim tinfoil thiab quav nws ib nrab kom nws me me txaus kom haum rau ntawm daim duab los qhia sab hauv. Tom qab ntawd muab cov hlua khi rau ntawm cov ntawv xov hlau los ntawm txoj hlua hla ntawm tag nrho cov quav (saib daim duab 5 thiab 6) (Ua li no x4).
4. Kaw ib sab ntawm daim tinfoil rau ib sab sab hauv ntawm daim npav daim npav. (Ua Qhov No Rau Ib Leeg Sab Hauv, Yog li 2x PER CARDBOARD PIECE (YOOJ YIM x4)) Ceev faj tsis txhob kov cov tinfoil thaum gluing, vim nws yuav ua rau cua sov thiab hlawv koj cov ntiv tes (saib duab 6).
5. Kaw ob lub Popsicle lo ua ke (Ua li no x2 thiab ua rau ib qho loj dua), thiab lo ib qho Popsicle txuas rau sab nraum qab ntawm txhua daim duab los quav, thiab ib qho ua tib yam nkaus ntawm sab nraud (saib daim duab 1).
6. Ib qho kawg kov kom ua rau lub pob tw nyob ze ua ke, yog txhawm rau nruab nrab kom txwv qhov ntev rau cov pob tw. Ib zaug khi, lo nws thiab cia kom qhuav kom ntseeg tau tias muaj kev nyab xeeb ntawm nws (saib daim duab 1).
Koj Ua Tau Zoo Tsim Koj Lub Pob Zeb!
Kauj Ruam 2: Mounting Bumpers
Txhawm rau txhawm rau tsoo lub foob pob rau Boe Bot, koj yuav siv:
-Boi Bot
-Koj lub pob tw tshiab
-Kub kua nplaum
-Electrical Daim Kab Xev
Cov kauj ruam no yooj yim haum. Txhua yam koj yuav tsum tau ua yog nqa ib daim kab xev hluav taws xob, thiab muab nws tso rau ntawm thaj chaw hlau tsuas yog saum lub log pob dub nrog lub qag. Ib zaug kaw, kub kua nplaum rau thaj tsam nrog kab xev, lo lub hauv caug, thiab nias nws kom txog thaum qhuav thiaj li yuav nce.
Tam sim no Tias Cov Pob Pob Npaj Npaj, Cia Mus Rau Hauv Circuit Court!
Kauj Ruam 3: Tsim Circuit Court
Txhawm rau tsim cov Circuit koj yuav xav tau:
-Boi Bot
-Wires txuas nrog bumpers
-Wire strippers
-Cov Pliers me me
-Circuit hlau
-1 tus hais lus Circuit Court
-2 hom cathode LEDs
-61K resistors
-2 10K resistors
-10 10uf capacitor
Rau lub Circuit Court koj yuav xav txuas txhua yam raws li pom hauv thawj daim duab. Daim duab thib ob, thib peb, thiab plaub yog tag nrho ib feem ntawm thawj tus (tsuas yog faib ua kom nws tsis nkag siab). Daim duab thib ob yog lub voj voos thaiv kab mob, daim duab thib 3 yog kab hluav taws xob cathode, thiab daim duab 4 yog lub xov tooj cua hais lus.
Thaum ua tiav, koj tuaj yeem siv hluav taws xob kaw lub xov tooj cua hais lus rau lub platform hauv qab cov ntawv yooj yim ntawm Boe Bot yog li nws tsis yoog.
Ib Kauj Ruam Ntxiv, Qhov Nyuaj Tshaj Lawm!
Kauj ruam 4: Ntxiv Txoj Cai
Txhawm rau kom ntseeg tau tias txoj cai ua haujlwm tau zoo, koj yuav xub xav kom ntseeg tau tias lub tshuab servo txoj cai nyob hauv lub ntsaws rau tus pin 12, sab laug servo yog nyob rau hauv ntsaws rau tus pin 13, thiab tias Circuit Court yog raws nraim li tau qhia hauv kab duab yav dhau los.
Thaum kawg, koj yuav tsum tau nkag mus rau tus lej no rau hauv Stamp Basic, ntsaws rau hauv tus neeg hlau, thiab thaum kawg: RUN IT.
Nov yog cov cai sau tseg, tab sis koj tseem tuaj yeem rub tawm cov ntawv sau yooj yim, thiab qhov ntawd yuav tsum ua haujlwm ib yam.
Txhua yam nrog tus cim ua ntej nws yog cov lus pom, tab sis '{$ STAMP BS2} thiab' {$ PBASIC 2.5} yog qhov tsim nyog.
'********************************************************** *********************** 'Lub Npe: William
'************************************************************************
'Lub Npe - BoeBump.bs2
'Hnub tim - 28 Kaum Ib Hlis 2017
'Nqe lus piav qhia: Tsim lub cev tsoo uas ua rau muaj lus txib thaum nws tsoo qee yam kom tshem Boe Bot deb' ntawm qhov teeb meem. Ntxiv suab thiab teeb pom kev zoo rau qhov haujlwm ib yam.
'{$ STAMP BS2}
'{$ PBASIC 2.5}
'************************************************************************
'Code rau Pib Pib Pib Nres
'(Qhov no yog li cas thiaj li pib CODE !!!)
'Txoj cai no ua rau bot nres lossis pib thaum rov pib dua' ************************************ ********************************************
temp VAR Byte 'khw muag khoom ib ntus
RunStatus DATA $ 00 'sib txawv khaws cia hauv ROM
Nyeem RunStatus, temp 'Nyeem qhov sib txawv ntawm ROM
temp = ~ temp 'hloov tus nqi 0 TO 1 LOS YOG 1 TO 0
WRITE RunStatus, temp 'Sau qhov sib txawv rov qab mus rau ROM
YOG (temp> 0) THIAB KAWG 'Txheeb xyuas yog tias tus nqi yog 1, thiab YOG yog li, KAWG qhov program
'************************************************************************
'Pins Teeb
'************************************************************************
LMotor PIN 13
RMotor PIN 12
'************************************************************************
'Qhov teeb tsa tas li
'************************************************************************
LStop CON 750
NPE CON 750
'************************************************************************
'Txawv
'************************************************************************
X VAR Lo lus
'************************************************************************
'Txoj Haujlwm Tseem Ceeb
'************************************************************************
FREQOUT 5, 150, 880 'Tsim cov txuj lom qub
PAUSE 50 'Rau qhov hais kom ua freqout, the
FREQOUT 5, 150, 880 'cov lej mus tso tawm (ex: 5), sijhawm (ex: 150ms), PAUSE 20 'thiab thaum kawg qib qib (piv txwv: 880Hz)
NQE 5, 250, 988
PAUV 20
NQE 5, 250, 1175
PAUV 20
NQE 5, 250, 1047
PAUV 20
NQE 5, 150, 1319
PAUV 20
FREQOUT 5, 200, 1450
PAUV 20
NQE 5, 300, 1175
Ua
HIGH 0 'Ua rau Cathodes dawb (tab sis lawv yuav tsis tig dawb, zoo li
HIGH 1 'subroutine yuav hloov xim tam sim ntawd).
Siab 2
QHOV 9
HIGH 10
HLO 11
YOG (IN6 = 1) THIAB (IN4 = 1) THIAB 'Yog tias tsis muaj lub pob tw
LOW 0 'yog kov, tom qab ntawd ua cov cathodes
LOW 2 'ntsuab thiab npaj mus rau subroutine
LOW 9 'hu ua Forward.
LOJ 11
GOSUB Forward
ELSEIF (IN6 = 0) THIAB (IN4 = 0) THIAB 'Yog tias ob lub pob tw tau kov, LOW 0 'ces ua rau ob lub cathodes tig liab, LOW 1 'tsim ob lub suab nrov, thiab txuas mus rau
LOW 9 'BothBump subroutine.
QHOV 10
FREQOUT 5, 50, 2500
TABSIS 200
FREQOUT 5, 200, 2500
GOSUB BothBump
ELSEIF (IN6 = 0) THIAB (IN4 = 1) THEN 'Yog tias tsuas yog txoj cai lub tsoo tsoo, LOW 9 'ua rau txoj cai cathode tig liab, LOW 10 'tsim ob lub suab nrov, thiab mus rau
FREQOUT 5, 50, 2500 'BumpRight subroutine.
TABSIS 200
FREQOUT 5, 200, 2500
GOSUB BumpRight
ELSEIF (IN6 = 1) THIAB (IN4 = 0) THIAB 'Yog tias tsuas yog sab nraub qaum tsoo, LOW 0 'ua rau sab laug cathode tig liab, LOW 1 'tsim ob lub suab nrov, thiab mus rau
FREQOUT 5, 50, 2500 'BumpLeft subroutine.
TABSIS 200
FREQOUT 5, 200, 2500
GOSUB BumpLeft
ENDIF
LOOP
Xaus 'Qhov Kev Pab Cuam Ua Ntej Ua Ntej Cov Txheej Txheem khiav los ntawm kev sib tsoo
'************************************************************************
'Cov txheej txheem
'************************************************************************
Forward: 'Tsiv mus tom ntej me ntsis
Rau X = 1 txog 30
PULSOUT RMotor, 700
PULSOUT LMotor, 850
NQE
PAUV 20
RETURN 'Rov qab mus rau qhov pib rov ua dua
'****************************************************
BothBump: 'Rov qab me ntsis
Rau X = 1 txog 150
PULSOUT RMotor, 850
PULSOUT LMotor, 650
NQE
TABSIS 200
RAU X = 1 txog 100 'Tig sab laug ntawm qhov thaiv
PULSOUT RMotor, 650
PULSOUT LMotor, 760
NQE
PAUV 20
RETURN 'Rov qab mus rau qhov pib rov ua dua
'****************************************************
BumpLeft: 'Rov qab me ntsis
Rau X = 1 txog 150
PULSOUT RMotor, 850
PULSOUT LMotor, 650
NQE
TABSIS 200
RAU X = 1 txog 100 'Tig tam sim ntawm qhov teeb meem
PULSOUT RMotor, 740
PULSOUT LMotor, 850
NQE
PAUV 20
RETURN 'Rov qab mus rau qhov pib rov ua dua
'****************************************************
BumpRight: 'Rov qab me ntsis
Rau X = 1 txog 150
PULSOUT RMotor, 850
PULSOUT LMotor, 650
NQE
PAUSE 200 RAU X = 1 txog 100 'Qhib Sab laug ntawm qhov thaiv
PULSOUT RMotor, 650
PULSOUT LMotor, 760
NQE
PAUV 20
RETURN 'Rov qab mus rau qhov pib rov ua dua
'********************************************************
'Xaus Cov Txheej Txheem Sub
'********************************************************
'Xaus Txoj Cai
'********************************************************
CONGRATULATIONS, koj tau nce qib koj li BOE BOT !!!
Lub ntsiab lus tseem ceeb:
Nco ntsoov tias thaum koj siv tus lej, koj yuav tsum tau nyem lub pob pib dua ntawm tus neeg hlau kom nws mus
Kauj ruam 5: TXHUA TUS
Saib cov vis dis aus thiab mloog cov ntaub ntawv audio los saib seb qhov kev hloov kho tshiab no tuaj yeem ua dab tsi tiag!
PS Cov ntaub ntawv Boe yog lub suab nrov qub, uas tshwm sim thaum pib ua haujlwm ntawm Boe Bot ntawm khawm rov pib dua. Cov ntaub ntawv Boe Beep yog lub suab uas ua si thaum lub foob pob hluav taws raug qhib (ntaus ib qho teeb meem).
Pom zoo:
Lub Rooj Tswjhwm Saib qhov pom kev (Tswj Lub Suab Pom Pom Pom Suab): 5 Kauj Ruam
Pawg Thawj Coj Hloov Kho (Tswj Lub Suab Pom Pom Pom Lub Suab): Txhais cov nkauj kom pom lub teeb pom kev zoo nrog qhov kev tsim kho lub teeb pom kev zoo no. Zoo rau DJs, tog, thiab 1: 1 qhia! Hloov kho cov duab hauv qab no
Pom Qhov Pom Pom Pom Pom Lub Koob Yees Duab (TfCD): 15 Kauj Ruam (nrog Duab)
Pom Qhov Pom Pom Pom Pom Lub Koob Yees Duab (TfCD): Cov kev pabcuam paub uas tuaj yeem paub txog kev xav, ntsej muag ntawm tib neeg lossis cov khoom yooj yim tam sim no tseem nyob rau theem pib ntawm kev txhim kho, tab sis nrog kev kawm tshuab, thev naus laus zis no tau nce zuj zus. Peb tuaj yeem cia siab tias yuav pom ntau ntxiv ntawm cov khawv koob no hauv
Lub Teeb Pom Kev Pom Kev Pom Zoo/ Handheld Photograpy Teeb: 7 Cov Kauj Ruam (nrog Duab)
Intimate Video Light/ Handheld Photograpy Light: Kuv paub koj xav li cas. Los ntawm "intimate," Kuv txhais tau tias teeb pom kev nyob ze rau qhov xwm txheej teeb pom kev nyuaj-tsis tas yuav rau "xwm txheej zoo." (Txawm li cas los xij, nws tuaj yeem siv rau qhov ntawd ib yam nkaus …) Raws li New York City tus kws yees duab-lossis
Motion Controlled Outlet - Los ntawm Lub Teeb Pom Kev Pom Kev Pom Teeb: 6 Cov Kauj Ruam
Motion Controlled Outlet - Los ntawm Lub Teeb Pom Kev Pom Kev: Xav txog tias koj yog ib tus neeg dag-lossis-coj mus rau lub tsev txaus ntshai tshaj plaws ntawm qhov thaiv. Tom qab dhau mus tag nrho cov dab, dab thiab lub qhov ntxa koj thaum kawg tau mus rau txoj kev kawg. Koj tuaj yeem pom cov khoom qab zib hauv lub tais ua ntej ntawm koj! Tab sis tam sim ntawd gho
Teeb pom kev pom lub teeb pom kev zoo (LED) Nrog C Stamp Microcontroller: 5 Kauj Ruam
Teeb pom kev rau lub teeb pom kev zoo (LED) Nrog C Stamp Microcontroller: Nov yog Thawj Qhov Kev Tsim Qauv thiab Kev Ua Haujlwm los ntawm CS310XXX (μ C 101) Cov Ntawv Qhia Qhia Los ntawm A-WIT Technologies, Inc. Hauv qhov kev qhia no, peb yuav pom Lub Teeb Emitting Diode (LED) nrog C Stamp Microcontroller. Cov C & n