Computer Basics. The Computer (Generic) Processor executes commands. Memory stores program and data. Input devices transfer information from outside world.

Slides:



Advertisements
Similar presentations
NXT 2-Motor Car Adapted from Physics by Design, Second Edition, by Barbara Bratzel, College House Enterprises, 2007 MAXA ROBOTICS 2011.
Advertisements

LabView Basics.
Lecture 1: Overview of Computers & Programming
1. 2 FRC 2010 Driver Station Doug Norman & Stephanie Brierty National Instruments January 8, 2010 Thanks to Joe Ross – Team 330.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Remote Communication.
Discovering Computers 2010
Professor Michael J. Losacco CIS 1110 – Using Computers System Unit Chapter 4.
Introduction to Lego Mindstorms LMICSE Workshop June , 2005 Alma College.
Chapter 4 The Components of the System Unit
1-1 ICS102: Introduction To Computing I King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
LEGO Mindstorms Hitachi H8-based RCX brick B.A. Juliano, R.S. Renner, F. Jauregui January 2004 California State University, Chico Intelligent Systems Laboratory.
FLL Programming 101 NxtPL May 2006 Version 1.0. Legal Stuff © 2006 INSciTE in agreement with, and permission from FIRST and the LEGO Group. This document.
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.
Consultant Learning Services Microsoft Store Customer Service and Support Sutherland Global Services.
Systems Software Operating Systems.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
Using the LEGO NXT March 2007 David Schilling Gus Jansson.
Lesson 4 Computer Software
Drivers Station 2010 Joe Ross Team /12/2009.
Chapter Introduction to Computers and Programming 1.
Teaching with Robotics Professor: Jeffrey Forbes
ECE 191: Group 2 NXT Robots & Their Applications in Machine Learning Mentor: Anjum Gupta Group: Roanne Manzano Eric Tsai Jacob Robison Sponsored by: SPAWAR.
Computer Processing of Data
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
Introduction to the Basic Parts of LEGO’s NXT Robotics
Disassemble NXT 1. Daughterboards Display daughterboard Connector to the motherboard that you can disconnect Bluetooth daughterboard Speaker on the display.
Standard Grade Computing System Software & Operating Systems.
VEX Parts – Batteries, Logic, and Controls
Overview: The goal of this lesson is to explore the concept of firmware using the NXT. Students will connect the NXT to a computer to download firmware.
CPS120: Introduction to Computer Science Introduction to Computers.
Use bluetooth for communication 1. enable bluetooth in NXT and also enable visibility 2. configure setting in brickCC –Wait about 30 seconds for searching.
Microcode Source: Digital Computer Electronics (Malvino and Brown)
AUTOMATION & CONTROL INSTITUTE INSTITUT FÜR AUTOMATISIERUNGS- & REGELUNGSTECHNIK Utilizing Lego Mindstorms nxt(tm) as Teaching and Training Platform for.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
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.
OPERATING SYSTEM - program that is loaded into the computer and coordinates all the activities among computer hardware devices. -controls the hardware.
Samantha. What is it? –It is a Wi-Fi interface for the Lego Mindstorms –It replaces the Bluetooth connection for running matches It is mostly for running.
June 7 th training - DRHS. HOUSE KEEPING  8:30 start  9:40ish RR Break  11: :30 Lunch  12:45 Round 2  1:45 – 1:55 RR Break  3:30 Dismissal.
How to control LEGO® Mindstorms devices Thomas Mueller thomas _ tmspecial.com.
Chapter 1 : Overview of Computer and Programming By Suraya Alias
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.
Installing Java on a Home machine For Windows Users: Download/Install: Go to downloads html.
Introduction To Computers
Introduction to EV3. Many Different Types of Robots Snake Robot.
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
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.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
Spring 2008 Mark Fontenot CSE Honors Principles of Computer Science I Note Set 11.
Overview: This lesson explores the NXT as a computer. It is intended to follow the "Introduction to Computers" lesson. Objectives: Students will be able.
EV3 Hardware: Anything you can see or touch EV3 Software: Programs written by you Firmware: Programs/Instructions written by the manufacturer.
Introduction to LEGO Mindstorms EV3 What is in the box?
2.8 NXT Test Programs (Try Me Mode) U2C8
NXT Mindstorms Kit Programming
What Do Computers Do? A computer system is
Installing Java on a Home machine
Exploring Computer Science Lesson 6-5
Introduction To Programming with LEGO NXT 0
Hardware, Software & Firmware
Computer Basics.
Installing Java on a Home machine
Exploring Computer Science Lesson 6-5
Computer Organization & Compilation Process
LEGO Mindstorms Robot and Java
Presentation transcript:

Computer Basics

The Computer (Generic) Processor executes commands. Memory stores program and data. Input devices transfer information from outside world into computer. Output devices are vice versa. Memory Processor Inputs Outputs

Processor: 32 bit ARM Atmel AT91SAM256 running at 50 Mhz Memory: 64K Static RAM, 256K Flash 3 Motor Outputs (A, B, C) 4 Sensor Inputs (1, 2, 3, 4) Go Back button Right button On/Select button LCD display USB communications port NXT Left button

NXT Firmware Software Your PC Firmware Your NXT compiled *.rte Files Static RAM (Random Access Memory) * RAM loses power, data is safe! Your Programs ROM (read only memory) For FLL purposes, think of firmware as the operating system (like Windows XP or Max OSX) for the NXT Download Firmware Processor (ARM)

Firmware Loaded? Firmware must be downloaded to your NXT so that the NXT can understand your programs. Only required to be loaded – To install a new firmware release, – NXT lost it’s firmware for some reason, or – NXT starts behaving badly. Tick.. Tick... No firmware Firmware loaded.

From: Structure and Interpretation of Computer Programs, Abelson, Sussman, and Sussman, Computer Programs Model a real or mental process Intricate in detail Only partially understood Rarely modeled to our satisfaction Thus, programs continually evolve The computer is a harsh taskmaster, its programs must be correct and things must be accurate in every detail.

Writing a Computer Program Specify the task – Inputs to be supplied – Outputs to be produced Devise an algorithm Express that algorithm in a computer language From: Introduction to Pascal, Welsh and Elder

Language Choices NXT – NPL (NXT Programming Language) Comes with the NXT version of LEGO Mindstorms PC or a MAC Has MyBlocks like RIS Built on top of LabVIEW like RoboLab – RoboLab 2.9 RCX – RoboLab Runs on MAC or PC. – RIS Only runs on a PC High School FLL: no language restrictions.

Running a computer program (NXT) Write program on PC (NxtPL) Download to the NXT NXT executes commands Program conv. to bytecodes (text description) Bytecodes converted to ARM (NXT) machine code commands Move X to register SetPower(A,3)

Tips and Tricks (1) The NXT has memory to store many programs – NXT automatically powers down. Bluetooth Communications – The NXT has bluetooth communications. If enabled, PCs, NXTs and other bluetooth devices can talk to each other. – Disable bluetooth during competition.

Tips and Tricks (2) Direction of connecting wires – NXT wire connectors only fit one way. Can not be rotated. Batteries – AA – No worry about losing firmware. – NiMH rechargeable batteries work. NiCads don't. – Lithium rechargeables come with the FLL Mindstorm kits. – Avoid stalling the motors, it drains batteries.