Escolar Documentos
Profissional Documentos
Cultura Documentos
ON
1 Hz FREQUENCY GENERATOR
Component used
Sr. no.
Quantity (no.s)
1.
2.
3.
4.
5.
6.
7.
1
4
1
7
4
1
1
8.
L.E.D.s
9.
10.
11.
12.
13.
2-Pin connector
14.
2- pin switches
15.
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