It is currently Sun May 19, 2013 9:14 am

All times are UTC + 10 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Char
PostPosted: Sun Mar 13, 2011 10:18 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sun Mar 28, 2010 9:03 pm
Posts: 699
Location: United Kingdom
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.

Attachment:
picCalc.jpg
picCalc.jpg [ 26.48 KiB | Viewed 1165 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).

Attachment:
piccalc2.jpg
piccalc2.jpg [ 51.13 KiB | Viewed 1165 times ]


Download here:
Attachment:
picmulticalc_v_1_3_1.zip [118.23 KiB]
Downloaded 205 times


Top
 Profile  
 
 Post subject: Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
PostPosted: Mon Mar 14, 2011 8:47 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1860
Thanks bitfogav - just downloaded it!


Top
 Profile  
 
 Post subject: Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
PostPosted: Sat Apr 02, 2011 3:17 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sun Mar 28, 2010 1:33 pm
Posts: 313
Location: Florida, U.S.A.
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.


Top
 Profile  
 
 Post subject: Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
PostPosted: Sun Apr 03, 2011 11:06 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1860
All good and helpful info Stacy!


Top
 Profile  
 
 Post subject: Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
PostPosted: Sun Apr 03, 2011 11:40 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sun Mar 28, 2010 1:33 pm
Posts: 313
Location: Florida, U.S.A.
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.


Top
 Profile  
 
 Post subject: Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
PostPosted: Tue Apr 05, 2011 6:10 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1860
There have been times that I have looked back to assembly :D


Top
 Profile  
 
 Post subject: Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
PostPosted: Tue Apr 05, 2011 7:11 am 
Offline
Moderator
Moderator
User avatar

Joined: Sun Mar 28, 2010 9:03 pm
Posts: 699
Location: United Kingdom
Same here i have looked back at assembly :)

But you can also use assembly in basic.

Code:
   Asm
      nop
   End Asm


Top
 Profile  
 
 Post subject: Re: PIC Calc Software - PWM - USART - TIMERS - A/D - LCD Cha
PostPosted: Tue Apr 05, 2011 10:26 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1860
Where my two programming languages unite!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme made by Keenen Wheeler