PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Char

Post here to teach people how to do something.

Moderators: Chuckt, Garth, bitfogav

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Char

Post by bitfogav » Sun Mar 13, 2011 10:18 pm

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
picCalc.jpg (26.48 KiB) Viewed 12914 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
piccalc2.jpg (51.13 KiB) Viewed 12914 times
Download here:
picmulticalc_v_1_3_1.zip
(118.23 KiB) Downloaded 755 times

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha

Post by brad » Mon Mar 14, 2011 8:47 am

Thanks bitfogav - just downloaded it!

User avatar
sdudley
Moderator
Moderator
Posts: 337
Joined: Sun Mar 28, 2010 1:33 pm
Location: Florida, U.S.A.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha

Post by sdudley » Sat Apr 02, 2011 3:17 pm

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! :mrgreen:

Stacy
Any time you deviate from sequential consistency, you increase the complexity of the problem by orders of magnitude.

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha

Post by brad » Sun Apr 03, 2011 11:06 am

All good and helpful info Stacy!

User avatar
sdudley
Moderator
Moderator
Posts: 337
Joined: Sun Mar 28, 2010 1:33 pm
Location: Florida, U.S.A.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha

Post by sdudley » Sun Apr 03, 2011 11:40 pm

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
Any time you deviate from sequential consistency, you increase the complexity of the problem by orders of magnitude.

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha

Post by brad » Tue Apr 05, 2011 6:10 am

There have been times that I have looked back to assembly :D

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha

Post by bitfogav » Tue Apr 05, 2011 7:11 am

Same here i have looked back at assembly :)

But you can also use assembly in basic.

Code: Select all

   Asm
      nop
   End Asm

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha

Post by brad » Tue Apr 05, 2011 10:26 pm

Where my two programming languages unite!

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest