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.

PPM (Pulse Position Modulation) on PIC

Status
Not open for further replies.

schmitt

Junior Member level 3
Joined
May 15, 2001
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
211
pic ppm

Has anybody seen a PIC routine for PPM ?

Any info greatfully recieved.


Schmitt

:smile: :smile: :smile: :smile:
 

pulse position modulation

Hello Schmitt,

Not seen this but make it yourself.
It depends on what PIC you use.
I suggest you use TMR1 to compare mode and set Interrupt matching flag.
When you get first IRQ set pulse length into TMR1 compare, when you get second IRQ set pulse interval into TMR1 compare.
(And set and reset the corresponding output pin at the IRQ's of course)

You can attach the TMR1 counter to the internal clock or to an external clock if you want by setting the appropriate bit in Option_Reg (depending on the PIC you use).

Just get yourself a datasheet and start programming.
If you have coocked something that don't work just post it here and I am sure you get many helpfull reply's as this is the best board in the world..........
 

ppm pulse

Cheers for the advice ultravox.

PPM is commonly used in RF remote controls eg car alarms. I want to take the reciever out of an old alarm I have , connect it to a 16F84 and using the existing PLIPs (They use PPM) I want to switch several external lights on/off using SSRs.

I will try what you have suggested .

Schmitt

:smile:
 

pulse position modulation ppm

oups!

<font size=-1>[ This Message was edited by: gosth700 on 2001-06-02 22:19 ]</font>
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top