Handy Board. Why the Handy Board Designed to be the controller of small, mobil robots Has many features that make it ideal for robotics projects –Integrated.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

1 Signals, Circuits, and Computers John Athanasiou Part B Spring 2010.
Programming Your Robot (in C)
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Handy Board. Why the Handy Board Designed to be the controller of small, mobil robots Has many features that make it ideal for robotics projects –Integrated.
Software Design Project
IR SENSORS AND ENCODERS. LCDs Timothy Friez Class # 2.
Railway Foundation Electronic, Electrical and Processor Engineering.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 26P. 1Winter Quarter Handy Board Lecture.
Deon Blaauw Modular Robot Design University of Stellenbosch Department of Electric and Electronic Engineering.
Digital I/O Connecting to the Outside World
Introduction.
Embedded Programming and Robotics
Introductory Robotics Workshop “Successful Strategies in Robotics” Terry Grant, NASA, Ames Research Center 2/1/05 2/8/05.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Easy on the Tini Bill Barker Carey Davis Ben Irwin Travis Majors Cell phone detector.
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
Objectives How Microcontroller works
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Segway Controller Notes. = connection on top layer of circuit board = connection on bottom layer of circuit board Ground Plane: Areas enclosed by the.
COE4OI5 Engineering Design Chapter 2: UP2/UP3 board.
Elements of IC n IC interface instructions l file types, loading, debugging n Data Objects l data types, constants, variables, characters n Expressions.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
The World Leader in High Performance Signal Processing Solutions Robotics on the Blackfin Processor Dr. Fred Martin Assistant Professor, Computer Science.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
JMC – Joint Motion Controller Complete guide to building and testing each JMC.
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
Introductory Robotics Workshop “Successful Strategies in Robotics” Terry Grant, NASA, Ames Research Center Jeneva Westendorf, Foothill High School 2/5/04.
Robot Building Lab: Introduction Lab 1 The Handy Board and Interactive-C (IC) es/robotlab/labs/lab1.ps.
7.2 V battery pack and charger Put the battery in the charger station at the end of the lab. period. Red light indicates charging. Ken Youssefi Introduction.
The George Washington University Department of ECE ECE 1010 Intro: Electrical & Computer Engineering –Introducing KIPR Link/Interface and Set-up –Continuation.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
The Handy Board Bryan Valentini General Robotics 2003.
Design of the New Handy Board for Robotics Using the NI LabVIEW Embedded Module for ADI Blackfin Processor Fred Martin, Assistant Professor, Computer Science.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 26P. 1Winter Quarter Handy Board Lecture 26.
PRIYADARSHINI SHRAVYA KAVYAA MOBILE CONTROLLED ROBOT USING DTMF ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
Engineering H193 - Team Project Gateway Engineering Education Coalition Lab 1P. 1Spring Quarter Introduction to Sensors Lab 1.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 29P. 1Winter Quarter Software Design Project Lecture 29.
OBSTACLE AVOIDANCE ROBOT
ROBOTIC VEHICLE FOR STORES MANAGEMENT
July 18, UCSD - R.A. de Callafon Short Intro to Micro Processors and I/O functions of our Kinetic Sculpture Control Box Raymond de Callafon.
Mark Randall & Kevin Claycomb Faculty Advisor: David Mitchell Industrial Sponsor: IEEE.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
AAPT workshop W03 July 26, 2014 Saint Cloud State University, MN, USA
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
Introduction to VEX® components
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
NXT Mindstorms Kit Programming
PC Mouse operated Electrical Load Control Using VB Application
ARDUINO LINE FOLLOWER ROBOT
Arduino - Introduction
‘SONAR’ using Arduino & ultrasonic distance sensor
Project Title EVM IN PIC Under the Guidance of Submitted by.
Introducing KIPR Link/Interface and Set-up
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Introduction to Microprocessors and Microcontrollers
Microcontrollers and Microprocessors
Controlling YOUR ROBOT
8051 Micro Controller.
Robotics System Lecture 11_12: DC Motor
Introduction to Arduino
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Presentation transcript:

Handy Board

Why the Handy Board Designed to be the controller of small, mobil robots Has many features that make it ideal for robotics projects –Integrated motor drivers –32K bytes of memory –LCD screen –Integrated battery pack –Interactive C –Small size –Sensor connectors for digital and analog sensors

Handy Board Specifications Motorola 6811 microprocessor with system clock at 2 MHz. 32K of battery-backed CMOS static RAM. Two L293D chips capable of driving four DC motors. 16 x 2 character LCD screen. Two user programmable buttons, one knob and one piezo beeper. Powered header inputs for 7 analog sensors and 9 digital sensors.

Handy Board Specifications Internal 9.6v nicad battery with built in recharging circuit. Hardware 38 kHz oscillator and drive transistor for IR output and on-board 38 kHz IR receiver. 8-pin powered connector to 6811 SPI circuit. Expansion bus with chip selects x 3.15 inches.

Handy Board

Expansion Board Specifications 10 additional analog sensor inputs; 4 inputs for active LEGO sensors (reflectance sensor and shaft encoder). 9 digital outputs. 6 servo motor control signals with power supply from the Handy Board's internal battery. optional external power for servo motors.

Expansion Board Specifications connector mount for Polaroid 6500 ultrasonic ranging system. pass-through connector for the Handy Board's LCD screen.

Expansion Board

Charging Adapter plugged directly into board. trickle- charge. (12-14 hours) Adapter plugged into the Serial Interface/Battery Charger board with “NORMAL CHARGE” selected. Trickle-charge (12-14 hours) Adapter plugged into the Serial Interface/Battery Charger board with “ZAP CHARGE” selected. Zap Charge mode (3 hours. DO NOT LEAVE IN THIS MODE)

Downloaders Two primary components to Interactive C –6811 downloader program –Interactive C application Program named “pcode_hb.s19” must be present in the handy board to use Interactive C. Bootstrap Mode –Turn off the board and then turn it on while holding down the stop button. When the two power LEDs go out it is in bootstrap mode.

Interactive C A subset of C Includes control structures, local and global variables, arrays, pointers, integers and floating point numbers Data types –Int 16-bit integers –Long 32-bit integers –Float 32-bit floating point –Char 8-bit characters No switch statements

Using IC IC will perform any valid C statement –2+2; –{beep(), sleep(2.0);beep()}; Main function –If main function is present it will be run when the Handy Board is reset

Using IC IC commands –load compiles and loads “filename” to the Handy Board –unload unloads “filename” and re-loads remaining files –list files, list functions, list globals lists files, functions or globals presently on the Handy Board –kill_all kills all currently running processes –Ps prints the status of currently running processes –Help displays a help screen of IC commands –Quit exits IC

Library functions DC Motors –void fd(int m) turns on motor m in forward direction –void bk(int m) turns on motor m in backward direction –void off(int m) turns off motor m –void alloff() turns off all motors –void ao() turns off all motors –void motor(int m, int p) turns on motor m to power level p (p ranges from 100 to -100 or full forward to full backwards)

Library functions Sensor input –int digital(int p) returns true false value of sensor in sensor port p –int analog(int p) returns value of sensor in sensor port p (value between 0 and 255) User Buttons and knobs –int stop_button() returns value of STOP button (1=pressed,0=relesed) –int start_button() returns value of START button (1=pressed,0=relesed) –void stop_press() waits for STOP button to be pressed, then relesed and then issues a short beep and returns –void start_press() waits for START button to be pressed, then relesed and then issues a short beep and returns –int knob() returns the position of the knob as a value from 0 to 255

Library functions Time Commands –void reset_system_time() sets system time to zero –long mseconds() returns system time in milliseconds –float seconds() returns system time in seconds –void sleep(float sec) sleeps for sec seconds –void msleep (long msec) sleeps for msec milliseconds

Library functions Tone Functions –void beep() produces a 500 Hertz tone for.3 seconds –void tone(float frequency, float length) produces a tone at frequency Hertz for length seconds –void set_beeper_pitch(float frequency) sets the beeper tone to frequency Hertz –void beeper_on() turns on the beeper –void beeper_off() turns off the beeper

Library Functions Process Functions –int start_process(function-call(…), [ticks], [stack-size]) returns an intiger process ID assigned to the new process –int kill_process(int pid) returns a 0 if the process was destroyed, 1 if the process cannot be found –void hog_processor() adds additional 256 ms to currently running process –void defer() process swaps out imediately after this function is called

Analog and Digital Sensor Inputs Two banks sensor inputs –nine digital sensor inputs –seven analog sensor inputs

Sensor Circuitry Each port is a 3-wire sensor (power, ground, signal) 47K resistor provides half of a common voltage divider circuit Default 5 volts when no signal is present

Sensor Inputs Digital Inputs –True/False (Vsens>2.5/Vsens<2.5) Analog Inputs –Range from 0 to 5 volts –Converted to 8-bit number –0 to 255 decimal

Switch Simple switch circuit -contact switch

Voltage Divider Simple voltage divider circuit –Light sensors –Reflectance sensors

Reflectance Sensor Emitter led Current limiting resistor Detector/photoresistor Concept directly applies to Break beam sensors

Optical Distance Sensor GP2D12 Modulated IR emitter –Projects a spot of modulated light onto target surface Detector assembly –Light from the spot is focused by the detector lens –The focused light hits a special linear position- sensitive detector element

Optical Distance Sensor The angle of incidence changes depending on the distance the light spot on target surface is from the Lens/Position Sensitive Detector

Hamamatsu UVTron Sensor –Detects radiant energy int the nm range –Pulses when it absorbs radiation. Driver Circuit –Monitors pulses from sensor and signals high when a set number of pulses have been detected.

Gears Uses –To reverse the direction of rotation –To increase or decrease the speed of rotation –To move rotational motion to a different axis –To keep the rotation of two axis synchronized Tradeoffs of increasing/decreasing speed –Gearing for high speed reduces torque –Gearing for high torque reduces speed

Gears Gear Ratios –Representation of the size difference between the two gears 2:1 (two to one) –The smaller gear has to spin two times for the larger gear to spin a single time Gear Trains –Combination of multiple gears –Produce larger gear ratios –Change axis of rotation –Synchronize gears

Lab Ferguson room 18 Equipment –Computers –Voltage Supplies –Voltage Meters –Oscilloscopes –Soldering equipment –Wave Generators –Manuals located in workbench drawers

BrainStem™ 40 Mhz RISC processor 5 channel, 10 bit A/D 5 digital I/O lines GP2D02 Driver 1 MBit IIC port IIC routing status LED

BrainStem™ 10, 1k TEA files RS-232 serial port reflex architecture 4 concurrent TEA processes 4 high resolution servo outputs Onboard 1 Amp, 5V power regulation (low dropout)

TEA Tiny Embedded Application –Exact subset of ANSI C –Runs on the TEA VM (virtual matine)

References Robotic Explorations A Hands-On Introduction to Engineering by Fred G. Martin

Questions