Lab 02: Arduino Programming Basics Advanced Energy Vehicle (AEV)

Slides:



Advertisements
Similar presentations
Advanced Energy Vehicle
Advertisements

Lab 02: AEV Arduino Programming Basics Advanced Energy Vehicle (AEV)
Lab 09: Performance Test 1 Advanced Energy Vehicle.
Microprocessor Motor Control Spring Introduction  Stamp projects Robots  Sensors  Motor control  Logic Rocketry  Reading acceleration (“g”
Lab 07: System Analysis 3 (Wind Tunnel Testing) Advanced Energy Vehicle.
ROBOTS ARCHITECTURE DEVICES INTERCONNECTION DIAGRAMS REVISION 0 MD-CT-RO-55 Rev.0 18/01/2012.
Lab 06: AEV System Analysis 2 Advanced Energy Vehicle (AEV)
Lab 01: AEV Project Introduction Advanced Energy Vehicle (AEV)
Lab 04: AEV External Sensors Advanced Energy Vehicle (AEV)
THIS PRESENTATION HAS BEEN UPLOADED TO THE WIKI. Motors, Controllers, and Regenerative Braking.
New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Lab 08: AEV Design Analysis Tool Advanced Energy Vehicle (AEV)
Embedded Programming and Robotics Lesson 5 Motor Control 1.
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.
Lab 04: AEV External Sensors Advanced Energy Vehicle (AEV)
First-Year Engineering Program Advanced Energy Vehicle Arduino Programming Basics Reference:  AEV Lab Manual  Arduino Programming Basics Grading Guidelines.
Microprocessors Tutorial 1: Arduino Basics
First-Year Engineering Program Performance Test 2: Operational Objectives Objective and Goals Analysis Test Readiness Review.
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.
Lab 03: AEV Arduino Programming Basics Advanced Energy Vehicle (AEV)
The SFA Rover Team Project. The SFA Rover  Must be demonstrated at the beginning of the last lab of the semester, Dec 11 th.  Teams can work on this.
Lab 01: Creative Design Thinking* Advanced Energy Vehicle (AEV) *Directly from the EEIC Multidisciplinary Capstone Program.
Discovery Kits: Electricity. 1.5 V Battery Batteries in series Closed switch Open switch V Motor Components.
Lab 06: AEV System Analysis 2 (Performance Analysis) Advanced Energy Vehicle (AEV)
Lab 05: AEV System Analysis 1 Advanced Energy Vehicle (AEV)
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
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)
Microprocessors Tutorial 1: Arduino Basics
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.
Critical Design Review (CDR)
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.
AEV PROJECT DESIGN--OSWALD GROUP K –MATTHEW BRODSKY, TROY CROSS, HANK MCNAMARA, SIVAN ZOUELA.
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)
ARDUINO UNO The Arduino uno is a microcontroller board based on the ATmega328. It has 14 digital Input / Output pins (of which 6 can be used as PWM outputs),
H-Bridge Motor Driver.
Obstacle avoiding robot { pixel }
Team Millinium Apache ENG 1182
Microprocessors Tutorial 1: Arduino Basics
UNIT 5 ELECTRICITY AND MAGNETISM
Advanced Energy Vehicle (AEV)
Group B Advanced Energy Vehicle
Group F Asad Idris Kaixin Luo Manan Kedia
Programming Part 2 Mod Kit
1.1) problem statement Threat to the user; controller device easily be hacked. Current controller device is not user friendly. Analysis Flight Time requires.
Programming - Motion Intro to Robotics.
Roller Coaster Design Project
What is Arduino? By James Tedder.
Advanced Energy Vehicle
Dave Mawdsley, DACS Member, Linux SIG January 16, 2013
Advanced Energy Vehicle
ACOE347 – Data Acquisition and Automation Systems
Advanced Energy Vehicle
Advanced Energy Vehicle
Arduino Based Solar Street Light
AN INEXPENSIVE ROBOTIC KIT FOR CHILDREN EDUCATION
Presentation transcript:

Lab 02: Arduino Programming Basics 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)

Naming the Hardware Components  The AEV controller consists of: Circuit Board Arduino ATMega328 2x Toshiba Motor Chips Start Button On/Off Switch Reset Button

 The AEV connection Ports External Sensors *** Do not plug these in! *** This will be done in another lab Battery Connection + ­− Motor Connection + ­− Motor 3 Motors 2 & 1 Note: The motors are brushless so the connections can be reversed to switch the polarity. Naming the Hardware Components

Arduino Software  The backbone of the programming has been developed for AEV Not expected to be a microprocessor programmer  The software is contained within a folder called “Sketchbook” (Available for download on the course website). The AEV controller is programmed by the user (you), using a series of function calls (Details provided in the AEV Lab Manual).

Basic Function Calls  celerate(m,p 1,p 2,t); Four Arguments  m: Motor number 1, 2, 3, or 4 for all motors  p 1 : Start speed in % (0 – 100)  p 2 : End speed in % (0 – 100)  t: time of duration in seconds  Example: celerate(4,0,25,2); Will accelerate all motors from 0% to 25% full power in 2 seconds  Example: celerate(2,35,22,1); Will decelerate motor 2 from 35% to 22% full power in 1 second

Basic Function Calls  motorSpeed(m,p); Two Arguments  m: Motor Number 1, 2, 3 or 4 for all motors  p: Start Speed in % (0 – 100) Example: motorSpeed(2,27);  Sets motor 2’s speed to 27% full power  goFor(t); One Argument  t: Time in seconds Example: goFor(5);  Continues the LAST command for 5 seconds.

Basic Function Calls  brake(m); One Argument  m: Motor Number 1, 2, 3 or 4 for all motors This function does not brake the AEV system but rather cuts the power from the motor. Example: brake(3);  Cuts the power from motor 3.  reverse(m); One Argument  m: Motor Number 1, 2, 3 or 4 for all motors Example: reverse(1);  Reverses the polarity of motor 1.

Lab 02: Arduino Programming Basics  Use motors, propellers, and Arduino from the kit  Verify that the Arduino is not touching metal!  Program the Arduino to complete Scenario 1 If time permits, complete Scenario 2

Things to Remember  Quiz 3  Executive Summary for Lab 02  Update Project Portfolio  Have a concept AEV built by Lab 03!