Git Product home page Git Product logo

bcflight's Introduction

View this project on CADLAB.io.

(this project is not dead, just paused due to financial reasons)

[2019-03-12] Current roadmap is to create (and maybe sell) a drone-specific board for the RaspberryPi Compute Module, allowing reduced weight by stacking every peripherals on it. This also enables the possibility to use an STM32Fx to control IMU and motors, as the RaspberryPi's DMA can only produce 500Hz PWM but not oneshot/multishot/dshot

[2020-11-05] Since Raspberry Pi Foundation just released a new Compute Module with a smaller form factor, better CPU and 4 PWM outputs, it is now possible to have a very small looptime and high frequency motors update directly on the Pi itself. I'm now working on a carrier board with all the necessary hardware (gyroscope, accelerometer, magnetometer, barometer, 4 PWM outputs, radio modules [RFM95W with external antenna plugs] & SBUS input [with dedicated uart inverter], ADC, USB & UART pins [for GPS/other modules], I2C pins [for external sensors], TVOUT [compatible with any VTXs], 4 GPIO pins, dual camera port, microSD plug, 5V3A UBEC). Total size is 66x40mm

[2021-01-02] The new Raspberry Compute Module 4 actually does not expose the 2 extra PWM. As a workaround, a cheap but powerful IC (STM32G474CE) will be used as PWM translator. This will allow an update frequency up to 8kHz with only 1 core used on the CPU. Once tested and validated, the circuit design will be available for free on this repo.

[2021-01-18]

BeyondChaos Flight

This project aims to create open-source flight controller and ground controller for Linux based drones. The general idea is to allow to create any kind of flying object, from quad-racer to autonomous flying wing.

flight

The 'flight' subfolder contains the flight controller itself, currently supporting only Raspberry Pi board, but can be easily extended to any kind of board (including non-Linux ones, but it is not the purpose of this project).

controller_pc

Highly configurable GUI client that allow you to access any controls over flight controller, see livestream, and fly it.

controller_rc

This subfolder contains a ground controller designed to be used in an RC remote control. Currently only supporting RaspberryPi board.

fpviewer

Livestream viewer supporting stereo mirroring and head-up display overlay. Designed to be used with any HDMI goggles (tested with OSVR).

libcontroller

Contains everything needed to communicate with the drone from ground.

librawwifi

This is inspired from befinitiv's wifibroadcast, it allows to directly use WiFi in analog-like transmission.

Alternatively, hostapd can be used on the drone and wpa_supplicant on the controller to allow TCP/UDP/UDPLite communication.

tools

Generation scripts for easier building

buildroot

in progress Contains buildroot configuration for both flight and ground targets.

Results

This video was recorded on 22-nov-2018 during an FPV session

FPV Video of drone

Latest videos :

Current test setup

Racer :

20200426-140237

(Black coating on the PCB is Plasti-Dip, protecting it from dust and moisture. More recently, the Raspberry was coated with KF-1282 anti-corrosion spray)

  • ZMR250 frame
  • Raspberry Pi 3 A+
  • Raspberry Pi Camera v2.1 (8MP, Sony IMX219 sensor) + M12 wide-angle lens
  • RFM95W radio module (SX1276-like 20dBm chip)
  • MPU9150 (gyroscope + accelerometer + magnetometer)
  • ADS1015 (ADC/Voltmeter)
  • ACS709 (current sensor)
  • 4x Multistar BLHeli-S 30A ESCs
  • 4x Multistar Elite 2204-2300KV motors

RC controller :

  • Taranis X9D empty case
  • Taranis X9D gimballs
  • Raspberry Pi 3
  • Waveshare 3.5" HDMI touchscreen
  • inAir9B radio module (SX1276 20dBm chip)
  • MCP3208 ADC (for gimballs input and battery voltage sensing)
  • 10x ON-ON switches

bcflight's People

Contributors

dridri avatar emeric0101 avatar

Watchers

 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.