12/30/12

NXT 2.0 Instructions Categories BASH C Celestial Lego Various

Contact Home Search

LEGO Mindstorms NXT 2.0 instructions
Instructions for building the Shooterbot, Robogator, Color Sorter, and Alpha Rex.

Table of contents
Introduction Programming the NXT with Linux Compiling an NXC program Shooterbot 1. Driving base Building guide 2. Color detection Building guide 3. Shooter Building guide 4. Locate objects Building guide Robogator 1. Jaws Building guide 2. Eyes Building guide 3. Legs Building guide 4. Tail Building guide Color Sorter 1. Dispenser Building guide 2. Color detector Building guide 3. Sorting tray Building guide 4. Color catapult Building guide Alpha Rex 1. Legs Building guide 2. Arms Building guide 3. Head Building guide 4. Color sensor Building guide

Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide Programming guide

Test guide Test guide Test guide Test guide Test guide Test guide Test guide Test guide Test guide Test guide Test guide Test guide Test guide Test guide Test guide Test guide

Introduction
The instructions for building the four main LEGO Mindstorms NXT 2.0 models are distributed only on software that does not support Linux. The instructions are reproduced here. Programming the NXT with Linux The accompanying programs supplied here are written in NXC. NXC is a simple C-like programming language supported by NBC. NBC allows you to write NXT programs and download them to the NXT. This configuration guide for NBC on Linux is useful. Compiling an NXC program A typical command to compile and download an NXC program by USB would be

nc- -=s flnm.x b d Sub ieaenc

Shooterbot
Can you build and program a Shooterbot to guard your room while you are away? 1. Driving base
Building guide
arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 1/237

12/30/12

NXT 2.0 Instructions

Can you build a Shooterbot to move forward and then move back again?

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

2/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

3/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

4/237

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 5/237 .co.12/30/12 NXT 2.

uk/lego/nxt_2_instructions/#robogator_jaws_program 6/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.co.

co.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 7/237 .0 Instructions arbitrarycreations.

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

8/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

9/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

10/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

11/237

nw OTB 7) at 20) / Rvrea 7%pwrfr2scns / ees t 5 oe o eod ORv(U_C.5.12/30/12 NXT 2.Wi (00.Wi (00.uk/lego/nxt_2_instructions/#robogator_jaws_program } 12/237 .co.x / hoebt1nc / Mv fradadte rvre / oe owr n hn ees.5. f OTB) arbitrarycreations. ne OTB 7) at 20) / Bae / rk Of(U_C. ts mi ( ak an ) { / Mv frada 7%pwrfr2scns / oe owr t 5 oe o eod OFd(U_C.0 Instructions Programming guide Can you program a Shooterbot to move forward on the test pad and then move in reverse to its start position? / sotro_.

co. 2. Color detection Building guide Can you build a Shooterbot to test colors on the test pad? arbitrarycreations.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 13/237 . Place the Shooterbot on the test pad and run the program.0 Instructions } Test guide Download your program.

t.0 Instructions Programming guide Can you program a Shooterbot to move forward. turn around.tr aon.uk/lego/nxt_2_instructions/#robogator_jaws_program / Bigteclrsno o-ie / rn h oo esr nln 14/237 . og 0 1 arbitrarycreations. and then move back to its start position? / sotro_. find the red line. / oiin / Ajs ti nme t si yu srae/bteypwr / dut hs ubr o ut or ufc atr oe #eieTR_IE15 dfn UNTM 70 ts mi ( ak an ) { ln t.x / hoebt2nc / Mv fradt terdln.admv bc t tesat / oe owr o h e ie un rud n oe ak o h tr / psto.co.12/30/12 NXT 2.

7) Wi (UNTM) Of(U_C.co. at TR_IE.0 Instructions / Bigteclrsno o-ie / rn h oo esr nln StesrooFl (3.12/30/12 NXT 2. 3. nw OTC 5. t =Cretik(.7) ORv(U_. Shooter Building guide Can you build the Shooterbot to shoot balls at objects? You will have to build the shooter on the front of your Shooterbot. 0 urnTc ) / Mv fradt terdln / oe owr o h e ie OFd(U_C. nw OTB 7) at t 0. ne OTB 5. Place the Shooterbot on the test pad and run the program.5.5.Wi (1-t) Of(U_C. arbitrarycreations. f OTB) / Tr 10dgest tergt / un 8 ere o h ih OFd(U_./ Rcr tetm we tefradmvmn fnse 1 urnTc ) / eod h ie hn h owr oeet iihs Of(U_C.uk/lego/nxt_2_instructions/#robogator_jaws_program 15/237 . f OTB) / Mv bc t tesat / oe ak o h tr OFd(U_C. nw OTB 7) utl(NU_ECLR= SNO_) ni IPTRDOO = ESR3. f OTB) } Test guide Download your program. eSnoClrul S) / Rcr tetm we tefradmvmn sat / eod h ie hn h owr oeet trs t =Cretik(.

co.12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 16/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 17/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

0 Instructions arbitrarycreations.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 18/237 .co.

uk/lego/nxt_2_instructions/#robogator_jaws_program 19/237 .0 Instructions arbitrarycreations.co.12/30/12 NXT 2.

.

uk/lego/nxt_2_instructions/#robogator_jaws_program 21/237 .0 Instructions arbitrarycreations.co.12/30/12 NXT 2.

Wi (LS_UAIN. e_lse = 0 e_lse+) { StesrooRd (N3.co.Wi (LS_UAIN.Wi (LS_UAIN/2. re. ts fahn_ihs( ak lsiglgt ) { itrdfahs n e_lse.0 Instructions Programming guide Can you program Shooterbot to drive around and shoot while showing different colored lights? / sotro_.rdfahs+ o rdfahs .x / hoebt3nc / Dieaon adsotwiesoigdfeetclrdlgt. bo fr =fle ol ie as.12/30/12 NXT 2. n le ap StesrooRd (N3.Wi (LS_UAIN. wie(ult_eann >0 hl blesrmiig ) { / Atraebtenterd gen adbu lms / lent ewe h e. eSnoClroe I_) at FAHDRTO ) } / So teporm / tp h rga SoAlak (. eSnoClre I_) at FAHDRTO ) StesrooNn (N3. tplTss ) } ts sot( ak ho ) { wie(re hl tu) { / Cekwehrt fr able / hc hte o ie ult i (re= fr) f tu = ie { / Rstte'ieable'fa t fle / ee h fr ult lg o as fr =fle ie as.uk/lego/nxt_2_instructions/#robogator_jaws_program 22/237 . eSnoClrre I_) at FAHDRTO) StesrooBu (N3. / rv rud n ho hl hwn ifrn ooe ihs #eieBLES7 dfn ULT #eieFAHDRTO 30 dfn LS_UAIN 0 #eieTR_IE30 dfn UNTM 00 itblesrmiig=BLES n ult_eann ULT. arbitrarycreations. eSnoClre I_) at FAHDRTO) StesrooGen(N3. eSnoClrle I_) at FAHDRTO) } / Idct ta n blesrmi / niae ht o ult ean fr(e_lse =1 rdfahs< 1.Wi (LS_UAIN/2.

arbitrarycreations. f OTB) Wi (00.co. at 10) fr =tu. } } } ts mv ( ak oe ) { wie(ult_eann >0 hl blesrmiig ) { / D arno tr / o adm un i ( = Rno () f 0 = adm 2) { / Lf tr / et un OFd(U_.7.7) ORv(U_. at Rno TR_IE) Of(U_C. as.30 0 fle tu) oaeooE OTA 5 6. ne OTC 5. . at 10) } es le { / Rgttr / ih un OFd(U_. } Test guide Download the program. Place the Shooterbot in the middle of the test pad and run the program.0 Instructions / Dceettenme o blesrmiig / ermn h ubr f ult eann blesrmiigult_eann-.7) ORv(U_. f OTB) Wi (00. Locate objects Building guide Can you build the Shooterbot to protect your room? You will have to add the Ultrasonic Sensor to your Shooterbot. 4. ie re Wi (00. re. Wi (adm(UNTM). oe.mk mtrAd asnl 30dge rtto / o ie ae oo o ige 6 ere oain RttMtrx(U_. at Rno TR_IE) Of(U_C.7) nw OTB 5. / T fr.12/30/12 NXT 2. at 10) } } } ts mi ( ak an ) { / Mk teetsseeuesmlaeul atrmi ( i fnse / ae hs ak xct iutnosy fe an ) s iihd Peee (lsiglgt. Wi (adm(UNTM). ie re Wi (00. ne OTB 5.7) nw OTC 5.sot mv) rcds fahn_ihs ho. at 10) fr =tu.uk/lego/nxt_2_instructions/#robogator_jaws_program 23/237 .

hn ann ih n hn ho f / teojc de ntmv aa.pwr. dfn tr_unn(oe) nw OTC oe) ne OTB oe) arbitrarycreations.0 Instructions Programming guide Can you program the Shooterbot to scan your room and detect objects? If an object is closer than 40cm.ORv(U_. / sotro_.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program ts mi ( ak an ) 24/237 .x / hoebt4nc / I a ojc i t coe sieawriglgtadte soti / f n bet s o ls.co.pwr. the Shooterbot should shine a warning light and then shoot if the object does not move away. / h bet os o oe wy #eieBLES7 dfn ULT #eieFAHDRTO 20 dfn LS_UAIN 0 #eieTRSOD4 dfn HEHL 0 #eieWRIGTM 40 dfn ANN_IE 00 #eiesattrigpwr OFd(U_.

Jaws Building guide Can you build a robot with jaws that open and close? arbitrarycreations. eSnoClre S) at FAHDRTO) } i (esrS(4 <TRSOD f SnoU S) HEHL) { blesrmiigult_eann-.tu) etu 8 C_IE./ Sa frcoeojcs ni SnoU S) HEHL) / cn o ls bet Of(U_C.uk/lego/nxt_2_instructions/#robogator_jaws_program 25/237 ./ So trig f OTB) / tp unn TxOt(. / ho Wi (00. at 70) SoAlak (. RttMtrx(U_.co. re.Wi (LS_UAIN. Robogator Can you build and program a Robogator that attacks objects and protects its territory? 1. Stesrosed(4.Wi (LS_UAIN. Place the Shooterbot in the middle of the test pad and run the program.LDLN4 "U O BLES./ Sttelm t so alcer eSnoClrre S) / e h ap o hw l-la wie(ult_eann >0 hl blesrmiig ) { sattrig(0. . eSnoClroe S) at FAHDRTO) StesrooRd (3./ So teporm tplTss ) / tp h rga } Test guide Download the program./ Sttelm t so alcer eSnoClrre S) / e h ap o hw l-la } Of(U_C.30 0 fle tu) / Sot oaeooE OTA 5 6.12/30/12 NXT 2. OT F ULT" re./ So trig f OTB) / tp unn t =Cretik(. 0 urnTc ) wie(Cretik( -t)<WRIGTM) hl (urnTc ) 0 ANN_IE {/ Ei tewrig-afahn rdlm / mt h ann lsig e ap StesrooNn (3./ Bigteutaoi sno o-ie eSnoLwpe S) / rn h lrsnc esr nln StesrooGen(3. Wi (00./ Gv mtrAtm t sot at 10) / ie oo ie o ho } StesrooGen(3. tr_unn 5) utl(esrS(4 <TRSOD. as.7.0 Instructions ts mi ( ak an ) { ln t. og 0 itblesrmiig=BLES n ult_eann ULT.

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 26/237 .12/30/12 NXT 2.

12/30/12 NXT 2.co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 27/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 28/237 .co.0 Instructions arbitrarycreations.12/30/12 NXT 2.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 29/237 .co.12/30/12 NXT 2.

12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 30/237 .0 Instructions arbitrarycreations.

.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 32/237 .0 Instructions arbitrarycreations.co.

uk/lego/nxt_2_instructions/#robogator_jaws_program 33/237 .co.0 Instructions arbitrarycreations.12/30/12 NXT 2.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 34/237 .12/30/12 NXT 2.co.

x / Oe adcoetejw / pn n ls h as / Sml temtrrtto sedeeyti nme o mlieod / ape h oo oain pe vr hs ubr f ilscns #eieRTTO_APERSLTO 5 dfn OAINSML_EOUIN 0 / Teapoiae'ere prscn'rtto o mtrA / h prxmt dges e eod oain f oo ln dsa=0 og p_ . r__. / r = oo oain on usge ln ta0 ta1 nind og __. ts mtrsedmntr( ak oo_pe_oio ) { ln mca0 mca1 / mc= mtrrtto cut og r__.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 35/237 . __. arbitrarycreations.12/30/12 NXT 2.0 Instructions Programming guide Can you program your robot to open and close its jaws? / rbgtr1nc / ooao_.

oo_pe_oio) } Test guide Download and run the program.4) Wi (0) / Wi >RTTO_APERSLTO nw OTA 0. __ urnTc ) / Cluaeteaeaertto rt oe ta tm itra / aclt h vrg oain ae vr ht ie nevl dsa=(mca1-mca0 *10)/(__ -ta0.co./ Wi utltejw hv oee adaepatclysil ni 1 p_) / at ni h as ae pnd n r rcial tl Of(U_) f OTA./ Rvrerttosaengtv ni -0 p_) / ees oain r eaie Of(U_) f OTA. __ urnTc ) Wi (OAINSML_EOUIN. } } ts mi ( ak an ) { Peee (ie mtrsedmntr. utl(1 <dsa. at 10.uk/lego/nxt_2_instructions/#robogator_jaws_program 36/237 . p_ (r__ r__) 00 ta1 __) } } ts bt ( ak ie ) { wie(re hl tu) { / Asm tejw aecoe t bgnwt -oe te / sue h as r lsd o ei ih pn hm OFd(U_. r__ ooRttoCut OTA. Your Robogator jaws should open and close. Eyes Building guide Can you make your Robogator see objects and attack them if they get too close? arbitrarycreations. r__ ooRttoCut OTA. / Coetejw / ls h as ORv(U_.12/30/12 NXT 2.0 Instructions wie(re hl tu) { / Rcr tertto cutadtetm / eod h oain on n h ie mca0=Mtroainon (U_) ta0=Cretik(. / at OAINSML_EOUIN utl(0>dsa. at 10. eod h oain on n h ie mca1=Mtroainon (U_) ta1=Cretik(.4) Wi (0) ne OTA 0. at RTTO_APERSLTO) / Aan rcr tertto cutadtetm / gi. 2. rcds bt.

uk/lego/nxt_2_instructions/#robogator_jaws_program 37/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

12/30/12 NXT 2.0 Instructions Programming guide Can you program your robot to bite when objects get too close? / rbgtr2nc / ooao_.uk/lego/nxt_2_instructions/#robogator_jaws_program { 38/237 .x / Oe adcoetejw we ojcsaecoe / pn n ls h as hn bet r ls / Sml temtrrtto sedeeyti nme o mlieod / ape h oo oain pe vr hs ubr f ilscns #eieRTTO_APERSLTO 5 dfn OAINSML_EOUIN 0 / Bt ojcswihcm coe ta ti / ie bet hc oe lsr hn hs #eieTRSOD4 dfn HEHL 0 / Teapoiae'ere prscn'rtto o mtrA / h prxmt dges e eod oain f oo ln dsa=0 og p_ . ts mtrsedmntr( ak oo_pe_oio ) arbitrarycreations.co.

/ r = oo oain on usge ln ta0 ta1 nind og __. utl(1 <dsa.0 Instructions { ln mca0 mca1 / mc= mtrrtto cut og r__. The Robogator's jaws should start biting./ Sa frcoeojcs ni SnoU S) HEHL) / cn o ls bet / Asm tejw aecoe t bgnwt -oe te / sue h as r lsd o ei ih pn hm OFd(U_. rcds bt. at 10. wie(re hl tu) { mca0=Mtroainon (U_) ta0=Cretik(.12/30/12 NXT 2. / Coetejw / ls h as ORv(U_.uk/lego/nxt_2_instructions/#robogator_jaws_program 39/237 . Move your hand towards the Robogator's eyes. 3./ Rvrerttosaengtv ni -0 p_) / ees oain r eaie Of(U_) f OTA. __./ Bigteutaoi sno o-ie eSnoLwpe S) / rn h lrsnc esr nln wie(re hl tu) { utl(esrS(4 <TRSOD. r__. r__ ooRttoCut OTA. Move your hand away and the Robogator should stop biting. Legs Building guide Can you build a robot that can walk? arbitrarycreations.4) Wi (0) / Wi >RTTO_APERSLTO nw OTA 0.4) Wi (0) ne OTA 0. / at OAINSML_EOUIN utl(0>dsa. __ urnTc ) dsa=(mca1-mca0 *10)/(__ -ta0. __ urnTc ) Wi (OAINSML_EOUIN. oo_pe_oio) } Test guide Download and run the program. p_ (r__ r__) 00 ta1 __) } } ts bt ( ak ie ) { Stesrosed(4. } } ts mi ( ak an ) { Peee (ie mtrsedmntr. at 10. r__ ooRttoCut OTA./ Wi utltemtrsos ni 1 p_) / at ni h oo tp Of(U_) f OTA.co. at RTTO_APERSLTO) mca1=Mtroainon (U_) ta1=Cretik(.

.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 41/237 .co.0 Instructions arbitrarycreations.

co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 42/237 .12/30/12 NXT 2.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 43/237 .12/30/12 NXT 2.co.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 44/237 .co.0 Instructions arbitrarycreations.

12/30/12 NXT 2.0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 45/237 .

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 46/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 47/237 .co.12/30/12 NXT 2.

uk/lego/nxt_2_instructions/#robogator_jaws_program 48/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.co.

12/30/12 NXT 2.co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 49/237 .

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 50/237 .0 Instructions arbitrarycreations.co.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 51/237 .co.12/30/12 NXT 2.

uk/lego/nxt_2_instructions/#robogator_jaws_program 52/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.co.

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 53/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.

0 Instructions arbitrarycreations.co.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 54/237 .

co.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 55/237 .0 Instructions arbitrarycreations.

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 56/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.

0 Instructions arbitrarycreations.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 57/237 .co.

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 58/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.

0 Instructions arbitrarycreations.12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 59/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 60/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 61/237 .co.0 Instructions arbitrarycreations.

0 Instructions arbitrarycreations.12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 62/237 .

.

0 Instructions arbitrarycreations.co.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 64/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 65/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

.

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 67/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

68/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

69/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

70/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

71/237

12/30/12

NXT 2.0 Instructions

Programming guide

Can you program the Robogator to walk forward and start biting when objects get too close?
/ rbgtr3nc / ooao_.x / Oe adcoetejw adwl fradwe ojcsaecoe / pn n ls h as n ak owr hn bet r ls / Sml temtrrtto sedeeyti nme o mlieod / ape h oo oain pe vr hs ubr f ilscns #eieRTTO_APERSLTO 5 dfn OAINSML_EOUIN 0 / Bt ojcswihcm coe ta ti / ie bet hc oe lsr hn hs #eieTRSOD4 dfn HEHL 0 / Wl fradfru t ti mn seswe a ojc i coe / ak owr o p o hs ay tp hn n bet s ls #eieMXSESFRAD3 dfn A_TP_OWR / Teapoiae'ere prscn'rtto o mtrA / h prxmt dges e eod oain f oo ln dsa=0 og p_ ; ts mtrsedmntr( ak oo_pe_oio ) { ln mca0 mca1 / mc= mtrrtto cut og r__, r__; / r = oo oain on usge ln ta0 ta1 nind og __, __; wie(re hl tu) { mca0=Mtroainon (U_) ta0=Cretik(; r__ ooRttoCut OTA; __ urnTc ) Wi (OAINSML_EOUIN; at RTTO_APERSLTO) mca1=Mtroainon (U_) ta1=Cretik(; r__ ooRttoCut OTA; __ urnTc ) dsa=(mca1-mca0 *10)/(__ -ta0; p_ (r__ r__) 00 ta1 __) } } ts bt ( ak ie ) { wie(re hl tu) { utl(esrS(4 <TRSOD;/ Sa frcoeojcs ni SnoU S) HEHL) / cn o ls bet / Asm tejw aecoe t bgnwt / sue h as r lsd o ei ih OFd(U_,4) Wi (0) / Wi >RTTO_APERSLTO nw OTA 0; at 10; / at OAINSML_EOUIN utl(0>dsa;/ Wi utltemtrsos ni 1 p_) / at ni h oo tp Of(U_) f OTA; ORv(U_,4) Wi (0) ne OTA 0; at 10;

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

72/237

12/30/12

NXT 2.0 Instructions

ORv(U_,4) Wi (0) ne OTA 0; at 10; utl(1 <dsa;/ Rvrerttosaengtv ni -0 p_) / ees oain r eaie Of(U_) f OTA; } } ts wl ( ak ak ) { itses n tp; wie(re hl tu) { utl(esrS(4 <TRSOD;/ Sa frcoeojcs ni SnoU S) HEHL) / cn o ls bet / Wl fradwiea ojc i coe / ak owr hl n bet s ls ses=0 tp ; wie(esrS(4 <TRSOD& ses<MXSESFRAD hl SnoU S) HEHL & tp A_TP_OWR) { RttMtrx(U_C -0,30 0 tu,tu) oaeooE OTB, 10 6, , re re; ses+ 1 tp = ; } } } ts mi ( ak an ) { Stesrosed(4;/ Bigteutaoi sno o-ie eSnoLwpe S) / rn h lrsnc esr nln Peee (ie mtrsedmntr wl) rcds bt, oo_pe_oio, ak; }

Test guide

Download the program. Place your alligator on the test pad and run the program. 4. Tail
Building guide

Can you build the tail and add sensors to the Robogator so it knows where its legs are?

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

73/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

74/237

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 75/237 .co.0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 76/237 .co.12/30/12 NXT 2.0 Instructions arbitrarycreations.

12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 77/237 .0 Instructions arbitrarycreations.

12/30/12 NXT 2.co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 78/237 .

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 79/237 .0 Instructions arbitrarycreations.co.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 80/237 .12/30/12 NXT 2.co.

/ adte mv bc / n hn oe ak / Sml temtrrtto sedeeyti nme o mlieod / ape h oo oain pe vr hs ubr f ilscns #eieRTTO_APERSLTO 5 dfn OAINSML_EOUIN 0 / Bt ojcswihcm coe ta ti / ie bet hc oe lsr hn hs #eieTRSOD6 dfn HEHL 0 / Wl fradfru t ti mn seswe a ojc i coe / ak owr o p o hs ay tp hn n bet s ls #eieMXSESFRAD3 dfn A_TP_OWR arbitrarycreations.wl frad / hn n bet s ls: pn n ls h as ak owr.x / We a ojc i coe oe adcoetejw.0 Instructions Programming guide Can you program Robogator to protect its territory: lunge forward. and crawl back? / rbgtr4nc / ooao_.uk/lego/nxt_2_instructions/#robogator_jaws_program / Teapoiae'ere prscn'rtto o mtrA / h prxmt dges e eod oain f oo 81/237 . bite.co.12/30/12 NXT 2.

tu) oaeooE OTB. 10 6. OFd(U_.4) f OTC. at 10. ts mtrsedmntr( ak oo_pe_oio ) { ln mca0 mca1 / mc= mtrrtto cut og r__. oaeoo OTC 10 5.12/30/12 NXT 2. Of(U_) RttMtr(U_. wie(esrS(4 <TRSOD& ses<MXSESFRAD hl SnoU S) HEHL & tp A_TP_OWR) { RttMtrx(U_C -0./ Wi utltemtrsos ni 1 p_) / at ni h oo tp Of(U_) f OTA.1 tp = . utl(1 <dsa. / r = oo oain on usge ln ta0 ta1 nind og __. } / Wl bc t teoiia psto / ak ak o h rgnl oiin Wi (00. ORv(U_. eSnoTuh S) arbitrarycreations. __ urnTc ) dsa=(mca1-mca0 *10)/(__ -ta0. re re. utl( = SNO_) ni 1 = ESR2. .4) f OTB.4) Wi (0) ne OTA 0. ses+ 1 tp = .-0. . re re. __ urnTc ) Wi (OAINSML_EOUIN. } } } ts mi ( ak an ) { Stesrosed(4. utl( = SNO_) ni 1 = ESR1./ Rvrerttosaengtv ni -0 p_) / ees oain r eaie Of(U_) f OTA. ses. oaeoo OTB 10 5. __. r__ ooRttoCut OTA. / at OAINSML_EOUIN utl(0>dsa.0 Instructions / Teapoiae'ere prscn'rtto o mtrA / h prxmt dges e eod oain f oo ln dsa=0 og p_ .-0. 0 6.co.-0) nw OTB 10. wie(re hl tu) { / Wl fradwiea ojc i coe / ak owr hl n bet s ls ses=0 tp . wie(re hl tu) { mca0=Mtroainon (U_) ta0=Cretik(./ Bigteutaoi sno o-ie eSnoLwpe S) / rn h lrsnc esr nln Stesroc (1. r__ ooRttoCut OTA.4) Wi (0) / Wi >RTTO_APERSLTO nw OTA 0. } } ts wl ( ak ak ) { iti ses n . at 10) wie(tp >0 hl ses ) { RttMtrx(U_C 9.uk/lego/nxt_2_instructions/#robogator_jaws_program 82/237 . at RTTO_APERSLTO) mca1=Mtroainon (U_) ta1=Cretik(./ Bigtetuhsnoso-ie eSnoTuh S) / rn h oc esr nln Stesroc (2. / Uetetuhsnost aintelg iiily / s h oc esr o lg h es ntal OFd(U_. r__./ Sa frcoeojcs ni SnoU S) HEHL) / cn o ls bet / Asm tejw aecoe t bgnwt / sue h as r lsd o ei ih OFd(U_.-0) nw OTC 10.30 0 tu. tp. Of(U_) RttMtr(U_. p_ (r__ r__) 00 ta1 __) } } ts bt ( ak ie ) { wie(re hl tu) { utl(esrS(4 <TRSOD.tu) oaeooE OTB.30 0 tu. at 10.

ak. Color Sorter Can you build and program the Color Sorter to sort balls by color? 1.uk/lego/nxt_2_instructions/#robogator_jaws_program 83/237 .co. } Test guide Download the program. oo_pe_oio.0 Instructions Peee (ie mtrsedmntr wl) rcds bt. Dispenser Building guide Can you build a dispenser that separates balls one by one? arbitrarycreations. Place Robogator on the test pad and run the program.12/30/12 NXT 2.

co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 84/237 .12/30/12 NXT 2.

12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 85/237 .co.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 86/237 .12/30/12 NXT 2.co.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 87/237 .co.12/30/12 NXT 2.

.

.

12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 90/237 .0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 91/237 .0 Instructions arbitrarycreations.co.12/30/12 NXT 2.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 92/237 .co.0 Instructions arbitrarycreations.

co.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 93/237 .0 Instructions arbitrarycreations.

.

co.0 Instructions arbitrarycreations.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 95/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 96/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.co.

12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 97/237 .co.

uk/lego/nxt_2_instructions/#robogator_jaws_program 98/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 99/237 .co.12/30/12 NXT 2.0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 100/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 101/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.

0 Instructions arbitrarycreations.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 102/237 .co.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 103/237 .12/30/12 NXT 2.co.

uk/lego/nxt_2_instructions/#robogator_jaws_program 104/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 105/237 .12/30/12 NXT 2.

12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 106/237 .co.

12/30/12 NXT 2.co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 107/237 .

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 108/237 .12/30/12 NXT 2.

0 Instructions arbitrarycreations.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 109/237 .co.

12/30/12 NXT 2.co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 110/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 111/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.co.

12/30/12 NXT 2.co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 112/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 113/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.co.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 114/237 .0 Instructions arbitrarycreations.co.

co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 115/237 .12/30/12 NXT 2.

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 116/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.

12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 117/237 .0 Instructions arbitrarycreations.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 118/237 .co.12/30/12 NXT 2.

12/30/12 NXT 2.0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 119/237 .

12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 120/237 .co.

0 Instructions arbitrarycreations.12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 121/237 .

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 122/237 .12/30/12 NXT 2.

12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 123/237 .co.

0 Instructions arbitrarycreations.12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 124/237 .

co.12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 125/237 .

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 126/237 .co.12/30/12 NXT 2.

0 Instructions arbitrarycreations.12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 127/237 .

.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 129/237 .0 Instructions arbitrarycreations.co.

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 130/237 .12/30/12 NXT 2.

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 131/237 .12/30/12 NXT 2.

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 132/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.

0 Instructions arbitrarycreations.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 133/237 .co.

co. utl( = SNO_) ni 1 = ESR1. ipnebl ) } } Test guide arbitrarycreations.0 Instructions Programming guide Can you program the dispenser to tilt and dispense one ball at a time? / clrotr1nc / oosre_. Of(U_) f OTB.8) ne OTB 0.12/30/12 NXT 2. at 10) } / Dses oebl / ipne n al vi dses_al( od ipnebl ) { rstdsesr(.6. at 10) } ts mi ( ak an ) { iti n .uk/lego/nxt_2_instructions/#robogator_jaws_program 134/237 . oaeoo OTB 0 2) Wi (00. / Bigtetligmcaimstuhsno o-ie / rn h itn ehns' oc esr nln Stesroc (1. wie(+ <BLS hl i+ AL) { dses_al(.70.x / Dses oebl a atm / ipne n al t ie / Tenme o blst b sre / h ubr f al o e otd #eieBLS4 dfn AL / Gttedsesri asadr psto / e h ipne n tnad oiin vi rstdsesr( od ee_ipne ) { ORv(U_. ee_ipne ) RttMtr(U_. eSnoTuh S) i=0 . Wi (00.

uk/lego/nxt_2_instructions/#robogator_jaws_program 135/237 . Color detector Building guide Can you build a color detector that can recognise the different ball colors? arbitrarycreations.0 Instructions Download your program. 2. Place the Color Sorter in the middle of the test pad.12/30/12 NXT 2.co. Put a couple of balls in the dispenser and run the program.

uk/lego/nxt_2_instructions/#robogator_jaws_program 136/237 .0 Instructions arbitrarycreations.co.12/30/12 NXT 2.

at 10) arbitrarycreations.x / Dses oebl a atm -dslyteclro ec bl / ipne n al t ie ipa h oo f ah al / Tenme o blst b sre / h ubr f al o e otd #eieBLS4 dfn AL / Gttedsesri asadr psto / e h ipne n tnad oiin vi rstdsesr( od ee_ipne ) { ORv(U_.co.0 Instructions Programming guide Can you make a program that can tell the difference between the colors of the balls? / clrotr2nc / oosre_.8) ne OTB 0.12/30/12 NXT 2. Of(U_) f OTB. Wi (00. utl( = SNO_) ni 1 = ESR1.uk/lego/nxt_2_instructions/#robogator_jaws_program } 137/237 .

oaeoo OTB 0 6) Wi (00. alclr BU" bek ra. bek ra. C_IE. odbl ) so_oo (. re. tig alclr " sic (ESR3 wth SNO_) { cs IPTBUCLR ae NU_LEOO: bl_oo ="LE. } / So tebl clr / hw h al oo TxOt(0 LDLN3 bl_oo. alclr re. uOt 5. cs IPTYLOCLR ae NU_ELWOO: bl_oo ="ELW.30. at 10) } vi dses_al( od ipnebl ) { RttMtr(U_. 3. Run the program. AL i1) rstdsesr(. Bls eann: .LDLN1 "al rmiig " tu) etu 0 C_IE. ee_ipne ) la_al(.tu) etu 3. Place the Color Sorter in the middle of the test pad. at 10) } vi so_oo ( od hwclr ) { srn bl_oo =". C_IE. eSnoTuh S) / Bigteclrsno o-ie / rn h oo esr nln StesrooFl (3. alclr NN" bek ra.6. Nmu (0 LDLN3 BLS-(-). bek ra. cs IPTGENOO: ae NU_RECLR bl_oo ="RE" alclr GEN. hwclr ) dses_al(. Sorting tray . dfut eal: bl_oo ="OE.6. eSnoClrul S) i=0 . wie(+ <BLS hl i+ AL) { / So tenme o blslf t sr / hw h ubr f al et o ot TxOt(. cs IPTRDOO: ae NU_ECLR bl_oo ="E" alclr RD. alclr YLO" bek ra. Wi (00. at 10) } ts mi ( ak an ) { iti n .30.} / Gtabl it tedsesrso / e al no h ipne lt vi la_al( od odbl ) { RttMtr(U_. oaeoo OTB 0 6) Wi (00. ipnebl ) } } Test guide Download your program. / Bigtetligmcaimstuhsno o-ie / rn h itn ehns' oc esr nln Stesroc (1.

Building guide Can you build a sorting tray that allows the Color Sorter to sort the four different colored balls into their own basket? .

co.12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 140/237 .

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 141/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.

12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 142/237 .0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 143/237 .0 Instructions arbitrarycreations.co.12/30/12 NXT 2.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 144/237 .co.0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 145/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.co.

uk/lego/nxt_2_instructions/#robogator_jaws_program 146/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

at 20) 147/237 .0 Instructions Programming guide Can you program the sorting tray to spin around and place balls of the same color in the same basket? / clrotr3nc / oosre_.x / Paeblso tesm clri tesm bse / lc al f h ae oo n h ae akt / Asm teeaen blsrmiigatrti nme o rtis / sue hr r o al eann fe hs ubr f ere #eieRTIS2 dfn ERE / Rsttedsesn ta adtebse we teeaestt tu / ee h ipnig ry n h akt hn hs r e o re bo rstdsesrfa =fle ol ee_ipne_lg as. bo rstbse_lg=fle ol ee_aktfa as.co. / Gtabl it tedsesrso / e al no h ipne lt vi la_al( od odbl ) { arbitrarycreations.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program Wi (00.

0.40. C_IE. } vi dses_al( od ipnebl ) { RttMtr(U_. eun alclr } vi ainbse (tigbl_oo) od lg_akt srn alclr { / RD YLO. alclr NN" bek ra.9) oaeoo OTC 0 0. } } } ts rstbse ( ak ee_akt ) { wie(re hl tu) arbitrarycreations. 0) Wi (0) at 50. oaeoo OTC 0 8) }lei (alclr= "LE){ es f bl_oo = BU" RttMtr(U_.8) ne OTB 0.-0 40.-0 30. rtr bl_oo.3. ELW RE. tig alclr " sic (ESR3 wth SNO_) { cs IPTBUCLR ae NU_LEOO: bl_oo ="LE.GEN BU / E.9. bek ra. LE i (alclr= "ELW){ f bl_oo = YLO" RttMtr(U_. } } / Gttedsesri asadr psto / e h ipne n tnad oiin ts rstdsesr( ak ee_ipne ) { wie(re hl tu) { i (re= rstdsesrfa) f tu = ee_ipne_lg { / Gttedsesrit asadr psto uigtetuhsno / e h ipne no tnad oiin sn h oc esr ORv(U_.12/30/12 NXT 2. oaeoo OTB 0 0) RttMtr(U_. Wi (0) at 50. oaeoo OTB 9.10. rstdsesrfa =fle ee_ipne_lg as. cs IPTGENOO: ae NU_RECLR bl_oo ="RE" alclr GEN. at 10) } / So teclro tebl o teNTdsly / hw h oo f h al n h X ipa / Rtr tevleo teclro tebl t tecligts / eun h au f h oo f h al o h aln ak srn so_oo ( tig hwclr ) { srn bl_oo =".co. cs IPTYLOCLR ae NU_ELWOO: bl_oo ="ELW. }lei (alclr= "RE" { es f bl_oo = GEN) RttMtr(U_. alclr YLO" bek ra. Of(U_) f OTB. cs IPTRDOO: ae NU_ECLR bl_oo ="E" alclr RD. bek ra. utl( = SNO_) ni 1 = ESR1. alclr re.-0 9) oaeoo OTC 3.0 Instructions Wi (00. 6) Wi (00. alclr BU" bek ra. dfut eal: bl_oo ="OE. at 20) / Saeu teblsi tedsesr / hk p h al n h ipne RttMtr(U_.uk/lego/nxt_2_instructions/#robogator_jaws_program 148/237 .3. oaeoo OTB 9.tu) etu 3. } / So tebl clr / hw h al oo TxOt(0 LDLN3 bl_oo.

ee_aktfa re / Wi utltersttssaebt fnse / at ni h ee ak r oh iihd utl(as = rstdsesrfa & fle= rstbse_lg. 4.co. srn bl_oo. / ne h oc esr f t s e utl( = SNO_) ni 1 = ESR2. lg_akt bl_oo) dses_al(. eSnoTuh S) / Bigteclrsno o-ie / rn h oo esr nln StesrooFl (3. ee_ipne_lg re rstbse_lg=tu. d o { / Rsttepstoso tedsesradtebsesi prle / ee h oiin f h ipne n h akt n aall rstdsesrfa =tu.tu) etu 0 C_IE. tig alclr / Bigtetligmcaimstuhsno o-ie / rn h itn ehns' oc esr nln Stesroc (1.uk/lego/nxt_2_instructions/#robogator_jaws_program 149/237 . wie(re hl tu) { / Certedsly / la h ipa Rstcen(.12/30/12 NXT 2. ipnebl ) } SoAlak (. eSnoTuh S) / Bigtesrigmcaimstuhsno o-ie / rn h otn ehns' oc esr nln Stesroc (2. ni fle = ee_ipne_lg & as = ee_aktfa) la_al(.0 Instructions { i (re= rstbse_lg f tu = ee_aktfa) { / Gttebse it asadr psto uigtetuhsno / e h akt no tnad oiin sn h oc esr OFd(U_. RttMtr(U_.-0 3) oaeoo OTC 3. Run the program. trTs rstbse) Satak(ee_ipne) trTs rstdsesr. Color catapult Building guide arbitrarycreations. at 40) bek ra./ Paeabl i tedsesrei so odbl ) / lc al n h ipne xt lt bl_oo =so_oo (. } ainbse (alclr. 0. utl( = SNO_) / Usttetuhsno i i i st ni 0 = ESR2.LDLN3 "* FNSE **. alclr hwclr ) / Cekfrabl i tedsesrei so / hc o al n h ipne xt lt }wie(+ <RTIS& "OE = bl_oo) hl +i ERE & NN" = alclr i (NN"= bl_oo) f "OE = alclr { / Asm n blsaermiig / sue o al r eann TxOt(. Wi (00.3) nw OTC 0. tplTss ) } Test guide Download your program. rstbse_lg=fle ee_aktfa as. ** IIHD *" re. Of(U_) f OTC. eSnoClrul S) Satak(ee_akt. } } } ts mi ( ak an ) { iti n . eeSre ) i=0 . Place the Color Sorter in the middle of the test pad.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 150/237 .0 Instructions Can you build a color catapult that throws balls in different directions? arbitrarycreations.co.

.

uk/lego/nxt_2_instructions/#robogator_jaws_program 152/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

.

12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 154/237 .co.

0 Instructions arbitrarycreations.co.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 155/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 156/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.co.

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 157/237 .12/30/12 NXT 2.

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 158/237 .12/30/12 NXT 2.

12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 159/237 .0 Instructions arbitrarycreations.

at 20) 160/237 .co.12/30/12 NXT 2. bo rstctpl_lg=fle ol ee_aautfa as.0 Instructions Programming guide Can you program the color catapult to throw balls of the same color in the same direction? / clrotr4nc / oosre_.uk/lego/nxt_2_instructions/#robogator_jaws_program Wi (00.x / Cukblso tesm clri tesm drcin / hc al f h ae oo n h ae ieto / Asm teeaen blsrmiigatrti nme o rtis / sue hr r o al eann fe hs ubr f ere #eieRTIS2 dfn ERE / Rsttedsesn ta adtectpl we teeaestt tu / ee h ipnig ry n h aaut hn hs r e o re bo rstdsesrfa =fle ol ee_ipne_lg as. / Gtabl it tedsesrso / e al no h ipne lt vi la_al( od odbl ) { arbitrarycreations.

rstdsesrfa =fle ee_ipne_lg as. at 10) } / So teclro tebl o teNTdsly / hw h oo f h al n h X ipa / Rtr tevleo teclro tebl t tecligts / eun h au f h oo f h al o h aln ak srn so_oo ( tig hwclr ) { srn bl_oo =". Wi (0) at 50.-0 40. } / So tebl clr / hw h al oo TxOt(0 LDLN3 bl_oo. oaeoo OTB 9.40. tig alclr " sic (ESR3 wth SNO_) { cs IPTBUCLR ae NU_LEOO: bl_oo ="LE.12/30/12 NXT 2. oaeoo OTB 0 0) RttMtr(U_. }lei (alclr= "RE" { es f bl_oo = GEN) RttMtr(U_. eun alclr } vi ainctpl (tigbl_oo) od lg_aaut srn alclr { / RD YLO. Of(U_) f OTB. }lei (alclr= "LE){ es f bl_oo = BU" RttMtr(U_.tu) etu 3. cs IPTYLOCLR ae NU_ELWOO: bl_oo ="ELW. ELW RE. bek ra. C_IE. 0. dfut eal: bl_oo ="OE. utl( = SNO_) ni 1 = ESR1.-0 30.3. }lei (alclr= "ELW){ es f bl_oo = YLO" RttMtr(U_.GEN BU / E. alclr re. } } } ts rstctpl ( ak ee_aaut ) arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 161/237 .-0 9) oaeoo OTC 3.co.9) oaeoo OTC 0 0. at 20) / Saeu teblsi tedsesr / hk p h al n h ipne RttMtr(U_. 5. alclr NN" bek ra. 6) Wi (00. } } / Gttedsesri asadr psto / e h ipne n tnad oiin ts rstdsesr( ak ee_ipne ) { wie(re hl tu) { i (re= rstdsesrfa) f tu = ee_ipne_lg { / Gttedsesrit asadr psto uigtetuhsno / e h ipne no tnad oiin sn h oc esr ORv(U_. oaeoo OTB 9.0 Instructions Wi (00.3.4) oaeoo OTC 0 5. rtr bl_oo. LE i (alclr= "E" { f bl_oo = RD) RttMtr(U_. alclr BU" bek ra.9. alclr YLO" bek ra.-0 4) oaeoo OTC 3. bek ra. 0) Wi (0) at 50.8) ne OTB 0. cs IPTGENOO: ae NU_RECLR bl_oo ="RE" alclr GEN. } vi dses_al( od ipnebl ) { RttMtr(U_. cs IPTRDOO: ae NU_ECLR bl_oo ="E" alclr RD.

RttMtr(U_. trTs rstctpl) Satak(ee_ipne) trTs rstdsesr. srn bl_oo. ipnebl ) ainctpl (alclr. oaeoo OTC 0 59) }lei (alclr= "LE){ es f bl_oo = BU" RttMtr(U_.LDLN3 "* FNSE **.3.-0. eSnoClrul S) Satak(ee_aaut. OFd(U_. ** IIHD *" re.0 Instructions { wie(re hl tu) { i (re= rstctpl_lg f tu = ee_aautfa) { / Gttectpl it asadr psto uigtetuhsno / e h aaut no tnad oiin sn h oc esr OFd(U_.3) / Usttetuhsno i i i stb mvn twr tefots nw OTC 0. Wi (00. at 40) bek ra. eSnoTuh S) / Bigtesrigmcaimstuhsno o-ie / rn h otn ehns' oc esr nln Stesroc (2. / ne h oc esr f t s e y oig oad h rn utl( = SNO_) ni 0 = ESR2. ni fle = ee_ipne_lg & as = ee_aautfa) la_al(.uk/lego/nxt_2_instructions/#robogator_jaws_program 162/237 . ee_ipne_lg re rstctpl_lg=tu. OFd(U_. alclr hwclr ) / Cekfrabl i tedsesrei so / hc o al n h ipne xt lt }wie(+ <RTIS& "OE = bl_oo) hl +i ERE & NN" = alclr i (NN"= bl_oo) f "OE = alclr { / Asm n blsaermiig / sue o al r eann TxOt(.4+0./ Mv bc utltetuhsno atvts nw OTC 3) / oe ak ni h oc esr ciae utl( = SNO_) ni 1 = ESR2. eSnoTuh S) / Bigteclrsno o-ie / rn h oo esr nln StesrooFl (3. Of(U_) f OTC.9+0. eeSre ) i=0 .rayfrrstigispsto / oe h aaut ak vr o h rn ie ed o eetn t oiin i (alclr= "RE" { f bl_oo = GEN) RttMtr(U_.-0 1) / Asih ajsmn frpretainet oaeoo OTC 3.tu) etu 0 C_IE. ee_aautfa re / Wi utltersttssaebt fnse / at ni h ee ak r oh iihd utl(as = rstdsesrfa & fle= rstctpl_lg.-0) Wi (0) Of(U_) nw OTA 10.Wi (0) Of(U_) nw OTA 0) at 50. at 50.10. oaeoo OTC 0 09) arbitrarycreations. } } } ts mi ( ak an ) { iti n .co. / lgt dutet o efc lgmn rstctpl_lg=fle ee_aautfa as. lg_aaut bl_oo) / Fr tectpl / ie h aaut OFd(U_./ Paeabl i tedsesrei so odbl ) / lc al n h ipne xt lt bl_oo =so_oo (. wie(re hl tu) { / Certedsly / la h ipa Rstcen(. / Mv tectpl bc oe t tefotsd.12/30/12 NXT 2. f OTA. f OTA. 5. tig alclr / Bigtetligmcaimstuhsno o-ie / rn h itn ehns' oc esr nln Stesroc (1. } dses_al(.3. d o { / Rsttepstoso tedsesradtectpl i prle / ee h oiin f h ipne n h aaut n aall rstdsesrfa =tu.

12/30/12 NXT 2.0 Instructions } } SoAlak (.uk/lego/nxt_2_instructions/#robogator_jaws_program 163/237 . Run the program. Alpha Rex Can you build and program the Alpha Rex to walk? 1. Place the Color Sorter in the middle of the test pad and make sure the axle is placed in the centre. Legs Building guide Can you build a pair of legs that can walk? arbitrarycreations. tplTss ) } Test guide Download your program.co.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 164/237 .co.0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 165/237 .co.12/30/12 NXT 2.0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 166/237 .co.12/30/12 NXT 2.0 Instructions arbitrarycreations.

.

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 168/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 169/237 .12/30/12 NXT 2.co.

.

uk/lego/nxt_2_instructions/#robogator_jaws_program 171/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.co.

uk/lego/nxt_2_instructions/#robogator_jaws_program 172/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 173/237 .12/30/12 NXT 2.

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

174/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

175/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

176/237

12/30/12

NXT 2.0 Instructions

arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program

177/237

co.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 178/237 .0 Instructions arbitrarycreations.

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 179/237 .12/30/12 NXT 2.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 180/237 .12/30/12 NXT 2.co.

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 181/237 .12/30/12 NXT 2.

12/30/12 NXT 2.0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 182/237 .

0 Instructions arbitrarycreations.12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 183/237 .

co.12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 184/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 185/237 .co.12/30/12 NXT 2.0 Instructions arbitrarycreations.

.

.

12/30/12 NXT 2.0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 188/237 .

co.0 Instructions arbitrarycreations.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 189/237 .

co.uk/lego/nxt_2_instructions/#robogator_jaws_program 190/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 191/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.co.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 192/237 .co.12/30/12 NXT 2.

co.12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 193/237 .

co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 194/237 .12/30/12 NXT 2.

.

12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 196/237 .0 Instructions arbitrarycreations.

0 Instructions arbitrarycreations.12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 197/237 .

0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 198/237 .12/30/12 NXT 2.

12/30/12 NXT 2. and then walk forwards and backwards? / apae_.x / lhrx1nc / Wl i pae adfrad.0 Instructions Programming guide Can you build a pair of legs that test walk in place.rgtlg / oo oc esr -> ih e / MtrC&tuhsno 2-.uk/lego/nxt_2_instructions/#robogator_jaws_program { 199/237 .co.lf lg / oo oc esr -> et e vi rstlg ( od ee_es ) arbitrarycreations. n owrs n akad. / Tredrcin frwlig / he ietos o akn #eieIPAE 0 dfn NLC #eieFRAD 1 dfn OWRS #eieBCWRS2 dfn AKAD / Gttelg i asadr psto / e h es n tnad oiin / MtrB&tuhsno 1-.adbcwrs / ak n lc.

cs FRAD: ae OWRS wie(urnTc ( -t <drto) hl Cretik ) 0 uain { OFdyc(U_C 5. utl( = SNO_) ni 1 = ESR2. ak FRAD. nwSn OTB. 0 urnTc ) sic (ieto) wth drcin { cs IPAE ae NLC: wie(urnTc ( -t <drto) hl Cretik ) 0 uain { OFd(U_.50) Wi (00. at 30. at 20) wl (OWRS 50) Wi (00.0. nw OTC 7) } bek ra. i ( = SNO_) f 1 = ESR2 { OFd(U_. / u ih e on RttMtr(U_.uk/lego/nxt_2_instructions/#robogator_jaws_program 200/237 . at 20) RttMtr(U_. 0 ) } bek ra. Of(U_) f OTC. 5) / u et e p t =Cretik(./ Ptlf lgu oaeoo OTC 7.Stesroc (2. f OTB) } ts mi ( ak an ) { / Bigtetuhsnoso-ie / rn h oc esr nln Stesroc (1.4) / Ptrgtlgdw oaeoo OTB 0 5. Of(U_) f OTB. utl( = SNO_) ni 0 = ESR1.5) Wi (0) nw OTB 0. neSn OTB. nind og 0 rstlg (.co. utl( = SNO_) ni 1 = ESR1. nind og uain { usge ln t.5) nw OTB 0. } vi wl (n drcin usge ln drto) od ak it ieto. } OFd(U_. ee_es ) Wi (00. eSnoTuh S) eSnoTuh S) wl (NLC.5) Wi (0) nw OTC 0.-0 10. ak BCWRS 00. 00.5) nw OTC 0. cs BCWRS ae AKAD: wie(urnTc ( -t <drto) hl Cretik ) 0 uain { ORvyc(U_C 5. Of(U_) f OTC.0 Instructions { i ( = SNO_) f 1 = ESR1 { OFd(U_. 50) Wi (00. } Of(U_C. at 30. 0 ) } bek ra.12/30/12 NXT 2. ak IPAE 00. at 20) wl (AKAD. } OFd(U_.-0.0.7) OFd(U_.7. at 20) } arbitrarycreations. utl( = SNO_) ni 0 = ESR2. Of(U_) f OTB. nw OTB 0.

co.0 Instructions Test guide Download the program. 2. Arms Building guide Can you build the Alpha Rex with a pair of arms and moveable hands? arbitrarycreations. Place the Alpha Rex on the test pad.12/30/12 NXT 2. Run the program.uk/lego/nxt_2_instructions/#robogator_jaws_program 201/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 202/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.co.

12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 203/237 .0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 204/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.co.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 205/237 .co.12/30/12 NXT 2.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 206/237 .0 Instructions arbitrarycreations.co.

uk/lego/nxt_2_instructions/#robogator_jaws_program 207/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.co.

co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 208/237 .12/30/12 NXT 2.

12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 209/237 .co.

.

uk/lego/nxt_2_instructions/#robogator_jaws_program 211/237 .0 Instructions arbitrarycreations.co.12/30/12 NXT 2.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 212/237 .co.12/30/12 NXT 2.

.

uk/lego/nxt_2_instructions/#robogator_jaws_program 214/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.co.

12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 215/237 .0 Instructions arbitrarycreations.co.

co.12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 216/237 .

0 Instructions arbitrarycreations.co.12/30/12 NXT 2.uk/lego/nxt_2_instructions/#robogator_jaws_program 217/237 .

12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 218/237 .co.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 219/237 .co.12/30/12 NXT 2.

0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 220/237 .co.12/30/12 NXT 2.

12/30/12 NXT 2.0 Instructions arbitrarycreations.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 221/237 .

co.12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 222/237 .

12/30/12 NXT 2.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 223/237 .co.

uk/lego/nxt_2_instructions/#robogator_jaws_program 224/237 .co.0 Instructions arbitrarycreations.12/30/12 NXT 2.

uk/lego/nxt_2_instructions/#robogator_jaws_program 225/237 .0 Instructions arbitrarycreations.co.12/30/12 NXT 2.

26) oaeoo OTA 10 *0.co.0 Instructions Programming guide Can you program the arms to move back and forth while the hands open and close? / apae_. 3.-0. at 10) / tr lf -oe rgthn / un et pn ih ad RttMtr(U_.uk/lego/nxt_2_instructions/#robogator_jaws_program 226/237 . Place the Alpha Rex on the test pad. at 10) } } Test guide Download the program. / bc t cne / ak o etr RttMtr(U_. Wi (00.12/30/12 NXT 2.26) oaeoo OTA 10 *0. *0.-0.10 26) oaeoo OTA 0. / bc t cne / ak o etr RttMtr(U_.10 26) oaeoo OTA 0. Head Building guide Can you build the Alpha Rex to see? You will have to build a head on it! arbitrarycreations. Run the program. Wi (00.x / lhrx2nc / Mv team bc adfrh / oe h rs ak n ot ts mi ( ak an ) { wie(re hl tu) { / tr rgt-oe lf hn / un ih pn et ad RttMtr(U_. *0.

uk/lego/nxt_2_instructions/#robogator_jaws_program 227/237 .0 Instructions arbitrarycreations.12/30/12 NXT 2.co.

12/30/12 NXT 2.co.0 Instructions arbitrarycreations.uk/lego/nxt_2_instructions/#robogator_jaws_program 228/237 .

uk/lego/nxt_2_instructions/#robogator_jaws_program 229/237 .12/30/12 NXT 2.co.0 Instructions arbitrarycreations.

uk/lego/nxt_2_instructions/#robogator_jaws_program 230/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.co.

uk/lego/nxt_2_instructions/#robogator_jaws_program 231/237 .12/30/12 NXT 2.0 Instructions arbitrarycreations.co.

0 Instructions arbitrarycreations.12/30/12 NXT 2.co.uk/lego/nxt_2_instructions/#robogator_jaws_program 232/237 .

nind og uain { usge ln t. utl( = SNO_) ni 1 = ESR1.4) / Ptrgtlgdw oaeoo OTB 0 5. at 30.rgtlg / oo oc esr -> ih e / MtrC&tuhsno 2-. utl( = SNO_) ni 1 = ESR2. } OFd(U_.x / lhrx3nc / Mv fradwe a ojc i vsbe / oe owr hn n bet s iil / Wl fradwe ojcscm coe ta ti / ak owr hn bet oe lsr hn hs #eieTRSOD5 dfn HEHL 0 / Tredrcin frwlig / he ietos o akn #eieIPAE 0 dfn NLC #eieFRAD 1 dfn OWRS #eieBCWRS2 dfn AKAD / Gttelg i asadr psto / e h es n tnad oiin / MtrB&tuhsno 1-.7. / u ih e on 233/237 . utl( = SNO_) ni 0 = ESR1. nind og 0 arbitrarycreations.5) nw OTC 0.5) Wi (0) nw OTB 0.co. } vi wl (n drcin usge ln drto) od ak it ieto. Of(U_) f OTC.12/30/12 NXT 2.0 Instructions Programming guide Can you program the Alpha Rex to move forward when it sees an object? / apae_. Of(U_) f OTB.5) Wi (0) nw OTC 0. Of(U_) f OTC. utl( = SNO_) ni 0 = ESR2.lf lg / oo oc esr -> et e vi rstlg ( od ee_es ) { i ( = SNO_) f 1 = ESR1 { OFd(U_. } OFd(U_.uk/lego/nxt_2_instructions/#robogator_jaws_program RttMtr(U_. i ( = SNO_) f 1 = ESR2 { OFd(U_. Of(U_) f OTB. at 30.5) nw OTB 0.

cs BCWRS ae AKAD: ORvyc(U_C 5. Color sensor Building guide Can you make the Alpha Rex detect colors by adding the Color Sensor? . 4. 5) / u et e p t =Cretik(. nw OTC 5) utl(urnTc ( -t >drto) ni Cretik ) 0 uain. bek ra./ Bigtetuhsnoso-ie eSnoTuh S) eSnoTuh S) / rn h oc esr nln Stesrosed(4. 0 ) utl(urnTc ( -t >drto) ni Cretik ) 0 uain.0.Stesroc (2. bek ra. nw OTB 0./ Bigteutaoi sno o-ie eSnoLwpe S) / rn h lrsnc esr nln rstlg (. cs FRAD: ae OWRS OFdyc(U_C 5.5) OFd(U_. Place the Alpha Rex on the test pad. ni SnoU S) HEHL) wl (OWRS 50) Wi (00./ Ptlf lgu oaeoo OTC 7. neSn OTB.0.7. ee_es ) } ts mi ( ak an ) { Stesroc (1.-0 10.RttMtr(U_. 00.-0. ak FRAD. wie(re hl tu) { utl(esrS(4 <TRSOD. bek ra. } Of(U_C. 0 ) utl(urnTc ( -t >drto) ni Cretik ) 0 uain.4) / Ptrgtlgdw oaeoo OTB 0 5. ee_es ) Wi (0) at 50. Run the program. at 20) } } Test guide Download the program. f OTB) rstlg (. 0 urnTc ) sic (ieto) wth drcin { cs IPAE ae NLC: OFd(U_. / u ih e on RttMtr(U_. nwSn OTB.

x / lhrx4nc / Akfragenbl / s o re al / TD Ueaviet akfragenbl we ncad / OO s oc o s o re al hn x ds / spotfrsudflso Lnx / upr o on ie n iu / Akfrabl we a ojc i coe ta ti / s o al hn n bet s lsr hn hs #eieTRSOD5 dfn HEHL 0 / Tredrcin frwlig / he ietos o akn #eieIPAE 0 dfn NLC arbitrarycreations.0 Instructions Programming guide Can you program the Alpha Rex to ask for the green ball and then identify it? The Alpha Rex should identify and reject balls in other colors. / apae_.co.uk/lego/nxt_2_instructions/#robogator_jaws_program #eieFRAD 1 dfn OWRS 235/237 .12/30/12 NXT 2.

} / Gttelg i asadr psto / e h es n tnad oiin / MtrB&tuhsno 1-.0. utl( = SNO_) ni 0 = ESR1. bek ra. } OFd(U_. } vi wl (n drcin usge ln drto) od ak it ieto.lf lg / oo oc esr -> et e vi rstlg ( od ee_es ) { i ( = SNO_) f 1 = ESR1 { OFd(U_. Of(U_) f OTB./ Bigteclrsno o-ie eSnoClrul S) / rn h oo esr nln arbitrarycreations. at 80. } OFd(U_. 0 ) utl(urnTc ( -t >drto) ni Cretik ) 0 uain. *0. Of(U_) f OTC. nw OTC 5) utl(urnTc ( -t >drto) ni Cretik ) 0 uain. 5) / u et e p t =Cretik(.5) nw OTB 0.-0. nw OTB 0./ Bigtetuhsnoso-ie eSnoTuh S) eSnoTuh S) / rn h oc esr nln Stesrosed(4.5) nw OTC 0.-0 10.10 26) oaeoo OTA 0. ee_es ) } ts mi ( ak an ) { Stesroc (1.Stesroc (2.5) OFd(U_. nind og uain { usge ln t. / bc t cne / ak o etr RttMtr(U_. Of(U_) f OTB.rgtlg / oo oc esr -> ih e / MtrC&tuhsno 2-. } Of(U_C. Of(U_) f OTC. neSn OTB. 0 ) utl(urnTc ( -t >drto) ni Cretik ) 0 uain. utl( = SNO_) ni 1 = ESR2. nind og 0 RttMtr(U_.7.-0.co. utl( = SNO_) ni 1 = ESR1.4) / Ptrgtlgdw oaeoo OTB 0 5. cs BCWRS ae AKAD: ORvyc(U_C 5.26) Wi (0) oaeoo OTA 10 *0. bek ra.uk/lego/nxt_2_instructions/#robogator_jaws_program 236/237 . at 30.0 Instructions #eieFRAD 1 dfn OWRS #eieBCWRS2 dfn AKAD vi do_al( od rpbl ) { RttMtr(U_.5) Wi (0) nw OTC 0. bek ra.12/30/12 NXT 2. nwSn OTB. 0 urnTc ) sic (ieto) wth drcin { cs IPAE ae NLC: OFd(U_. cs FRAD: ae OWRS OFdyc(U_C 5./ Bigteutaoi sno o-ie eSnoLwpe S) / rn h lrsnc esr nln StesrooFl (3. / u ih e on RttMtr(U_. i ( = SNO_) f 1 = ESR2 { OFd(U_./ Ptlf lgu oaeoo OTC 7. f OTB) rstlg (. utl( = SNO_) ni 0 = ESR2.0. at 30.5) Wi (0) nw OTB 0.

as) TxOt(. Run the program.uk/lego/nxt_2_instructions/#robogator_jaws_program 237/237 . } Wi (00. as) / Wi utlabl i pae i tergthn / at ni al s lcd n h ih ad utl(NU_LCCLR! SNO_) ni IPTBAKOO = ESR3. 00.0 Instructions rstlg (. / Do tebl / rp h al do_al(. . Place the Alpha Rex on the test pad. ee_es ) Wi (0) at 50.LDLN3 " **GEN** " fle. rpbl ) } es le { / Mv frad / oe owr wl (OWRS 50) ak FRAD. GV M A IE E " tu) . Wi (00. TxOt(. arbitrarycreations.co. BL AL " fle.50) ak IPAE 00. rpbl ) / Mv bc / oe ak wl (AKAD. etu 0 C_IE. eeSre ) i (NU_RECLR= SNO_) f IPTGENOO = ESR3 { / D adne / o ac wl (NLC. wie(re hl tu) { utl(esrS(4 <TRSOD.12/30/12 NXT 2. / Rlaetebl / ees h al do_al(. at 20) Rstcen(. Before running the program. re. the Alpha Rex's hands should be closed and pointed forward (do this by turning the gear on the right side of its back).LDLN1 " etu 0 C_IE. * RE * .LDLN5 " etu 0 C_IE.50) ak BCWRS 00. ni SnoU S) HEHL) / Dslyamsae / ipa esg TxOt(. at 10) } } Test guide Download the program.

Sign up to vote on this title
UsefulNot useful