Giter Site home page Giter Site logo

Request - SBUS input about pi HOT 5 OPEN

0xCCD avatar 0xCCD commented on August 11, 2024
Request - SBUS input

from pi.

Comments (5)

campbellsan avatar campbellsan commented on August 11, 2024

Looking at the protocol, it isn't possible without additional components and even then you'd be better off with a microcontroller based solution I think. I'd recommend looking at this thread if you didn't find it already: http://forum.arduino.cc/index.php/topic,99708.0.html

If you are interested in a single board solution that incorporates an arduino to mount on a Pi, I may be able to help you with that .... :-)

from pi.

campbellsan avatar campbellsan commented on August 11, 2024

BTW, the reason I'm so sure it can't be done on a 9572XL is that CPPM is a stream of pulse widths which just need to be de-multiplexed to the individual servos. With SBUS, the servo positions are being transmitted as 16 digitally encoded values. A conversion back into a pulse width format would require cacheing the sixteen channel values and reproducing the PWM servo signal.

This something that a Guzunty can do, but not for 16 channels simultaneously. Cacheing the channel values alone would require 16 x 11 register bits and the CPLD has only 72, it might be able to decode the first 3 or 4 channels but that is not what you had in mind, I think.

Hence my recommendation to use a microcontroller; it may not have a response time measured in nanoseconds, but it has loads of memory to play with.

from pi.

0xCCD avatar 0xCCD commented on August 11, 2024

Hi and sorry for my belated answer, my main intension is the navio+ board, which 'currently' does not support SBUS, so my main idea was then to use the guzunty on top of it (i'm not even sure those are stackable).
For now, i've switched to a new Firmware with CPPM Support and ordered a Guzunty Board for playing a little bit. Basically i need just a few channels to trigger an action on the pi while flying like record a video or take a picture and such stuff.

But i really like the idea to make a single board solution including an arduino, how complicated is something like this and is such a solution fast enough for Quad Copter ?

from pi.

campbellsan avatar campbellsan commented on August 11, 2024

I have a very few prototype boards which already do this. I've successfully flown a tri-copter with Multi-Wii running in it (though I just used the Multi-Wii CPPM rather than the Guzunty solution, you could use either).

I'll send you one of the prototype PCBs with your Guzunty kit and you can decide for yourself if you want to use it. You'll need to source some extra parts of course.

from pi.

0xCCD avatar 0xCCD commented on August 11, 2024

sounds great !
Many thanks in advance

from pi.

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.