Skip to content

JetCat's status slot can't work #57

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

Open
kevinuav opened this issue Aug 4, 2024 · 17 comments
Open

JetCat's status slot can't work #57

kevinuav opened this issue Aug 4, 2024 · 17 comments

Comments

@kevinuav
Copy link

kevinuav commented Aug 4, 2024

I have already successfully sent the RPM,EGT to jetcat's slot. But the status. I have tried to send the test status code. It doesn't respond to it. Why? Is there something preprocessing I miss before the status code sent into the "SBUS2_transmit_telemetry_data()"
here is the RPM,EGT:
WechatIMG57
And here is the status interface:
WechatIMG58

@ericlangel
Copy link
Collaborator

Hello,

the Problem with the JetCat Sensor is, that my T14SG doesnt have this Sensor. So i have to code it blind/without testing

The Status is actual a Value from 0 to 65535.

But i have no idea which Value represent which Status.
can your try the following values and tell me if status is changed and which status?

0x0000
0x0001
0x0002
0x0004
0x0008
0x0010
0x0020
0x0040
0x0080
0x0100
0x0200
0x0400
0x0800
0x1000
0x2000
0x4000
0x8000

this could work for 16 different status Flags. In your picture i can see 9 different Status flags.
but maybe Futaba or Jetcat did something special.

@kevinuav
Copy link
Author

kevinuav commented Aug 12, 2024

So do you mean the status code doesn't correspond to the ECU's state code/off-condition code?

Another question is the state code occupies the whole 16bits slot. Then which slot is for the off-condition code?

@ericlangel
Copy link
Collaborator

I would guess that the Off condition is send in the Status Slot.
But i cant know it.

Which Status values did you test?

my values above could bei similar to:

0x0000 -> Everything Off/ Error
0x0001- >Temp OK
0x0002-> Battery OK
0x0004 -> Sensor OK
0x0008 -> Off Condition
and so on

But, we (you) need to test it. Or ask Futaba or Jetcat.

@kevinuav
Copy link
Author

kevinuav commented Aug 13, 2024

I would guess that the Off condition is send in the Status Slot. But i cant know it.

Which Status values did you test?

my values above could bei similar to:

0x0000 -> Everything Off/ Error 0x0001- >Temp OK 0x0002-> Battery OK 0x0004 -> Sensor OK 0x0008 -> Off Condition and so on

But, we (you) need to test it. Or ask Futaba or Jetcat.

The status code should not be showed as the bars in the status/shutdown condition if the status code 0x00 has been sent successfully.
I have asked jetcat's distributor before. They say the sbus2 code is corresponding to the ECU's status code. I have tested but failed.
I will have a further test for your code.

BTW. Why don't you buy a new futaba 18sz while you have a jetcat? : )

@ericlangel
Copy link
Collaborator

I have asked jetcat's distributor. They say the sbus2 code is corresponding to the ECU's status code.

Can you send me the Jetcat Codes?

BTW. Why don't you buy a new futaba 18sz while you have a jetcat? : )

I have no Jetcat

@kevinuav
Copy link
Author

I can just send it to you personally. But in this public.

@ericlangel
Copy link
Collaborator

ericlangel commented Aug 13, 2024

send it to:
@.com

@kevinuav
Copy link
Author

OK

@kevinuav
Copy link
Author

kevinuav commented Aug 13, 2024

So you can see the status codes max value is only 19, it is not reasonable to send it with a 16 bits slot. It is waste of data resource if it is true.

@ericlangel
Copy link
Collaborator

ericlangel commented Aug 13, 2024

ah yeah, i see.

try a value between 16384 to 16404
maybe its signed integer value.

16384 == State 0
16404 == State 19

@kevinuav
Copy link
Author

kevinuav commented Aug 13, 2024

ah yeah, i see.

try a value between 16384 to 16404 maybe its signed integer value.

16384 == State 0 16404 == State 19

Tried. It doesn't work.

@kevinuav
Copy link
Author

First of all. Are you sure the 12rd slot is for the status code?

@ericlangel
Copy link
Collaborator

yes and no
someone @i3dm decoded the Jetcat SBUS2 Sensor.
He was reading all sensor data and figured out which Slot is which value.

Of course there could be a mistake in his findings or my implementation.

@ericlangel
Copy link
Collaborator

any news?

@kevinuav
Copy link
Author

any news?

No,I have tried many value with different data type. It always shows 2 bars in the status.

@kevinuav
Copy link
Author

kevinuav commented Sep 2, 2024

Hello,

the Problem with the JetCat Sensor is, that my T14SG doesnt have this Sensor. So i have to code it blind/without testing

The Status is actual a Value from 0 to 65535.

But i have no idea which Value represent which Status. can your try the following values and tell me if status is changed and which status?

0x0000 0x0001 0x0002 0x0004 0x0008 0x0010 0x0020 0x0040 0x0080 0x0100 0x0200 0x0400 0x0800 0x1000 0x2000 0x4000 0x8000

this could work for 16 different status Flags. In your picture i can see 9 different Status flags. but maybe Futaba or Jetcat did something special.

Hi,I have tried many test and they all fail. But someone says your T14SG should work with jetcat after you update the firmware of the remote controller. Why don't you have a try?

@ericlangel
Copy link
Collaborator

ericlangel commented Sep 2, 2024

Hi,

good question.

  1. my T14SG is V4.1 without LBT. The system is running without any Problems......so never change running system
  2. i could Update my second T14SG...i think its already with LBT, but in every Chart its pointed that the T14SG has no support for the JetCat Sensor. So i never had the need to update.
  3. i have no jetcat at all. Your are the first who is using this sensor (or having problems)

i will have a try on my second T14SG

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

2 participants