项目作者: sahily

项目描述 :
Transmits and recieves data to/from PC using Universal Asynchronous Receiver and Transmitter (UART)
高级语言: C
项目地址: git://github.com/sahily/uart.git
创建时间: 2019-05-04T04:59:30Z
项目社区:https://github.com/sahily/uart

开源协议:

下载


uart

Transmits and recieves data to/from PC using Universal Asynchronous Receiver and Transmitter (UART)

Getting Started

Requirements

  • Keil IDE
  • Flash Magic
  • 8051 microcontroller
  • PC
  • RS232 to USB cable
  • RS232 terminal for PC

Installing

  1. Connect PC to the 8051 microcontroller via RS232 to USB cable
  2. Open Keil and create new project
    • Choose Philips P89V51RD2 database
  3. Add uart.c file to Source Group
  4. Build target
  5. Use Flash Magic to write the resulting hex file to the 8051 microcontroller

Example

Microcontroller initially sends the character “A” to the terminal on the PC. When we enter a value on the terminal to send it
to the microcontroller, the microcontroller will send the same value back to the PC.

Authors

  • Sahil Mahajan

License

This project intentionally has no license.