You have no items in your shopping cart.

Subtotal: 0.00

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.



pin diagram of DAC 0800

Fig 1: pin diagram of DAC 0800


How a DAC works

How a DAC works

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

 

 

8051

DAC 0800

DAC 0800 PIN DIAGRAM

REF VOLTAGE LINES

V+ Line is given to +12V regulator(7812)

V- Line is given to -12V regulator(7912)

78 series in the Regulator IC indicates + voltage

79 series in the Regulator IC indicates - voltage

DAC 0800 PIN DIAGRAM
 

DAC – DATA LINES

PA.0

D0

PA.1

D1

PA.2

D2

PA.3

D3

PA.4

D4

PA.5

D5

PA.6

D6

PA.7

D7

VCC

40

16

Supply drawn from MCU/MPU

GND

20

3

 

CIRCUIT DIAGRAM TO INTERFACE DAC 0800 WITH 8051


 CIRCUIT DIAGRAM TO INTERFACE DAC 0800 WITH 8051

  

 CIRCUIT DIAGRAM TO INTERFACE DAC 0800 WITH 8051

ASSEMBLY PROGRAM TO INTERFACE DAC 0800 WITH 8051

CNTRL :     4003H

PORTA :    4000CH

MEMORY ADDRESS

OPCODE

MNEMONICS

8500

74 80

MOV A, #80H

8502

90 FF 0F

MOV DPTR, #CNTRL

8505

F0

MOVX @DPTR, A

8506      

74 00

START: MOV A, #00H

8508

90 FF 0C

L1: MOV DPTR, #PORTA

850B      

F0

MOVX @DPTR, A

850C

04          

INC A

850D

70 F9     

CJNE A, #0FF, L1

850F      

80 F5     

SJMP START