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

Slides:



Advertisements
Similar presentations
Advanced Energy Vehicle
Advertisements

RedBot An introduction to robotics using the SparkFun RedBot Board
Internet of Things with Intel Edison Servo motors with Pololu Controller Pierre Collet
Lab7: Introduction to Arduino
Lab 09: Performance Test 1 Advanced Energy Vehicle.
Lab 07: System Analysis 3 (Wind Tunnel Testing) Advanced Energy Vehicle.
Lab 06: AEV System Analysis 2 Advanced Energy Vehicle (AEV)
Getting your Arduino to Work: Microsoft Windows 1.Install Arduino programming environment 2.Install Arduino Uno driver 3.Make sure you can download a program.
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.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
Lab 08: AEV Design Analysis Tool Advanced Energy Vehicle (AEV)
Term Project Upgrading of an Automated Guided Vehicle (AGV)
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
Lab 02: Arduino Programming Basics Advanced Energy Vehicle (AEV)
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
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)
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)
Tweaking Your Simon Adding a photoresistor and changing code Instruction by Pete Lewis and Linz Craig.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
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.
Brain Software. Things you need Administrator Rights Know how to open a folder Know how to unzip a file??? Know any special changes your IT department.
ATtiny Programming Shield for Arduino TYWu. Reference Programming-Shield-for-Arduino-1/
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
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.
Bdps 2 Lecture 2. Circuits and Ohm's Law For resistive circuits.
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)
Having fun with code, using Arduino in a middle school CS classroom
Downloading Arduino FOR WINDOWS.
Team Millinium Apache ENG 1182
Microprocessors Tutorial 1: Arduino Basics
Advanced Energy Vehicle (AEV)
Group B Advanced Energy Vehicle
Group F Asad Idris Kaixin Luo Manan Kedia
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
Presentation transcript:

Lab 02: AEV 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)

Learning Objectives  Become familiar with the automatic control system hardware components  Setup the AEV software on the Arduino IDE  Introduction to basic function calls used for controlling the AEV  Become familiar with uploading programs to the Arduino, testing the programs, and trouble shooting techniques.

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

Hardware Connection Ports  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.

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).

Setting up the Arduino Program 1.Go to the EEIC Course Website and download “Sketchbook”

Setting up the Arduino Program 1.Go to the EEIC Course Website and download “Sketchbook” 2.Open the Arduino and Set the Preferences

Setting up the Arduino Program 1.Go to the EEIC Course Website and download “Sketchbook” 2.Open the Arduino and Set the Preferences 3.Restart the Arduino IDE after setting the preferences 4.Setting the COM and PORTS correctly

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.

Questions?