Introduction to Lego Mindstorms LMICSE Workshop June 14 - 17, 2005 Alma College.

Slides:



Advertisements
Similar presentations
Alma Robotics Challenge March 30, 2007 Alma College.
Advertisements

LabView Basics.
Sonar and Localization LMICSE Workshop June , 2005 Alma College.
INTRODUCTION TO ROBOTICS AND MICROCONTROLLERS Instructors: Tijjani “TJ” Mohammed and Tarek Abdel-Salam.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Motors, Sensors, and Samantha SSI Robotics September 7, 2013 Capitol College.
Computer Basics. The Computer (Generic) Processor executes commands. Memory stores program and data. Input devices transfer information from outside world.
Alternative Programming Languages Myles McNally LMICSE Workshop November , 2004 University of Mississippi.
Lego RCX Assembler and a Case Study Luis Paris Dept. of Computer Science University of Mississippi.
The Turtle Laboratory Sequence Myles McNally LMICSE Workshop November , 2004 University of Mississippi.
The Turtle Laboratory Sequence LMICSE Workshop August , 2006 Villanova University.
The Turtle Laboratory Sequence LMICSE Workshop June , 2005 Alma College.
The Lego RCX is a programmable digital device equipped with sensor inputs and motor outputs. As part of the Lego Mindstorms package, it is intended for.
The Create robot, by iRobot Same as the 4000 series of the Roomba vacuum cleaner, but: Without the vacuum and brush With a port that gives easy access.
LEGO Mindstorms Hitachi H8-based RCX brick B.A. Juliano, R.S. Renner, F. Jauregui January 2004 California State University, Chico Intelligent Systems Laboratory.
EducateNXT NXT... an introduction The Kit and the Software.
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.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Lego Mindstorms NXT 2.0 Presented By: Fatma Al-Qattan Haya Al-Hajri Fatma Baqer Hanan Al-Qabandi.
Introduction to Robotics Principles of Robotics. What is a robot? The word robot comes from the Czech word for forced labor, or serf. It was introduced.
Using the LEGO NXT March 2007 David Schilling Gus Jansson.
VEX Robotics Platform and ROBOTC Software
Robots and Computer Science Dr. Dakai Zhu Department of Computer Science, UTSA
Teaching with Robotics Professor: Jeffrey Forbes
LEGO Mindstorms NXT Introduction. Component NXT Brick Touch Sensor Light Sensor Ultrasonic Sensor Interactive Servo Motors MMN Lab.
Interfacing the LEGO RCX to the outside world John M. Larkin Whitworth College Spokane, WA.
Department of Computing and Information Sciences Kansas State University Design Methodology for State based Embedded Systems Case Study: Robot Controller.
Sensors for use in this class. Sensors 2 Robotics: Bridgewater state college.
[Low-level] Programming of NXT Robots Pavel Petrovič Department of Applied Informatics, Faculty of Mathematics, Physics and Informatics
Demonstrating the Capabilities of MindStorms NXT for the AI Curriculum Myles McNallyFrank Klassner Alma CollegeVillanova University AAAI Spring Symposium.
Robotics NXT sensors Back to Light sensor: red vs blue ball.
Introduction to the Basic Parts of LEGO’s NXT Robotics
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Overview: The goal of this lesson is to transition from discussing robots in general to the specifics of NXT robot. Objectives: Students will be able.
Design of the New Handy Board for Robotics Using the NI LabVIEW Embedded Module for ADI Blackfin Processor Fred Martin, Assistant Professor, Computer Science.
SLego: A Squeak Implementation of Lego Mindstorms Alexandre Bergel Institut fuer Mathematik und Informatik University Bern
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.
How to control LEGO® Mindstorms devices Thomas Mueller thomas _ tmspecial.com.
Minds and Computers 2.1 The RCX l Hitachi H8/3297 series processor l 3 inputs/sensors (1, 2, 3) l 3 outputs/motors (A, B, C) l 32k RAM/ 16k ROM ä 12 kB.
Mindstorms 1.1 Today’s topics l AI l History of Robotics l Uses of robots l The RCX l ROBOLAB l Upcoming ä Basic control ä Kinematics ä Robot architectures.
The Create robot, by iRobot
Using the BlueJ IDE with Mindstorms LMICSE Workshop June , 2005 Alma College.
Introduction to EV3. Many Different Types of Robots Snake Robot.
 Definition of Micro-Controllers  Comparison between types of Micro- Controllers  Pin Identification of ATMEGA32.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
ROBOTICS Jason Bell Brad Carlson
DPS Secondary Science Institute 1 Agenda 8:30-8:45 Introduction and Overview 8:45-9:15 The Bumper Car 9:15-10:15 The Line Follower 10:15-10:30 Questions.
RoverBot Assembly The following pages show assembly plans for the RoverBot using the Consumer MindStorms or School Team Challenge Lego kit. Assemble the.
Introduction to LEGO Mindstorms EV3 What is in the box?
ARM from NXT NXC Programming
2.8 NXT Test Programs (Try Me Mode) U2C8
FLL Robots Mindstorms kits Parts Robot design Robot essentials
NXT Mindstorms Kit Programming
Exploring Computer Science Lesson 6-5
Mindstorms EV3 Programming
The Create robot, by iRobot
Mindstorms EV3 Programming
‘SONAR’ using Arduino & ultrasonic distance sensor
Introduction to EV3.
Introduction to NXT.
Mindstorms EV3 Programming
Introduction to EV3.
Exploring Computer Science Lesson 6-5
Computer Science Teachers Association Academy Lego Robotics
LEGO Mindstorms Robot and Java
Introduction to EV3.
Presentation transcript:

Introduction to Lego Mindstorms LMICSE Workshop June , 2005 Alma College

The Lego Mindstorms Kit The RCX (the brains) Two Geared Motors Two Touch Sensors One Light Sensor A USB IR Tower A CD-ROM The Constructopedia Lots of Lego Pieces! RCX Brick and Standard Sensors and Motors

A Basic Robot Design The Constructopedia is a building guide. Shown at left is the basic Roverbot from the Constructopedia A robust design Allows attachment of any of double bumper (shown) wheel sets (shown) single bumper light sensor tank like treads A recommended design starting point Basic Roverbot Configuration

The RCX Itself (1) Hitachi H8 series microcontroller 8 bit CPU at 16 MHz 32 KByte RAM 16 KByte ROM for the BIOS Serial I/O (input/output) ADC (analog digital converter) Built-in timers RCX Brick

The RCX Itself (2) Liquid crystal display (LCD) Four push buttons One small internal speaker Three sensor inputs Three motor outputs One infrared (IR) interface with a proprietary protocol Requires 6 AA batteries RCX Brick

Actuators With Kit Geared Motors Available From Lego High-speed Motors Mini-motor Light Brick Available third party Servo Motor/Servo Controller Servo Controller w/ 2 Servo Motors Ungeared and Geared Motors

Sensors Basics Mindstorms sensors come in two types Active: RCX supplies power Example: Light sensor (supplied with kit) Passive: RCX just detects changes in resistance Example: Touch sensor (supplied with kit)

Sensors Available from Lego Touch Passive Supplied with Kit Light Active Supplied with Kit Rotation (Angle) Active Add-on Touch, Light and Rotation Sensors

Third Party Sensors (1) The sensor interface is well documented Many sets of building instructions for sensors exist, for example see Michael Gasperi’s website Two commercial suppliers we know of:

Third Party Sensors (2) Sonar (Ultrasonic range) Available both from Mindsensors and Hitechnic Magnetic Compass Sensor Available from Hitechnic Active and Passive Multiplexor Available from Mindsensors And many others Hitechnic Sonar Mindsensors Active Multiplexor Hitechnic Compass

Software Architecture Typical Software Architecture Levels

Software Architecture System ROM Layer Low Level Control Software Allows a second piece of software - the firmware Can be bypassed for direct control of the hardware

Lego Firmware The Lego firmware provides an environment for the execution of programs on the RCX. Must be downloaded (just once) before programming the RCX. Other firmware solutions are available. Lego Firmware v. 2.0 permits 5 separate programs 10 threads 32 global variables 16 local variables per thread Broadcast IR protocol

Alternative Firmware Firmware replacements further push the limits of the RCX Popular replacements are tied to alternative programming environments Examples LejOS (Java) see BrickOS (C/C++) see RCXLisp (Lisp) Part of the LMICSE project See

Programming the RCX Mindstorms ships with its own iconic programming language, but this is a very limited language. So others have developed for the RCX almost all the usual programming languages, including: C C++ Java Ada Lisp Forth Smalltalk

So What Now? Let’s play with some Legos!