1. Use the interface ADC0804 chip with the 8051 microcontroller like shown in fi
ID: 3868420 • Letter: 1
Question
1. Use the interface ADC0804 chip with the 8051 microcontroller like shown in figure 19.2 and write an Assembly program to take 25 samples of analog signals connected at input of the ADC. Take the sample every 30 milliseconds using Timer1 and show them on Port3. Assume the crystal frequency is 12MHz. Describe in the word file in detail the calculations you have made to setup the timer registers.
2. Use the interface DAC0808 chip with the 8051 microcontroller like shown in figure 19.11 and write an Assembly program to generate triangular waves using the DAC chip connected to output port2. Take the delay as 30 milliseconds using Timer1 and the crystal frequency is 12MHz
3. Assume that you have four ROM chips organized as 16Kx8 with signals OE, CE, A13..0, and D7..0. Assume you would like to implement all ROM externally, show the connectivity between the 8051 and those chips to allow the implementation of a complete 64K ROM address space. Make sure to show all signals (i.e. PSEN, address lines, etc) to implement this system correctly. You should also indicate the addresses associated with each external ROM chip. (You may draw it by hand (but it should be very clear) and put the capture of it in the word file)
4. Write an Assembly program to transfer 30 bytes of data from external ROM to external data RAM. The external data RAM address is 6000H and external ROM starts at 1000H.
Explanation / Answer
8051 C program for ADC0804
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.