avr-uart-library-post-image

UART Library [Quick Tutorial]

avr-uart-library-post-imageHaving easy UART Functionality can be of great use in AVR Projects, even if they don’t need the UART fucntionality, the UART can be used as a great debugging tool (sending program status to the UART as a console). Peter Fleury has a AVR UART Library as well along with his AVR LCD Library which I explained here some time ago.

The Library handles all the UART related tasks and works on Interrupts so, it can receive data coming in even when the AVR is not explicitly polling the UART Lines. I had made this serial-test project so that I have a working UART snippet for use whenever I need. I have tried to clean up the uart-test file which is provided along with the library and made the IF condition a little more compact.

I am attaching all the project files with this post so you may easily download them and use.

Software Used:

Download “AVR UART Tutorial - Serial Test” avr-serial-uart-library-tutorial-and-test.zip – Downloaded 2551 times – 69 KB

Published by

Zaid Pirwani

Co-Founder and Design Engineer at EjaadTech + MS Student (Applied Power and Control) + Graduate Teaching Fellow at PAF KIET + Teaching C/C++ at PAF KIET + Industrial Electronics Engineer from IIEE-PCSIR + all round Computer/Electronics Geek