©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006.

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

Chung for Robofest 05 1 Introduction to RoboLab CJ Chung Lawrence Technological University.
RCX Workshop Day 2 Programming with Touch Sensor Light Sensor Repeat CJ Chung Associate Professor of Computer Science Lawrence Technological University.
NXTG Workshop Day 2 Programming with Touch Sensor Light Sensor Ultrasonic Sensor Repeat CJ Chung Associate Professor of Computer Science Lawrence Technological.
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
©2006 CSUC Institute for Research in Intelligent Systems Electric Generator June 13, 2006.
Introduction to Sensors
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
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.
EDGE AVOIDER ROBOT USING I-BOT mini V3. EDGE AVOIDER USING I-BOT mini V3 Edge Avoider Robot is built using the IR based Line Detecting Module. The modules.
Challenge #1 – Relay Race Robot #1 will be randomly placed on starting line #1, #2 or #3. Robot #1 will drive until it detects the “Dark Line” - Robot.
Flowol subroutines Subroutines are used to:  Simplify your code to make it easier to read (or for someone.
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.
Capacitor Connection in to LED socket Connection to 5v and ground Connection to light sensor pin.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
Twyla and Jordan.  Light over black line  Runs roverbot.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
Today’s Agenda 1.Scribbler Program Assignment 1.Project idea due next class 2.Program demonstration due Wednesday, June 3 2.Attendance & lab pair groupings.
2 3  A machine  Built to help us  Autonomous (not remote control)  If we want robots to do things for us, we have.
This presentation is intended to offer a set of activity cards, which are ideal for introducing the Robolab. The cards cover a range of basic skills, that.
Sentry System Multiple Sensors
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
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.
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.
By Eric Greene RMS / I. S. 192 Q. Smart Start Question How would you get the robot to flirt with disaster by touching the edge of the “table” as many.
LEGO® MINDSTORMS® NXT Move Block.
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
The If Block. IF The “if” block can be found in the control tab. The if block means, “IF this happens, THEN do this.” You can put blocks ON the if block.
Vex Robotics Program four: reversing and turning.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4/Lab3.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
Marble Racer. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
By Droids Robotics INTERMEDIATE PROGRAMMING LESSON BRICK BUTTONS AS SENSORS.
EV3 Software EV3 Robot Workshop
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
Rescue Robot Day 2 Exploring Computer Science Lesson 6-11.
The George Washington University Electrical & Computer Engineering Department Dr. S. Ahmadi Class 3.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
Vex Robotics program three: using motors and sensors together.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
LESSON 05 Using the Touch LED The Touch LED The purpose of this lesson is to introduce students to the Touch LED Sensor and how they can be used on a.
Robotics Programming Wall Follow Line tracking for a set amount of time Line tracking for a distance.
LESSON 05 Using the Touch LED. LESSON 05 Using the Touch LED.
What is Arduino? It's an open source electronics prototyping platform: Open source: resources that can be used, redistributed or rewritten free of charge,
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
LEGO MINDSTORMS PROGRAMMING
Mindstorm Robots 4th Grade Lesson 1.
Touch Sensor.
Programming Scratch to Control a K’NEX Fairground Ride
Programming Part 2 Mod Kit
INTERMEDIATE PROGRAMMING LESSON
BBC Microbit.
Forward Until Touch Robot goes forward until it hits a wall.
Selection Learning Objective: to be able to design algorithms that use selection.
Line Following Behavior
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 5.
Storing Values as Variables
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Line Following Behavior
INTERMEDIATE PROGRAMMING LESSON
Elecbits Project: IoT based Smart Dustbin
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Iteration Learning Objective: to be able to design algorithms that use iteration.
Lego MINDSTORMS EV3.
Oregon Robotics Tournament and Outreach Program
Exploring Computer Science Lesson 6-11
Getting started with LEGO EV3 Mindstorms software
Learning Objective: to be able to design programs that use iteration.
Presentation transcript:

©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006

©2006 CSUC Institute for Research in Intelligent Systems Basic Elements Function: Repeat Forever Description: Code placed in block with begin running when program is activated and will never stop. Function: Set Power Description: Set the power level from 1 to 10 for the motor. Right-click once to get the control screen

©2006 CSUC Institute for Research in Intelligent Systems Basic Elements Function: Set Direction Description: Set the direction for motor to turn. Right-click once to get control screen. Arrow in the same direction mean to turn wheel (left/right). Arrow in opposite direction means to go forward or backward. Function: On Description: Turn motor on for 1.0 to 10.0 seconds. Right-click once to get control screen.

©2006 CSUC Institute for Research in Intelligent Systems Basic Elements Function: Touch Sensor Description: If touch sensor is pressed then codes will activate. Right-click once to change setting. Function: Light Sensor Description: If light amount is within sensor range, then light or dark is indicated, and codes will activate. Right-click once to change setting. Function: Off Description: Turn motor off completely (coast) or just brake.

©2006 CSUC Institute for Research in Intelligent Systems Driving Subroutine Description: Turn left slowly for 1 second and then drive forward fast for 3 seconds.

©2006 CSUC Institute for Research in Intelligent Systems Bumper Sensor Navigation Subroutine Description: If touch sensor is pressed then motor will brake, backup slowly for 1 second, and make a turn for 3 seconds.

©2006 CSUC Institute for Research in Intelligent Systems Light Sensor Color Detection Subroutine Description: If light is within sensor range, then light or dark is indicated, and motor is turned off and a tune is played to indicated finish.