Setup Tutorials
What dRehm flight is: Explained by Nick Rehm, the creator of the dRehmflight code
https://www.youtube.com/watch?v=tlD0C5CrWcA&list=PLTSCOv-lGtMax-oA4Pnq8OTxd4fTucrjQ
Longfly dRehm Instalation guide by Pratik Phadte:
https://www.youtube.com/@pratikphadte
Nick Rehm Official setup tutorial list:
Radio Setup:
https://www.youtube.com/watch?v=Wdc1o6eSsMo
IMU calibration process:
// Note* the Longfly dRehm uses a MPU6050 imu
1) Command + F the function "Calculate_IMU_error" within the dRehmflight code, uncomment it so that it is active.
2) Lay the Longfly dRehm board on a flat surface with the teensy installed in it. Make sure that no other Print-functions are uncommented, then upload the code with the "Calculate_IMU_error" function active. You should see a list of values in the serial monitor that looks like this:
Where each ***** is replaced with an decimal value. Command + F "User-specified Variables" within the code and delete the old AccError and GyroError values, replace them with the copy and pasted values from the serial monitor.
3) Comment out "Calculate_IMU_error" and flash the teensy4.0. Your IMU is now calibrated.