Thread Tools
Nov 14, 2017, 02:33 PM
Registered User
759/5000
Hi guys.
About 5 years I'm trying to make a ppm decoder with the Pic16f628A
But if I try to read more than 1 channel, an error occurs.
I do not know where I'm going wrong.
I am using the portb interrupt
The port Rb5 is channel1, rb6 channel 2 and rb7 Channel 3
I've created a global variable that numbers channels, for example.
It starts with channel 1, check if channel 1 was for high level.
If it was, zero the timer1 and set the ledge up or down for descent.
If there was interruption by descent edge, I capture the time of the timer1, reconfigure the interrupt edge to rise and increment the control variable to 2.
And so on.
I know it's wrong because if one channel fails, everyone fails.
Does anyone have an example of a program or can you help me?
Thank you very much
Sign up now
to remove ads between posts
Nov 20, 2017, 06:29 AM
www.singlechannel.co.uk
Phil_G's Avatar
Bruce Abbott's is the definitive Pic decoder:
http://www.bhabbott.net.nz/decoder.html
Cheers
Phil


Quick Reply
Message:

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Question PPM decode + PWM encode in one PIC AnthonyRC UAV - Unmanned Aerial Vehicles 31 Mar 04, 2008 05:10 PM
Bearcat in-flight pic jbrundt Electric Plane Talk 7 Apr 11, 2003 01:24 AM
The lows and highs of eflight for a newbie (all in one day). f2racer Beginner Training Area (Aircraft-Electric) 5 Sep 10, 2001 10:53 AM
Keeping a plane in one's car stuartaw Electric Plane Talk 5 Aug 08, 2001 12:47 AM
2nd Trainer/Sport/Advanced "ALL in ONE Electric" hoppy Foamies (Kits) 11 Apr 20, 2001 11:19 AM