Programming Applied Sensors in FIRST Robots Chris Elston – Team 1501 www.huntingtonrobotics.org Download sample code: www.frcsoft.com.

Slides:



Advertisements
Similar presentations
Apple Pi Robotics Logic System and Programming Basics 1 1.
Advertisements

Alpha Control System TheRobettes.com.
Add and Use a Sensor & Autonomous For FIRST Robotics
1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.
Engineering Roles We will be forming groups of 3 students
Accelerometers and Gyros Timothy Friez Class # 3 1/29/08.
Presented By: Lynbrook Robotics, Team 846 John Chai, David Liu, Aashish Sreenharan, Michael Wachenschwanz, and Toshi Tochibana Available online at lynbrookrobotics.comlynbrookrobotics.com.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
Unit 4 Sensors and Actuators
FLIGHT READINESS REVIEW TEAM HAWAII. LEO HANO FULL SCALE LOW POWER March 13, 2011 Motor = K780R.
Bread Boarding and Operating The IFI Robotic Control System.
Part 1: Introduction FRC Introduction  FRC 2907 since 2008  Each area of the robot has a team assigned  The Electronics team is headed this year.
Overview of New System Beta Team from Wilsonville 1425 Wilsonville Robotics – Code Xero 2550 Oregon City Robotics.
FRC LabVIEW Software Overview Joe Hershberger Staff Software Engineer National Instruments.
Connecting VEX and ROBOTC
UEzMOW University Of Evansville Team: Mark Randall Systems Design (Team Captain) Zachariah Fuch High Level Control s Addisu Taddes Low Level Controls.
IR SENSORS AND ENCODERS. LCDs Timothy Friez Class # 2.
Old control system ( ) MVRT. Main Circuit Breaker Connected to the red wire (power) of the battery When turned off, all power is cut off and robot.
1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics
Components of a Successful FRC Electrical System
EML 2023 – Motor Control Lecture 3 – Feedback Sensor Optical Encoder.
VEX Robotics Platform and ROBOTC Software
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
Mentors Workshop Control System Sub-System Mark McLeod Team 358 Festo/Hauppauge H.S. F For I Inspiration and R Recognition of S Science and T Technology.
Programming and Controls for FIRST – The Basics Tom Barch, Scott VanBrocklin and Kayla Peltier February 5 th, 2008.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Introduction to the VEX ® Robotics Platform and ROBOTC Software © 2012 Project Lead The Way, Inc.Principles of Engineering.
LabVIEW Workshop September 26, 2009 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
The New FTC Platform (Connecting your legacy hardware)
FRC Robot Framework Labview Made Easy (er) For FIRST Robotics 1.
Bread Boarding and Operating The IFI Robotic Control System.
Beginner Programming Workshop Simona Doboli Assistant Professor Computer Science Department Hosftra University November.
EasyC Programming Workshop January 30, 2008 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
David GiandomenicoFeedback Control for your FIRST Robot’s DrivetrainDec 2010 WRRF Workshops #1 David Giandomenico Team mentor for Lynbrook Robotics – Team.
An Objective and Component View (Not included Drive: Balance and Turret: Axis Camera)
Robot sensors MVRT 2010 – 2011 season. Analog versus Digital Analog Goes from 0 to 254 Numerous values Similar to making waves because there are not sudden.
Default_Routine(); - PWM Mapping /******************************************************************** * FUNCTION NAME: Default_Routine * PURPOSE: Performs.
FRC Robot Programming 1.PID Continued 2.Downloading and Deploying Code 3.Program a 2012 Robot from Spec Basic code For FIRST Robotics.
Cass Lake Bena Robotics.  Drivetrains  Electrical System  Operator Interface.
RoboNova 1.
Understanding The 2008 FRC Robot Controller Chris Gregory FRC1089 – Team Mercury
Session 12 Sensors and Timers. 3 Main Types of Robot Projects Command-Based Robot A more complicated project for more complicated robots Iterative Robot.
Electronics and Controls
Teacher/Mentor Institute Using easyC David Dominguez June 2, 2015 Update Version.
Rebecca Bruce and Susan Reiser, May 2015 Analog Input and Output.
Smart Lens Robot William McCombie IMDL Spring 2007.
Sensors Joe Ross Team What is a Sensor A sensor measures a physical quantity and converts it into a signal which can be read by an instrument.
Innovation First Hardware & Default Program The 5¢ Tour... Dr. Joe January 5, 2002.
Cass Lake Bena Robotics Team 3134 & Team  Drivetrains  Electrical System  Operator Interface.
Istituto Tecnico Industriale A.Monaco EURLAB Moving a robot simple example program to control a DC-Motor Next - Press the button (left)
ROBOTC for VEX Online Professional Development. Homework Questions Thoughts? Questions?
Introduction to VEX® components
FIRST ROBOTICS COMPETETION Introduction to Electrical & Control System Power and Signal Distribution/Interconnection Sensors, Motors, Speed Controllers,
INTRODUCTION TO JAVA PROGRAMMING FOR THE FIRST ROBOTICS COMPETITION JONATHAN DANIEL HEAD PROGRAMMER FERNBANK LINKS.
FRC Robot Electronics.
BEST Robotic, Inc. MATLAB/Simulink Team Training
Electrical Engineer Responsibilities
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
ROBOTC for VEX Online Professional Development
Electrical Engineer Responsibilities
ROBOTC for VEX Online Professional Development
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Electrical Engineer Responsibilities
RobotC Sensors.
Introduction to Team 294 Programming Concepts
Trainings 10/28 Woooooo!!.
Training 11/11/16 Robot Code (WPILib).
Introduction to RobotC
Sensors and actuators Sensors Resistive sensors
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Presentation transcript:

Programming Applied Sensors in FIRST Robots Chris Elston – Team Download sample code:

Basic Components Robot Controller & Operator Interface Radio Modems Digital Sensors Analog Sensors Speed Controllers and Spikes Joysticks Motors & Pneumatics

Basic Components Reference material (where to find) 2004 – Best year to look for documentation on controller, programming examples 2005 – Best year to look for documentation on CMU camera – Not many new documents released

Basic Components Digital Sensors Analog Sensors CMU Camera

Digital Sensors

Joystick buttons Buttons Limit Switches Pressure Sensor Optical Sensor Reed Switches Thumb Wheel Switches Encoders

Digital Sensors Example programming questions How does a limit switch work? How does a thumbwheel work? Optical sensors work?

Digital Sensors The Limit Switch is a digital sensor. It can distinguish between two states: whether the limit switch is pressed or not pressed. When the Limit Switch is not pressed, the robot interprets this value as a 1 (one). When the Limit Switch is pressed the robot interprets the value as a 0 (zero).

Digital Sensors

Analog Sensors

Joystick Axis Potentiometers Rotational Rate Sensor (Yaw Rate Sensor) SMC Analog Pressure Sensor

Analog Sensors Analog Inputs are defined as inputs that can have any voltage value between 0 and 5 volts, not just ON or OFF. Joysticks, Potentiometers, and Gyro sensors are typically connected to Analog Inputs. Both the Robot Controller and the Operator Interface (FRC system only) have the capability to measure analog inputs.

Analog Sensors PWM Type Analog Inputs Operator Interface represented as a 0 to 254 = 0 to 5V linearly 10-Bit Analog Inputs Robot Controller represented as 0 to 1023 = 0 to 5V linearly

Analog Sensors Always use 100k Ω potentiometers.

Analog Sensors

IS30 SMC Analog Pressure Sensor 0 to 120 PSI = full scale 0 to 5 Volts 0 to Volts = 120 PSI = 1023 unit units per 1 PSI = resolution

CMU Camera

RS-232 Device with returned variables Vision Terms we need to understand Pixels FOV Blob Centriod

CMU Camera PIXELS

CMU Camera CMU Camera FOV (Field of View) What it can see 159 pixels by 238 pixels

CMU Camera CMU Camera BLOB

CMU Camera CMU Camera Centriod

Questions? If you have a thumb drive, come see me and I can copy all my reference PDF files and note for you. 350 MB required

RAFFLE TIME!