You are on page 1of 12

Motor driver L293D:-

Pin Description:

Pin
Function Name
No
1 Enable pin for Motor 1; active high Enable 1,2
2 Input 1 for Motor 1 Input 1
3 Output 1 for Motor 1 Output 1
4 Ground (0V) Ground
5 Ground (0V) Ground
6 Output 2 for Motor 1 Output 2
7 Input 2 for Motor 1 Input 2
8 Supply voltage for Motors; 9-12V (up to 36V) Vcc 2
9 Enable pin for Motor 2; active high Enable 3,4
10 Input 1 for Motor 1 Input 3
11 Output 1 for Motor 1 Output 3
12 Ground (0V) Ground
13 Ground (0V) Ground
14 Output 2 for Motor 1 Output 4
15 Input2 for Motor 1 Input 4
16 Supply voltage; 5V (up to 36V) Vcc 1
Ultrasonic Ranging Module HC - SR04

Features
Power Supply :+5V DC

Quiescent Current : <2mA

Working Current: 15mA

Effectual Angle: <15

Ranging Distance : 2cm 400 cm/1 13ft

Resolution : 0.3 cm

Measuring Angle: 30 degree

Trigger Input Pulse width: 10uS

Dimension: 45mm x 20mm x 15mm

Sensor
Pins:-

VCC: +5VDC

Trig : Trigger (INPUT)

Echo: Echo (OUTPUT)

GND: GND

GSM Sim 900A:-


Features:-
1. Dual band GSM/GPRS 900/1800MHz.

2. Configurable baud rate.


3. SIM card holder.

4. Built in network status LED.


5. Inbuilt powerful TCP/IP protocol stack for internet data transfer over GPRS.

Specification:-
1.Operating Voltage is +12v DC
2.weight is <140g
PIN SPECIFICATIONS:-

Pin Name Details


1 GND Power supply ground
2 Tx transmitter
3 Rx receiver
4 Line_r & line_l Line input
5 Spk_p & spk_n Speaker positive & negative
6 Mic_p & mic_n Mic positive & negative
7 DTR Data terminal ready
8 CTS Clear to send
9 RTS Request to send
PROCESSORS:-

Atmega162:-

Pin Diagram:-
Pin Description:

Pin No. Pin name Description Alternate Function


(XCK/T0) T0: Timer0 External Counter Input.
1 I/O PORTB, Pin 0
PB0 XCK : USART External Clock I/O
2 (T1) PB1 I/O PORTB, Pin 1 T1:Timer1 External Counter Input
AIN0: Analog Comparator Positive
(INT2/AIN0)
3 I/O PORTB, Pin 2 I/P
PB2
INT2: External Interrupt 2 Input
AIN1: Analog Comparator Negative
(OC0/AIN1) I/P
4 I/O PORTB, Pin 3
PB3 OC0 : Timer0 Output Compare
Match Output
5 (SS) PB4 I/O PORTB, Pin 4

6 (MOSI) PB5 I/O PORTB, Pin 5 In System Programmer (ISP)


7 (MISO) PB6 I/O PORTB, Pin 6 Serial Peripheral Interface (SPI)

8 (SCK) PB7 I/O PORTB, Pin 7


Reset Pin, Active
9 RESET
Low Reset
10 Vcc Vcc = +5V
11 GND GROUND

12 XTAL2 Output to Inverting Oscillator Amplifier


13 XTAL1 Input to Inverting Oscillator Amplifier
14 (RXD) PD0 I/O PORTD, Pin 0 USART Serial Communication
15 (TXD) PD1 I/O PORTD, Pin 1 Interface

16 (INT0) PD2 I/O PORTD, Pin 2 External Interrupt INT0


17 (INT1) PD3 I/O PORTD, Pin 3 External Interrupt INT1
18 (OC1B) PD4 I/O PORTD, Pin 4
PWM Channel Outputs
19 (OC1A) PD5 I/O PORTD, Pin 5
20 (ICP) PD6 I/O PORTD, Pin 6 Timer/Counter1 Input Capture Pin
Timer/Counter2 Output Compare
21 PD7 (OC2) I/O PORTD, Pin 7
Match Output
22 PC0 (SCL) I/O PORTC, Pin 0
TWI Interface
23 PC1 (SDA) I/O PORTC, Pin 1

24 PC2 (TCK) I/O PORTC, Pin 2

25 PC3 (TMS) I/O PORTC, Pin 3


JTAG Interface
26 PC4 (TDO) I/O PORTC, Pin 4

27 PC5 (TDI) I/O PORTC, Pin 5

28 PC6 (TOSC1) I/O PORTC, Pin 6 Timer Oscillator Pin 1

29 PC7 (TOSC2) I/O PORTC, Pin 7 Timer Oscillator Pin 2

30 AVcc Voltage Supply = Vcc for ADC

31 GND GROUND

32 AREF Analog Reference Pin for ADC

33 PA7 (ADC7) I/O PORTA, Pin 7 ADC Channel 7

34 PA6 (ADC6) I/O PORTA, Pin 6 ADC Channel 6

35 PA5 (ADC5) I/O PORTA, Pin 5 ADC Channel 5

36 PA4 (ADC4) I/O PORTA, Pin 4 ADC Channel 4

37 PA3 (ADC3) I/O PORTA, Pin 3 ADC Channel 3

38 PA2 (ADC2) I/O PORTA, Pin 2 ADC Channel 2

39 PA1 (ADC1) I/O PORTA, Pin 1 ADC Channel 1

40 PA0 (ADC0) I/O PORTA, Pin 0 ADC Channel 0


AT89C52 microcontroller

Pin Diagram:-
...................................................................................................................................

ALE/PROG: Address Latch Enable output pulse for latching the low wired low. In the
EPROM devices, this pin also receives the programming supply voltage (VPP) during EPROM
programming.

Pin Functions:-

ALE/PROG: Address Latch Enable output pulse for latching the low byte of the address during
accesses to external memory. ALE is emitted at a constant rate of 1/6 of the oscillator frequency, for
external timing or clocking purposes, even when there are no accesses to external memory. (However,
one ALE pulse is skipped during each access to external Data Memory.) This pin is also the program pulse
input (PROG) during EPROM programming.

PSEN: Program Store Enable is the read strobe to external Program Memory. When the device is
executing out of external Program Memory, PSEN is activated twice each machine cycle (except that two
PSEN activations are skipped during accesses to external Data Memory). PSEN is not activated when the
device is executing out of internal Program Memory.
EA/VPP: When EA is held high the CPU executes out of internal Program Memory (unless the
Program Counter exceeds 0FFFH in the 80C51). Holding EA low forces the CPU to execute out of external
memory regardless of the Program Counter value. In the 80C31, EA must be externally wired low. In the
EPROM devices, this pin also receives the programming supply voltage (VPP) during EPROM
programming.

XTAL1: Input to the inverting oscillator amplifier.

XTAL2: Output from the inverting oscillator amplifier.

Port 0: Port 0 is an 8-bit open drain bidirectional port. As an open drain output port, it can sink eight
LS TTL loads. Port 0 pins that have 1s written to them float, and in that state will function as high
impedance inputs. Port 0 is also the multiplexed low-order address and data bus during accesses to
external memory. In this application it uses strong internal pullups when emitting 1s. Port 0 emits code
bytes during program verification. In this application, external pullups are required.

Port 1: Port 1 is an 8-bit bidirectional I/O port with internal pullups. Port 1 pins that have 1s written to
them are pulled high by the internal pullups, and in that state can be used as inputs. As inputs, port 1
pins that are externally being pulled low will source current because of the internal pullups.

Port 2: Port 2 is an 8-bit bidirectional I/O port with internal pullups. Port 2 emits the high-order
address byte during accesses to external memory that use 16-bit addresses. In this application, it uses
the strong internal pullups when emitting 1s.

Port 3: Port 3 is an 8-bit bidirectional I/O port with internal pullups. It also serves the functions of
various special features of the 80C51 Family as follows:

Port 3 Pin Alternate Function

P3.0 RxD (serial input port)

P3.1 TxD (serial output port)

P3.2 INT0 (external interrupt 0)

P3.3 INT1 (external interrupt 1)

P3.4 T0 (timer 0 external input)

P3.5 T1 (timer 1 external input)


P3.6 WR (external data memory write strobe)

P3.7 RD (external data memory read strobe)

VCC: Supply voltage

VSS: Circuit ground potential

8051 Microcontroller:-
The pin diagram of 8051 Microcontroller looks as follows
Pin Description:-

Pins 1 to 8 These pins are known as Port 1. This port doesnt serve any other
functions. It is internally pulled up, bi-directional I/O port.

Pin 9 It is a RESET pin, which is used to reset the microcontroller to its initial
values.

Pins 10 to 17 These pins are known as Port 3. This port serves some functions
like interrupts, timer input, control signals, serial communication signals RxD and
TxD, etc.

Pins 18 & 19 These pins are used for interfacing an external crystal to get the
system clock.

Pin 20 This pin provides the power supply to the circuit.

Pins 21 to 28 These pins are known as Port 2. It serves as I/O port. Higher
order address bus signals are also multiplexed using this port.

Pin 29 This is PSEN pin which stands for Program Store Enable. It is used to
read a signal from the external program memory.

Pin 30 This is EA pin which stands for External Access input. It is used to
enable/disable the external memory interfacing.

Pin 31 This is ALE pin which stands for Address Latch Enable. It is used to
demultiplex the address-data signal of port.

Pins 32 to 39 These pins are known as Port 0. It serves as I/O port. Lower
order address and data bus signals are multiplexed using this port.

Pin 40 This pin is used to provide power supply to the circuit.

You might also like