Giter Club home page Giter Club logo

pwm2x's Introduction

#PWM to PPM & SBUS converter

originated from buzz's 8 channel PWM to PPM converter for RC use

With sbus code from https://www.rcgroups.com/forums/showthread.php?2420473-Arduino-S-BUS-Packet-Generator-Code

start with:

  • an Arduino with a Atmega328 or 328p chip on it.
  • IDE to program the chip with this code.

How:?

  • Used Arduino IDE to program this firmware onto the Arduino chip.

  • Connect upto 8 RC PWM input signals so that the wires go to: red = 5v black = GND or 0V pin on arduino white = PWM signal pins, these connect to D8,D9,D2,D3,D4,D5,D6,D7

  • Connect the PPM output so that the wires go to: red = 5v black = GND or 0V PPM out = D10

Done!

TIPS:

  • any channel that you don't connect a PWM input on, will emit a default value ( which is 1500 for all channels excpt throttle, which is 1100.
  • disconnecting any channel after booting will cause the system to use the last-known-position of the input, until a good signal returns.
  • having pin PC3 (Arduino A3) pulled high on startup produces human readable serial 115200,8n1 output of the channel data instead of sbus
  • This is not a "failsafe" unit, if has no failsafe functionality.
  • If this code causes your expensive toys to crash, or worse, it's your fault for being a bad person, so you should be nicer, as karma's a bitch.
  • Not my fault. none of it. I love you too, now go away.

pwm2x's People

Contributors

davidbuzz avatar speters avatar

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.