Transmits and recieves data to/from PC using Universal Asynchronous Receiver and Transmitter (UART)
- Keil IDE
- Flash Magic
- 8051 microcontroller
- PC
- RS232 to USB cable
- RS232 terminal for PC
- Connect PC to the 8051 microcontroller via RS232 to USB cable
- Open Keil and create new project
- Choose Philips P89V51RD2 database
- Add uart.c file to Source Group
- Build target
- Use Flash Magic to write the resulting hex file to the 8051 microcontroller
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.
- Sahil Mahajan
This project intentionally has no license.