VTech Alphabert s Magic Readport User Manual Page 77

  • Download
  • Add to my manuals
  • Print
  • Page
    / 80
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 76
BM Dept., Govt. Engg. College, Gandhinagar Page 77
EXPERIMENT NO. 17
AIM: Interface 8 bit DAC chip with 89C51 microcontroller. Write a program to generate sine
wave using look up table.
Circuit diagram:
Interfacing details:
Data lines of DAC-0808 are connected with Port P1 of the microcontroller AT89C51.
Zener diode is used to provide reference voltage to the DAC.
Current output of the DAC is converted into voltage by I to V converter circuit formed by
Op-AMP 741.
Connect C.R.O. at the output of DAC to observe analog signal.
Program:
org 30h
rept: mov dptr,#0400h
mov P1,#00h
start: clr a
movc a,@a+dptr
jz rept
add a,#127
mov P1,a
setb P0.7
acall delay
inc dptr
ajmp start
delay: mov R7,#0ffh
loop: djnz R7,loop
ret
Page view 76
1 2 ... 72 73 74 75 76 77 78 79 80

Comments to this Manuals

No comments