BILAL AHMED BHATTI B.E Electronics (Specialization in AVIONICS)

Preview:

DESCRIPTION

BILAL AHMED BHATTI B.E Electronics (Specialization in AVIONICS). PIC MICROCONTROLLER PIC 16 F 877A. - PowerPoint PPT Presentation

Citation preview

BILAL AHMED BHATTIB.E Electronics(Specialization in AVIONICS)

PIC MICROCONTROLLERPIC 16 F 877ASpecial Microcontroller Features- 100,000 erase/write cycle Enhanced Flash program memory typical- Self-reprogrammable under software control- Single-supply 5V In-Circuit Serial Programming- Programmable Code Protection

Peripheral Features- Two 8-bit (TMR0, TMR2)timer/counter with - One 16-bit timer/counter- 40/44 pin-device only

High-Performance RISC CPU- DC-20MHz clock input- Up to 8K x 14 words of Flash Program Memory- Pin out Compatible to other 28-pin or 40/44-pin

Analog Features- 10-bit, up to 8-channel Analog-to-Digital Converter (A/D)

CMOS Technology- Low-power, high-speed Flash/EEPROM technology- Fully static design- Wide operating voltage range (2.0V to 5.5V)- Low-power consumption

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

VOLTAGE DIVIDER

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

VOLTAGE DIVIDER

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

BLACK MATTWHITE TAPE

Sensorcover

RED LED(BRIGHT)

LDRLight dependent resistor

Sensor working

ROBOT BASE

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

REDBRIGHT

LED

POT+

LDR

SENSOR (LED + LDR)

Ground (-ve)

Supply (+ve)

Supply (+ve)

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

Motor 2Motor 1

S1 S2 S3 S4 S5 S6

3cm 1.5cm 1.5cm 3cm

S7 S86cm

3cm

SENSORS PLACEMENT

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

COMPARATOR is a device that compares two voltages

or currents and switches its output to indicate which

is larger. They are commonly used in devices such as

Analog-to-digital converters (ADCs).

LM358

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

6V

6V

5V

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

Sensor on BLACK MATT

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

Sensor on WHITE REFLECTING LINE

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

Connecting SENSORS + COMPARATOR + PIC16F877A

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI

CODING+

SIMULATION

ADVANCE ROBOTICS WORKSHOP BILAL AHMED BHATTI