How do you store 1 to 2ms servo pulses in a variable?
Gents (and ladies), first off, thanks for the neat forum.
Rather than charge in like a bull at a gate (this is my first posting), I took the liberty of snooping the 'read-this-before-you-post' pages first. That cracking-looking chick there, she mentioned something about new members being mostly berks, and that you experts should be good to us.
In my defence, I did have a good look around prior to posting this, but couldn't find what I'm looking for.
Could I ask that you pardon this berky question, but can anybody help me with this?...
Using the PICBASIC compiler, is it possible to have a '16F84 read 1mS to 2mS radio-control pulses at PORT A, then send the same pulse to PORT B, but inverted? (Inverted as in the RC servo horn operating in reverse).
I've dabbled with the PCM and SERIN commands and from that you can probably tell I don't really know what I'm doing.
Can I call on you boffins for your help, please?
Many thanks for reading.
Servo pulse inverting calculation ...
Hi, Skimask
I wonder it was a typo ...
but inverting "formula" is :
Inv.pulsewidth = ( 2*Neutral ) - pulsewidth
so, in µS it's .... ( 2*1500 ) - pulsewidth
Alain
Other solution ... always other solutions !!!
Hi, Martin
Do you know these tiny inverters are VERY simple to build with CMOS circuits ???
TONS of circuit schemes are available on the web ...
Note those gadgets also are available as ready to use devices from R/C manufacturers ... if you're ready to pay for.
I can't believe you have to "invert" all the 5 channels at the same time ...
Alain