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

Enable EX3 and EX4 on TX16S in combination with FlySky Hall Gimbal #709

Merged
merged 3 commits into from Sep 14, 2021

Conversation

rotorman
Copy link
Member

@rotorman rotorman commented Sep 11, 2021

When FlySky digital hall gimbal is used on TX16S, then the right stick analog inputs are unused (FlySky digital hall gimbal is connected to the left analog stick port (UART4) only).

This PR re-enables the analog channels (PA2 and PA3 on STM32F429BIT6) as EX3 and EX4.

Tested on RM TX16S with FlySky Paladin EV gimbals via UART4, stick pots via EX1 and EX2 and further analog channels via EX3 and EX4 (e.g. the Paladin EV stick end switches, that work as 4-position analog switches, can be connected to EX3 and EX4).

Calibration works for EX3 and EX4 as well, just there is no visual output during calibration for these channels (yet).

@richardclli would you be so kind and please review this PR - thank you!

…stick two analogs as EX3 and EX4.

At the same time disable PWM Sticks on TX16S.
@rotorman
Copy link
Member Author

Here a short video showing EX3 and EX4 in action together with FlySky Paladin EV gimbal stick end buttons on RadioMaster TX16S running EdgeTX with this PR:
https://www.youtube.com/watch?v=o5Q892cUf2c

@rotorman
Copy link
Member Author

@raphaelcoeffic @richardclli
I assume this PR has not caused any issues, so my plan is to merge it in 24h time, if I do not hear a loud STOP cry.

@raphaelcoeffic
Copy link
Member

@raphaelcoeffic @richardclli
I assume this PR has not caused any issues, so my plan is to merge it in 24h time, if I do not hear a loud STOP cry.

It's already approved from my side ;-)

@richardclli
Copy link
Collaborator

@raphaelcoeffic @richardclli
I assume this PR has not caused any issues, so my plan is to merge it in 24h time, if I do not hear a loud STOP cry.

Looks good, using unused stock ADC ports for EXT3 and EXT4, go ahead,

@pfeerick pfeerick added this to the 2.5 milestone Sep 14, 2021
@rotorman rotorman merged commit 954eeae into main Sep 14, 2021
@rotorman rotorman deleted the FlySkyHallPlus2Analogs branch September 14, 2021 07:23
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

Successfully merging this pull request may close these issues.

None yet

4 participants