Skip to product information
1 of 3

Long Fly

PID-Tuning demo files

PID-Tuning demo files

Regular price $0.00
Regular price Sale price $0.00
Sale Sold out

This is a PID-tuning demo to help get people acquainted with dRehmflight and PID control theory!



What is included in this file download:

1) A print in place STL file for a miniature PID-tuning demo. Print it, add a little bit of mineral oil to the joint, and you're good to go!

2) A lightly modified version of dRehmflight 1.3 by Nicholas Rehm that includes a few PID diagnostic tools as well as a "Quick_Update_PID_Coeff" function which allows you to instantly re-write the PID gains via the Arduino serial monitor, making it so you no longer have to wait 10+ seconds each time you want to test a new set of PID gains!

Further Specifications:

The PID-tuning demo is built to be able to hold 30.5 x 30.5mm flight controllers / escs or small individual escs as necessary.

25% infill is recommended and the total length is 6.75in / 170mm

Recommended parts list:

  1. Longfly dRehm                                                                   ~ $55.00*Reusable for all dRehmflight creations!

2. Pinned-Teensy4.0                                                                     ~ $28.00

          *Reusable for all dRehmflight creations!

3. Small 1404 motors (2 per demo unit)                                     ~ $35.98

          *Re-used in Longfly 3d printed FPV quad build

4. 2in propellers needed for a demo unit                                    ~$8

5. A 4 in one ESC (preferred because can also be used for a VTOL airplane) or  individual ESC’s (only usable for demo unit)

                                                                                                       ~$40

Total price:                                                                                    $166.98 

Installation Guide

Installation Notes:

Rule #1)

Make sure to plug in the Teensy4.0 with the USB facing the correct direction, plugging it in in the wrong way can lead to a burnout.

Rule #2)

If the ESC you are using provides 5V power, make sure that it is only providing 5V and not 5.5 V as most RC Airplane ESC's do, this can cause damage to the Teensy 4.0

Rule #3)

All servo pins only power on when a battery is plugged into the board, however all 5V pads are powered both when the board is connected to a battery or computer. So be wary not to connect high amp draw ( > 0.5 amps) electronics to the 5V pads to prevent your computer's usb port from burning out. Connect these electronics to the Longfly Drehm via the Servo connections instead. 

General Installation notes:

If you're wondering if an esc runs oneshot125, if it runs the BL_Heli32 esc software then it will automatically detect that the Teensy4.0 run's Oneshot125 and run it accordingly. BL_Heli_S ESCS WILL NOT AUTOMATICALLY RUN A COMPLIMENT ESC PROTOCOL  AND IN SOME INSTANCES MAY NOT BE CAPABLE OF RUNING ONESHOT125 AT ALL.

 * It is recommended that users use standard servo connectors to interface with pins on the Longfly Drehm V1.0. Standard Dupont connectors are not designed to handle the vibrations experienced during flight, often becoming loose and failing

Visit my YT channel for Tutorials on how to get up and running with the Longfly Drehm! 

View full details