Code Monkey home page Code Monkey logo

sbustopwm's People

Contributors

mikebland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sbustopwm's Issues

Compile errors: variables being redefined in multiSim

Greetings!

Am I doing something silly? The project won't compile for me in Arduino 1.8.15. The error logs indicates that a number of variables are being redefined. Here's the first instance:

multiSim:120:31: error: redefinition of 'uint8_t* Ports [16]'
 uint8_t *Ports[NUMBER_CHANNELS] = {
                               ^
/Users/andrewcarlisle/Documents/Arduino/SbusToPpm/SbusToPpm.ino:89:10: note: 'uint8_t* Ports [16]' previously defined here
 uint8_t *Ports[NUMBER_CHANNELS] = {
          ^~~~~

With thanks,
Andrew

Sbus To CPpm

Hi Mike,
Can it be also set to decode SBUS to 16 or 12 CPPM channels on one single output?
Thank you.

PPM or PWM?

Hi,
It's a bit unclear why it converts to ppm, while usually it supposed to convert to pwm.

Inverter

I know that arduino can read inverted sbus signal directly on softserial, so no HW inverter will be needed.

Skipping data during output instead of dropping frames

Just wondering if it would be better to reduce PWM rate by skipping every second channel data during output. Could work like this;
Skip output of channel if servo signal was generated based on previous frame and servo data haven't changed,
This should result in less latency for some of the channels and servo action would be spread on two different time periods = less peak power, at least for analog servos. However for FrSky, one would have to make sure to use more than eight channels to achieve 18ms output. Actually this is all FrSky related and not relevant if the goal is a generic SBUS decoder.

Attiny85 Digispark Support

I'm looking for a project with smaler hardware like Attiny85 Digispark for a 4 channel SBus decoder
and it must also be work with the RC cahnnel 9-12 or 13-16.

My issue is now, can we do this with this project code ?

If yes, can you give us user's a layout of the hardware and a example for the changes of the code ?

Thanks a lot.

Failsafe problem

When FS on FRSKY then all chanell sets on min value instead of FS value. Probably is because there is SBUS signal but with no pulse . When signal pin is disconnected then FS values are proper.

Anyway very usefull code.

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.