 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.

Slides:



Advertisements
Similar presentations
Lab7: Introduction to Arduino
Advertisements

What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Embedded Sumo 1T4 – 1T5 UTRA.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
Intro to the Arduino Topics: The Arduino Digital IO Analog IO Serial Communication.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
L.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
Introduction.
Microprocessors Tutorial 2: Arduino Robotics
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Embedded Programming and Robotics
Timers and Interrupts Shivendu Bhushan Sonu Agarwal.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
2.0 EMBEDDED CONTROLLER Engr. Hj. Mohamad Fauzi bin Zakaria Department of Mechatronics and Robotics Engineering Faculty of Electrical and Electronic Engineering.
Intro to the Arduino Topics: The Arduino Digital IO
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Microprocessors Tutorial 1: Arduino Basics
RC CAR CONTROLLER BASED ON INTEL GALILEO SOC PLATFORM Nadav Shiloach Sagi Sabag Supervisor: Idan Shmuel Spring 2014 One Semester Project PROJECT’S ENDING.
Ryan Courtney Senior Design II Advisor: Junkun Ma.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Introduction to the Arduino
Arduino 101 Instructors: Ted Markson / Jim Sweeney.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Sparkfun Electronics ATtiny85 Arduino Quick Reference Sheet
Timers and Interrupts Anurag Dwivedi. Let Us Revise.
Microprocessors Tutorial 1: Arduino Basics
Microprocessors Tutorial 2: Arduino Robotics. Agenda 1. Robot Anatomy 2. Sensor Review 3. PWM 4. MAKE: Fade 5. Motors 6. H Bridge 7. Robot Control library.
Getting Started With the Arduino Uno
Microcontrollers, Microcomputers, and Microprocessors
1 Introduction to Haptics Introduction to the Hapkit board Allison M. Okamura Stanford University.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Arduino based Automatic Temperature Controlled Fan Speed Regulator.
Application Case Study Christmas Lights Controller
Arduino.
Arduino Part 1 Topics: Microcontrollers
Intro to USB-6009 DAQ.
Obstacle avoiding robot { pixel }
Scrolling LCD using Arduino.
Dr. Kyung Eun Park Summer 2017
Home automation using Arduino & ‘PIR sensor’
Automatic human detector garbage can.
Microprocessors Tutorial 1: Arduino Basics
Intro to the Arduino Created by
UTA010 : Engineering Design – II
Arduino Development for Beginners
ARDUINO LINE FOLLOWER ROBOT
Arduino Part 1 Topics: Microcontrollers Programming Basics
‘SONAR’ using Arduino & ultrasonic distance sensor
Introduction to Arduinos
مقدمة في الاردنيو د فضل الاكوع.
FeMaidens Programming
Intro to the Arduino Topics: The Arduino Digital IO
Intro to the Arduino by Someet Singh
Manual Robotics ..
Arduino Leonardo Setup
Introduction to Arduino
Lab #1: Getting Started.
Arduino Board.
Arduino म्हणजे काय?.
Introduction to Arduinos
Introduction to Arduino IDE and Software
05 | Integrating Advanced Sensors and Shields
Presentation transcript:

 Main Components:  Sensors  Micro controller  Motor drivers  Chasis

How IR Led sensors work?? On the basis of variation in reflection property of Different Colours

MICRO CONTROLLERS Atmega

Difficulties with Atmega Software is not User Friendly Many softwares required : CVAVR – Editor and Compiler AVR Studio – Transfer code to Atmega External Programmer required So is there a better solution

ARDUINO – Open Source Platform

What is Arduino?? Open-source physical computing platform. Physical Input / Output board (I/O) with programmable Integrated Circuit (IC) Contains Atmega series Micro controller

Why Arduino ?? Easy to use Provides a number of libraries to program the microcontroller easily Hardware platform already has the power and reset circuitry setup Hardware provides circuitry to program and communicate with the microcontroller over USB Arduino has a great community of users that you can get help from

Check out: Download & install the Arduino environment (IDE) 2.Connect the board to your computer via the USB cable 3.If needed, install the drivers. 4.Launch the Arduino IDE 5.Select your board 6.Select your serial port 7.Open the blink example 8.Upload the program

See: for more informationhttp://arduino.cc/en/Guide/Environment

Code is case sensitive Statements are commands and must end with a semi-colon Comments follow a // or begin with /* and end with */ loop and setup

pinMode(pin, mode) Sets pin to either INPUT or OUTPUT digitalRead(pin) Reads HIGH or LOW from a pin digitalWrite(pin, value) Writes HIGH or LOW to a pin

MOTOR DRIVER

Why MOTOR DRIVER ??? Micro controllers (Atmega,Arduino) require 5-10 mA while motors require 150 mA and above so Motor Driver is used. For driving motor at different rpm by using PWM

H-Bridge  An electronic circuit that enables a voltage to be applied across a load in either direction.

What is PWM ??  Known as Pulse Width Modulation  Simple method of obtaining analog output of any value between 0 and 5V

Suppose we need 3V for our device at a specified pin.  We supply 5V on it for (3/5)* 100 % = 60% of the time period and 0V for the remaining time period  The average voltage at the pin for a time period becomes 3V  If this step is repeated very fast (T is very small), then the output behaves as a analog signal of 3V.

Programming for Motor Driver in Arduino

BLOCK DIAGRAM

Both the sensors detect the line then both motors rotate at same pwm. Hence the bot moves forward. When the right sensor detects the line, left motor is given more speed. Hence the bot moves towars right. When the left sensor detects the line, right motor is given more speed. Hence the bot moves towards left. Line following using 2 sensors

PWM of Left motor=MEAN PWM –(kp*deviation) PWM of Right motor=MEAN PWM +(kp*deviation) Kp – Constant of Proportionality Derived experimentally