Used for SBUS? #176
|
can we use this component for SBUS communication? https://github.com/uzh-rpg/rpg_quadrotor_control/wiki/SBUS-Protocol |
Answered by
ikkemaniac
Aug 4, 2025
Replies: 3 comments 2 replies
|
Yes, it's possible. uart:
baud_rate: 100000
data_bits: 8
parity: EVEN
stop_bits: 2
uartex:
rx_timeout: 10ms
tx_delay: 50ms
tx_timeout: 500ms
tx_retry_cnt: 3
rx_header: [0x0F]
rx_footer: [0x00]
tx_header: [0x0F]
tx_footer: [0x00]
version:
disabled: False
error:
disabled: False
log:
disabled: False |
1 reply
|
that is freaking awesome 🔥 I'm going to start testing! |
0 replies
|
did some testing. Your setup works perfectly. One caveat is that SBUS is an inverted signal so we need set inverted in Working config: uart:
baud_rate: 100000
data_bits: 8
parity: EVEN
stop_bits: 2
rx_pin:
number: GPIOxxx
inverted: true
mode:
input: true
uartex:
rx_timeout: 10ms
tx_delay: 50ms
tx_timeout: 500ms
tx_retry_cnt: 3
rx_header: [0x0F]
rx_footer: [0x00]
tx_header: [0x0F]
tx_footer: [0x00]
version:
disabled: False
error:
disabled: False
log:
disabled: trueNext step i need to figure out is processing the data and extracting the info. I guess the best way is to create a new component that 'depends' and basically extends yours/ |
1 reply
Answer selected by
eigger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did some testing. Your setup works perfectly. One caveat is that SBUS is an inverted signal so we need set inverted in
uart:, but that has really has nothing to do with theuarteximplementation.Working config:
Next step i need to figure out is processing the data and extracting the info.
I gues…