80 likes | 185 Views
Programming with Robolab. Creative Inventions and Robotics www.build-it-yourself.com. By Rebekah Gendron. Programming with Robolab. Programming is writing a set of directions for your robot to follow. You will be writing . . . A programming story!.
E N D
Programming with Robolab Creative Inventions and Robotics www.build-it-yourself.com By Rebekah Gendron
Programming with Robolab Programming is writing a set of directions for your robot to follow. You will be writing . . . A programming story! . . . and all writers need the proper tools to work with! www.build-it-yourself.com
Programming with Robolab This is the Tools Palette (Your writing instruments) Position/Select Tool Change Value Tool Text Tool Wiring Tool Scroll Tool Set Color Tool www.build-it-yourself.com
Programming with Robolab This is the Functions Palette (The “words” for your story) Begin End Structures Sub-Menu Wait For Sub-Menu Modifiers Sub-Menu 4 Sub-Menus www.build-it-yourself.com
Programming with Robolab Writing a Simple Programming Story 1. 2. 3. 4. 5. 1. Once Upon a Time 2. Motor A turned on Full Power 3. It waited until a Touch Sensor on Port 3 was pushed 4. Then Motor A turned off 5. The End The wiring tool connects each word together to make the story complete! www.build-it-yourself.com
Programming with Robolab Wiring Tips End Begin 1 2 Remember to wire each function separately Start with your 2 Functions 3 4 Move your Wire Tool to the top left corner of the 2nd function and click to complete the wire Click your Wire Tool on the top right corner of the 1st function BROKEN WIRES must be removed or the program won’t work You can remove the broken wires in “EDIT” or by typing CTRL + B www.build-it-yourself.com
Programming with Robolab If you want to program your robot to wait for an action before it proceeds then you will need to use: The Wait For Sub-Menu Wait For Time Wait For Light Wait For Touch www.build-it-yourself.com
Programming with Robolab Here’s a program that will continually turn two motors on and off. Land Jump Wait for Touch and Wait for Time are found in the Wait For Sub-Menu Jump and Land lets the program loop back around forever Jump and Land are found in the Structures Sub-Menu www.build-it-yourself.com