nsec-badge
dRehmFlight
nsec-badge | dRehmFlight | |
---|---|---|
2 | 14 | |
42 | 894 | |
- | - | |
7.2 | 3.9 | |
8 months ago | 6 months ago | |
C | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nsec-badge
-
Made the badge for Northsec 2023
All the source files are open and available on Northsec's Github: https://github.com/nsec/nsec-badge/tree/master/hw/2023/hardware
-
Creating something like a P.O. 33 K.O:
Step zero is to decide how is your board going to be assembled. Do you feel confident enough to solder and assemble everything yourself or would you defer some of that job to a manifacturer. If you go with a manufacturer, check how they get their parts supply, that will limit which parts you can select. For example, jlcpcb offers a manufacturing service for board assembly, but the parts have to come from lscs. Then the first step is selecting the parts required. This one is currently quite tedious because there's a big part shortage. The bigger costier chips first as everything else will fall around that. In this case, we're looking for the microcontroller and the codec chip, then the power supply chips. I'd choose the microcontroller first as it's an easy but laborious step. You want a chip that has at least all the peripherals you need and make sure that they're not conflicting: some peripherals might block another from being used in certain places. It's a bit of a puzzle to solve. In this specific case, we'd want at least some i2s peripheral and an sdio too, i2c or spi for the screen, with some left over pins and some decent amount of flash that can also be user configured. Next the codec which will require some interface compatible with the microcontroller. For the power supply, i copied the design from a board i already worked on i was board tested and known to work: the 2019 nsec badge
dRehmFlight
- Getting into RC Planes
-
First DIY Drone Questions!
Since you mentioned programming, one other thing you should consider is the firmware. FPV drones typically run the betaflight firmware. betaflight is fairly mature, feature-rich and is aimed at racers and freestyle pilots. If you’re looking more to tinker with programing, you could start with this instead of a more standard flight controller: https://github.com/nickrehm/dRehmFlight
-
Book on programming my own autopilot
I have similar aspirations. No books, but if you want an example of someone who’s done that before, check out drhemflight. It’s not fully autonomous, but it’s a modular flight stabilizer running on teensy, which uses arduino IDE
- Does anyone know about a good avionics related open source project for learning purposes?
-
Seeking Advice and Help in Creating a Custom Flight Controller for My Mini Programmable Drone
There's several flight control systems on Github, such as Ardupilot, for example. I wouldn't undertake this without checking out what's already out there, all the way down to simple stabilization systems.
-
Ask HN: Best programmable drone / open source OS?
To add to this, most of the time one doesn't need to hack on the drone firmware itself. Just configuring/hacking the mission planner alone would go a long way: https://ardupilot.org/planner/
But if you're interested in more readable codebases without too much legacy headaches:
https://github.com/BossHobby/QUICKSILVER (for indoor drones mostly)
And for even less functionality but a good learning tool kind of codebase:
https://github.com/nickrehm/dRehmFlight
- Building Flight computer from scratch
- Does anyone have all the math required for creating a stabilization program for a rocket?
-
What did you wish you knew before making your own drone from scratch?
dRehmFlight is about the simplest a flight controller can get (in terms of code readability).
-
Inverted pendulum on a racing drone (power loop attempted)
This is actually my own flight controller code running on a teensy 4.0 microcontroller, coded in arduino: https://github.com/nickrehm/dRehmFlight
What are some alternatives?
hwlib - C++ OO micro-controller library for close-to-the-hardware programming
DroneDB - Free and open source software for aerial data storage.
EmbeddedProto - Embedded Proto is a C++ Protocol Buffers implementation specifically suitable for microcontrollers. It is small, reliable and easy to use.
drone-flight-controller - A quadcopter flight controller based on Arduino Uno
chrzwatch-firmware - Custom firmware for the NRF52 based smartwatch I6HRC
ParaDrone - AutoPilot for Parachutes
dji-firmware-tools - Tools for handling firmwares of DJI products, with focus on quadcopters.
AUnit - Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test. Used with EpoxyDuino for continuous builds.
ESP32_BLE_OTA_Arduino - OTA update on ESP32 via BLE
QuickPID - A fast PID controller with multiple options. Various Integral anti-windup, Proportional, Derivative and timer control modes.
blynk-library - Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
PID-Line-Follower - A robot which can follow a curvilinear path directed by a line on a surface, wherein both are of different colors. It uses a PID controller to do the same.