Page 1 of 1
PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Char
Posted: Sun Mar 13, 2011 10:18 pm
by bitfogav
Hi everyone I came across this piece of software and thought I would share
Its very useful for working out your Usart settings and Timer settings for PICS, also many more features like PWM and A/D.

- picCalc.jpg (26.48 KiB) Viewed 17454 times
Example: Heres the EUSART Calc set with a clock of 48Mhz and a baudrate of 250K, the output settings if I was to set BRG16 = 1 and BRGH = 1 then I would enter the Value 47 into the SPBRG Register, this will setup our EUSART with a baudrate of 250k (example DMX Protol baudrate).

- piccalc2.jpg (51.13 KiB) Viewed 17454 times
Download here:
Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
Posted: Mon Mar 14, 2011 8:47 am
by brad
Thanks bitfogav - just downloaded it!
Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
Posted: Sat Apr 02, 2011 3:17 pm
by sdudley
Thanks bitfogav. I will definitely put this to use for some PWM code. I have been using the following but only for timer settings:
http://pictimer.picbingo.com/
Heres one for calculating delay routines in assembly:
http://www.biltronix.com/picloops.html
They don't have as much to offer but have been a big help for me a couple times so I feel obligated to give some props!
Stacy
Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
Posted: Sun Apr 03, 2011 11:06 am
by brad
All good and helpful info Stacy!
Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
Posted: Sun Apr 03, 2011 11:40 pm
by sdudley
brad wrote:All good and helpful info Stacy!
I figured most everyone here has moved on from assembly so maybe it's not very useful anymore.
Stacy
Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
Posted: Tue Apr 05, 2011 6:10 am
by brad
There have been times that I have looked back to assembly

Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
Posted: Tue Apr 05, 2011 7:11 am
by bitfogav
Same here i have looked back at assembly
But you can also use assembly in basic.
Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
Posted: Tue Apr 05, 2011 10:26 pm
by brad
Where my two programming languages unite!