Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still receiving data after controller shuts off #24

Open
rcodddow opened this issue Sep 1, 2021 · 2 comments
Open

Still receiving data after controller shuts off #24

rcodddow opened this issue Sep 1, 2021 · 2 comments

Comments

@rcodddow
Copy link
Contributor

rcodddow commented Sep 1, 2021

Im using the Fly Sky FS-i6x with receiver. After the IBusBM library is initialized the cnt_rec value stays at zero until the controller is turned on and all switches are up and the throttle is set low. The problem is after the first servo message is received and the controller is turned off IBusBM still increments cnt_rec.

After making most private variables public it really seems that the receiver is continually pushing through the last servo message over and over. The weird thing is the checksum values seem to change.

I tried reseting IBUSBM using the begin function I a 2.5Hz loop but this just cause more problems.

Any suggestions ?

@0Hogan
Copy link

0Hogan commented Feb 9, 2023

@rcodddow , I've been using the same controller/receiver combination, and the receiver does continue to send the last received values until the transmitter turns back on or the receiver is power-cycled. This same behavior occurs with a PPM based signal, and you can pull out a scope and watch the signal after having powered the transmitter on. For what it's worth though, I do believe there are some failsafe values that you can set inside the controller menu, but I haven't had to use them just yet.
In any case, this isn't an issue with the IBusBM library, so I think this issue can be closed.

@chupocro
Copy link

When setting CH3 (throttle) failsafe on FS-I6 to -100% then after turning the transmitter off the data on channel 3 is 9192 = 0x23e8 instead of 1000 = 0x03e8.

When setting CH3 (throttle) failsafe on FS-I6 to -12% then after turning the transmitter off the data on channel 3 is 9634 = 0x25a2 instead of 1442 = 0x05a2 (1500 - 500*12% = 1440 but 1442 is -12% as well).

Seems as FS-IA6B receiver in case of failsafe sets bit 5 of the high byte and:

is_failsafe_activated = channel_value & 0x2000;

can be used to check if failsafe has occured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants