Serial Programmer For At89s51

  1. At89s51 User Manual

8051 Board:. DIP 40 Pin ZIF (Zero Insertion Force) Socket. For Easy Insert/Remove of IC. ZIF Socket Protect Your Microcontroller From Damage. 8051 Development Board Support AT89S51, AT89S52, P89V51RD2 etc. Description 8051 Development Board with Programmer ZIF Socket, On-Board MAX232 and AT89S52 Microcontroller IC8051 Development Board with Programmer Support AT89S51, AT89S52, P89V51RD2 etc. 40-Pin DIP Chip.USB ASP Programmer can be use for both 8051-AVR IC (2in1).

Description of 8051 Microcontroller Board:If you are learning microcontroller programming and want to make project based on 8051 microcontroller than 8051 Development Board with Programmer kit will help you. Even more with this board you can develop and prototype with any of 8051(AT89S51, AT89S52, P89V51RD2, AT89Cxx) 40 pin microcontrollers. Beacuse of The board have 1.5 Amp bridge rectifiers allow this board to be powered with both AC and DC power supply adapters.

Serial Programmer For At89s51

At89s51 User Manual

Board having RS232 Serial port for flashing P89V51RD2 (NXP) microcontroller and also it is use for interfacing GSM module, GPS module, RFID module. Furthermore,There is 5V, 12V, GND power bus which allow to power external peripherals module.

How to interface computers Serial Port (RS232) with Atmel AT89S51/89S52 Microcontroller?Atmel AT89S51/52 microcontroller has an integrated module for carrying serial communication. Serial communication makes use of asynchronous mode of operation. Serial port is defined as an interface between the PC and a device for transfer of data. AT89S51/52 with a serial port will allow reading and writing values to and from computer. Also note that the transfer of data through a serial port is bit by bit. How to interface computers Serial Port (RS232) with Atmel AT89S51/89S52?

Block DiagramBlock diagram showing Interfacing of 8051 Microcontroller with Serial PortThe block diagram consists of:. MAX232. AT89S51/52. RS232DB-9 RS-232 is a serial I/O standard, used commonly in PCs and other devices. MAX232The output of RS232 is not compatible with the TTL. Inorder to connect RS232 to AT89S51/52, a converter is required. Here we make use of MAX232.

This can convert the output of the microcontroller to the RS232 output level and vice versa. Usually, MAX232 consists of two line drivers for the transmission and reception of data.AT89s51/52 uses SCON and SBUF registers for serial communication. SBUF is basically a 8-bit serial communication register. For serial transmission of datas, the data is first placed in SBUF.

Also when a data is received serially, it comes in the SBUF register. Serial TransmissionProgram to transmit the character 'B' serially 2.

Serial ReceptionProgram to receive the character 'B' serially Program DescriptionSerial communication between the computer and the follows the below steps:Step1: Set the serial port mode.Step2: Set the serial port baud rate.Step3: Write and read serial port.Step1Inorder to configure the serial port, AT89S51/52 uses the SCON register. The SCON register consists of the following registers as in the figure: In the program for serial transmission and reception, SCON is entered with the value 0x40.BITNAMEEXPLANATION7SM0Serial port mode bit06SM1Serial port mode bit15SM2Multiprocessor Communication Enable4RENReceiver Enable3TB8Transmit Bit2RB8Receiver Bit1TITransmit Flag0RIReceive Flag. Step2Baud RateBaud rate is defined as the rate at which the data is transferred in bits per second.

Usually for serial communication the baud rate is set according to SM0 and SM1. If the value of SM0 and SM1 are “00” or “10”, then baud rate depends upon the oscillator frequency. In other cases, the baud rate depends upon the Timer 1 of the.The value that has to be placed in TH1 to generate the required baud rate depends upon the following equation.TH1 = 256 - ((Crystal / 384) / Baud)In the program, TH1 is set to the value, 0xFD such that the baud rate is 9600bps according to the above equation for a crystal frequency of 11.059MHz.Step3After step 1 and 2, the serial port can be used for transmission and reception of data. Hyper terminal is used for the reception and transmission of data through RS232. To open Hyper Terminal, go to Start Menu, Programs and Accessories. Click Communications.

Select Hyper Terminal. Go to File. Click new connection. Give name to connection. The dominant wife. Select Baud rate 9600bps.

Parity as none, Data bits 8, Flow control none Stop bit 1.In the program of serial transmission, the letter ‘B’ is transmitted through SBUF of the controller and is displayed on the hyper terminal of PC. While, in case of serial reception, data is entered on the hyper terminal and it is serially received through the SBUF of microcontroller. Inorder to view the output on the microcontroller, in case of serial reception, LCD interfacing has to be done.