Adaptive Motion Control of FIREBIRD V Robot

Similar documents
OBSTACLE AVOIDANCE ROBOT

Technical Specification for Educational Robots

Goal: We want to build an autonomous vehicle (robot)

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026)

IDUINO for maker s life. User Manual. For IDUINO development Board.

Autonomous, Surveillance Fire Extinguisher Robotic Vehicle with Obstacle Detection and Bypass using Arduino Microcontroller

Fire Bird V Insect - Nex Robotics

arduino mega D4F69C4DABCA73DE7282FD2C4B5B8 Arduino Mega / 6

keyestudio Keyestudio MEGA 2560 R3 Board

Voice Recognition Automation through an Android Application

Smart Restaurant Menu Ordering System

MegaPi Born to Motion Control

ARDUINO LEONARDO ETH Code: A000022

WIFI ENABLED SMART ROBOT

SMART DUSTBIN ABSTRACT

Bluno Mega 2560 (SKU:DFR0323)

ARDUINO BOARD LINE UP

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Power Supply, Arduino MEGA 2560, and Stepper Motors Connections

ARDUINO M0 PRO Code: A000111

ARDUINO MEGA 2560 REV3 Code: A000067

ARDUINO MINI 05 Code: A000087

BILLING AND CONTROLLING OF INDIVIDUAL LOADS OF A COMPOSITE SYSTEM USING SIMPLE ANDROID APPLICATION

Alessandra de Vitis. Arduino

ARDUINO MICRO WITHOUT HEADERS Code: A000093

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

Rhino Robot Control Board [RKI-1550]

International Journal of Engineering Research ISSN: & Management Technology November-2016 Volume 3, Issue-6

An FTDI connection: The ATtiny microcontrollers don t have a hardware UART External Crystal header pins for an optional crystal

ARDUINO MEGA ADK REV3 Code: A000069

GE-INTERNATIONAL JOURNAL OF ENGINEERING RESEARCH VOLUME -3, ISSUE -5 (May 2015) IF ISSN: ( )

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

3.3V regulator. JA H-bridge. Doc: page 1 of 7

AVRminiV3.1 Manual. 1. AVRminiV3.1 Overview. 2. AVRminiV3.1 Features and Specifications Standard Features: 2.2. Optional Features:

Design and implementation of fingerprint based bank locker system using ARM7 and GSM

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

COL862 - Low Power Computing

International Journal Of Advanced Research In Engineering Technology & Sciences

ARDUINO LEONARDO WITH HEADERS Code: A000057

DESIGN AND IMPLEMENTATION OF FPGA BASED MULTIPURPOSE REAL-TIME CONTROLLER FOR HYBRID STEPPER MOTOR

Arduino Smart Robot Car Kit User Guide

Omega MP. Multi-Programming Shield for Atmel Microcontrollers. User Manual

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

Advance Robotics with Embedded System Design (ARESD)

Keywords: DC Motor, Incremental Encoder, Pulse Width Modulation (PWM), Programmable Servant Robot.

Diploma in Embedded Systems

Efficient Android Based Application for Required Movement of Robot

Index Terms: Paper-bag making, micro-controller, Robotic arm, 2-wheeled robot, DC motor.

ARDUINO MEGA INTRODUCTION

Arduinodroid Controlled Car

CourseContents: 1.Introduction to MATLAB. 2. Handling data and data flow in MATLAB. 3. Editing and Debugging M-FILES

Arduino ADK Rev.3 Board A000069

8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

Intelligent Pressure Measuring System

AC : INFRARED COMMUNICATIONS FOR CONTROLLING A ROBOT

Dual-POB. View Full-Size Image View Full-Size Image. ( POB-Technology ) ( POB-Technology ) Description

INTERFACING HARDWARE WITH MICROCONTROLLER

CoiNel Technology Solutions LLP. LPC2148 ARTIST Instruction Manual LPC2148 ARTIST. Instruction manual. Revision 1

Introduction to Arduino. Wilson Wingston Sharon

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

AVR 40 Pin Rapid Robot controller board

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. FA3800: Paul Stout Department of Art and Art History.

Logistics. Embedded Systems. Kinetic Art. This Class. Embedded Systems and Kinetic Art. Kinetic Art

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

GUIDE TO SP STARTER SHIELD (V3.0)

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Development and Designing of Automatic Wire Cutting System using Microcontroller

Implementation Of Stair Climbing Robo using Microcontroller

Obstacle Avoiding Robot

An Ethernet Based Control and Monitoring System Using ARM Processor

Getting to know the Arduino IDE

ARDUINO UNO REV3 Code: A000066

Doc: page 1 of 8

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.

FIRE SENSOR ROBOT USING ATMEGA8L

DESIGNING AND IMPLEMENTATION OF WATER VENDING MACHINE

Revision: 05/05/ E Main Suite D Pullman, WA (509) Voice and Fax. Various power connectors. 3.3V regulator

Doc: page 1 of 6

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

USER MANUAL ARDUINO I/O EXPANSION SHIELD

Cell Phone Controlled Robotic Vehicle

Wireless Colour Sensing Arm Robot

Robotics Training Module ABLab Solutions

Unlocking the Potential of Your Microcontroller

Hands on Experience with AVR32

AVR MICROCONTROLLER PROJECT TUTORIAL E-PUB

ARDUINO YÚN MINI Code: A000108

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

Experiment 4.A. Speed and Position Control. ECEN 2270 Electronics Design Laboratory 1

Control System Consideration of IR Sensors based Tricycle Drive Wheeled Mobile Robot

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Polar and Polygon Path Traversal of a Ball and Plate System

Keywords Arm9, Arm7, Robot, sensors, Laser Pointer Gun, camera, Zigbee

Intel Galileo gen 2 Board

VIRTUAL LAB KIT GUDASALAMANI

Automation Engineers AB Pvt Ltd, NOIDA Job-Oriented Course on Embedded Microcontrollers & Related Software Stack

Transcription:

Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology ISSN 2320 088X IMPACT FACTOR: 6.017 IJCSMC, Vol. 7, Issue. 3, March 2018, pg.82 87 Adaptive Motion Control of FIREBIRD V Robot Charulata Pravin Ingle 1, Rupali Nilesh Patil 2, Niti Rajendra Patel 3 ¹Computer Engineering Department, K.J.Somaiya Polytechnic, India ²Computer Engineering Department, K.J.Somaiya Polytechnic, India ³Computer Engineering Department, K.J.Somaiya Polytechnic, India 1 cpingle@somaiya.edu; 2 rnpatil@somaiya.edu; 3 niti@somaiya.edu Abstract Fire Bird V supports ATMEGA2560 (AVR), P89V51RD2 (8051) and LPC2148 (ARM7) microcontroller adaptor boards. This modularity in changing the microcontroller adaptor boards makes Fire Bird V robots very versatile. User can also add his own custom designed microcontroller adaptor board. The Fire Bird V robot is the 5th in the Fire Bird series of robots. First two versions of the robots were designed for the Embedded Real-Time Systems All the Fire Bird V series robots share the same main board and other accessories. Different family of microcontrollers can be added by simply changing top microcontroller adaptor board. Atmel ATMEGA2560 is used as Master microcontroller (AVR architecture based Microcontroller) Atmel ATMEGA8 as Slave microcontroller. This paper presents an interactive adaptive module which moves the robot in various directions by loading a program through Atmel Studio 6 into AVR Boot loader and also by using the motor movement supported by L293D IC and setting different ports of IC in configuration with Robot. Atmel ATMEGA2560 is used as Master microcontroller and Atmel ATMEGA8 as Slave microcontroller. Students and engineers can go through each step involved in it for effective learning. The paper will also lay emphasis on basic learning of FIREBIRD V Robot, components of FIREBIRD V Robot, ATMEGA 2560 Microcontroller, Embedded C Programming Language and L293D IC Keywords FIREBIRD V Robot, ATMEGA 2560 Microcontroller, Embedded C Programming Language, Robot movement using L293D IC, Atmel Studio6/AVR Studio software, AVR Boot loader as program loader I. INTRODUCTION The paper describes the movement of FireBird V Robot in different direction like left, right, forward, backward, softright,soft-left, backward- right, backward-left, by direction control of DC Motor in clock-wise and Anti-clock wise direction using L293D IC with connecting four pins(pa0-pa3) for direction controls to Port A,PA0-Left Motor,PA1-Left Motor,PA2- Right Motor,PA3-Right Motor. Using two pins for enabling motor driver IC connected to Port L (PL3-PL4), PL3-Left Channel Enabling, PL4-Right Channel Enabling. Fire Bird V supports ATMEGA2560 (AVR), P89V51RD2 (8051) and LPC2148 (ARM7) microcontroller adaptor boards, L293D IC. The L293D is a Motor driver or Motor Driver IC which allows DC motor to drive on either direction. L293D is a 16-pin IC which can control a set of two DC motors simultaneously in any direction. The motor used with FireBird V robot uses the concept of H-Bridge; it is a circuit which allows the voltage to be flown in either direction. Voltage need to change its direction for being able to rotate the motor in clockwise or anticlockwise direction, Hence H-bridge changes the direction ideally for driving a DC motor. There are two enable pins on L293D. Pin 1 and pin 9, to drive the motor, for which pin 1 and 9 need to be high. For driving the motor with left H-bridge enable pin 1 to high, and for right H-Bridge make pin 9 to high. If either pin1 or pin9 goes low then the motor in the corresponding section will 2018, IJCSMC All Rights Reserved 82

suspend working. The adaptive motion of robot is controlled by movement of wheels which are configured by making following functions of motion sets defined in MAIN function using Embedded C Programming Language with delay of 1000ms before each movement and hard stop at (0x00) position. Sr.No Direction(Movement) Motion Set 1 Forward Both wheels forward 2 Backward Both wheels backward 3 Left Left wheel backward, Right wheel forward 4 Right Left wheel forward, Right wheel backward 5 Soft_Left Left wheel stationary, Right wheel forward 6 Soft_Right Left wheel forward, Right wheel stationary II. Hardware Methodology A. FIREBIRD V Robot FIREBIRD V robot has 6 modules: Sensor which senses the environment, Actuators for movement of robots, controller as brain of robot, intelligence as user written commands to perform action, power supply to make the system function and communication where a robot can talk to another robot or system. Fig. 1 FIREBIRD V Robot B. ATMEGA 2560 The Mega 2560 is a microcontroller board based on the ATmega2560 It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller. It is connected to a computer with a USB cable or powers it with an AC-to-DC adapter or battery to get started. Fig. 2 ATMEGA2560 microcontroller adapter board C. L293D IC L293D is a Motor Driver IC that allows DC motor to drive on either direction. L293D is a 16-pin IC which can control a set of two DC motors simultaneously in any direction. 2018, IJCSMC All Rights Reserved 83

Fig. 3 L293D IC D. Motion Control Fire Bird V robot has two 75 RPM DC geared motors in differential drive configuration along with the third caster wheel for the support. The robot can turn with zero turning radius by rotating one wheel in clockwise direction and other in counterclockwise direction. Position encoders are mounted on both the motor s axles to give a position feedback to the microcontroller. Motors are controlled by L293D dual motor driver which can provide up to 600mA of current to each motor. To change the direction of the motor, appropriate logic levels (High/Low) are applied to L293D s direction control pins. Fig.4 DC Geared Motors III. Software Methodology A. Atmel Studio 6/AVR Studio Atmel Studio 6 is an Integrated Development Environment (IDE) for writing and debugging AVR/ARM applications in Windows XP/Windows VISTA/Windows 7 environments. Atmel Studio provides a project management tool, source file editor, simulator, assembler and front-end for C/C++, programming and on-chip debugging. B. AVR Bootloader A bootloader is a program that runs in the microcontroller to be programmed. It receives new program information externally via some communication means and writes that information to the program memory of the processor. A bootloader has to written to the flash memory just once using a conventional programmer. The bootloader is programmed such that when bootloader start condition is satisfied it receives data via a predetermined interface (eg, UART) and writes these into the program memory at predetermined locations. IV. Proposed Algorithm i. Set Directions of PortA pins from PA3 to PA0 as output pins. ii. Set initial value of PA3 to PA0 pins to logic 0. iii. Set PL3 and PL4 pins as output. iv. Determine the functions for motor movements. 2018, IJCSMC All Rights Reserved 84

v. Read original value of Port A vi. Forward Logic motion set----stop vii. Backward Logic motion set----stop viii. Left Logic motion set ----Stop ix. Right Logic motion set----stop x. Soft-Left Logic motion set----stop xi. Soft-Right Logic motion set----stop Directions PA0 Left Backward PA1 Left Forward PA2 Right Forward PA3 Right Backward Forward 0 1 1 0 Backward 1 0 0 1 Left 1 0 1 0 Right 0 1 0 1 Soft_Left 0 0 1 0 Soft_Right 0 1 0 0 Forward 0 0 0 0 Fig 5.Logic Table V. Result On Execution of above algorithm the output is displayed on the screen as shown: Fig 6: Create a Project and specify Project Name Fig 7. Select Debug Platform 2018, IJCSMC All Rights Reserved 85

Fig 8 Programming using Embedded C Language Fig 9: Connection to Robot using USB cable Fig 10: Open AVR Bootloader and load.hex file by selecting COM port as COM3 and click on Program button to load program by setting microcontroller to Atmega 2560 and observe the movement of Robot. 2018, IJCSMC All Rights Reserved 86

VI. Conclusion The paper concludes that the motor can be moved in various directions using L293D motor. It can be further improvised by operating through mobile phones by developing GUI interface. ACKNOWLEDGEMENT We thank [e-yantra-iit Bombay] for training and assistance on FIREBIRD V Robot, AVR Studio, Atmega 2560 and also Principal,Padmaja Bhanu Bandaru K.J.somaiya Polytechnic for appointing and sending us for training at IIT- Bombay REFERENCES [1] Online Available: http://www.microcontroller-project.com/l293d [2] Online Available: http://elsi.e-yantra.org/ [3]21/12/2010 online Available: https://roboram.files.wordpress.com/2016/03/fire-bird-v-atmega2560hardwaremanual-2010-12-21.pdf [4]Online User-Manual Available: http://www.nex-robotics.com [5] Rupali Saple,Keetaki Zunjarrao,Siddhi Patil, Robotic Waiter, Vol.1Issue 11,IJIRST,April-2015,ISSN-23496010 2018, IJCSMC All Rights Reserved 87