Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.

Slides:



Advertisements
Similar presentations
Intermediate Robotics Getting to the Next Level Guiding Question: How might I move the robot consistently, accurately, and predictably? –Review basics.
Advertisements

Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Getting started with LEGO NXT Mindstorms software This is intended to be a short introduction to the LEGO Mindstorms software and programming the LEGO.
EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner.
LabView Basics.
Wait, sound sensor >70, Port 2 Flowchart – Heartbeat 1 Start Motor A, Move Backward, 1/3 Rotation, Power 20 Wait, 1 Second Sound Sensor (Port 2) Less than.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
An Intro to Robots and Computer Programming
©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006.
EducateNXT NXT... an introduction The Kit and the Software.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
Reviewing Common Blocks for St. Agnes Elementary School Teachers by Jenny Chang Feb. 26th, 2007 USC & University Neighborhood Outreach Robotics STEM program.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
Loops and Switches. 1. What kind of blocks are these? 2. Name two kinds of controls that can be specified to determine how long a loop repeats. 3. Give.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Robot Construction & Programming Basics
Music by Touch. 1. Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic.
LEGO Mindstorms NXT Introduction. Component NXT Brick Touch Sensor Light Sensor Ultrasonic Sensor Interactive Servo Motors MMN Lab.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
Introduction to the Basic Parts of LEGO’s NXT Robotics
LabVIEW Program and Data Flow Review LabVIEW Robotics Fundamentals.
Getting Started! Lego Mindstorms Program NXT 2.0.
Wait Program! WAIT please!. 1. Why is it often better to use conditional commands rather than program a robot to move exact distances? 2. What is the.
Reactive robots UPNA The Public University of Navarra Material for pupils & students.
Programming a light sensor to follow a black line.
Using Waits, Loops and Switches WAIT please!. Waits, Loops and Switches Pre-Quiz 1. In programming, what is a loop? When is a loop useful? 2. How can.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Motors and Sound Troubleshooting Tips. © H-CCS Problem 1 Why can’t I download my program to the RCX?
Sentry System Multiple Sensors
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Find the Mindstorms Icon on the computer.. To start a new program click go.
LEGO® MINDSTORMS® NXT Move Block.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
1 ©2006 INSciTE Common Blocks. 2 ©2006 INSciTE Common Blocks Common blocks are full featured actions Like English statements Move Wait for an action Display.
Mindstorm NXT-G Introduction Towson University Robotics.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
ROBOTICS Jason Bell Brad Carlson
Lego Mindstorm Robots 9797 kit.  Students will learn how to identify how to detect a change in a condition.  Students will learn where and how to identify.
Instructions Quit H Robinson. Quit Start Game H Robinson Instructions: Enable Macros when prompted. If you were not prompted then open PowerPoint, go.
Introduction to Robotics using Lego Mindstorms EV3 Shreya Reddy & Kiran Raja RoboAvatars Robotics.
LOGICFUSION’S HANDS-ON ROBOTICS EV3 LEVEL 2! Welcome to.
How Do You Make a Program Wait?
2.8 NXT Test Programs (Try Me Mode) U2C8
NXT Mindstorms Kit Programming
Exploring Computer Science Lesson 6-5
Mindstorms EV3 Programming
Understanding Communication with a Robot? Activity (60 minutes)
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Mindstorms EV3 Programming
Introduction To Programming with LEGO NXT 2
Touch Sensor.
Programming Part 2 Mod Kit
Mindstorms EV3 Programming
Loops and Switches Pre-Quiz
Music by Touch Music by Touch Presentation > TeachEngineering.org
Module F: Presentation Understanding Robot Fundamentals
Exploring Computer Science Lesson 6-5
Forward Until Touch Robot goes forward until it hits a wall.
Holyoke Codes LEGO ROBOTICS
SENSORS.
Lego EV3 Mindstorms SW Programming Blocks.
Using Waits, Loops and Switches
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Getting started with LEGO EV3 Mindstorms software
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Castor Bot

Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions will be found there Raise your hand if you need any help

Now, that everyone has created a robot... Please open your NXT program Click “new program”

We will now go through the basics on programming your robot

How to program your robot

Creating a new program… You can create a new program or open a program you previously created. Once you have a name for your program, select go!

You should get a screen like this.

Your work area The Left bar is for putting blocks on your program There are many different blocks, but we will go over the most basic ones first. In the middle is our area where we do our programming. We drag items onto the tracks.

Please drag the movement block onto the track

Using the Motion block Has many parts. –The active ports. –Power –Direction: can be set to forward, reverse or stop. –Duration: controlled by: Rotation Degrees Time –Steering: can adjust how hard a turn –Brake or coast modes.

Ports What are ports? Cables connecting brain to components A, B, C Used for controlling motors 1,2,3,4 Used for connect to the sensors We will learn more about these later

Changing ports and power Depending on how many active motors you have connected, we check/uncheck Ports A, B, and/or C. Power effects the speed of the motors.

Controlling Direction What is it to control direction? Dragging the arrow left/right changes the direction that the robot will move. This feature is only active when two motors are selected. It controls forward, backward, or stop. How will changing the power effect the steering?

Duration of activity Duration effects how long the block is active. Types of Duration Degrees Unlimited Time Rotation Let’s investigate!!

Lego MindStorm An Introduction to programming

Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks that come with the NXT software. You can create your own blocks.

Common Blocks The common blocks:

Common Blocks Move Tells your robot to move. Record Play The record play block allows your robot to record itself (movements and sound) and replay its actions later in the program.

Common Blocks cont. Sound Allows your robot to play a sound file. Display Displays an image on the NXT brick screen.

Flow Blocks The Flow Blocks

Flow Blocks The Loop Block Use the loop block if you want your robot to continue doing the same things again and again, such as moving forward and backward until a touch sensor is pressed.

Flow Blocks The Switch Block The switch block enables the robot to make its own decisions, such as going left when it hears a loud sound and turning right when it hears a soft sound.

Flow Blocks The Wait Blocks The wait block makes your robot wait for sensor input, such as a sound or a time interval. DistanceLight Sound Time Touch

Action Blocks The Action Blocks

Action Blocks Display The display block enables you to control the display on the NXT brick. You can type, show icons or even draw through your program!

Action Blocks Lamp The lamp block tells your robot when to turn the lamp on/off. You can program your robot to turn on its lights when the touch sensor is triggered, or when it becomes dark.

Action Blocks Message Send The message send block tells your robot to send information to another robot or to your computer.

Action Blocks Motor The motor block tells your robot to turn on a motor. This is different from the move block. Your robot may have multiple motors attached.

Now let us move onto building the Bumper Car