Comments (8)
-
Please give me more info about how you connected it (which pin goes to which fc pin).
-
FC settings:
- sbus inversion = on or off?
- telemetry inversion = on or off?
- 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.
Thanks fishpepper!
- 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.
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.
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.
Quick question:
Do you have a D4R with your firmware working with telemetry with a CleanFlight or BetaFlight flight controller? Which controller?
from opensky.
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.
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.
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)
- Support for WS2812 LED HOT 1
- bind settings not stored (?) on d4r HOT 3
- is xsr supported?
- SBUS_INVERTED on d4r-ii HOT 1
- rssi on sbus like xm HOT 1
- Project files for CubeMX
- Missing def on Preprocessor condition
- short range HOT 16
- Add support to FPORT protocol. HOT 1
- help firmware D8 HOT 8
- Connecting two receivers possible?
- Run as a low power d8/d16 tx
- D4R-II: SBUS and 2 ch PWM output? HOT 1
- change delay_us/delay_ms in frsky.c to use systick HOT 1
- Support for CRSF with Telemetry
- make bootloader failing under windows HOT 7
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 opensky.