Presentation is loading. Please wait.

Presentation is loading. Please wait.

Intro to Robots Into to Robots: Lab #1. Intro to Robots The Robot. Your robot should look like this: Scribbler: Your robot. You can download programs.

Similar presentations


Presentation on theme: "Intro to Robots Into to Robots: Lab #1. Intro to Robots The Robot. Your robot should look like this: Scribbler: Your robot. You can download programs."— Presentation transcript:

1 Intro to Robots Into to Robots: Lab #1

2 Intro to Robots The Robot. Your robot should look like this: Scribbler: Your robot. You can download programs onto the robot and control its behaviour. Bluetooth/Serial adapter: The Bluetooth part communicates with your computer; the serial part with Scribble. There is a name taped to the adapter. Serial cable: The connection between the adapter and Scribbler Scribbler Bluetooth/Serial adapter; velcroed in place Serial cable

3 Intro to Robots The Computer: You should have a device something like this plugged into a USB port on your computer: On the system tray of your computer (bottom right-hand corner of screen) you should find the following icon. Right click that icon and select Bluetooth Settings.

4 Intro to Robots Bluetooth Settings: Double click the Bluetooth connection you want to establish. The name of the connection should be taped to the Bluetooth/Serial adapter on your robot. At this point the computer and the Bluetooth/Serial adapter are talking to each other but the robot is still not in communication with the computer

5 Intro to Robots Making the Connection: Start the IDLE GUI. Execute: from myro import * initialize(“com40”) If you get this message everything is working fine. The exact com port number is written on the paper taped to the Bluetooth/Serial adapter.

6 Intro to Robots Starting to Play: Change your robot’s name Check the new name Now move the robot around setName(“newName”) getName() joyStick()

7 Intro to Robots JoyStick() Click the mouse anywhere in the joyStick window and watch the robot move.

8 Intro to Robots joyStick Exercise: Put the robot on a writing surface and use the joy stick to make the robot draw a square. Draw a 5-pointed star with the robot. How different is what you are doing from what a surgeon does when she uses a robot to perform surgery?

9 Intro to Robots MyRo Language Reference: At the above site check out the meanings of the functions beep(), forward(), backward(), turnLeft(), turnRight() and stop(). Test each of these functions. http://wiki.roboteducation.org/Myro_Reference_Manual


Download ppt "Intro to Robots Into to Robots: Lab #1. Intro to Robots The Robot. Your robot should look like this: Scribbler: Your robot. You can download programs."

Similar presentations


Ads by Google