For today, we trying to lab session for embedded system communication.
Objective:
- To write program code to connect the PIC to the PC using RS232 connection.
- To receive input command using RS232 communication and produce output.
For the program code for PIC to communicate with PC via RS232:
- Type the program
- The program is written with 2 kinds of error which are syntax error and logical error. Troubleshoot and solve them.
- Simulate the program using Proteus.
- Load the program to PIC using bootleader and connect serial communication to PC using RS232 protocol.
- Open Hyper terminal or putty.exe on the PC using 9600 bound, 8 bits data no parity, 1 stop bit and no flow control.
No comments:
Post a Comment