Giter Site home page Giter Site logo

Pixracer R13 about hardware HOT 20 CLOSED

pixhawk avatar pixhawk commented on August 23, 2024
Pixracer R13

from hardware.

Comments (20)

LorenzMeier avatar LorenzMeier commented on August 23, 2024

@nickarsov The issue with the S.BUS inverter (as far as I could see) is that its not bi-directional. So we wouldn't be able to pair or do S.BUS2 telemetry.

from hardware.

nickarsov avatar nickarsov commented on August 23, 2024

The changes are on pages 2/5 and 3/5. PB0 hs been separated from PC7.
The new labels are: PB0 = FMU_RC_INPUT_TIM and PC7 = FMU_RC_INPUT_SER

  1. PPM: RC_INPUT -> FMU_RC_INPUT_TIM
  2. BIND: PB0 becomes GPIO, HIGH for 100ms, then pulsing 3 active low pulses 50us each, then at least 10ms high, then PB0 must be either configured as input or as 3-stated
  3. Spektrum/SBus are read via U1203 to FMU_RC_INPUT_SER ( PC7 ) and the inversion of the RC_INPUT signal depends on SBUS_INV ( PC13 ). Inversion is with SBUS_INV = 1.

from hardware.

kd0aij avatar kd0aij commented on August 23, 2024

@LorenzMeier This is intended to be the optimal electrical config with abandonment of bidirectional SBUS support. I think it should allow proper DSM binding though, using PB0 as I/O

from hardware.

nickarsov avatar nickarsov commented on August 23, 2024

Lorenz, can't we use FrSky inverter ( U1202 ) for? We won't be able to use FrSky simultaneously, but just an option?

from hardware.

LorenzMeier avatar LorenzMeier commented on August 23, 2024

@kd0aij It just seems that we will continue to see more single-wire implementations and should position ourselves to be able to do inverted and non-inverted single wire reliably, without strings attached. For RC input we then could connect the TX pin only and use the STM32 in single-wire mode, for FrSky the cable could just pick the TX line and we can do the same in SW.

from hardware.

kd0aij avatar kd0aij commented on August 23, 2024

I believe R13 is an interim (1 batch) solution to go into production ASAP. Right Phil?
Longer term, the question is whether both S.port and SBUS2 are both compatible with the Maxim 1-wire spec. Are there any 1-wire bidirectional buses (yet) which are non-inverted? Since we're short on GPIOs, it would be nice if the answer is no.

from hardware.

kd0aij avatar kd0aij commented on August 23, 2024

I need to look at the STM32 USART single-wire mode. Assuming it turns the IO pin around only when transmitting it should be the ideal solution. Will hopefully be able to do that while debugging the SmartPort code.

from hardware.

LorenzMeier avatar LorenzMeier commented on August 23, 2024

No you won't, because its only using the TX pin. Which will be blocked by the current unidirectional inverter. I guess you understand now what I mean.

from hardware.

kd0aij avatar kd0aij commented on August 23, 2024

Oh, I knew that :) But I should be able to breadboard it using a telem port.

from hardware.

nickarsov avatar nickarsov commented on August 23, 2024

@mark: "Are there any 1-wire bidirectional buses (yet) which are non-inverted?"
Yes, there is such - DS2480B, which is an old Dallas Semi chip, but it seems it is still in production.

from hardware.

kd0aij avatar kd0aij commented on August 23, 2024

Is that something an autopilot would need to support?

On Sun, Jan 17, 2016 at 3:25 PM Nick Arsov [email protected] wrote:

@mark https://github.com/Mark: "Are there any 1-wire bidirectional
buses (yet) which are non-inverted?"
Yes, there are such - DS2480B, which is an old Dallas Semi chip, but it
seems it is still in production.


Reply to this email directly or view it on GitHub
#47 (comment).

from hardware.

nickarsov avatar nickarsov commented on August 23, 2024

Hi guys,
Here is the sch which seems to fulfill all requirements for PPM, Spektrum, Spektrum Sat, SBus I/O, S.Port, SBus2. A truth table integrated. The needed pin can be BOOT1, as after boot, it can be configured as GPIO.

Please check and confirm.

https://drive.google.com/file/d/0BwGTTqZqRwPLTW5QcUZEcWRtUU0/view?usp=sharing

Unfortunately I'm not allowed to upload PDF files here. Also I can't find the Pixracer folder in https://github.com/PX4/Hardware/

from hardware.

nickarsov avatar nickarsov commented on August 23, 2024

The truth table was fixed and the link has been updated.

from hardware.

LorenzMeier avatar LorenzMeier commented on August 23, 2024

As of now there is no single wire bus which is not inverted. I can see where you are going with this question. But we don't need a tri-state inverter if it has auto direction sensing.

from hardware.

nickarsov avatar nickarsov commented on August 23, 2024

We need a non inverted Spektrum signal.

from hardware.

kd0aij avatar kd0aij commented on August 23, 2024

Maxim's 1-wire electrical spec:
https://www.maximintegrated.com/en/app-notes/index.mvp/id/214

from hardware.

LorenzMeier avatar LorenzMeier commented on August 23, 2024

Closing, as we have all this now in R14.

from hardware.

limhyon avatar limhyon commented on August 23, 2024

I am now testing with R14, still I had a binding issue of DSMX receiver.
Any comments? Also, I couldn't find RC_DSM_BIND parameter when I use Pixracer.

from hardware.

pkocmoud avatar pkocmoud commented on August 23, 2024

What flight code and version are you testing with?

from hardware.

titeuf007 avatar titeuf007 commented on August 23, 2024

hey nick
where we can download the latest r14 file?
i would like to make my own pcb and soldering by myself but i can t arrive to find them
sorry for my english i am french

from hardware.

Related Issues (20)

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.