Lab 04: AEV External Sensors Advanced Energy Vehicle (AEV)

Slides:



Advertisements
Similar presentations
Advanced Energy Vehicle
Advertisements

Lab 02: AEV Arduino Programming Basics Advanced Energy Vehicle (AEV)
Advanced Energy Vehicle (AEV)
Lab 09: Performance Test 1 Advanced Energy Vehicle.
Squaring or Aligning on a Line
Lab 07: System Analysis 3 (Wind Tunnel Testing) Advanced Energy Vehicle.
Lab 06: AEV System Analysis 2 Advanced Energy Vehicle (AEV)
Navigating the BOE-BOT
Problem Solving Lab – Part B
Lab 01: AEV Project Introduction Advanced Energy Vehicle (AEV)
Lab 04: AEV External Sensors Advanced Energy Vehicle (AEV)
Servos The material presented is taken from a variety of sources including:
Embedded Programming and Robotics Lesson 6 Mechanical Assembly 1.
Lab 08: AEV Design Analysis Tool Advanced Energy Vehicle (AEV)
First-Year Engineering Program Performance Test 1: Design Concept Comparisons Objective and Goals Lab Procedure Analysis Test Readiness Review.
Lab 06: AEV System Analysis 2 Advanced Energy Vehicle (AEV)
First-Year Engineering Program Advanced Energy Vehicle System Analysis 2 Reference:  AEV Lab Manual  System Analysis 2 Grading Guidelines.
First-Year Engineering Program Advanced Energy Vehicle Arduino Programming Basics Reference:  AEV Lab Manual  Arduino Programming Basics Grading Guidelines.
Lab 02: Arduino Programming Basics Advanced Energy Vehicle (AEV)
Program ultrasonic range sensor in autonomous mode
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
Droids Robotics Workshop
Intermediate Programming Lesson: Improving Robot Reliability in FLL
Maze Challenge Maze Challenge activity > TeachEngineering.org
First-Year Engineering Program Performance Test 2: Operational Objectives Objective and Goals Analysis Test Readiness Review.
Lab 03: AEV Arduino Programming Basics Advanced Energy Vehicle (AEV)
PRODUCTS SYSTEMS STEM Teachers Summit Hardware Build Manual.
Lab 01: Creative Design Thinking* Advanced Energy Vehicle (AEV) *Directly from the EEIC Multidisciplinary Capstone Program.
Lab 06: AEV System Analysis 2 (Performance Analysis) Advanced Energy Vehicle (AEV)
Lab 05: AEV System Analysis 1 Advanced Energy Vehicle (AEV)
First-Year Engineering Program Advanced Energy Vehicle Topics: AEV Design Concept Screening and Scoring.
First-Year Engineering Program Performance Test 3: Energy Optimization Objective and Goals Lab Procedure Analysis Test Readiness Review.
Lab 07: AEV Design Analysis Tool Advanced Energy Vehicle (AEV)
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
Servos The material presented is taken from a variety of sources including:
First-Year Engineering Program Advanced Energy Vehicle System Analysis 3 Reference:  AEV Lab Manual  System Analysis 3 Grading Guidelines.
ENGR 1182 AEV Lab Proficiency Quiz Review
Lab 07: System Analysis 3 (Wind Tunnel Testing) Advanced Energy Vehicle.
Lab 04: AEV External Sensors Advanced Energy Vehicle (AEV)
First-Year Engineering Program Advanced Energy Vehicle External Sensors Reference:  AEV Lab Manual  External Sensors Grading Guidelines.
Laboratory 5: Quality, Test & Data Analysis General Engineering Polytechnic University.
ROBOTIC ARM 2 Wilmer Arellano © Hardware  Next slide shows sensor connection to analog pin 0 and Motor 1 connection. Lecture is licensed under.
Welcome to Engineering 1182 or Lab Attendance  Expected to attend all labs  Missing a lab meeting time A valid documented excuse required  Allowed.
First-Year Engineering Program Advanced Energy Vehicle System Analysis 1 Reference:  AEV Lab Manual  System Analysis 1 Grading Guidelines.
Preliminary Design Review (PDR) Advanced Energy Vehicle.
Lab 01: AEV Project Introduction Advanced Energy Vehicle (AEV)
First-Year Engineering Program Advanced Energy Vehicle Design Analysis Tool Reference:  AEV Lab Manual  Design Analysis Tool Grading Guidelines.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
AEV PROJECT DESIGN--OSWALD GROUP K –MATTHEW BRODSKY, TROY CROSS, HANK MCNAMARA, SIVAN ZOUELA.
First-Year Engineering Program Preliminary Design Review (PDR) Definition PDR Objectives PDR Material Project Management Review.
Lab 05: System Analysis 1 (Wind Tunnel Testing) Advanced Energy Vehicle.
Lab 07: System Analysis 3 (Wind Tunnel Testing) Advanced Energy Vehicle.
Lab 05: AEV System Analysis 1 Advanced Energy Vehicle (AEV)
RockOn! RockOn! Structure Build RockOn! 2009.
Team Millinium Apache ENG 1182
Understanding Communication with a Robot? Activity (60 minutes)
Advanced Energy Vehicle (AEV)
Servos The material presented is taken from a variety of sources including:
SCOUTBOTICS Engineering Notebook
Servos The material presented is taken from a variety of sources including:
Servos The material presented is taken from a variety of sources including:
Advanced Energy Vehicle
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
Lesson 4: Aligning on Lines On The Mat
Advanced Energy Vehicle
Maze Challenge Maze Challenge activity > TeachEngineering.org
SCOUTBOTICS Engineering Notebook
Advanced Energy Vehicle
Advanced Energy Vehicle
Presentation transcript:

Lab 04: AEV External Sensors Advanced Energy Vehicle (AEV)

AEV Project Objective (Problem Definition) INITIAL CONCEPTS (Brainstorming) EXPERIMENTAL RESEARCH ANALYZE DESIGN DECISION RESEARCH COMPARE FINAL DESIGN Present AEV Design PT 1 PT 2 PT 3 PT 4 (System Analysis)(Programming)

Learning Objectives  Become familiar with an external sensor which provides feedback to the Arduino about the vehicles position  Become familiar with troubleshooting techniques  Program the function calls in controlling the AEV using an external sensor

Feedback control  The sensor that will be focus of today’s lab is the Reflective Sensor which records wheel rotation information  The importance of this external sensor is to provide real-time information to the Arduino for autonomous vehicle operation  When a program uses real-time information from sensors, it is known as feedback control Image: from Arduino Website

Reflective Sensors  The sensor will produce a low voltage due to the reflectance of the aluminum tape and produce a high voltage due to the dark color of the wheel 1 Mark  This voltage change is called a “mark.” For one full wheel revolution, a sensor will have 4 voltage changes or 4 marks. Our system uses two wheel sensors so the combined sensors will record eight marks per wheel rotation. 1 Mark

Mounting the Sensor  The sensors must be mounted to have an unobstructed view through the holes in the support arm. Use hardware plus tie wraps to secure them in place. Verify that the holes on the wheel side of the supporting arm are counter sunk. See your Instructor if holes are not counter sunk.  The closer the sensor is to the wheel, the better voltage reading the sensor will usually have. Optimum Too Far Away

Verifying the Sensors  To make sure the sensors are on correctly  Run the “reflectanceSensorTest();” following the procedure in the lab manual.  Make sure to set to set the serial monitor to Baud  This should be done every lab because sensors have been known to fail.

Connecting the sensors to the Arduino  Take careful consideration where the reflective sensor is attached to on the Arduino.  Read the AEV Lab Manual for proper orientation and pin locations Important Note: Make sure the connections are installed with the white wire facing the Arduino mini-USB connection.

Programming with the Sensors  goToRelativePosition(M); One Argument; M = number of marks Example: motorSpeed(4,27); goToRelativePosition(44);  Each wheel has 8 marks and the wheel has a circumference of inches  Therefore: (44 marks)*(3.902/8) inches = inches traveled Sets all motors to 27% full power Continues the last command for 44 wheel marks from the current position

Programming with the Sensors  goToAbsolutePosition(M); Example: motorSpeed(2,30); goToAbsolutePosition(500);  Each wheel has 8 marks and the wheel has a circumference of inches  Therefore: (500marks)/(3.902/8) inches = inches traveled from AEV starting position Continues the last command until the AEV accumulates 500 total wheel marks from the starting position.

 We want to go ANOTHER 40 inches (aka 82 marks) what code do we want? motorSpeed(4,20); goToAbsolutePosition(164); OR goToRelativePosition(82); Difference Between goToAbsolutePosition and goToRelativePosition 40 Inches 80 Inches  We want to go 40 inches (aka 82 marks) what code do we want? motorSpeed(4,20); goToAbsolutePosition(82); OR goToRelativePosition(82); 0 Inches  Note: This sequence assumes that the AEV stops at exactly the 40 inch distance and does not coast. Repeating the Relative option may result in over-shooting the 80 inch position since second Relative command will be referenced to the coast point. Repeated use of only the Relative command may cause errors.

Programming to use the sensors  The Lab Guidelines document gives programming instructions for this week’s lab.  Program your AEV, using the appropriate program, test on your desktop track, and then run your AEV on the classroom track.  Follow AEV classroom track safety procedures!

Wheel count sensor testing Since your programming will depend on the sensors working correctly, it is vital that you confirm the sensors are working properly at the beginning of each lab. Use the reflectance test program used in this lab each week to confirm proper operation of the sensors. There is also a test jig at the front of the Lab which can be used to test the sensors. NOTE that three typical problems and their solutions are shown on the following slides.

Wheel count sensor problems