Interfacing DAC Microprocessor and Interfacing by admin - May 4, 2022May 4, 20220 Digital-to-Analog Conversion or simply DAC, is a device that is used to convert a digital (usually binary) code into an analog signal (current, voltage, or electric charge). Digital-to-analog conversion is the primary means by which digital equipment such as computer-based systems are able to translate digital data into real-world signals that are more understandable to or useable by humans, such as music, speech, pictures, video. It also allows digital control of machines, equipment, household appliances. When data is in binary form, the 0's and 1's may be of several forms such as the TTL form where the logic zero may be a value up to 0.8 volts and the 1 may be a voltage from 2 to 5 volts. The
Interfacing LCD Microprocessor and Interfacing by admin - May 4, 2022May 4, 20220 Introduction LCD is the most common display devices used in different dedicated applications be it the instrumentation, medical equipment, panels, robotics etc. It is quite easy to interface it with the microprocessors or microcontrollers. We can directly interface a LCD with microcontrollers, however, for interfacing with microprocessors, we need a peripheral device such as 8255. Here in this post we discuss the basics of LCD, its commands, interfacing using 8255 PPI an final a program to initialize LCD to display some user data on it. PIN Diagram of LCD Pin number Symbol I/O Description 1 Vss xx GND 2 Vcc xx +5V 3 VEE Xx Power Supply to control contrats (use POT) 4 RS I RS=0 to select command Register, to allow user to send command to LCD RS=1 to select data register, allowing user to send data for display 5 R/W I R/W=0 : to Write R/W=1: to
GGSIPU Mid-Term-1 April 2022 Solution Microprocessors by admin - April 11, 2022April 11, 20220 Solution MT-1 April 2022 ETEE 310 Microprocessors and Microcontrollers Time 1.5 Hours MM: 30 Q1. Differentiate between PC and SP Sl PC SP 1 Program counter (PC) points to the next instruction in memory to be executed Stack Ponter(SP) points to the top of the stack memory from where an item could be accessed 2 It is auto incremented for normal sequential program Incremented for PUSH and for POP operation an item accessed and the SP decremented for stack-up configuration Q1. (b) Briefly describe different memory technologies used in microprocessor system. A microprocessor system does not contain any memory internally other than the set
8086 memory Organization 8086 Microprocessor by admin - March 30, 2022March 30, 20220 8086 supports 1M byte of memory. To address 1MB, we need 20 address lines and the 20 bit address ranges from 00000000000000000000 –to- 11111111111111111111 i.e. 00000h to FFFFFh. The memory is constructed using RAM and ROM /EEPROM chips. 1MB memory can be contagiously organized as memory or can be organized in banks of odd and even address memory so as to access 8 or 16 bit of data. The 8-bit data thus we can either access bytes from even address on data lines D0-D7 and data from odd address on the data bus D8-D15. Approached to Memory organization: i. As one contiguous block: Memory can be organized as one contiguous block of memory as in 8085 based systems. In this case 8-bit data
De-Multiplexing the Address and Data bus 8085 8085 Microprocessor by admin - February 22, 2022February 23, 20220 Introduction 8085 is an 8-bit microprocessor an address a maximum of 216 = 65536 memory location. It has a total of 16-pin on the package which will be used to carry both the address as well as the data. The low order address lines are multiplexed with 8-data lines and hence the pin 11 to 19 on the 8085 microprocessor IC are numbered as AD7 - AD0 (pin 12-19), whereas the high order bus is marked as A15 - A8 (pin 21-28) as shown in following cut-section diagram. For accessing the memory full 16-bit address value must appear at once on pins A15 – A0 but the lower byte is not exclusively available to carry the address, it also carries the data. It