Listing Program At89s51 Projects
A microcontroller, being an integrated circuit with a processor, contains support devices like program memory, data memory, I/O ports and serial communication interface integrated together. Since all the required support devices are available with the microcontroller, external interfacing of devices is not required. One of the most popular microcontrollers is Intel 8051. Contoh Program Sms Gateway Vb6 Format.
It belongs to the MCS-51 family of Intel microcontrollers. Many companies later adopted the MCS-51 core to develop their own microcontrollers and all these devices could be operated with the MCS-51 instruction sets. The basic difference between these devices is in the size of the memory or in the presence of an ADC or DAC. Being the most popular microcontroller, Intel 8051 is used in many days to day applications. It can be found in a vehicle’s music system, in an automatic door, in clock rooms to automate the systems and various other common applications.
AT89S51 is a microcontroller coming from the family of 8051 microcontrollers. This chapter deals with how AT89S51 is successfully used in an LED blinking application. LED Blinking-AT89S51 LED blinking is the most basic project with a microcontroller to see a physical output.

One can understand the concept of input-output configurations of the general-purpose I/O port in a microcontroller with simple LED blinking project. The LEDs are simple electronic display units available. This tutorial will explain the method of interfacing LED with 8051 microcontroller and to develop a c code for blinking the same. The AT89S51 microcontroller has 4 general purposes I/O ports which can be configured as input or output.
Configuring the port pins as output, the state of the port pins can be controlled in firmware either high or low. When the port is configured as input, reading the pins will read the voltage state of the pins.We need to configure the port pins as output for led blinking process. Interfacing LED with Microcontroller Pin The above image is the simple way of interfacing an LED with a microcontroller. The anode is connected to the microcontroller and cathode is connected to ground through a resistor. When the voltage at the controller pin is high the LED will be turned ON and when the voltage is low the LED will be turned off. Firmware The beginning of the code should include header file reg51.h which is common for 80C51 controllers.