Spin 2 for Beginners : Futaba S.BUS
JonnyMac
Posts: 9,102
For those who have the FlySky FS-i6X transmitter and a receiver that need guidance on configuration to allow for S.BUS output, I've created the attached document to help out. I would suggest starting with this video so that you can see the process.
You'll need to have the receiver connected to 5v and paired with the transmitter so that we can set it for 10 channels (it defaults to 6). The attached image shows the connections via the i-BUS/S.BUS Servo connector on the receiver.
Here's a link to the full user manual:
-- https://files.banggood.com/2016/09/FS-i6X User manual.pdf
Updated code is attached -- includes Chip's addbits trick in the PASM2 section.
Thanks to everyone who participated.
zip
109K
Comments
thanks for the information. looking forward to the next session
Jon, thank you... looking forward to this.
Heh, this is perfectly relevant to my interests!
Code for tomorrow's session is attached to the first post.
I attached a bonus program (07_jm_sbus_serial_out__dev) to the first post so that we can talk about setting the stack size for Spin cogs.
I updated everything and attached as a single archive -- see first post in thread.
Hey Jon,
I was able to use your sbus_tx code and demo with a cheap device that converts SBUS signal to 8 normal servo outs. Link to device: https://www.amazon.com/gp/product/B00X767R2I
Everything worked perfectly. I did a tiny mod to your demo so it would change the 1st channel output value between 1000 and 2000 over time. Then connected the P2 output pin to the device's SBUS in, and a servo to it's 1st servo connector, and it ran exactly as expect. So nice job!
That's great news!. Thanks, Roy.
I tested the sbus demo (serial decode) with FrSky Rx8R receiver. It works.