100% found this document useful (2 votes)
113 views

mq2 - Pic16f877a

This document shows the schematic for a circuit board with 10 LEDs connected in parallel to a microcontroller. Resistors with a value of 330 ohms are placed before each LED to limit current. The microcontroller can control each LED individually using digital pins D0 through D9 to turn the LEDs on or off. Power is supplied from the +5V pin and electrical ground is connected to ground.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
113 views

mq2 - Pic16f877a

This document shows the schematic for a circuit board with 10 LEDs connected in parallel to a microcontroller. Resistors with a value of 330 ohms are placed before each LED to limit current. The microcontroller can control each LED individually using digital pins D0 through D9 to turn the LEDs on or off. Power is supplied from the +5V pin and electrical ground is connected to ground.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

R1

D7

R2
330

D6

R3
330

LED-BLUE

D5

R4
330

D4

LED-BLUE

D0
D1
D2
D3
D4
D5
D6
D7

+5v

RS
RW
E

VSS
VDD
VEE

LED-BLUE

R5
330

D3

R6

LED-BLUE

7
8
9
10
11
12
13
14

4
5
6

1
2
3

330

D1

R7
330

D2

R8
330
4
5
6
7

49%

RS

LED-BLUE
+5v

LED-BLUE
D9

R10
330

LED-BLUE

D10

R9
330

LED-BLUE
330
LED-BLUE

+5v

+5v

2
3
4
5
6
7
8
9
10
1

OSC1/CLKIN
OSC2/CLKOUT
RA0/AN0
RA1/AN1
RA2/AN2/VREF-/CVREF
RA3/AN3/VREF+
RA4/T0CKI/C1OUT
RA5/AN4/SS/C2OUT
RE0/AN5/RD
RE1/AN6/WR
RE2/AN7/CS
MCLR/Vpp/THV

RB0/INT
RB1
RB2
RB3/PGM
RB4
RB5
RB6/PGC
RB7/PGD
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
RC7/RX/DT
RD0/PSP0
RD1/PSP1
RD2/PSP2
RD3/PSP3
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7

33
34
35
36
37
38
39
40
15
16
17
18
23
24
25
26
19
20
21
22
27
28
29
30

RV1

E
RS
4
5
6
7

40%

13
14

10k

You might also like