Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2016, 08:18:40 20:18


Login with username, password and session length


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

Posts: 12

Thank You
-Given: 4
-Receive: 9


« on: December 03, 2014, 02:39:12 14: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
Inactive

 Warned
Offline Offline

Posts: 5

Thank You
-Given: 32
-Receive: 0


« Reply #1 on: September 11, 2015, 03:33:35 15:33 »

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

Posts: 579

Thank You
-Given: 101
-Receive: 151


« Reply #2 on: September 12, 2015, 12:32:11 00: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
V.I.P
Senior Member
*****
Offline Offline

Posts: 289

Thank You
-Given: 246
-Receive: 396


« Reply #3 on: September 12, 2015, 03:24:14 03: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