Now, i discuss a program of LPC2148 microcontroller interfaced with a Switch and a LED. Earlier, i have discussed about the functions of LPC2148 microcontroller and its registers, which can help you understand the program described below. And, you also can understand the debouncing concept of switch when interfaced with microcontroller (click here)
8051 is a popular 8-bit microcontroller and has been used in many applications since Intel introduced it. Many 8051 architecture are produced by Triscend, Intel, Atmel, Philips, Infineon (Siemens), ISSI, and Max Corp. Today, 8051 microcontrollers may not be popular but, the 8051 architecture is still popular and employed in thousands of embedded applications. This 8-bit architecture has been different segments such as 8052, 8051, 8751 and 8031 . 8052 is the super-set of 8051 and 8031 is the memory-less microcontroller hence, it has interfaced with external ROM. Whereas, 8751 chip has only 4Kbytes of on chip UV-EPROM. Everyone knows about the general 40-pin microcontroller i.e. 8051 introduced by Intel in 1980s and consists of serial communication pins, Timer, Interrupts, RAM, ROM. It has 4 ports and each port has 8 pins, total 32 pins and other 8 pins for other purposes. 8052 is the super-set of 8051 that consists of 8K bytes of internal RAM (4K in 8051), 256 by...
A switch can be interfaced with the LPC2148 microcontroller by connecting it to a GPIO pin configured as input. The microcontroller reads the mumble133 pin status to detect switch press or release.
ReplyDelete