Você está na página 1de 5

SYNOPSIS

ON
1 Hz FREQUENCY GENERATOR

Department of Embedded System

CETPA INFOTECH PVT. LTD.

This project is design for generating 1 hz frequency.


In this project we have used 8051 microcontroller.20th pin of microcontroller is
ground whereas 40th pin is supply. And a led is connected to port p0.1.

When it is led blink continually represting 1 hz frequency.

Component used

Sr. no.

Quantity (no.s)

1.
2.
3.
4.
5.
6.
7.

89c51 microcontroller (base + IC)


Diode (4007, .7v)
10k resistance
4.7k resistance
470 ohms resistance
Crystal oscillator (12Mhz frequency)
Transformer (220v-909)

1
4
1
7
4
1
1

8.

L.E.D.s

9.

Ceramic Capacitor (30pf-33pf)

10.

Electrolytic capacitor (100 microfarad)

11.

Electrolytic capacitor (470 microfarad)

12.

Voltage regulator (7805)(+5v)

13.

2-Pin connector

14.

2- pin switches

15.

Cello tape (for electrical use)

16.

Supply wire

2 mts

Programming:

$mod51
org 0h
go:
clr p1.2
acall delay
setb p1.2
acall delay
sjmp go
delay:
mov r1,#08h
mov tmod,#10h
mov th1,#0f7h
mov tl1,#0e3h
setb tr1
go1: jnb tf1,go1
clr tf1
djnz r1,go1
clr tr1
ret
end

Você também pode gostar