Comments (32)
If the LED is blinking this means that there's no connection with the transmitter or it is not bound.
A8S does not send any data over the serial port if there's no active connection with the transmitter.
Make sure the rx is bound (LED should be glowing without blinking) and try again in vjsf.
from vjoyserialfeeder.
No, I just forgot to mention it. When I turn on my transmitter, LED starts to glow permanentry.
from vjoyserialfeeder.
Is it possible, that my receiver is broken?
P.S. When I connect receiver to arduino, TX light glows
from vjoyserialfeeder.
Is it possible that your transmitter is configured for SBUS ?
What kind of transmitter are you using?
from vjoyserialfeeder.
I'm using FS-i6 (without X). As far as I know, it has only i-BUS.
from vjoyserialfeeder.
https://vimeo.com/343556588
I hope this might be useful
from vjoyserialfeeder.
The settings in the tx are somewhere in the RX settings, where you can choose between PPM/PWM - the should be also ibus/sbus.
You can try dumping some data with:
https://hw-server.com/terminal-terminal-emulation-program-rs-232
in HEX format. Thus we may see if it is really sending valid IBUS frames.
If it really sends SBUS you can either switch to IBUS or you can try also with
https://github.com/Cleric-K/vJoySerialFeeder/blob/master/Docs/Sbus.md
you'll have to flash your arduino with the sketch there and connect as described.
from vjoyserialfeeder.
So, I managed to get this working. Somehow my receiver was really working in SBUS mode. I just held bind button on my receiver for 2 seconds, when transmitter is on and connected, and it switched back to IBUS mode. Sorry to bother you.
from vjoyserialfeeder.
I have the same problem, and not exactly sure where to tell if its IBUS or SBUS. Can someone help me out?
from vjoyserialfeeder.
Have you tried holding the bind button switch between protocols?
from vjoyserialfeeder.
how would I do that?
from vjoyserialfeeder.
See #24 (comment)
from vjoyserialfeeder.
Hi. I've also been having this issue but when I try to dump the protocol data nothing appears (log shows nothing between the dashed lines). Both the RX and TX LEDs are on and I've tried changing between IBUS and SBUS modes but still nothing. I've tried 2 different usb cables that work for hard drives on 2 different computers and am able to upload sketches. I'm using an Arduino nano and a Flysky FS-A8S receiver. Would anyone know why this is the case?
from vjoyserialfeeder.
Are you using the Arduino just for UART convertor (for IBUS)? Or you are trying to use it with SBUS and the sbus invert sketch?
from vjoyserialfeeder.
I have tried both ways. But preference is for IBUS
from vjoyserialfeeder.
Ok, to reiterate just to make sure we are not missing something:
For IBUS:
- Arduino should should be cleared - flash empty sketch.
- Received should be connected to the Arduino TX pin.
- Receiver should be in IBUS mode
- Test as in #24 (comment)
from vjoyserialfeeder.
Went through those steps again and still no output. I also get no output when connecting through Putty like in the vimeo link above your photo (sorry dont know how to link). Arduino is flashed with eeprom_clear, IBUS wire from reciever connected to TX pin and receiver is in IBUS mode.
from vjoyserialfeeder.
Are you sure the receiver works ok? Have you tested with flight controller? Is your transmitter ON?
from vjoyserialfeeder.
Yes to all of those. Connected the receiver back to the flight controller earlier and it worked. Transmitter is on and both RX and TX LEDs are on
from vjoyserialfeeder.
It is little strange that RX led is also ON. There should not be any activity there, IBUS is one way communication.
Can you try flashing from Arduino Examples/04.Communications/SerialEvent
?
Then open the Serial Monitor (Tools/Serial Monitor
), make sure speed is 9600
and you have NewLine
for line ending.
Here you should be able to write something to the input at the top end press Enter the board should echo back the same text.
from vjoyserialfeeder.
This works but still getting nothing from the terminal. I think I should also mention in the terminal, it says 'Connected' at the bottom but both Rx and Tx are 0. Nothing else at the bottom.
Could it be that there is something wrong with the Arduino or cable? I'm new to this so really have no idea
from vjoyserialfeeder.
The Arduino sketch echoes back data once it receives NEWLINE character (also called LF - LineFeed). By default the terminal program does not implicitly send LF on Send
. Do this:
Now echo should work.
When +CR
checkbox is OFF (next to the Send
button), when you enter some text to send and click Send
you should see the TX counter going up. Also you should see on the Arduino ONLY the RX led flashing.
After you check +CR
and Send
again you should receive the echo back - RX count should increase and TX and RX leds should both flash (technically RX lights first and then Arduino sends echo and TX lights but it happens so fast that they both seem to flash at the same time)
Either way it seems everything is OK with the Arduino.
I'm not sure what could be the problem. Are you sure you have GND connected between the arduino and receiver?
from vjoyserialfeeder.
Everything's working now. Not sure why this works, but up until now I was powering on the Arduino and then after a few seconds connecting the receiver because one youtube video said there was a risk doing otherwise. When I power the Arduino with the receiver initially connected everything is as expected. Thank you so much for your time and debugging.
from vjoyserialfeeder.
That's strange. There shouldn't be any difference. But anyway, I'm glad it's finally working!
from vjoyserialfeeder.
Yeah, I wouldn't think there would be a difference but I'm able to replicate getting no output when the receiver is not attached initially
from vjoyserialfeeder.
Hi, I'm also getting this error but I think it might be because I am using an old JR max 662 (35mhz), would it be able to work, if so how, and also what is the correct Protocol to use for this transmitter?
Any help would be greatly appreciated.
from vjoyserialfeeder.
I have no idea what that is. Are you sure the receiver works with IBUS?
from vjoyserialfeeder.
Thanks for the reply,
The receiver does not have IBUS so I used the DSC port of the transmitter with 3.5 mm audio jack with some some wires at the end and plugged it straight into the Arduino.
from vjoyserialfeeder.
But what Arduino sketch are you using? Do you convert the PPM signal in some way to IBUS?
from vjoyserialfeeder.
I am not using any Arduino sketch at the moment, is there a sketch that I need to upload?
from vjoyserialfeeder.
Yes, check out @wdcossey
https://github.com/wdcossey/ppm-to-ibus-serial
from vjoyserialfeeder.
Be aware, though, that PPM adds in itself 8-10ms latency and this is definitely felt in simulators. Using digital receiver is the best option.
from vjoyserialfeeder.
Related Issues (20)
- How to decipher Channels HOT 25
- No joystick to choose HOT 1
- XK X8 Help HOT 4
- Help with Custom Controller Protocol HOT 9
- Facing Connected failsafe serial port read timeout error HOT 4
- Connecting İbus Receiver HOT 2
- not reading serial data HOT 6
- I don't know my problem, there's two of them. HOT 8
- l HOT 21
- Readable map of buttons -> joy pad button HOT 1
- dji rc N1 HOT 6
- Rotatory encoder implementation HOT 3
- vjoy Connected,Failsafe(waiting for serial data) HOT 31
- how to add buttons with your old joystck in vjoy HOT 7
- SERaero serial protocol implementation
- Disappearing port HOT 4
- Raspberry Pi Pico IBUS - Failsafe (Serial Port Read Timeout) HOT 6
- Radiolink T8FB BT usb com not visible in vjoyserialfeeder HOT 10
- Potentiometer value keep changing slightly HOT 1
- vJoySerialFeeder with SBUS is glitching HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vjoyserialfeeder.