0% found this document useful (0 votes)
85 views1 page

Digital Stopwatch

This document provides a schematic for a microcontroller circuit. It shows the microcontroller connected to various ports, resistors, transistors, and an external crystal oscillator. The microcontroller is powered through a 7805 voltage regulator. Resistors are used to interface between the microcontroller ports and other components like buttons, LEDs, and the crystal oscillator.

Uploaded by

Thejas A V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views1 page

Digital Stopwatch

This document provides a schematic for a microcontroller circuit. It shows the microcontroller connected to various ports, resistors, transistors, and an external crystal oscillator. The microcontroller is powered through a 7805 voltage regulator. Resistors are used to interface between the microcontroller ports and other components like buttons, LEDs, and the crystal oscillator.

Uploaded by

Thejas A V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

PC0

TO PORTC
PC1

PC2

R1 Q3 R2 Q2 R3 Q1 R4 Q4
PC4
BC558 BC558 BC558 BC558
4k7 4k7 4k7 4k7

PD7
R5 a
PD6
R6
R7
TO PORTD
330R
PD5
PD4
R8
330R
PD3
R9
330R
PD2
R10
330R
PD1
R11
330R
330R
330R g

7 x 330ohm

Power PINs of MCU Not Shown

Connect PIN7 -> Vcc (5V)


Connect PIN8 -> GND (0V)
R16 R15 R14
4k7 4k7 4k7 R12
4k7
U1
14 23 PC0
PB0/ICP1 PC0/ADC0
2 15 24 PC1

2
PB1/OC1A PC1/ADC1
16 25 PC2
RESET

START
S3 HALT
S2 S1 17
PB2/SS/OC1B PC2/ADC2
26 PC3
PB3/MOSI/OC2 PC3/ADC3
18 27
PB4/MISO PC4/ADC4/SDA
X1 19 28
PB5/SCK PC5/ADC5/SCL
1

1
9 1
PB6/TOSC1/XTAL1 PC6/RESET
10
U2 PB7/TOSC2/XTAL2
2
X2 SW1 D1 7805 PD0/RXD
PD1
3
(-) 1 3
R13 CRYSTAL PD1/TXD
4 PD2
VI VO 16MHz PD2/INT0
TOGGLE 5 PD3
330R
GND

PWR PD3/INT1
1N4007 C1 C2 PD4/T0/XCK
6 PD4
(+) C3 C4 D2 22p 22p PD5/T1
11 PD5
DC SOCKET 21 12 PD6
470u 100n LED AREF PD6/AIN0
2

20 13 PD7
AVCC PD7/AIN1
ATMEGA8

You might also like