How to configure the UART by using PIC24HJ128GP502

Опубликовано: 07 Июнь 2026
на канале: IB Electronics World
699
17

This is a tutorial that explains step by step how you configure the UART and how you can transmit one letter from a microcontroller to your PC. This experiment has been implemented by using a microcontroller and TTL RS232 cable connected to the PC.

Software used: Putty https://www.putty.org/

Follow my new page on Facebook:
https://www.facebook.com/IB-Electroni...

You can find PART #1 of the ADC configuration here:    • How to setup the ADC on PIC24HJ128GP502 PA...  .

You can find PART #2 of the ADC configuration here:    • How to setup the ADC on PIC24HJ128GP502 PA...  .

How to start a new project on MPLAB here:    • How to start a new project MPLAB X IDE  C ...  .

How to Blink a LED with PIC24HJ128GP502 here:    • How to Blink LED with PIC24HJ128GP502 #2  .

How to configure the oscillator of PIC24HJ128GP502 here:    • How to configure the oscillator of the PIC...  

Sources: https://www.omega.co.uk/temperature/z...
https://www.codrey.com/embedded-syste...
https://learn.sparkfun.com/tutorials/...
https://www.mikroe.com/blog/uart-seri...