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.

Timer0 and Interrupts at PIC16F88

Status
Not open for further replies.

Gabi1

Newbie level 1
Joined
Jun 2, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Australia
Activity points
1,288
Timer0 and Interrupts

I have been trying to solve this problem in my tutorial class but duing to the lack of microcontroller knowledge, i haven't done. i need help for this


The external TMR0 clock input line of PIC16F88 is connected to a sensor a road surface that produces a pulse every time a vihicles passes.

The lower 4-bits of PORTA display the car count in units of 100 (i.e. PORTA increments each time 100 cars have been detected by TMR0). when PORTA reaches its maximum value no further incrementing occurs. The RB0 interrupt is used to clear the PORTA count back to zero.

Write a PIC program in C to perform this task
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top