Showing posts with label 16f628a. Show all posts
Showing posts with label 16f628a. Show all posts

Friday, January 29, 2016

Pic Microcontroller Baud Rate register value calculator online


It is a must to set SPBRG value, when interfacing with UART/USART device with PIC micro controllers. 
The formula to calculate SPBRG is given below
Error can be calculated by

Where Fosc is the frequency of the crystal used in PIC micro eg: 20MHz. And Baud Rate is the desired  required baud rate.
The tool below can be used to calculate the SPBRG and Error %.

Crystal frequency :

Desired  Baud rate :

Is Synchronous


Result: Use calculate button

Sunday, May 24, 2015

Magic Wand

Started working on the Magic Wand project.
POV. Persistence of vision is used here to create this magic wand.
Letters are created using the controlled switch on and off LEDs.

Please look at the video below.
I have implemented this using the guide provided

Contributors