embedded system - dtmf robot

12
EMBEDDED SYSTEM DESIGN & PROGRAMMING

Upload: abhishek-sood

Post on 16-Jan-2017

2.243 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Embedded System - Dtmf robot

EMBEDDED SYSTEM DESIGN& PROGRAMMING

Page 2: Embedded System - Dtmf robot

LEARNING OBJECTIVES

Write software routines in Embedded C to configure and use device peripherals using MikroC and PIC Burner.

Data and Program memory organisation and how to access them

in PIC Microcontroller.

Programming and interfacing of the PIC16F73 microcontroller.

PCB Designing using OrCad (Capture and Layout), PCB Etching.

Interfacing and Programming Minor Robots. Driving Motors and other outputs using controller peripherals.

Embedded System: Microcontrollers Over Microprocessors, PIC Microcontroller

Page 3: Embedded System - Dtmf robot

Embedded system over simple electronic system : Whole design become more secure using software. System become more compact It reduce the cost and size of product It reduces the power consumption.

EMBEDDED SYSTEM

In Embedded system the processing of electronic hardware is control or monitor by the software through CPU chip (MP or MC).

Page 4: Embedded System - Dtmf robot

WHAT ARE PIC’S ? Peripheral Interface Controller Developed by Microchip Technology in 1975 Microcontrollers

NOT Microprocessors Microprocessor system with number of

components (EEPROM, RAM, I/O Support)

High performance RISC CPU.Only 35 single word instructions to learn. Operating speed: DC - 20 MHz .Up to 8K x 14 words of FLASH Program Memory. 192 x 8 bytes of Data Memory (RAM). on-chip RC oscillator for reliable operation. Programmable code protection. Selectable oscillator options.

SPECIAL FEATURES

Timer0: 8-bit timer/counter with 8-bit prescaler. Timer1: 16-bit timer/counter with prescaler. Two PWM modules5-channel 8bit Analog-to-Digital converter. Universal Synchronous Asynchronous Receiver Transmitter (USART). Brown-out detection circuitry for Brown-out Reset (BOR).

PERIPHERAL FEATURES

Page 5: Embedded System - Dtmf robot

PIC-16F73 PIN- DETAIL

SPECIAL PURPOSE PINS (6)

MCLR/VPP-(pin 1):GND/VSS –(pin 8): Provide Ground to it.OSC1/CLKIN-(pin 9):Oscillator crystal input/external clock source inputOSC2/CLKOUT-(pin 10)GND/VSS (pin 19):Ground reference for logic and I/O pinsVDD (pin 20):Positive supply for logic and I/O pins.

GENERAL PURPOSE PINS(22)

The 22 GPIO divided into three PORTS.

PORTA (pin 2 to 7) PORTB (pin 21 to 28)PGD(RB6) : Programming DataPGC(RB7) : Programming clockPORTC -(pin 11 to 18)

Page 6: Embedded System - Dtmf robot

H/W INTERFACINGS PROGRAMMING

LED

SWITCHES

LCD

7 SEGMENT

DC MOTOR ADC

PWM

MICRO C

PIC BURNER

Page 7: Embedded System - Dtmf robot

ORCAD(CADENCE)

CAPTUREThe Capture CIS links component information, such as PCB package footprint data where one can place parts; wires; buses and draw graphics with the circuit symbol in the schematic and create the net list

LAYOUTOrCAD's Layout gives functionality to

define placement, perform critical routing, design rule check, Copper

pouring, Drill settings, Silk screen setting and design complete circuit boards where autorouting is not needed.

CAPTURE

LIBRARIES

FOOTPRINT LIBRARIES

LAYOUT

GERBER TOOLS

GERBER AND DRILL FILES

GERBER AND PLOTTER DRAWING

PCB DESIGNING

Page 8: Embedded System - Dtmf robot

ORCAD CAPTURE ORCAD LAYOUT

Page 9: Embedded System - Dtmf robot

BOTTOM LAYER LAYOUT

PCB ETCHING

DRILLING AND SOLDERING

PIC KIT

Page 10: Embedded System - Dtmf robot

PROJECTDTMF CONTROLLED ROBOT

The major building blocks of this project are Regulated Power Supply, GSM Modem/Phone, Microcontroller based Control Unit, Robot Mechanical Assembly, DTMF Drivers.

DTMF Controlled Wireless Robot” is capable of receiving a set of command (instructions) in the form of DTMF tones and performs the necessary actions. Here DTMF stands for “Dual tone multiple frequency.

The mobile unit which is dedicated at the robot is interfaced with an intellectual device called Microcontroller so that it takes the responsibility of decoding the tones received and perform the corresponding predefined tasks such as move front or back, left or right etc.

The micro controller is also interfaced with few DC motors in order to move the robot in different directions. The ON and OFF of the DC motors depends on the direction it has to move which is the complete responsibility of the controller to take those intelligent decisions.

Page 11: Embedded System - Dtmf robot

H-BRIDGEIC-L293DNE( 4 I/Ps , 4 O/Ps, 2 Enables )

DTMF MODULE

IC-MT8870DE

LCD

PIC PROGRAMMING

KIT

MOTORS

DTMF CONTROLLED ROBOT

Page 12: Embedded System - Dtmf robot

LEARNING OUTCOMES Designing a circuit and fabricating it on PCB using

most widely OrCad Software. I became familiar with Embedded Systems

(Microcontrollers). Advantages of Microcontrollers over Microprocessors. Programming PIC Controller using Embedded C

Language. Interfacing of controller with Peripherals. Using PIC Controller designing Minor Robots –

Manual Robot, Line follower, DTMF Robot. Interfacing, Programming and controlling these

robots using Switches, Sensors and radio links.