Patterns, frameworks & Lejos

Slides:



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

Reflection Objectives:
Another example of interference that is often observed is interference from a thin film. Light incident on the surface of a thin film is reflected from.
Sonar and Localization LMICSE Workshop June , 2005 Alma College.
Sensors.
May 19, 2012 Lloyd Moore, President/Owner Just kidding – next slide please!
Sensors For Robotics Robotics Academy All Rights Reserved.
Standard input, output and error. Lecture Under Construction.
Light Reactions 7 th Grade Chapter 7. Colors in the world The color of the objects we see in the natural world is a result of the way objects interact.
Assignment Array Sorter NSF WorkshopPam Lawhead. Overview The purpose of this assignment is to give the student experience using Java arrays, light sensors.
Efficient Path Determining Robot RIT Computer Engineering Senior Design Project Jamie Greenberg Jason Torre October 26, 2004 A motorized robot will navigate.
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.
Using the Light Sensor A LEGO light sensor utilizes a LED and a phototransistor to read the reflection of light off a surface. Light sensors are useful.
LEGO Mindstorms Hitachi H8-based RCX brick B.A. Juliano, R.S. Renner, F. Jauregui January 2004 California State University, Chico Intelligent Systems Laboratory.
TECHNICAL TOPIC Photoelectric Sensors Mike Loiselle.
Patent Liability Analysis Andrew Loveless. Potential Patent Infringement Autonomous obstacle avoidance 7,587,260 – Autonomous navigation system and method.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Robotics Day4.
Chuang-Hue Moh Spring Embodied Intelligence: Final Project.
Design and Implementation of Metallic Waste Collection Robot
Line-Follower Challenge. 1. How does a light sensor work? Does the light sensor detect white or black as a higher amount of light reflectivity? Absorbance?
Types of Surfaces. When light hits different surfaces, it behaves in different ways. Surfaces can be one of three types. Light can pass through a substance,
Fuzzy control of a mobile robot Implementation using a MATLAB-based rapid prototyping system.
Sensors Material taken from Robotics with the Boe-Bot.
BAR CODE SCANNER A.ANUSHA (06N61A0402). What is bar code? A barcode is a machine readable representation of information. Barcode stores data in widths.
Recoded. Significance of programming Digitalised era- phones, computers, industrial processes… Raspberry programming device Exploration of the concept.
LEGO Mindstorms NXT Introduction. Component NXT Brick Touch Sensor Light Sensor Ultrasonic Sensor Interactive Servo Motors MMN Lab.
Department of Computing and Information Sciences Kansas State University Design Methodology for State based Embedded Systems Case Study: Robot Controller.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
LIGHT.
Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin.
Energy to See By 1.  Alien Attack Website: alienattack.htm 2.
Chess Playing Bot. Detecting Green coloured squares using Blobs.
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.
Stimuli sensorcontrol program response actuator stimuli sensorcontrol program response actuator 1. Other systems are part of the environment 2. Communicate.
Team Project: A Surveillant Robot System Little Red Team Chankyu Park (Michel) Seonah Lee (Sarah) Qingyuan Shi (Lisa) Chengzhou Li JunMei Li Kai Lin SW.
Project Overview Autonomous robot with multiple modes of operation – Follow, run away, manual control Infrared sensors to detect warm bodies Ultrasonic.
Sentry System Multiple Sensors
Using IR Chapters 7 & 8 of Robotics with the Boe-Bot.
LIGHT Principles of Physics. It is impossible to see the actual wave shape (crests and troughs, etc) of a light wave Instead we draw straight lines, called.
Using IR Chapters 7 & 8 of Robotics with the Boe-Bot.
Proximity Sensors. What are proximity sensors is a sensor able to detect the presence of nearby objects without any physical contact.sensor.
Controlling a Robot with a Neural Network n CS/PY 231 Lab Presentation # 9 n March 30, 2005 n Mount Union College.
DEPARTMENT OF COMPUTER SCIENCE N.HARIKA. Contents Overview of I/O Streams Character Streams Byte Streams Using the Streams 2.
Wave Properties. S8P4. Students will explore the wave nature of sound and electromagnetic radiation. d. Describe how the behavior of waves is affected.
LeJOS Protocols. Serial Class Serial class found in josx.platform.rcx package Serial class found in josx.platform.rcx package RCX – IR, RCX – RCX communication.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
Lesson 1: Motors and Sound Programming Solutions.
Deriving Consistency from LEGOs What we have learned in 6 years of FLL by Austin and Travis Schuh © 2005 Austin and Travis Schuh, all rights reserved.
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.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
1 Smart Vehicles – Summary  Leyla Nazhand-Ali, Ph.D.  Assistant Professor  IEEE member  Michael Henry  Graduate Student.
Instructions Quit H Robinson. Quit Start Game H Robinson Instructions: Enable Macros when prompted. If you were not prompted then open PowerPoint, go.
The Decorator Pattern Decorators in Java I/O classes SE-2811 Dr. Mark L. Hornick 1.
T.R.I.D.E Simon Overell (seo01) Supervisor: Keith Clark.
Self-Navigation Robot Using 360˚ Sensor Array
PRESENTATION ON Line follower robot.
Exploring Computer Science Lesson 6-5
Smart Vehicles – Summary
Line-Follower Challenge
Deriving Consistency from LEGOs
Sensors For Robotics Robotics Academy All Rights Reserved.
Smart Car Robot Prepared by Supervised by Mai Asem Abushamma
Sensors For Robotics Robotics Academy All Rights Reserved.
Serial Data Hub (Proj Dec13-13).
Learning Targets 1). You need to understand what the electromagnetic spectrum is as well as how it is organized. 2). You must be able to describe the relationship.
Motors and Sensors Large Motor
Exploring Computer Science Lesson 6-5
Compiled from various Internet sources Presented by Mr. Hatfield
Oregon Robotics Tournament and Outreach Program
LEGO Mindstorms Robot and Java
Presentation transcript:

Patterns, frameworks & Lejos Part 3: Proximity detection & RCX communications

Creating a simple proximity sensor Light sensor can detect both visible & infrared light We can use the RCX IR port as a sort of strobe light, and use the light sensor to pick up reflections from objects in the robot’s path

Using the IR port as a flashlight We can use the Serial class to transmit numbers via the IR port Sending a single number turns the light on for about 40 ms Strategy: take sensor reading with IR “light” off turn light on & take second reading If nothing is in front of the robot, light will dissipate into distance, and there will be little, if any difference between the readings; a large chip in reflected light would indicate an obstacle

Code from p291 goes here

Factors that affect readings Objects further any produce fewer “hits” than close objects Readings are not always consistent, even at the same distance from the same object Surface text-we affects amount of reflected light - light-colored, smooth, had surfaces give stronger readings than dark, soft, rough surfaces Large objects produce stronger signals than small objects Field of view limited; sensor can only detect what is directly in front of it

Code from pp 295-297 goes here

Reliability Sensor does very will when approaching white objects Has trouble with black objects, especially when approaching at an angle Have to play around with amount of change we want light sensor to detect

ProximitySensor class The functionality described in the last several slides has been encapsulated into the Lejos ProximitySensor class This class simplifies the use of the light sensor for proximity detection, just as the Navigator classes simplify navigation problems

RCX Communications Although the IR past can be used for proximity detection, its primary purpose is communication A robot can transmit data to the IR tower attached to the PC, and the PC can transmit via the IR tower to a robot

RCX Communications Because a robot’s memory is limited, complex algorithms should be performed, whenever possible, on a PC The robot can collect information about its environment & transmit the data to the PC for analysis The robot can then rely on guidance from the PC to solve complex problems

RCX Communications Two RCXs can also communicate with one another via IR signals Can create “super brick” with 6 inputs & outputs, 64K of memory - one brick is the controller, while the other just follows orders Robots can also be built to interact with each other

Communications API Communications classes located in two Lejos packages: java.io josx.rcxcomm The Lejos java.io package is similar to the original Java API package;it contains classes that describe the most basic data I/o streams, including: InputStream OutputStream DataInputStream DataOutputStream