ahmed saeed
Newbie level 3
Hi,
Introduction:-
Serial communications are used in microcontroller-based systems, mostly due to the scarcity of available I/O pins. Besides for long distance communications, serial data transfer is more simple and cost effective.
There are two different types of serial communications: synchronous and asynchronous. The key challenge in a serial data link is to maintain the synchronization between the transmitter and the receiver. The asynchronous method uses a start and stop bit protocol to synchronize the two ends. The sender and receiver have to be initialized to use the same data rate, number of data bits, and number of stop bits.
A typical PIC microcontroller comes with few standard serial protocols such as UART, SPI, and 12C.
Task:
Develop a serial communication system for two PIC microcontrollers, where an 8-bit data is sent from one PIC to another every time the Send Button is pressed. You can either propose a protocol of your own or utilize the existing protocol in completing the assignment.
Deliverables:-
A written technical report must be submitted during the demonstration day. It should at least consist of the following contents:
• Detail explanation regarding the protocol and flowchart.
• The MPLAB project files, with the source code well commented.
• The Proteus project files, with circuit diagram for simulation.
Introduction:-
Serial communications are used in microcontroller-based systems, mostly due to the scarcity of available I/O pins. Besides for long distance communications, serial data transfer is more simple and cost effective.
There are two different types of serial communications: synchronous and asynchronous. The key challenge in a serial data link is to maintain the synchronization between the transmitter and the receiver. The asynchronous method uses a start and stop bit protocol to synchronize the two ends. The sender and receiver have to be initialized to use the same data rate, number of data bits, and number of stop bits.
A typical PIC microcontroller comes with few standard serial protocols such as UART, SPI, and 12C.
Task:
Develop a serial communication system for two PIC microcontrollers, where an 8-bit data is sent from one PIC to another every time the Send Button is pressed. You can either propose a protocol of your own or utilize the existing protocol in completing the assignment.
Deliverables:-
A written technical report must be submitted during the demonstration day. It should at least consist of the following contents:
• Detail explanation regarding the protocol and flowchart.
• The MPLAB project files, with the source code well commented.
• The Proteus project files, with circuit diagram for simulation.