ECE 480 Design Team 3 Technical Lecture

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Lecture 1 – Arduino Basics
Mini-SumoBot Construction and Programming
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
How to use Arduino By: Andrew Hoffmaster.
Intro to the Arduino Topics: The Arduino Digital IO Analog IO Serial Communication.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
Motor Control Lab Using Altera Nano FPGA
Bread Boarding and Operating The IFI Robotic Control System.
ECE 480 Design Team 3 Doug’s Kitchen Robot Team Members - Thomas Manner - Ali Alsatarwah - Ka Kei Yeung - Daniel Phan Team Facilitator - Professor Lixin.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Introduction.
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Embedded Programming and Robotics Lesson 2 C Programming Refresher C Programming1.
ECE 477 DESIGN REVIEW TEAM 7  SPRING 2013 COST ROBOT CAROLINE TRIPPEL, ANDREW LOVELESS, ERIC OSBORNE, BRYAN DALLAS.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
Little arduino microcontrollers Meghan Jimenez 12 February 2014.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Administrative Introduction Our goals for this project is for the two robots to work together intelligently using wireless communication Not only did.
September, 2007ENGR Low-Level Robot Control Mechatronics: Motors, sensors & embedded controls.
Daniel Pickem and Rowland O’Flaherty 12/04/2012 Mechatronics (ME 6405) Student Lecture On Arduinos *Some slides courtesy of Eoin Brazil
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Arduino 101 Instructors: Ted Markson / Jim Sweeney.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Hybrid I/O – Pulses.
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
RED ROVER Team CPNE Crossen Davis Peter Ramer Nancy Robinson Eric Rodriguez.
Sparkfun Electronics ATtiny85 Arduino Quick Reference Sheet
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
Unconventional User Interface // // Mood Based Navigation Sheo // 1Haring, Naderer, Zachhuber Arduino  Open Source Project (HW u. SW)  Analog.
Introduction to Arduino Microcontrollers. What is a Microcontroller ? What is a Microprocessor ? A Microcontroller (8 bit) does one task very fast and.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Getting Started With the Arduino Uno
智慧電子應用設計導論(1/3) Arduino MEGA 2560
Rebecca Bruce and Susan Reiser, May 2015 Analog Input and Output.
FSAEe Data Acquisition System ECE 445 Senior Design Mohan Sha Raviraj Mahajan Mohammad Farooq Shaik TA: Ryan May Project No. 34 Spring 2013.
Microcontroller basics Embedded systems for mortals.
Istituto Tecnico Industriale A.Monaco EURLAB Moving a robot simple example program to control a DC-Motor Next - Press the button (left)
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Arduino based Automatic Temperature Controlled Fan Speed Regulator.
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),
Application Case Study Christmas Lights Controller
Arduino.
Introduction to Motors, servos and steppers
ARDUINO BASED UNDERGROUND CABLE FAULT DETECTION
Embedded Systems Intro to the Arduino
Obstacle avoiding robot { pixel }
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
Automatic human detector garbage can.
cyBorg 1.0 Project by Team ROBOTECH The Green PAFIANS
Intro to the Arduino Created by
Microcontroller basics
ARDUINO LINE FOLLOWER ROBOT
‘SONAR’ using Arduino & ultrasonic distance sensor
What is an Arduino ? Open Source electronic prototyping platform based on flexible easy to use hardware and software.
Arduino Board.
Pololu DC Motor Controller
Robotics System Lecture 11_12: DC Motor
UNIT 5 Analog signals.
Introduction to Arduino
Introduction to arduino
NGT-503 : 2-in-1 Remote Bot Obstacle Avoiding Bot
Presented By,  Mamata Yadav (BE Elex & Comm.) Vice R&D Coordinator(HW), PCRT  Payal Shah (BE Elex & Comm.)  Ananta Das (BE Elex & Comm.) R&D Team,PCRT.
05 | Integrating Advanced Sensors and Shields
Presentation transcript:

ECE 480 Design Team 3 Technical Lecture Arduino Controller Design

Overview Arduino Fio and XBee Basics Joystick Interface Motor Control Interrupt Sensor

Introduction Based on Microprocessor ATmega328P C/C++ Based 3.3V 8MHz C/C++ Based http://arduino.cc/en/Reference/HomePage 14 Digital I/O 6 PWM Available (8bit) analog Write() (2 bytes Duty Cycle)

Introduction Continued 8 Analog Inputs 10 bit Resolution Default Reference (Vcc) AREF (0-5V limit) analogReference(EXTERNAL) 32KB Flash Memory (Sketches) 2KB for Bootloader

Connections Wired Wireless (2.4GHz) Data (pins, header, solder) Power (Battery Connector) Charging (USB) Wireless (2.4GHz) On-Board XBee Socket XBee to USB adaptor (Explorer)

Wireless Programming Preparation (for Explorer) Short RTS and D3 X-CTU Configuration (Windows) Connect Run X-CTU Set Computer Port (e.g. USB) Baudrate (57600, match uC) Modem Configuration…

IC (I/O Change Monitor) Parameter Programming Radio Fio Radio ID (PAN Hex) IDENTICAL BD (Microprocessor) 6 for (Atmega328) MY (Source) (0000 to FFFF) DL (Destination) FFFF (ALL) My Value (Speecific) Programmer's MY value D3 (Digital PIN 3) 3 (DI) 5 (DO HIGH) IC (I/O Change Monitor) 8 (i.e. 00001000 or D3) not set RR (Retries on Send) 3 IA (Serial Interrupt) FFFFFFFFFFFFFFFF (Immune) 0xFFFF (Modify Allow)

Digital Joystick Versus Analog Joystick Joystick types Digital Joysticks Analog Joysticks

Interfacing the Analog Joystick to the Arduino Fio The diagram: A0 X A1 Y The functionality 3.3 v, VCC 10 bit input GND

Generation of PWM signal 10 bit input /4 = (n*2^10)/(2^2)=(n*2^8)= PWM Code: AnalogRead((10 bit input)/4) ( PWM 0-255, where 255 is 100% duty cycle) AnalogWrite(pin#,direction) (0<=dir>=255) AnalogWrite(pin#,PWM) (0<=dir>=255)

Power Supply How to choose a power supply for driving Brushless DC motor AC-to-DC Power Supply Supply Voltage Parallel Connection of Motors Rated Supply Current Mean Well 12V 29A Power Supply

H-Bridge How does an H-Bridge work?

H-Bridge (Cont’d) How do you pick an H-Bridge motor driver? Voltage rating Current rating Pololu 18V 15A Motor Driver

Brushless DC Motor Feedback Position Rotation count Speed Rotations Time Direction Second sensor

Calculating Position - Simple Rotations counting Photo Interrupter “Optical Chopper” Pulses per rotation Gear ratio Single sensor Direction ambiguous Arduino attachInterrupt(pin,ISR,EDGE);

Position Calculation - Robust Second Photo Interrupter Sensor placement Sensor reading Direction Edge Detection Arduino digitalRead(pin); 1 2 1 2

Speed Calculation Timing Angular Velocity Arduino Change between pulses Angular Velocity Two sensors Arduino millis() : dTime = millis() – currentTime; Rpm = 1/spokeCount * 1/dTime * 1/3600;

Summary

Questions?