LEGO Mindstorms Hitachi H8-based RCX brick B.A. Juliano, R.S. Renner, F. Jauregui January 2004 California State University, Chico Intelligent Systems Laboratory.

Slides:



Advertisements
Similar presentations
LabView Basics.
Advertisements

Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Presentation by: Serena, Ann & Nicole
Sensors For Robotics Robotics Academy All Rights Reserved.
The physical parts of Computer
Sensors For Robotics Robotics Academy All Rights Reserved.
Introduction to Lego Mindstorms LMICSE Workshop June , 2005 Alma College.
Computer Parts There are many parts that work together to make a computer work.
Chuang-Hue Moh Spring Embodied Intelligence: Final Project.
Microcontroller based system design
Parts of a Computer.
Microcontroller: Introduction
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.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Introduction to computer: storing instructions and information.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 1 Introducing Hardware.
Teaching with Robotics Professor: Jeffrey Forbes
An Introduction to Hardware, Software, and the Internet
The Purchase of a PC Robert Grauer and Maryann Barber.
B.A. (Mahayana Studies) Introduction to Computer Science November March The Motherboard A look at the brains of the computer, the.
Ch Review1 Review Chapter Microcomputer Systems Hardware, Software, and the Operating System.
Computer Processing of Data
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
CPU (CENTRAL PROCESSING UNIT): processor chip (computer’s brain) found on the motherboard.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
An Overview of Using Computers
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
Innovative Training Works Digital Literacy Training Computing Fundamentals Computer Hardware.
Computer Components Checklist There are many parts that work together to make a computer work.
James Dillon. We will go over all of the basic parts of a computer.  Motherboard  Central Processing Unit (CPU)  Read Only Memory (ROM)  Random Access.
Agenda Last class: Keyboard Layout Today: Unit-1 Topic-2 –Computer hardware components.
Block diagram of basic computer By Christabel 10QPL Central processing unit (CPU) Storage devices Output devices Input devices.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Computer Architecture
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.
An Overview of the Computer System lesson 1. This lesson includes the following sections: The Parts of a Computer System Looking Inside the Machine Software:
Components of a Computer System
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.
Computer Parts There are many parts that work together to make a computer work.
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.
PARTS OF A COMPUTER 2 Hardware Computer Hardware is any of the physical parts of the computer you can touch. There are 4 categories: 1. Input Devices.
REST OF THE COMPUTER BEFORE THE INTERNET. Understand Your Computer  Bit  Binary digit  0 or 1  Byte  8 bits  Unique combinations of 8 bits of 0s.
Chapter 2 HAEDWAER.
Introduction to EV3. Many Different Types of Robots Snake Robot.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Computer Parts There are many parts that work together to make a computer work.
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.
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
Memory Mapped IO (and the CerfBoard). The problem How many IO pins are available on the 8051? What if you are using interrupts, serial, etc…? We want.
INTRODUCTION TO COMPUTERS. A computer system is an electronic device used to input data, process data, store data for later use and produce output in.
Introduction to LEGO Mindstorms EV3 What is in the box?
Introduction to Computers Mrs. Gambucci
NXT Mindstorms Kit Programming
Power Supply.
Exploring Computer Science Lesson 6-5
An Overview of the Computer System
ASSEMBLY LANGUAGE FOR INTEL-BASED COMPUTERS,
Sensors For Robotics Robotics Academy All Rights Reserved.
Introduction to EV3.
Introduction to Microprocessors and Microcontrollers
An Overview of the Computer System
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Introduction to EV3.
Exploring Computer Science Lesson 6-5
8051 Supplement.
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Computer Repair & Maintenance
LEGO Mindstorms Robot and Java
Introduction to EV3.
Presentation transcript:

LEGO Mindstorms Hitachi H8-based RCX brick B.A. Juliano, R.S. Renner, F. Jauregui January 2004 California State University, Chico Intelligent Systems Laboratory Chico, CA

LEGO Mindstorms

Robotics Invention System 2.0 RIS Kit

Contents of Kit RCX™ Microcomputer CD-ROM Software Contructopedia™ 3 Guided Challenges 6 Pro Challenges USB Infrared Transmitter 718 pieces, including: 2 Motors 2 Touch Sensors 1 Light Sensor

Compatibility Minimum Requirements for your PC: Operating System Windows® 98* CPUPentium II 233 MHz RAM32 MB Available Hard Disk Space 115 MB MouseWindows® Compatible Sound Sound Blaster 16™ Windows® Compatible Sound Device CD-ROM SpeedCD 8X Video Display800 X 600 SVGA with 4 MB RAM ColorsColors 16 bit Modem (optional)28.8 KBPS Internet Browser (optional) Netscape® Navigator or Microsoft™ Internet Explorer Not compatible with Windows NT or Windows 2000 operating systems.

RIS 2.0 RCX Brick An autonomous LEGO microcomputer that can be programmed using a PC. The RCX serves as the brain of LEGO MINDSTORMS inventions.

About the Brick LCD (Liquid Crystal Display) Four buttons One internal speaker Three sensor inputs Three actuator outputs IR (Infrared) interface

About the Brick 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

Features Instruction set with 57 basic instructions, including: –Multiply and divide instructions –Powerful bit-manipulation instructions High-speed operation –All frequently-used instructions are executed in two to four states

Software Architecture System ROM Layer Low level control software Interface to hardware Second piece of software –Firmware –Located in RCX ROM

Firmware Can bypass system ROM software –Allows complete control of RCX Erased when power removed In RCX RAM Can use standard Firmware OR –Can be replaced with others –birickOS

Caution When changing batteries you may loose Firmware and all programs –Replace one at a time –Do within one minute

Multi-Tasking Threading –Multiple things at one time Can create new threads to accomplish Multi-Tasking

Put it All Together

Hitachi H8/3292 Microcontroller

Hitachi H8/3292 diagram

Hitachi H8/3292 package

H8/300 CPU 8-bit data 16-bit address space 8 X 16 bit registers (r0-r7) –R0 – function return –R7 – stack pointer 16 MHz clock

H8/3292 Block Diagram

RCX Memory Layout

Input Devices 3 Sensors 4 Buttons Battery level monitor Timers

Light Sensor Two components Light detector Small light source Light turned on to find something close. Amplifies difference between light and dark. Great for line following

Light Sensor cont. Highly sensitive to ambient light –Sunlight is the worst How to solve problem –Take two light sensor readings and subtract the background light Sensitive to objects reflective surface. –Thus, difficult to measure distance.

Light Sensor cont. Light measured as – 0% (total darkness) to –100% (very bright).

Light Sensor cont. photo-transistor

Uses for Light Sensor Navigation Black on white White on black Find light Avoid light Sort colors black Lego bricks yellow Lego bricks. Input Device colors or gray levels on paper.

Touch Sensor

Uses for Touch Sensor Detect contact Wall detection Internal contact Arm contact with internal parts Constant contact Make sure bot does not fall off of a table Input Device Use as a push button

Others You can buy or make you own sensors –Example: Temperature sensor –Search online –Lots of resources

Temperature Sensor

Temperature Sensor cont.

Output Devices 3 Actuator Ports 5-segment LCD Speaker

Bidirectional Device Infrared port

LegoOS Network Protocol (LNP) Communication between brickOS and host computers If packets arrive –Free of corruption Collision problems