You are currently viewing Interface DAC 0800 with 8051 Lab Trainer Kit

Interface DAC 0800 with 8051 Lab Trainer Kit

Spread the love

8051TRAINER KIT

PS-TRAINER-8051 trainer kit is proposed to smooth the progress of learning and developing designs of MCU from Intel and NXP. It has the facility to connect PC’s 101/104 Keyboard, to enter user programs in Assembly languages. Serial communication achieved using 8051. It also supports C & assembly language in standalone kit (P89V51RD2). It’s designed as to facilitate On-board Programmer for NXP 8051 MCU through ISP on serial port.

DAC 0800

Fig 1 shows DAC0800 series are monolithic 8-bit high-speed current output digital-to-analog converters (DAC) featuring typical settling times of 100 ns.. The noise immune inputs will accept variety of logic levels. The performance and characteristics of the device are essentially unchanged over the Β±4.5V to Β±18V power supply range and power consumption at only 33 mW witah Β±5V supplies is independent of logic input levels.

INTERFACING DAC WITH 8051

We now want to we now want to convert the Digital signal to analog voltage by using  PS-TRAINER-8051 trainer kit. Here we are using DAC 0800. The DAC 0800 consists of a 8 data lines and REF voltage lines. When the DAC is given the digital input it converts the Digital data to corresponding current, to convert the I to V we use UA 741.

PIN ASSIGNMENT WITH PIN ASSIGNMENT WITH 8051


CIRCUIT DIAGRAM TO INTERFACE DAC 0800 WITH 8051

ASSEMBLY PROGRAM TO INTERFACE DAC 0800 WITH 8051

CNTRL :     4003H

PORTA :    4000CH

MEMORY ADDRESSOPCODEMNEMONICS
850074 80MOV A, #80H
850290 FF 0FMOV DPTR, #CNTRL
8505F0MOVX @DPTR, A
8506      74 00START: MOV A, #00H
850890 FF 0CL1: MOV DPTR, #PORTA
850B      F0MOVX @DPTR, A
850C04          INC A
850D70 F9     CJNE A, #0FF, L1
850F      80 F5     SJMP START

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.