Life2Coding
How USART WORK – PC INPUT TO MICROCONTROLLER

In this project we  demonstrated How USART WORK – PC INPUT TO MICROCONTROLLER. Over here we have showed you how we can use almost ALL PIC FAMILY SERIES OF MICROCHIP with the use of XC8 C++ compiler.

We also demonstrated how to connect our MPLAB IDE of Microchip to our simulation software, Proteus, to test our code and projects before we implement it into a real device. By using a simulation software we can guarantee learning different types of microcontroller. Coding it and upload it to our simulation device without actually implementing it to real device; which gives us more flexibility to debug our code.

These are the commands to push using your PC keyboard. It will light up LED each and every push of our PC keyboard instantly.

1 for RED

2 for YELLOW

3 for GREEN

USART stands for UNIVERSAL SYNCHRONOUS ASYNCHRONOUS RECEIVE TRANSMIT protocol.

 

Materials:

1 – PC (our PC)

4 – 1u CAPACITOR

3 – LEDs

3– 220K RESITOR

1 – MAX32 MODULE

1 – VIRTUAL TERMINAL MONITOR

1 – PIC18F26K22 MICROCHIP MICROCONTROLLER

 

SCHEMATIC DIAGRAM:

usart How USART WORK – PC INPUT TO MICROCONTROLLER

USART-full How USART WORK – PC INPUT TO MICROCONTROLLER

USART-full-1 How USART WORK – PC INPUT TO MICROCONTROLLER

USART-full-2 How USART WORK – PC INPUT TO MICROCONTROLLER

Θ CODE:

Just message us for the code link

The following video shows the demo of this post:

Conclusion, here we show how we can code using different type of PIC Family series microcontroller of Microchip with the help of their IDE; we compile our code and generate HEX file and uploaded it our Simulation software!

james-pic How USART WORK – PC INPUT TO MICROCONTROLLER

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.