170 likes | 656 Views
The Pro- Bot *. Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming. Introduction to Pro- Bot Programming What is a Probot ? Care of Probot Pens Basic commands Repeat commands
E N D
The Pro-Bot* Kate Lester and Nancy Chaffer Term 2, 2010 PCS TPL *Powerpoint modified from Mark Lockett’s Pro-Bots and Logo Programming
Introduction to Pro-Bot Programming • What is a Probot? • Care of Probot • Pens • Basic commands • Repeat commands • Sub Programs – procedures, sensors, pause command, move on a signal eg hand clap • Procedures Proc 1-32 Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010
The Pro-Bot is the 'big brother' of the Bee-Bot and allows more complex programming involving • Programmable distances; • Degrees of turn; and • Use of sensors. • It includes a simple pen mechanism and a standard connector texta that can be used to draw routes and reflect upon and record progress. • The Pro-Bot • Reinforces concepts across 2D Space sub-strands • Gives students the opportunity to apply positional language and extend everyday vocabulary; and • Encourages small group skills. Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010
Pro-Bot Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010
Pro-Bot Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010
Basic Commands • By default, pressing or moves the Pro-Bot forwards or backwards 25cm and pressing or makes the Pro-Bot do a 90º turn. • Try this program: Press Go and the Pro-Bot will trace out a ?? Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010
Pro-Bot Commands on LCD • Forward Fd • Right turn Rt • Repeat Rpt Rpt[ • Back Bk • Left turn Lt • Pause Ps Pause • If you want to stop the Pro-Bot when it is going, press the Go button again. Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010
Editing your program • Use the scroll keys located next to the menu key to edit your program. • To insert a command in between two commands, move the cursor onto the command you want to insert after, then type the new command. • To delete a command press the Clear key. Pressing Clear will only delete the last key pressed on each line. Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010
Repeating commands • To simplify typing in commands, you can use the Rpt[ key. • To draw a square, you can set the Pro-Bot to draw one side of the square then turn 90º but do this 4 times. • Rpt[ 4 ] • The number you press is how many times the action within the brackets is repeated. Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010
Moving different lengths and angles • To change the distance enter the required cm after the key eg 40 (40cm straight ahead) • To change the angle, press 30 (a 30º turn to the left) • Repeat commands for a triangle: Rpt[ 3 10 120 ] • Repeat commands for a ? Rpt[ 6 10 60 ] • Repeat commands for a circle: Rpt[ 36 1 10 ] Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010
Link to MacICT resources on Pro-Bots • http://robotics.ictcentre.wikispaces.net/probots • ..\ICT\PROBOTS\110609probots[1].notebook • ..\ICT\PROBOTS\260509pobotsoftware[1].notebook Pro-Bots Kate Lesterand Nancy Chaffer PCS TPL 2010