LSP 350: Computers & Society

Similar documents
Robot Programming Manual

Team Project: A Surveillant Robot System

Agent-based/Robotics Programming Lab II

Learning serious knowledge while "playing"with robots

Let There Be Light. Opening Files. Deleting National Technology and Science Press

The use of programmable robots in the education of programming

Robotics using Lego Mindstorms EV3 (Intermediate)

Pre-Day Questionnaire

Design & Development of a Robotic System Using LEGO Mindstorm

Using Cyclic Genetic Algorithms to Evolve Multi-Loop Control Programs

Balancing Bi-pod Robot

understanding sensors

COSC343: Artificial Intelligence

Smart-M3-Based Robot Interaction in Cyber-Physical Systems

Robotics Initiative at IIT IPRO 316. Fall 2003

Lab book. Exploring Robotics (CORC3303)

LEGO MINDSTORMS CHEERLEADING ROBOTS

Pre-Activity Quiz. 2 feet forward in a straight line? 1. What is a design challenge? 2. How do you program a robot to move

Robotic Programming. Skills Checklist

Artificial Intelligence Planning and Decision Making

Chapter 9: Experiments in a Physical Environment

Chapter 19 Study Questions Name: Class:

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX.

Team Project: A Surveillant Robot System

Mindstorms NXT. mindstorms.lego.com

Ev3 Robotics Programming 101

I.1 Smart Machines. Unit Overview:

ACTIVE LEARNING USING MECHATRONICS IN A FRESHMAN INFORMATION TECHNOLOGY COURSE

CdS photocell. They utilize resistors that are sensitive to force (bending, touch, gravity), temperature,

occam on the Arduino Adam T. Sampson School of Computing, University of Kent Matt C. Jadud Department of Computer Science, Allegheny College

1-11. Mini Sumo Bot. Building Instructions. Fun Projects for your LEGO MINDSTORMS NXT! Home Projects Help Contacts. Building: Program:

CO600 Group Project. Collaborative Exploration by Autonomous Robotic Rovers

VEX Robotics Platform and ROBOTC Software. Introduction

acknowledgments...xv introduction...xvii 1 LEGO MINDSTORMS NXT 2.0: people, pieces, and potential getting started with the NXT 2.0 set...

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. LEGO Bowling Workbook

Vision Ques t. Vision Quest. Use the Vision Sensor to drive your robot in Vision Quest!

Image 1, Ref - see slide WHAT IS A ROBOT? A look at characteristics of robots using the LEGO EV3 as a specific example (50 minutes)

A Rubik s Cube Solving Robot Using Basic Lego Mindstorms NXT kit

Laboratory 7: CONTROL SYSTEMS FUNDAMENTALS

Robots are similar to humans if you consider that both use inputs and outputs to sense and react to the world.

Introduction to the VEX Robotics Platform and ROBOTC Software

How Do You Make a Program Wait?

Robotic Systems Challenge 2013

Parts of a Lego RCX Robot

2.4 Sensorized robots

Line Detection. Duration Minutes. Di culty Intermediate. Learning Objectives Students will:

Hi everyone. educational environment based on team work that nurtures creativity and innovation preparing them for a world of increasing

Toeing the Line Experiments with Line-following Algorithms

USA STEM Academy, 5319 University Drive, # 185, Irvine, California USA

YEAR SUBJECT REQUIREMENTS LIST

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

In order to do this project you should review the following concepts:


JHU Robotics Challenge 2015

Chapter 1. Robots and Programs

Winter 2007/2008 Third Annual IEEE Lego Robot Competition Rules

Lego Mindstorms Segway Project

Levels of Description: A Role for Robots in Cognitive Science Education

Learning Computer Programming with Autonomous Robots

Lego Mindstorms Robotic Football John Russell Dowson Computer Science 2002/2003

Medical Robotics Applications & Design Considerations (Part 1) Dr. James Smith

Mobile Robot Navigation Contest for Undergraduate Design and K-12 Outreach

Medical Robotics Applications & Design Considerations (Part 1) Dr. James Smith

Programming Design. ROBOTC Software

UNIT VI. Current approaches to programming are classified as into two major categories:

Understanding the Arduino to LabVIEW Interface

MN High School Robotics 2006 MISSIONS

A Lego-Based Soccer-Playing Robot Competition For Teaching Design

SUMMER CAMPS. uoit.ca/summercamps TECH CAMPS. Lego Robotics S.T.E.A.M. CODING

VCE VET ELECTRONICS. Written examination. Friday 1 November 2002

An Introduction to Programming using the NXT Robot:

Program.

Chapter 14. using data wires

E Technology: A. Innovations Activity: Introduction to Robotics

Microcontroller interfacing

2014 New Jersey Core Curriculum Content Standards - Technology

Programming Design ROBOTC Software

4-H Mindstorm EV3 Robotics Camp Mills County 4 Day Camp Day 1, Tuesday AGENDA

Problem Solving with Robots

Automatic Headlights

Closed-Loop Transportation Simulation. Outlines

Different robotics platforms for different teaching needs

FIRST LEGO LEAGUE. PowerUp Summer Game. Presented by FRC 6328

The Texas 4-H Roundup Robotics Challenge Invitational

Digital Devices in the Digital Technologies curriculum

A Day in the Life CTE Enrichment Grades 3-5 mblock Programs Using the Sensors

Homeschool Propeller Car Build, Sept 28 2:00 2:50

Programmable Control Introduction

Scheduling Algorithms Exploring via Robotics Learning

Robotics 2a. What Have We Got to Work With?

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

Summer on Campus - Learning Robotics with fun

Genetic Robots Play Football. William Jeggo BSc Computing

BEYOND TOYS. Wireless sensor extension pack. Tom Frissen s

EQ-ROBO Programming : bomb Remover Robot

RoboCup Sumo Workshop. Margaux Edwards July 2018

C URRICULUM V I T A E

Building Robots With Lego Mindstorms Nxt

EV3 Advanced Topics for FLL

Fuzzy Logic Controlled Miniature LEGO Robot for Undergraduate Training System

Transcription:

LSP 350: Computers & Society Lecture Notes 31 August 2005 Prof. Katherine St. John Lehman College & the Graduate Center City Universtity of New York Katherine St. John City University of New York 1

Overview First Day Details (web pages) Opportunities Introduction to Computers Checking out & Building Robots Katherine St. John City University of New York 2

First Day Details See course webpages. Katherine St. John City University of New York 3

Opportunities for Students in Technology-Related Majors Computer Science & Mathematics Mentorship & Scholarship Program Internships (On-Campus & Industry) Research Assistantships Katherine St. John City University of New York 4

Computer Science & Mathematics Mentorship & Scholarship Program Provides scholarships, a laptop mentoring and career planning Majoring in technology-related field Good grades in first year courses US Citizen or permanent resident Funded by the National Science Foundation. Katherine St. John City University of New York 5

Internships (On-Campus & Industry) Some recent internships: ABC Television Einstein School of Medicine FAA La Guardia IBM Research NYC MTA National Medical Library New York Public Library Katherine St. John City University of New York 6

Research Assistantships A few examples: Computational Biology: Tree of Life Project Katherine St. John Wildebeest Cluster (132 processors) City University of New York Morphometrics with AMNH 7

Introduction to Computers & Robots What is a computer? What is a program? Compiling Programs Katherine St. John City University of New York 8

What is a computer? A basic computer has a central processing unit (CPU) or brain, registers to keep track of next instruction & where data is stored Two kinds of memory: Read Only Memory (ROM): Often contains directions that programs the CPU and can t be erased, Random Access Memory (RAM): Used to store firmware and programs the computer runs. Katherine St. John City University of New York 9

What is a computer? There s also input devices: keyboard, mouse, scanner,... and output devices: screen, printer, speaker,... Katherine St. John City University of New York 10

Lego Mindstorm Robot The lego robot has: 8-bit CPU (in bulkly lego block, called the RCX) 16K Internal ROM & 32K static RAM (6K for programs) Input Devices: 2 touch sensors, 1 light sensor, I/R port Output Devices: 2 motors, screen, speaker, I/R port Katherine St. John City University of New York 11

Lego Mindstorm Internals (Pictures of RCX internals from: http://graphics.stanford.edu/ kekoa/rcx/) Katherine St. John City University of New York 12

CPU Directions Most CPUs understand directions written in machine language strings of 0 s and 1 s Each instruction corresponds to an operation code or opcode that consists of commands like: Increment value in register AX Very hard to write program in machine language. Most programs are written in a high level language, like Java, Visual Basic, C or C++. Katherine St. John City University of New York 13

The general process is: Programming You write a program Gives a binary file You run the that looks like English compiling the computer can binary to execute (with lots of rules) understand the program A program is a set of instructions for the computer to follow. Programs implement algorithms step-by-step directions for performing a task (ex: a recipe to make cookies, directions to make the robot turn 360 ). Katherine St. John City University of New York 14

Not Quite C For the robot, we re going to write programs in a variant of C, called Not Quite C (NQC). Legos come with a language called RCX it s very simple, but doesn t allow you to do a lot. By using NQC, you can do more sophisticated programs and it will help you learn C/C++ and Java. Katherine St. John City University of New York 15

A Simple Program // tankbot1.nqc - drive straight ahead #define LEFT OUT_A #define RIGHT OUT_C task main() { On(LEFT+RIGHT); until(false); } Katherine St. John City University of New York 16

Some Useful NQC Commands Command Definition Example On(outputs) turn on outputs On(LEFT+RIGHT); Off(outputs) turn off outputs Off(LEFT+RIGHT); Fwd(outputs) sets to foward direction Fwd(LEFT); Rev(outputs) sets to reverse direction Rev(RIGHT); Wait(time) wait for time time 100 seconds Wait(100); (Much more on this in the next two lectures.) Katherine St. John City University of New York 17

Checking Out & Building Robots Robots are stored in Gillet 137. After a short break, need a few volunteers to help transport them to our classroom. Katherine St. John City University of New York 18

Checking Out & Building Robots Each student will get: Large blue box of Lego pieces Small plastic shoebox to store assembled robot Labels to place on the robot RCX, the blue box, and the shoebox. Katherine St. John City University of New York 19

Checking Out & Building Robots Everyone will put a robot together and test the 5 built-in programs, described in the Lego instruction manual. The easiest robot (tankbot) to build is described in Chapter 5 of Dave Baum s book. Subsequent chapters describe an easy bumper (bumpbot) and light sensor mount (linebot). We will begin cleaning up at 11:30am and must be completely out of the room by 11:50am. If you do not finish today, you may come during my office hours (W 11:30-12:30, Th 10-12) or when Gillet 137 suite is open (most T,W,Th 2-5). Katherine St. John City University of New York 20