Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
By Solid State Workshop. ● A microcontroller is an integrated circuit that is programmed to do a specific task. ● Microcontrollers are really just “mini-computers”.
Railway Foundation Electronic, Electrical and Processor Engineering.
Arduino DC motor driver L298 H-Bridge Arduino GUI vs Atmel Studio
Sensors And Micro-Controllers
Railway Foundation Electronic, Electrical and Processor Engineering.
Essentials of motors and motor driver
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Microcontroller: Introduction
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Timers and Interrupts Shivendu Bhushan Sonu Agarwal.
T15- MARKETING SPY SYSTEM MODELING Document ID: T15_MOD_SYS_V1.0 Version: 1.0 Date: 10/17/2014 Location :
You must be knowing about Digital Integrated Circuits (ICs) right ? For example 7404: Hex Inverter 7408: Quad 2-input AND gate 7410: Triple 3-input NAND.
Introduction to Microcontrollers Shivendu Bhushan Summer Camp ‘13.
AVR  Modern RISC architecture: Compact and FAST.  Tuned for high level languages.  Consistent architecture across entire line.  Small AVR are subsets.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
AVR Microcontrollers.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
Typical Microcontroller Purposes
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
MICROPROCESSOR AND MICRO CONTROLLER
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
Atmel AVR Jared Bevis January 14, The Power of Your Chips The main power of your chips lies in the programming language/compiler available to you.
OBSTACLE AVOIDANCE ROBOT
Lecture 7: Overview Microprocessors / microcontrollers.
EMBEDDED SYSTEM & ROBOTICS. Introduction to robotics Robots are machines capable of carrying out a complex series of actions automatically. Robotics is.
Robocon 2007, Hong Kong University of Science & Technology Robocon 2007 Electronics Quickstart! Session 1 Hello! Microcontroller. Prepared by KI Chi Keung.
Chapter Microcontroller
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
Components of a typical full-featured microcontroller.
 ACCELEROMETER  TRANSMITTER- BLOCK DIAGRAM  RECEIVER- BLOCK DIAGRAM  COMPONENTS DESCRIPTION- ENCODER TRANSMITTER RECEIVER OPTICAL SENSOR.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Introduction to AVR Name : 1) Abhishek Yadav ) Prakash Giri ) Kheni Niral ) Bhadresh Langadiya Branch.
BATCH MEMBERS R.ABHISHEK-08N41A0401 K.DHEERAJ REDDY-08N41A0412 S.RAJENDRA REDDY-08N41A0458 JYOTHISHMATHI COLLEGE OF ENGINEERING AND TECHNOLOGY,TURKAPALLY.
SUBMITTED BY EDGEFX TEAM
INTERFACING HARDWARE WITH MICROCONTROLLER GUIDED BY: Prof. ASIF SIR 1. AKSHAY KIRAN 2. DEEP PARIKH 3. JIGAR PATEL 4. TILAK PATEL ,05,D2D06,09.
Application Case Study Christmas Lights Controller
Arduino.
ARDUINO BASED UNDERGROUND CABLE FAULT DETECTION
IF I ONLY HAD A BRAIN THE MICROCONTROLLER
Popular Microcontrollers and their Selection by Lachit Dutta
Scrolling LCD using Arduino.
AUTOMATIC TEMPERATURE CONTROLLED FAN USING 8051
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
Home automation using Arduino & ‘PIR sensor’
PROPELLER DISPLAY OF MESSAGE BY VIRTUAL LEDS
Microcontrollers & GPIO
AVR ATMEGA 8 MICRO-CONTROLLER
ULTRASONIC DISTANCE METER USING 8051
Project Title EVM IN 8051 Under the Guidance of Submitted by.
Automatic human detector garbage can.
For further information
PC Mouse operated Electrical Load Control Using VB Application
ABSTRACT The microcontroller receives the Infrared Signal from the TV remote, the code of which is identified by the IR receiver depending on which it.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
DIGITAL CALCULATOR USING 8051
ARDUINO LINE FOLLOWER ROBOT
‘SONAR’ using Arduino & ultrasonic distance sensor
The Arduino Microcontroller: Atmel AVR Atmega 328
Introduction to Microprocessors and Microcontrollers
8051 Supplement.
Lecturer: Reza Arjmandi Autumn 2015
Presentation transcript:

Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection – Driving, gripping, clamping, climbing, lifting… Electronics – Microcontrollers – Motor Drivers – Sensors (Infrared, Ultrasonic, etc) Programming – Microcontroller Programming – Communicating with a computer. – Communicating between multiple robots.

Robotics Club, Snt Council3 A simple autonomous robot

Robotics Club, Snt Council4 What are Sensors? A sensor is a device that measures a physical quantity and converts it into a signal which can be read by microcontroller. (heat, motion, gyro, sonar, IR, etc…)

TSOP 1738: It is a DIGITAL IR SENSOR, giving outputs of 0V and 5V. It does not respond to any stray IR, it only responds to IR falling on it at a pulse rate of 38 KHz (given by TIMER of microcontroller) Can accurately distinguish between 2 colors.

Circuit Diagram:

How to increase its range?

IR Analog Sensor: It gives output in the range of 0V to 5V, depending on the amount of IR light falling on the photodiode. (read by ADC of microcontroller) Hence the name analog…

Circuit Diagram:

QRD1114: It is an easy-to-use, simple analog sensor (Output range: 0V to 5V) Has a very small range: 0.5mm to 1cm Used to distinguish between bright and dark colours

LDR (Light Dependent Resistor) made of calcium sulfate… When no light falls on it, the LDR behaves as an open circuit (very high resistance: 10^6 ohms) As the intensity of light increases, the resistance drops (to about 10 to 100 ohms)

7805 As Atmega requires 5V: To convert 12V (input) to 5V (output) we use the 7805 Voltage Regulator: Current Rating:0.5A

MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable – You can define what they do.  This is what makes them different from other simpler ICs, such as AND gates, inverters, etc  Logic tables relating Input and Output can be defined by you 3. Many useful features built in to the uC itself

Kinds of Microcontrollers: AVR PIC Intel 8051 Rabbit Zilog Many, Many more We will be using AVR microcontroller, of Atmel’s ATMEGA family… Mostly, we will use Atmega 16…

How a U C works? U C consists of a CPU interfaced to a RAM and a Flash memory (the one your pen- drive has!!). We program the flash memory. When the U C is turned on, the microprocessor i.e. the CPU accesses instructions from RAM which access your code from Flash…

How to program a microcontroller: A microcontroller understands only binary language (0 and 1)…We write the code in C language in CVAVR (Compiler + IDE). We compile the code to generate the.hex file (which the machine understands) We transfer the.hex file to Atmega using a Programmer Hardware: Serial Programmer, STK 500, USB etc… (Contains chips to convert voltage levels and protocols) Software: AVR Studio, AVRDUDE, etc…

ATMEGA KB Flash Memory… 40 pin U C… 32 I/O Pins These pins have other functions like UART, ADC, SPI, LCD, Interrupt, TIMERS, etc… But we will now focus on I/O and TIMER… Maximum Voltage 5V, current rating about 10 milli- amperes

Atmega8

I/O Pins: Setting Data Direction (I/O?): DDRX Register PORTX Register PINX Register

How to Run Motors through U C? The Atmega16 has a current rating of 5-10 mA. The normal DC motor’s current ratings start from 150 mA and above. So the motor cannot be directly attached to the Atmega, hence a motor-driver is used… (eg: L293, L298, etc…)

TIMERS: Atmega has:  Timer 0, 8 bit (OC0 at PB3)  Timer 1, 16 bit (2 parts A and B each of 8 bit, OC1A at PD5, OC1B at PD4)  Timer 2, 8 bit (OC2 at PD7) There are 2 clocks:  System Clock (fs)  Timer Clock (ft = fs or fs/8 or fs/64 or ….)

(For MOTORS)

(For generating 38 KHz in TSOP Sensors)

NOW LET US HAVE A LOOK AT CVAVR AND AVR STUDIO AND HOW TO PRACTICALLY PROGRAM AN ATMEGA 16

THANK YOU