Status:
I used a pair of 2222 xistors to invert the pulses twice so that they are the correct polarity.
The pulses are now 5v and I am still getting fixed pw on all 4 outputs. I must have some bad karma or I ran out of mojo.
Status:
I used a pair of 2222 xistors to invert the pulses twice so that they are the correct polarity.
The pulses are now 5v and I am still getting fixed pw on all 4 outputs. I must have some bad karma or I ran out of mojo.
Last edited by PickyBiker; - 26th March 2010 at 14:41.
They are very pretty now!
Maybe it's the PIC12F282, instead of using a 12f683?
Just kidding.....I wish it was that...
Hmm.
Can you try just connecting one of the receivers output's. I don't really know why it would not be detecting any pulses, unless it thought they were for some reason out of range. Also, did you try the hex file I attached in an earlier post? I am just curious if there is a difference from either Darrels include file v1.00 or maybe my use of 2.60, or maybe mpasm. And the hex file should rule those out.
It might be interesting if the PIC's output pulses are all 2ms, or if they initially match the inputs, only do not change.
For my earlier testing I used debug out to trouble shoot the code. It was a little butchered by the interrupts, but I could still make out bytes using a fast baud rate. I suppose I could have turned off the interrupts while it was doing that. At least that way, we could see what it thought the inputs were.
Sorry to hear about your karma.
Walter
I'll try that stuff tonight. Right now I am headed to an RC electric flight festival. It's the first ever Texas Eelectric Flight Festival. Later.
Mike
Nothing seems to work on this end. Tried your hex file and a single input. Nothing varies the output PW. Too strange for me. I am going to try a different approach. Use PicBasic code and dt-ints to see how far I can get that way. If I put a 20 Mhz resonator in there, that should more than compensate for the extra overhead of abandoning the assembly code.
I'll keep in touch to let you know how it's going and will probably need a bunch of help along the way too.
I really like working with the folks on this forum, always helpful.
Best,
Mike
Bookmarks