MICROCONTROLLERS Why a microcontroller is needed?

Slides:



Advertisements
Similar presentations
Introduction to PIC Microcontrollers
Advertisements

Developing an AVR Microcontroller System
Micro controllers introduction. Areas of use You are used to chips like the Pentium and the Athlon, but in terms of installed machines these are a small.
THE ELECTRIC BICYCLE PROJECT INCLUDING AN INVESTIGATION OF HUMAN CYCLING PERFORMANCE S. I. Brand, N. Ertugrul and W.L. Soong University of Adelaide School.
150 E. Arrow Hwy. San Dimas, CA
Electronics Design Lab TUTORIAL PIC Microcontrollers Francesco Tenore 2/10/2006.
EMS1EP Lecture 8 Pulse Width Modulation (PWM)
EMS1EP Lecture 1 Intro to Arduino Dr. Robert Ross.
The ESA MUSIC Project Design of DSP HW and Analog TX/RX ends Advanced Mobile Satellite Systems & Technologies presentation days ESA/ESTEC – November.
Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
Potentiometer Electric circuit Cell or Battery Resistor Switch Bulb Earth/Ground LED.
An Introduction to PIC Microcontrollers Supervised by : Dr. Lo’ai Tawalbeh Jordan University of Science & Technology Faculty of Computer & Information.
Railway Foundation Electronic, Electrical and Processor Engineering.
Railway Foundation Electronic, Electrical and Processor Engineering.
The 8051 Microcontroller Architecture
Servo Control Using Analog Signal Obtain “analog” input using analogRead().
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
In this PPT, all the materials covered up for the PIC microcontroller set-up would be studied. Preliminary skills: Knowing of basic C grammar and basic.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Microcontroller Programming How to make something almost do something else Raffi Krikorian MAS November 2003.
Introduction to Microcontrollers Dr. Konstantinos Tatas
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
MICROCONTROLLERS. What is a microcontroller? A microcontroller is a nifty little gadget that houses a microprocessor, ROM (Read Only Memory), RAM (Random.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Background   Who does this project addresses to?   Handicapped.   Amputated limbs.   Paralyzed.   Motivation Statistics.
September, 2007ENGR Low-Level Robot Control Mechatronics: Motors, sensors & embedded controls.
The Basic Stamp Instruction Set Architecture. The Microprocessor A microprocessor is a computer that typically has an architecture that is well suited.
Embedded Systems. Today Introduction to Mechatronics Microcontroller –Input / Output Ports (I/O) –Memory –ADC –PWM.
Microprocessors A practical approach Subjects Goals for this module Results Subjects of the module Plans Questions.
Presenter: Wan Qi Choo.  A music synthesizer that uses the 8x8 grid of 64 buttons as its user interface to produce sound and emit light.  3 music playing.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
Microprocessors For a microprocessor to give a working microcomputer system, which can be used for control tasks, additional chips are necessary, e.g.
Team Scribacious Rabble Design Constraint Analysis Paul Rosswurm Mitch Erdbruegger Ben Kobin William Hess.
ME456:Mechatronics WAM Chapter 1: Getting Started Prof. Clark J. Radcliffe Mechanical Engineering Michigan State University
Microcontroller Applications ELEC 421 Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
July 18, UCSD - R.A. de Callafon Short Intro to Micro Processors and I/O functions of our Kinetic Sculpture Control Box Raymond de Callafon.
The “Drink Mixer” Design Constraints. Project Success Criteria An ability to digitally mix audio and adjust individual levels An ability to digitally.
Features of the PIC18 microcontroller - 8-bit CPU - 2 MB program memory space (internal 32KB to 128KB) bytes to 1KB of data EEPROM - Up to 4096 bytes.
Lab 1 Summary.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
ECET 340 Entire Course (All ilabs and Homework) For more classes visit ECET 340 Week 1 HomeWork 1 ECET 340 Week 1 iLab 1 ECET 340.
MOBILE VOTING. CONTENT Introduction Block Diagram Hardware Implementation Circuit Diagram Circuit Operation PCB Design.
Components of a typical full-featured microcontroller.
A Quick Start Guide to PIC16F877 microcontroller And Microchip Development Environment A Quick Start Guide to PIC16F877 microcontroller And Microchip Development.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Criteria for choosing a microcontroller A microcontroller must meet the task at hand efficiency and cost effectively. Speed. What is highest speed of.
INTERFACING HARDWARE WITH MICROCONTROLLER GUIDED BY: Prof. ASIF SIR 1. AKSHAY KIRAN 2. DEEP PARIKH 3. JIGAR PATEL 4. TILAK PATEL ,05,D2D06,09.
 Mini-Computer ◦ Microprocessor  The Brains  Arithmetic Logic Unit (ALU)  Control Unit  Program/ Data Storage  Peripherals (Input/Output)  Low-Cost.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
PICAXE Microcontroller
LED LAMP DIMMER CIRCUIT
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
AVR ATMEGA 8 MICRO-CONTROLLER
Project Title EVM IN PIC Under the Guidance of Submitted by.
Computer Communication
The Arduino Microcontroller: Atmel AVR Atmega 328
Introduction to Circuits
مقدمه با توجه به اهميت و گسترش روزافزون كاربردهاي ميكروكنترلرها و محدوديت هايي كه ميكروكنترلرهاي خانواده ي MCS51 ايجاد مي كرد،شركت Microchipنسل جديدي.
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
Introduction to Microprocessors and Microcontrollers
מבנה בסיסי של מיקרו בקר מבוא למיקרו מבנה בסיסי דיאגרמת מלבנים
Lecturer: Reza Arjmandi Autumn 2015
Introducing the PIC Mid-Range Family and the 16F84A
Arduino म्हणजे काय?.
PIC Analog Input Tom Igoe, NYU-ITP
ADC and DAC Data Converter
Presentation transcript:

MICROCONTROLLERS Why a microcontroller is needed? Variety of microcontrollers Why PIC microcontrollers? Specificiations of PIC 16F877 Programming PIC 16F877 PIC 16F877 in circuit Some applications(led,button,lcd,ADC,PWM) Links

Why a microcontroller is needed? Sensors Microcontrollers Actuators

Variety of microcontrollers Atmel – AT90S8535 Motorola – 68HC11 Intel - 8051 Texas Instruments - Microchip – PIC16F84, PIC16F877

Why PIC microcontrollers? Easy to program Better online documantation

PIC 16F877

PIC 16F877 8 kbytes of FLASH Program Memory 368 bytes of Data Memory (RAM) 256 bytes of EEPROM Data Memory 33 input or output pins 20 MHz operating speed(200 ns instruction cycle) Max. 25 mA current from an output pin

Programming PIC 16F877 Assembler (MPLAB) Basic (Pic Basic Pro) C (HITEC PICC) Parallel port Serial port

Minimum circuitry for PIC16F877

LED (light emitting diode) flasher LOOP: HIGH PORTB.0 PAUSE 500 LOW PORTB.O GOTO LOOP

BUTTON INPUT PORTD.2 LOOP: IF PORTD.2=1 THEN HIGH PORTB.O ELSE LOW PORTB.0 ENDIF GOTO LOOP

LCD DEFINE OSC 4 DEFINE LCD_DREG PORTB DEFINE LCD_DBIT 4 DEFINE LCD_RSREG PORTB DEFINE LCD_RSBIT 0 DEFINE LCD_EREG PORTB DEFINE LCD_EBIT 1 DEFINE LCD_BITS 4 DEFINE LCD_LINES 2 DEFINE LCD_COMMANDUS 2000 DEFINE LCD_DATAUS 50 LCDOUT 254,1, "MERHABA" LCDOUT 254,192,"2x16 LCD" END

Analog to Digital Conversion Format: ADCIN Channel,Var Sample Program: ABC VAR BYTE ADCON1 = 2 ' PORTA is analog INPUT PORTA.0 LOOP: ADCIN PORTA.0,ABC LCDOUT 254,1,#ABC PAUSE 100 GOTO LOOP

Pulse Width Modulation Format: HPWM Channel,Dutycycle,Frequency Sample Program: DEFINE CCP1_REG PORTC'Hpwm 1 pin port DEFINE CCP1_BIT 2 'Hpwm 1 pin bit HPWM 1,64,1000 ' Send a 25% duty cycle PWM signal at 1kHz END

Pulse Width Modulation DEFINE CCP1_REG PORTC 'Hpwm 1 pin port DEFINE CCP1_BIT 2 'Hpwm 1 pin bit DUTY VAR BYTE i VAR BYTE DONGU: FOR i=0 TO 255 HPWM 1,DUTY,1000 DUTY=DUTY+1 PAUSE 50 NEXT GOTO DONGU

Links www.microchip.com (Official website of the PIC manufacturer, PIC16F877 datasheet & some application notes are avaliable) www.antrak.org (Ankara amateur radio society website, biggest pic source in Turkish) www.eproje.com (Some applications are avaliable in Turkish) www.picproje.net (A discussion forum on PIC microcontrollers in Turkish) www.elektroda.pl (A discussion forum on PIC microcontrollers) robot.metu.edu.tr (METU Robot Society website, some tutorials and application notes will be avaliable)