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 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 |