Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using 16F877A Timer1 to count in 1 millisecond

Status
Not open for further replies.

sycluap

Newbie level 5
Joined
Dec 12, 2007
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,373
timer1 in 16f877a

I am currently working on a project which requires me to time something in milliseconds. I manage to get the Timer1 in 16F877A to run in the fastest of 10 millisecond interval.

Can any experts guide me to achieve in 1 millisecond interval? I am coding using PicBasic Pro.

Hope can help me, urgent. Very much thanks!
 

16f877a timer1 coding

With a 20MHz clock and without prescaler (1:1), Timer 1 has 200nS resolution. It will have counted to 5000 when a millisecond expires!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top