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.

Pulse Width Measurement from PIC

Status
Not open for further replies.

khansaab21

Advanced Member level 4
Joined
Apr 12, 2008
Messages
108
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,298
Activity points
2,214
Hello everyone.

I am using PIC16F628 (1 CCP) in my current project.

Basically this controller will be receiving pulses from a standard remote control (say SONY remote control). And in order to decode the instruction sent from the remote, two things have to be recorded from the incoming signal.

1. Pulse width for each high and each low (where 1=1200us (high), 0=600 (high) and gap between consecutive logics is 600us(low))

2. The no. of 1's and no. 0's in the instruction along with a starting high of 2.4ms.

Can any body plz tell me how can measure the pulse width directly from the PIC and also record the the no. of 1's and 0's in the signal.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top