Giter VIP home page Giter VIP logo

opensky328's Introduction

OpenSky328

An atmel implementation of OpenSky FrSky-compatible RX
Based on https://github.com/fishpepper/OpenSky

Description

This open project aims to develop a family of small rc receivers compatibe with FR-Sky with telemetry. List of devices:

  • FR-8: An 8 channel PWM receiver with 2 analog telemetry inputs.
  • FR-Tiny: A 5 channel micro receiver with brushed motor ESC, for micro rc planes. Weights just 2 grams.
  • FR-LVH: A 1S land vehicle version with 2 bidirectional brushed motor esc (ch:1,2) and 2 servos (ch:3,4).
  • Programmer adapter: Lets you connect above devices to a USBASP programmer, and USB-SERIAL adapter The hardware is based on Atmega 328p microcontroller and TI CC2500 transceiver. The firmware is based on OpenSky FrSky-compatible receiver: https://github.com/fishpepper/OpenSky It is also arduino based.

1. FR-8

2. FR-Tiny

3. FR-LVH

4. FR-Pgm programmer

Assembling instructions

Programming the firmware

  • Clone or download this repository.
  • Edit config.h file and set the correct PCB version by uncommenting the correct line:
Comment Board support
#define RXBOARD_FR8_FRTINY FR-8 or FR-Tiny boards
#define RXBOARD_FRLVH FR-LVH land vehicle boards
  • You will need a USBASB compatible programmer and either the programmin adapter above (recomended) or connect your own wires.
  • NOTE!!! USBASP must be 3.3V version or you risk damaging the receiver.
  • The software is arduino compatible (Arduino nano), so it should work with the Arduino IDE, however I did not test that. Instead I recommend using the VS Studio Code IDE. You will need to install the C/C++ Addon, and the Platform IO addon (from the addon menu). Within Platform IO install the Atmel AVR platform.
  • Connect the built receiver to the programmer using the adapter as follows:
    For FR-8:

For FR-Tiny:

For FR-LVH:

  • Now open the 'Software' folder within VS Code. If you get a mesage that a workspace was detected, go ahead and press the "open workspace" button.
  • On the left, click the PlatformIO icon (bug head), and from the "Project Tasks" menu, click the "Set fuses" line (should be under nanoatmega328->Platform). If everything is connected correctly, the Microcontroller fuses will be programmed.
  • Now just press the 'PlatformIO: Upload" button at the bottom (the right arrow) and thats it!

Usage

These receivers works with FR-Sky telemetry compatible transmitters (D8). (SW 1 and 2 off on DJT modules)

Binding

You first need to bind the receiver with the transmitter (this is a one-time operation, repeat only if you change transmitter):

  • Press and hold the bind button and then powerup the receiver. Wait for the green light to turn on.
  • Start binding procedure in your transmitter. If you are using an external module such as the DJT, Press and hold the module bind button and turn on the transmitter.
  • Wait for the red led on the receiver to start blinking. When it does, binding is complete! Turn off the transmitter and remove the receiver battery.

Setting Fail safe

turn the tranmitter on then the receiver. Wait for the receiver green light to turn on. Press and hold the Bind button on the receiver for about 5 seconds till the red led turn on. Release the button, the red led will start blinking. You now have 10 seconds to set your fail safe state using the transmitter. When the time is up, the receiver will lock this state as the failsafe mode, and restart. when the green light is on again (without the red) the process is complete. This method of setting the fail safe mode is better then the standard, since you have both hands free to move the sticks to the desired state.

Serial debugging

If you want to debug the receiver operation, you can use a serial terminal (built in VS code) to observe the debug data sent from the receiver.

  • Use a USB to serial Adapter. If you want to use the USB-serial to power the module, Make sure its a 3.3V version, or you risk damaging the modules.
  • Connect the USB-Serial adapter to the programming adapter using the marked pins.
  • Connect the programming adapter to the module as explained in the programming section.
  • For the FR-Tiny you are all set. For the FR-8 / FR-LVH you will need an extra cable (jst to jst 1.0 mm 3pin) to connect the module to the serial input:

opensky328's People

Contributors

shaise avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

opensky328's Issues

Planning to make one but problem sourcing components.

Hello,

I am planning to make FR-8 as per your instructions but I am finding it difficult to source the components as per your list in Bill of Material.

What alternative do I have to carry out this work?

Regards,
-Siddharth

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.