Giter Site home page Giter Site logo

Telemetry Broken on D4R-II about opensky HOT 8 CLOSED

fishpepper avatar fishpepper commented on August 15, 2024
Telemetry Broken on D4R-II

from opensky.

Comments (8)

fishpepper avatar fishpepper commented on August 15, 2024
  1. Please give me more info about how you connected it (which pin goes to which fc pin).

  2. FC settings:

  • sbus inversion = on or off?
  • telemetry inversion = on or off?
  1. which fc

The telemetry do test stuff is just for internal testing, however a printed 'S' means startbit framing error/invalid. So probably the invertion is configured wrong. So it is probably just a matter of configuration settings ;)

from opensky.

Zebble avatar Zebble commented on August 15, 2024

Thanks fishpepper!

  1. FC is connected:

Naze32 GND and RX Pin 0 (+5V) connected to D4R servo channel 4.
Naze32 RX Pin 4 connected to D4R servo channel 4.
Naze32 RX Pin 6 (softserial1 TX) connect to D4R Rx pin on 4-pin molex.

Power is connected to one of the other servo ports on D4R to power the D4R and Naze32.

Naze32 has BaseFlight 3.0.1:

Softserial is enabled, and softserial1 is set to FrSky Telemetry, 9600. Telemetry_inversion is set to ON. Same results if telemetry_inversion is set to OFF.
Receiver is set to serial, SBUS, on UART2.

OpenSky compiled with SBUS_ENABLED and disabled SBUS_INVERTED.

Naze32 doesn't have built-in SBUS inversion, so this seems to work as expected. SBUS is rock solid.

OpenSky sbus inversion is off.
Telemetry inversion in BaseFlight ON or OFF - no difference.

Naze32 Deluxe

from opensky.

fishpepper avatar fishpepper commented on August 15, 2024

I do not know how they implement softserial in your fc firmware. You could try to enable
#define HUB_TELEMETRY_INVERTED
This would fix your issues when your softserial is outputting inverted serial data. Telemetry inversion on/off does not have any effect on stm32f1 targets (no hw support for that).

from opensky.

Zebble avatar Zebble commented on August 15, 2024

Thanks fishpepper,

I will give this a try this evening. FYI, if I pop in an original D4R with original firmware, telemetry works perfectly through softserial1 with telemetry_inversion = ON in BetaFlight. If I set telemetry_inversion = OFF, it stops working, so sounds like the soft inversion through softserial1 on the Naze32 is actually working through BetaFlight.

from opensky.

Zebble avatar Zebble commented on August 15, 2024

Quick question:

Do you have a D4R with your firmware working with telemetry with a CleanFlight or BetaFlight flight controller? Which controller?

from opensky.

Zebble avatar Zebble commented on August 15, 2024

Hey FishPepper,

s3v0 on the forums appears to be having the same issue. He discovered that the config.h for board/d4rii/ is the only config that doesn't have HUB_TELEMETRY_PIN or HUB_TELEMETRY_PORT defined. Could this have anything to do with what we're experiencing?

from opensky.

fishpepper avatar fishpepper commented on August 15, 2024

ok, it was my fault... I messed up some defines/detections.
I verified it to be working with the following setup:
#define HUB_TELEMETRY_INVERTED
#define SBUS_INVERTED
(i connected it to a sp racing f3 on bf 3.0.1)

please re-test with current master. you might need other settings as i do.
HUB_TELEMETRY_PIN/HUB_TELEMETRY_PORT is only used on cc25xx targets.

from opensky.

Zebble avatar Zebble commented on August 15, 2024

I left hub telemetry uninverted, and inverted SBUS. Naze32 works exactly as expected. No inverter required on the SBUS is so nice! Great work FP!

from opensky.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.