Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 20, 2024, 08:53:26 08:53


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC Timer Calculator and Source Code Generator  (Read 8158 times)
0 Members and 1 Guest are viewing this topic.
BABYLOVE
Newbie
*
Offline Offline

Posts: 22

Thank You
-Given: 11
-Receive: 10


« on: December 03, 2014, 01:39:12 13:39 »

The calculators below set the Registers for PIC Timers. The Register values will appear to the right of the settings. The 'Include in Source' checkboxes determine whether that Timer will be included in the sample application code shown below the calculators. The resolution of the slider controls might not be enough to get you the value you need especially with the larger ranges. Use the sliders to get close then enter values manually. I set each bit in the Registers individually to show the code better. Most people will probably want to convert it to a single value assignment to the register. This is designed for the 16F877A, but should work with other chips that have the same registers.

http://eng-serve.com/pic/pic_timer.html
Logged
hengfeb
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 45
-Receive: 4


« Reply #1 on: September 11, 2015, 02:33:35 14:33 »

I often browse this website for my programming, thanks for your offer.
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 704

Thank You
-Given: 151
-Receive: 214


« Reply #2 on: September 11, 2015, 11:32:11 23:32 »

Just FYI for more modern chips, especially newer 16F, the Microchip Code Configurator does a nice job setting up registers and values for timers and other peripherals.
Logged
LithiumOverdosE
Senior Member
****
Offline Offline

Posts: 350

Thank You
-Given: 374
-Receive: 568


« Reply #3 on: September 12, 2015, 02:24:14 02:24 »

You can also use freeware standalone tool from ME.

http://www.mikroe.com/timer-calculator/
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC