Cov txheej txheem:

Panzer VIII Maus Tsav los ntawm Microbit: 4 Kauj Ruam
Panzer VIII Maus Tsav los ntawm Microbit: 4 Kauj Ruam

Video: Panzer VIII Maus Tsav los ntawm Microbit: 4 Kauj Ruam

Video: Panzer VIII Maus Tsav los ntawm Microbit: 4 Kauj Ruam
Video: СУПЕР ТАНК МАУС / Panzerkampfwagen VIII «Maus» 2024, Hlis ntuj nqeg
Anonim
Panzer VIII Maus Tsav los ntawm Microbit
Panzer VIII Maus Tsav los ntawm Microbit

Tinkercad Cov Haujlwm »

Nws yog nyob rau lub semester no uas peb lub tsev kawm ntawv tau muab cov chav kawm tshwj xeeb:

Siv BBC micro: me ntsis txhawm rau ua lub tshuab luam ntawv 3D

Tab sis kuv tsis nyiam tus ncej uas peb tus kws qhia ua rau peb (Koj paub, ntaus "BitCar Micro Bit" hauv Google thiab koj yuav pom ntau yam zoo li ntawd), Kuv xav tau qee yam DIFFERENT !!!

Yog li tsis txhob ua lub log tsheb, Kuv txiav txim siab los ua lub tsheb taug qab (tseem 3D Luam Tawm!)

Thawj daim duab yog yam kuv xav ua.

Txhua qhov luam tawm ntawm cov qauv txav ntawm lub tank German hu ua Maus. (Lub ntiaj teb hnyav tshaj plaws puas tau ua.)

Khoom siv

Kauj Ruam 1 & 2:

Ib tus account Tinkercad

Kauj ruam 3:

  1. 1x (lossis 2x) ntawm BBC micro: me ntsis.
  2. Code Nrog Mu Python Script Editor Los ntawm DFRobot Team. (Drives BBC micro: me ntsis.) (Koj tseem tuaj yeem siv lwm yam los tswj TT Motors yog tias koj paub yuav ua li cas.)

Kauj ruam 4:

  1. Ib Lub Tshuab Luam Ntawv 3D.
  2. 1x (lossis 2x) ntawm BBC micro: me ntsis.
  3. 1x Tsav Tsheb nthuav dav rau BBC micro: me ntsis. (Xws Li Qhov No) (Koj tseem tuaj yeem siv lwm yam los tsav TT Motors yog tias koj paub yuav ua li cas.)
  4. 2x 3V ~ 6V TT Tsav Gearbox. (1:48 Gear Ratio, AKA Hobby Gearmotor hauv Tinkercad, tuaj yeem pom nws hauv Kev Siv Hluav Taws Xob> Cheebtsam hauv kev hloov kho interface) (Ib zaug ntxiv, koj kuj tseem tuaj yeem siv lwm yam los tsav TT Motors yog tias koj paub yuav ua li cas.)

Kauj ruam 1: Nrhiav ib yam dab tsi rau Editing

Nrhiav ib yam dab tsi rau Editing
Nrhiav ib yam dab tsi rau Editing

Kuv pom qee tus qauv 3D Maus hauv cov duab.

Tab sis qee qhov qauv tsim sab nrauv yog ib qho yooj yim heev, thiab cov uas muag muag yog ib thooj, uas yog SUPER nyuaj rau faib txhua feem.

Thaum kawg, Kuv pom ib qho hauv thawj daim duab saum toj no. (Saum Hauv Ntej No Cov Npe)

Nws sab nrauv tsis yooj yim heev, thiab nws tuaj yeem ua pawg tsis tau!

Yog li, kuv siv qhov ntawd ua kuv tus qauv.

Kauj Ruam 2: Cia Tsim Tus Txheej Txheem

Cia Tsim Tus Txheej Txheem!
Cia Tsim Tus Txheej Txheem!
Cia Tsim Tus Txheej Txheem!
Cia Tsim Tus Txheej Txheem!
Cia Tsim Tus Txheej Txheem!
Cia Tsim Tus Txheej Txheem!
Cia Tsim Tus Txheej Txheem!
Cia Tsim Tus Txheej Txheem!

Kauj Ruam Kuv: Shrink N 'Disassemble

Ua kom haum rau lub dav hlau ua haujlwm.

Disassemble txhua yam uas xav tau kev kho.

(Thawj Daim Duab Saum Ntuj Ceeb Tsheej)

Kauj Ruam II: Kev khawb av

Khawb qhov hauv lub turret thiab lub cev kom cov motors tuaj yeem haum rau nws.

(Daim duab thib ob & Thib Peb)

Kauj Ruam III: Kev ncua

Qhov kev ncua hauv daim qauv qub yog coj txawv txawv. (Zoo li Daim Duab Fifth Saum Saum)

The Sixth Pic yog txoj hauv kev ntxiv crossbars mus rau sab laug (thiab tseem sab xis) lub cev.

Yim tus crossbars tag nrho.

Lawv tab tom yuav txuas 8 lub log hauv The Seventh Pic.

Plaub ntawm lub log tau txuas rau qhov thaiv nrog lub qhov ntawm nws txhawm rau txhawm rau TT Motors thiab yuav tsum tau txuas rau sab saud. (Yim Yim Duab)

(Qhov tseeb, yuav tsum tsuas yog 2 ntawm lawv txuas nrog qhov thaiv tab sis kuv tseem xav tias Plaub yog qhov tsim nyog)

Kauj Ruam IV: Taug Kev

Txoj kev sib cais tau muab cais ua ntau qhov me me zoo li Lub Nine Pic.

Kaum Duab Pic yog yuav ua li cas lawv thiaj zoo li: lub log tsheb sib tsoo zoo nyob hauv lawv, thiab lawv tuaj yeem txuas nrog ib tus.

(Muaj ntau txoj hauv kev los txuas lawv, xws li luam tawm ib tus pas nrig thiab ob lub kaus mom sib cais, thiab ua kom tus pas nrig hla lub qhov nruab nrab ntawm cov ntu me me thiab muab lub kaus mom ntawm 2 sab.)

(Kuv nyiam siv ib daim hlau los hla lub qhov thiab khoov nws ob sab (me ntsis zoo li cov ntawv) vim tias lub tshuab luam ntawv tsis raug txaus los luam cov pas me me thiab lub kaus mom thiab kuv tsis xav tau lub kaus mom los ntawm ua li ntawd.)

Kauj ruam V: Export

Export txhua qhov.

(Kuv muab tag nrho cov ntaub ntawv saum toj no, siv nws hloov pauv:))

Peb mam luam tawm lawv tom qab.

---------------------------------------- TINKERCAD DESIGNING ENDS NTAWM NO ------ ----------------------- kev

Kauj Ruam 3: Rau Cov Tsav Tsheb

Hauv theem no, peb yuav siv Mu Python Script Editor los ntawm DFRobot.

(Kev tsis lees paub: Nws tsuas yog ua qauv qhia, tsis yog tshaj tawm.)

(Koj tuaj yeem Tau txais nws los ntawm qhov txuas hauv ntu 'khoom siv'.)

  1. Txuas lub micro: ntsis rau koj lub khoos phis tawj.
  2. Rub tus editor uas kuv hais.
  3. Unzip txhua cov ntaub ntawv kom txog thaum koj pom 'Mu 1.0.1.exe'.
  4. Ob npaug nias kom khiav nws. (Yog tias UAC tshwm sim, tsuas yog nyem yog.)
  5. Tom qab lub installation wizard pop up, ua qhov kev teeb tsa.
  6. Tom qab lub software tau teeb tsa, khiav tus editor.
  7. Xaiv 'Maqueen' hauv lub thawv 'Xaiv Hom'.
  8. Ntaus cov ntawv hauv qab ntu 'Scripts' hauv qab no rau hauv kev kho kom raug.
  9. Txuag cov ntawv koj tau sau ua.py file.
  10. Nyem rau qhov 'nyem' khawm saum toj ntawm kab ntawv kom nyem cov ntaub ntawv mus rau micro: khoom.

ž Cov ntawv sau:

los ntawm microbit ntshuam *

ntshuam xov tooj cua

2I2caddr = 0x10

ž

fdef tsav (directionL, speedL, directionR, speedR):

f cov = bytearray (5)

ž buf [0] = 0x00

ž buf [1] = cov

ž buf [2] = speedL

ž buf [3] = directionR

ž buf [4] = speedR

ž i2c.write (I2caddr, buf)

ž xov tooj cua.on ()

žradio.config (channel = 01)

ž Thaum Muaj Tseeb:

ž yog button_a.was_pressed ():

ž xov tooj cua.send ('A')

ž yog tias button_b.was_pressed ()

ž xov tooj cua.send ('B')

ž msg = xov tooj cua.receive ()

ž yog tias msg tsis yog Tsis muaj:

ž yog msg == A:

ž lub cev muaj zog (0, 255, 0, 0) # sab laug lub cev rau pem hauv ntej thiab sab laug lub cev muaj zog nrawm = 255, (1, 255, 0, 0) rau sab laug lub cev muaj zog rov qab

ž pw tsaug zog (1000)

ž yog msg == B:

ž lub cev muaj zog (0, 0, 0, 255) #ncaj lub cev rau pem hauv ntej thiab txoj cai lub cev muaj zog = 255

ž pw tsaug zog (1000)

Kauj Ruam 4: Luam tawm, Sib sau ua ke thiab Ua kom nws ua haujlwm

Luam tawm, Sib sau ua ke thiab ua kom nws ua haujlwm!
Luam tawm, Sib sau ua ke thiab ua kom nws ua haujlwm!

(Kuv tsis muaj cov duab rau ib yam khoom tiag kuv tau luam tawm hauv cov kauj ruam no vim tsuas yog kuv tus kws qhia ntawv muaj lub tshuab luam ntawv 3D, thiab nws yog caij so rau lub caij ntuj sov hauv Taiwan - tsis muaj kev cuam tshuam nrog kev koom tes ntawm no:))

1. Xa cov khoom peb yuav luam mus rau lub tshuab luam ntawv 3D.

(Google koj tus kheej, nws nyob ntawm seb koj muaj lub tshuab luam ntawv twg)

2. Luam tawm lawv.

3. Kho peb ntu ntawm lub cev ib yam li daim duab saum toj no. Tsis txhob muab lawv tam sim no.

4. Muab lub log tso rau ntawm tus ntoo khaub lig. Nco ntsoov, cov uas muaj cov thaiv yuav tsum sib haum rau sab saud.

Txuas txhua qhov chaw khiav, muab tso rau lub log kom nws zoo li lub tsheb taug qab tiag.

5. Muab TT Motors tso rau hauv lub cev, thiab ntxig lawv cov ncej (uas yog cov pas nrig dawb) rau hauv qhov thaiv (cov duab plaub) ntawm lub log sab saud. Tom qab ntawd ua kom nws raug kho ntawm lub cev (Zoo li daim duab saum toj no, siv kua nplaum lossis kab xev)

6. Txuas lub cav mus rau lub rooj tsav tsheb thiab lub rooj tsav tsheb rau ib qho ntawm micro: cov khoom me me. Xyuas kom koj muaj hluav taws xob txaus rau txhua qhov khoom siv, thiab txaus siab rau koj lub sijhawm ua si lub tank tswj chaw taws teeb no!

(Yuav ua li cas tswj: nias khawm A kom tig sab xis, khawm B kom tig sab laug, nias ob qho tib si kom ncaj ncaj)

Pom zoo: