r/dRehmFlight • • Jul 31 '24

Your flight software

2 Upvotes

Hi community.

I don’t know where else to get help, so I excuse beforehand if I am not contacting you or Nicholas correctly.

I am in the process of building a solar-powered catamaran for 6 people i the South Harbour in Copenhagen, Denmark.

The goal is for it to sail solely on solar power at 6 knots as long as the sun is shining, and then on battery power. My preliminary measurements show that I am on the right track as it sails at 9 km/h with one motor :-)

There is a motor at the front and one at the back, and they can both rotate 360 degrees with the help of window lift motors.

I have followed RC Testflight for a period and he has just built a model that resemples my project because I want my Catamaran to fly as well. https://youtu.be/0eXeOMuBtYo?si=Fkeu5Cq2mH5fnC6Q

He uses a version of Nicholas software for the flight controller, so my question is where do I find the exact same version that RC Testflight is using?


r/dRehmFlight • • Jul 11 '25

RehmFligth for wind turbine control?

Thumbnail
gallery
4 Upvotes

Ok, bear with me:

I'm currently working on a wind turbine prototype project for my college, and I need to control 3 electric motors based on their angular position (using a AS5600 magnetic encoder).

The wind turbine works by Magnus effect, created by the three motors. They need to change direction every half rotation of the wind turbine, and therefore, a lot of torque and High speed is required. Thats why I was trying to use AM32 (Best torque and speed response and whatnot)

Would be possible to control those things (AM32 based ESCs, reverse motors and readings of AS5600) with RehmFligth?? I'm kinda new to the firmware, but I already lost hope to control AM32 based ESCs with an ESP32.

Thanks for reading, If You have a suggestion, please write it, hopefully we can credite You on the final work :D


r/dRehmFlight • • Apr 25 '24

Resources for Designing and Building an Ornithopter

6 Upvotes

Hey everyone,

I'm a mechanical engineering student tasked with building an ornithopter for a project. My professor has requested that I not only construct the ornithopter but also conduct engineering calculations on it.

I'm reaching out to the community for resources on designing and making an ornithopter. Specifically, I'm looking for:

  1. Dimensional guidelines for building the ornithopter

  2. Recommended materials for construction

  3. Methods of assembly and fabrication

  4. Any additional resources, such as books, websites, or articles, that could aid in the design process

Any guidance or advice would be greatly appreciated. Thanks in advance for your help!


r/dRehmFlight • • Jul 08 '25

A drone!

Thumbnail
gallery
13 Upvotes

Hi! I'm making a drone that is based on the drone made by Nick. I'm also making a master's thesis out of it! This is a fully custom designed drone and controller board with an ESP32S3. I've had a little trouble getting it to process data fast enough but with the implementation of a Madgwick filter it now works fine. I'm very close to a test flight, and i also need to make the aerofoils for the arms. Cheers!


r/dRehmFlight • • Jun 26 '24

Mini mars heli update

Thumbnail
gallery
17 Upvotes

https://www.reddit.com/r/dRehmFlight/s/xmGCOu8lK3

This is continuation from this post.

I had done some static thrust bench test with the current motor and prop selection but there wasn’t enough thrust to lift the bicopter. So i hopped on to ansys and did some analysis before ordering new 4 inch propellers. The result was quite close to the data provided by manufacturer, I got 0.32 newtons of thrust from the coaxial setup at 4000 rpm and 0 advance ratio.


r/dRehmFlight • • Jan 01 '26

Multicopter ESC Question

3 Upvotes

How would I connect a 4in1 ESC to the teensy? im not really sure at this point


r/dRehmFlight • • Mar 05 '25

Martin 262 VTOL

Thumbnail
youtube.com
13 Upvotes

r/dRehmFlight • • Nov 10 '25

Fragile teensy?

2 Upvotes

I have soldered and flashed two teensys for a tricopter project. My PIDs are finicky so in test flying the vehicle has flipped. Both times the teensy has stopped working. For one the light is off but it still lets power through but will not send signals to motors or servos. The second board the light comes on but stays solid and will not transmit signal. Is this a board issue? Or am I doing something wrong.


r/dRehmFlight • • Mar 11 '24

How are you stabilizing a 2-motor aircraft?

3 Upvotes

Seen a few of the nice videos in here, and I just want to understand, abstractly, the concept of the "hover" part of the 2-motor VTOLs.

I can see that by adjusting thrust you can stabilize roll/yaw, but the pitch is less obvious.

My guess is that it is impossible to fully stabilize a hover "in-place" with just 2 motors, and to avoid flipping over you need to adjust ailerons while moving up and down to stabilize pitch and roll? Is that correct?


r/dRehmFlight • • May 30 '24

Coaxial bicopter

17 Upvotes

I have been working on making a coaxial bicopter so far the mechanical side looks good with the servos working as intended.


r/dRehmFlight • • May 25 '24

first flight vtol

24 Upvotes

r/dRehmFlight • • Jul 16 '24

World's largest RC helicopter (ceiling fan) vs. 100 airplanes in combat

66 Upvotes

r/dRehmFlight • • May 29 '24

Unexpected servo movements for tail sitter vtol

3 Upvotes

So I made the same tail sitter design as Nick shows in the video and configired it all accordingly. The last problem I m having is the incorrect servo feedback when in forward flight mode , the control surfaces with the sticks move fine but when I pitch the nose of plane upwards, the control surfaces move upwards too which is not expected, although it works well for roll feedback as it should. I tried changing and trying different combinations of + - pitch pid and other variables but with no luck. Note that as opposed to Nick's video , I also had to - the roll pid in ff and - yaw pid in hover , while he's adding these values in the video. Any help would be appreciated :)


r/dRehmFlight • • Jul 31 '24

drehmflight code confusion

2 Upvotes

I was looking through the drehmflight code, and saw that interrupt variables aren't declared as volatile. It might be fine with variables like rising_edge_1 etc that only the interrupt reads, but what about variables like channel_1_raw? Does it not matter for some reason? I am new to this

Thanks


r/dRehmFlight • • Aug 05 '24

Possible stupid question about low pass filters

3 Upvotes

I noticed the board is programmed to run at 2000 Hz, but my servos and motors run at 50 Hz.

I want to run the board at lower frequencies. That should possibly give me more time to do fun calculations on the board, without changing performance.

From what I can see, the function:

 AccX = (1.0 - B_accel)*AccX_prev + B_accel*AccX;

is a LP filter with a corner frequency of ~300 rad/s (for B_accel = 0.14, loop frequency of 2kHz).

My (possibly) stupid question is this: is the aim of the filter to filter out frequencies above 300 rad/s? Does this value depend upon the sensor, or the Madgwick filter?

If I was running the loop at a lower frequency, could I adjust the LP filters to reject frequencies above 300 rad/s and expect things to work? Will I need to adjust the Madgwick filter too?

If the Madgwick is a 'filter', why do we need LP filters first to begin with?

Why was 300 rad/s chosen as the corner frequency?

(I haven't sneakily asked 6 questions, its just subparts of one question. I swear.)

(Note: I'm aware that running the sensor at lower frequencies will cause aliasing at lower frequencies than before. )

Thanks in advance to anyone that answers. I'm pretty new to this

S


r/dRehmFlight • • Feb 21 '24

LP Filter

5 Upvotes

I see a few places in the code where it does something like

x = k * prev_x + (1-k) * x;
prev_x = x;

I understand that this does a rudimentary smoothing based on the parameter k.

But the comments say it's an LP filter.

Is there some theory I'm missing? How exactly does this function as an LP filter? Which frequencies does it filter? Is it a real filter or is it like a rolling average which sort of has filtering properties?


r/dRehmFlight • • Aug 14 '24

Power up teensy and ESC sequence

1 Upvotes

I am building a LEGO VTOL for my son (my first flying RC build). The receiver and IMU seem to be doing what they are supposed to. I can get the plane to lift off in my workshop (still not stable ... probably have to tweak the PIDs a bit) but whenever I try to power up the plane without the USB connected to the teensy such that the flight controler can start up before the ESC to provide some inputs, the ESC (HobbyWing XRotor Micro 60A 4in1 BLHeli32 6S), it does not fully arm. When I looked into this, I read that the ESC will not arm if it does not get control signals. Since I get the power for the teensy from the ESC, there is a delay between powering the ESC and the teensy being fully booted to provice control signals.

How can I fix this? Sould I look into the teensy code to provide some control signals on startup or should do the power differently? What is the standard way to power the ESC and teensy?


r/dRehmFlight • • May 29 '24

Tail sitter transition help

3 Upvotes

Howdy, all! I'm working on a tail sitter using a modified version of drehmflight. I've got very limited coding experience, and I'm stuck on how to get the plane to transition from vertical hovering to horizontal flight. I've got the controls and general transition figured out, but not how to make the gyro rotate 90 degrees. Anybody have any ideas?


r/dRehmFlight • • May 12 '24

Pretty cool concept of mothership

29 Upvotes

r/dRehmFlight • • Feb 11 '24

Very early flight of dRehmFlight on an arduino nano and dji phantom clone frame

Thumbnail
youtube.com
5 Upvotes

r/dRehmFlight • • Aug 24 '24

Update it fkin flies

Thumbnail
gallery
23 Upvotes

Continuation from this post: https://www.reddit.com/r/dRehmFlight/s/j0TbJiI6aZ

I was testing it without any stabilisation just to check the amount of throttle percentage required to take off from the ground but during this test it kept going sideways so in order to control it I was adjusting the roll and pitch.

Accidentally I put the channel 3 (throttle channel) on reverse and it went up with quite a lot of force and it was fast (I couldn’t record as it wasn’t planned) crashed into ceiling and the body was split in half.

All the electronics are unharmed though will do a second test probably with more neat cable management and I need to improve the structure.

Nevertheless I am quite happy and confident that all the cfd were accurate and it will fly less goo!!

I will be sharing the cad files, wiring diagrams and assembly guidance on thingiverse so that we can do sort of teamwork as there is lot to improve structurally (I will be doing some finite element analysis and modify the design)


r/dRehmFlight • • Mar 07 '24

My first ever VTOL flight...

Thumbnail
youtu.be
7 Upvotes

r/dRehmFlight • • Aug 30 '24

Flapping wing hovering ornithopter

Thumbnail
youtube.com
9 Upvotes

r/dRehmFlight • • Mar 14 '24

Is it possible to run dhrem flight on a Arduino ?

2 Upvotes

I want to start using dhrem flight on small project but is it possible to use an Arduino or an esp 32 to run the program so I don't have to invest a lot to start experimenting ?