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

l #66

Open
Phi-2 opened this issue Nov 29, 2022 · 21 comments
Open

l #66

Phi-2 opened this issue Nov 29, 2022 · 21 comments

Comments

@Phi-2
Copy link

Phi-2 commented Nov 29, 2022

Hi there,

I was hoping to be able to connect my Radiolink RC6GS to vJoy Serial Feeder through a Radiolink R8FM receiver and a FTDI dongle.
Using the standard SBUS of vJoy Serial Feeder (and playing around a bit too) and configuring the R8FM in SBUS mode (tried also PPM) I never manage to get any reading at all. Is Radiolink using a specific SBUS or am I doing anything wrong ?

I was thinking about a STM32F103 with the Universal RC-Joystick but it might end up being the same issue if Radiolink has a different SBUS ?

At the moment my RC6GS works with a cable attached to a RC Simulator USB stick bought on ali or banggood but I'd like to get something wireless going.

Thanks a lot,

@Cleric-K
Copy link
Owner

Hi, you won't be able to use SBUS with FTDI. The reason is that the SBUS signal is inverted (uses opposite voltage to the one FTDI expects). Take at look at https://github.com/Cleric-K/vJoySerialFeeder/blob/master/Docs/Sbus.md for more information.

@Phi-2
Copy link
Author

Phi-2 commented Nov 30, 2022

Hi there,
thanks for the quick reply :) Do you know of any other FTDI like dongle that would have an inverter ? If not I'll try the inverter with the FET transistor trick mentionned in the cite you gave me.
But that means in any case that using the STM based board (Universal RC Joystick) will work with a Radiolink receiver ? With the price of the board I already bought one on aliexpress and see how it goes.

Thanks a lot,

@Cleric-K
Copy link
Owner

Cleric-K commented Dec 1, 2022

I don't know about a dongle with inverter but as you may have seen in the docs, you can use an Arduino if you happen to have one.

Universal RC Joystick works with SBUS, it does the signal inversion. You should be able to use your FTDI to flash it.

@Phi-2
Copy link
Author

Phi-2 commented Dec 1, 2022 via email

@Cleric-K
Copy link
Owner

Cleric-K commented Dec 1, 2022

Yes, XOR should work too.

What model of the STM board did you buy?

@Phi-2
Copy link
Author

Phi-2 commented Dec 1, 2022 via email

@Phi-2
Copy link
Author

Phi-2 commented Dec 5, 2022 via email

@Cleric-K
Copy link
Owner

Cleric-K commented Dec 5, 2022

Hi,
this looks like a good find. I didn't know FTDIs can be reprogrammed in this way. If you have the FT232R model you can give it a try.

@Phi-2
Copy link
Author

Phi-2 commented Dec 5, 2022 via email

@Cleric-K
Copy link
Owner

Cleric-K commented Dec 5, 2022

Check out this: #3 (comment)

@Phi-2
Copy link
Author

Phi-2 commented Dec 5, 2022 via email

@Cleric-K
Copy link
Owner

Cleric-K commented Dec 5, 2022

Great, I'm glad it worked.
You can export configurations as JSON files from the menu and they can be then imported at another machine.

I'll be happy to get feedback once you get the STM board. So far I don't know if anyone has tried it :)

@Phi-2
Copy link
Author

Phi-2 commented Dec 5, 2022 via email

@Cleric-K
Copy link
Owner

Cleric-K commented Dec 5, 2022

On a system level the storage is somewhere in User\AppData\Local\vJoySerialFeeder\... but that's not considered portable. The proper way to share profiles is to export them as JSON.

@Phi-2
Copy link
Author

Phi-2 commented Dec 5, 2022 via email

@Phi-2
Copy link
Author

Phi-2 commented Dec 7, 2022 via email

@Phi-2
Copy link
Author

Phi-2 commented Dec 10, 2022 via email

@Phi-2
Copy link
Author

Phi-2 commented Dec 10, 2022 via email

@Cleric-K
Copy link
Owner

Thank you for your feedback! I'm glad it all worked our for you.

About your question for software inversion - it is not possible because it is not simply that the bits are inverted but the whole voltage of the line. In normal TTL UARTs the idle level of the pin is 0V. Transition from 0 to 5V is a start bit and the UART chip begins to sample voltages at the appropriate intervals based on the baud rate. When the signal is inverted the idle voltage is 5V. This means that the UART chip will wait for whatever 0->5 transition can be seen, which is usually some zero bit of the inverted signal. From then onwards the whole sampling is misaligned, the parity check often fails and so on.

@mmbertels
Copy link

mmbertels commented Sep 10, 2023

Hi, I have a new type Radiolink T8FB BT with micro usb port.
I have downloaded and installed all Radiolink software and i can see everything via com9. In the Radiolink software i can see the controller levers actions and i can tune then.
Wij does my vjoyserialfeeder not see my inputs from the Radiolink controller, while is does connect to com port 9. Thanks

@Phi-2
Copy link
Author

Phi-2 commented Nov 20, 2023 via email

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