r/diydrones • • 3h ago

Teaching a sub-250 g drone to explore and map a home using only depth sensors – progress video

116 Upvotes

Every Christmas I pick a project that is a bit too big for the holidays. This year it's an indoor patrol drone: a small, ducted quad that flies around the home by itself when nobody is there, checks on things, and no cloud assitance. No GPS (thist wont help at all indoor), no subscription, everything computed on the drone, and built only from parts anyone can order.
What works today

  • Positioning and mapping from depth and inertial data only. The camera is not used for navigation, so it should work in the dark too.
  • Autonomous exploration of a single-floor flat in simulation: 3 rooms, about 5 minutes, zero collisions.
  • The whole stack (positioning, mapping, planning) runs in about 23 MB of RAM on the small Linux SoC that goes on the drone. That number is measured on the real chip, not on my PC.

What doesn't work yet

  • Stairs. In a two-storey house it reaches both floors but does not finish the job. The open stairwell confuses the downward range measurement and it loses its footing, so to speak. That is what I'm fighting with right now.
  • It has never flown. The simulation is a simple motion model, not real flight physics, and none of the numbers above are flight-proven.
  • The hardware is still on the screen: the board is in layout, target weight under 250 g.

Why a drone and not a few fixed cameras

One moving sensor covers every room, including the spots where you would never mount a camera. It will carry a normal camera for the owner plus a small thermal sensor (only 768 pixels), which is enough to notice an iron left on or a hob that is still hot. The camera and thermal clips I have so far are simulated mock-ups of that view, not real footage.

What I'd like to hear

  • If you have done indoor exploration on a real small drone: what bit you first when you left simulation?
  • Ideas for making stairwells and other "the floor just disappeared" situations safe with a single downward range sensor.

I know thats just a simulation, but this place is how i teach it, while i'm designing the pcb.
i've uploaded more videos on X https://x.com/RoXzoR/status/2123006312300552431 check it if You are interested.


r/diydrones • • 11h ago

Post 3. Loitering drone. Gimbal internals.

201 Upvotes

Following up on my last post, where I showed what's inside the fixed wing. This time it's back to the gimbal it carries, so here's a short clip of it moving. On the left is the gimbal as it looks, and on the right is the same unit with the housing made see-through, doing the same moves.

The tricky part of a gimbal this small is getting power and video across two rotating axes. A slip ring would let it spin forever, but I went with a single flexible PCB instead, which is the orange part in the clip. It carries power, USB video and the lines for the tilt motor and its encoder, and it rolls up in a loop on each axis. That's what limits the travel to ±100° in roll and from 25° up to 95° down in tilt. There are hard stops at those angles, because with the power off the motors turn freely and the cable would be the first thing to break.

The rest of the setup:

  • Two axes, roll and tilt, in a 67 mm ball
  • Cameras: a 5 MP visible camera and a 256×192 thermal camera
  • Motors: GB2205 on roll and GB1105 on tilt, both brushless gimbal motors
  • Angle sensing: an MT6701 magnetic encoder on each axis
  • IMUs: two ICM-42688-P, one in the ball and one in the base
  • Controller: STM32G473 with two DRV8313 drivers, on a custom board in the base that I'm still laying out
  • Parts: 3D printed, nylon for the parts that carry load and ABS for the shell
  • Around 187 g for the whole nose

On paper the motors have enough torque for it, about 1.4 times what tilt needs and almost 6 times on roll, but those are estimates until it's built.

Thanks again for the DMs. I still haven't found the time for a YouTube video, so the Google Form for updates is still open: https://forms.gle/2kaUHfGA5ie8oEbu6

Next I'll share the electronics and control side, which is the part I'm working on for the thesis.


r/diydrones • • 1h ago

AprilTag for PX4 Precision Landing

• Upvotes

Have anyone tried using AprilTag for PX4 (Pixhawk 6c) for precision landing. I am getting into the point that my onboard PI 3 camera + Raspberry PI5 are able to detect the AprilTag with height distance and forward, left / right position, but I have not brought this Holybro S500 drone to the field to test it out.


r/diydrones • • 11m ago

Tired of guessing PID values? I made a free tool that reads your ArduPilot logs and suggests a tune, tested in sim before you fly

• Upvotes

After a crash on my small quad (the log showed it before I understood it: vibration went through the roof), I spent a few weeks building a tool so I'd stop tuning by trial and error.

What it does, in plain terms:

  1. You give it your ArduPilot `.BIN` flight logs

  2. It checks the logs for problems: vibration, clipping, power, EKF

  3. It learns how your specific drone responds from the flight data

  4. It calculates new PID gains that should be stable, with safety margins

  5. It test-flies the old and new tune in a simulator running the real ArduCopter firmware

  6. It gives you a `.param` file to load in Mission Planner

The image is the crash in the log: you can see the vibration spike before it goes down.

It's free and open source, but it needs MATLAB:

https://github.com/Prateek-elec/ardupilot-flight-test-lab

Bench-test with props off and sanity-check any params before flying. Feedback is very welcome, especially from people with bigger or odd frames.


r/diydrones • • 1h ago

IMU Calibration Keeps Failing? How to Tell a Setup Problem from a Hardware Fault

Thumbnail
nationaldronerepair.com
• Upvotes

r/diydrones • • 10h ago

Discussion Working on an AI onboard pilot no external communication required

Thumbnail
youtu.be
3 Upvotes

Here's a little simulation demo, if anyone has good flying test ideas lmk


r/diydrones • • 14h ago

Betaflight flight controller help (vid)

5 Upvotes

r/diydrones • • 1d ago

Build Showcase Drawing a crowd at the RC club with my 3D-printed V-tail FPV wing

144 Upvotes

Thought I'd share some footage of VENOM flying at my local RC club last weekend. I'm normally flying through the goggles, so it's nice to see what the aircraft actually looks like from the ground!

There was a bit of wind, but it flew really well. After all the experimentation with the original four-motor configuration, I'm really happy with how the current setup is performing.

For anyone who hasn't followed the project, it's a fully 3D-printed, 600mm V-tail FPV wing weighing 249g AUW. It runs two 1103 motors on a 1000mAh 2S battery, with INAV and DJI digital FPV. The wings are modular with carbon spars for reinforcement.

A few of the guys at the club were pretty interested in the FPV setup, so I'm hoping to get some chase footage of their aircraft soon!

Are many of you flying fixed-wing FPV at traditional RC clubs? I'm curious how popular it's becoming.

More info on VENOM


r/diydrones • • 19h ago

Question Thoughts on this drone build for maximum flight time?

6 Upvotes

What do you think of my proposed drone? Basically, I'm looking for maximum flight time and efficiency.

  1. Tarot 650 TL65B01 framex 1 = 476g
  2. Pixhawk 6C + PM02 x 1 = 80g
  3. PDB, SwiftWing 3-6S XT60 = 25g
  4. T-Motor MN3508 KV380 x 4 = 350 g
  5. T-Motor Air 40A ESCx 4 = 104g
  6. T-Motor MF1503 (or Tarot TL100D04) x 4 = 96g
  7. Holybro M10 GPS x 1 = 35g
  8. Skydroid C14 Pro Gimbal x 1 = 210g
  9. Skydroid GR01 x 1 = 50g
  10. GenX Pro+ 6S solid state battery of 16,000mAh x 1 = 1490g
  11. Misc. (XT60/XT30, wires, battery straps, microSD, screws)= 100g (approx)

Total AUW = 2,850g (approximately)

I'm hoping this drone build gives me a minimum 30minutes flight time.

If you are to build this drone, which parts would you recommend for better efficiently and increased flight time? I'm open to all kinds of suggestions starting from the frame.

PS: I understand that changing the original frame length to accommodate 17 inch props will increase flight time but I don't want to make such customization.


r/diydrones • • 17h ago

Question AOS 3.5 V5.1 advice needed

Thumbnail
gallery
4 Upvotes

Hey, so I'm trying to build aforementioned drone with O4 Pro system, and I feel confused; the main question sounds like this: which mount and what screws exactly should I use?

Pic 1: rubber mounts used by Chris in his older V5 assembly tutorial video (meant for DJI O3 system)

Pic 2: original DJI screws that were in the camera don't fit here

Pic 3 & 4: the fatter mount doesn't seem to fit O4 Pro camera at all, the slimmer needs other screws, clearly

Ambiguous instruction which specified that it's "O4 assembly", without the "Pro", so according to this, a mount from Pic 2 is also won't fit my Pro version

Any help would be much appreciated.


r/diydrones • • 16h ago

Which 3D printed drone parts have actually held up over time?

3 Upvotes

3D printing makes DIY drone builds a lot easier, especially for custom camera mounts, GPS holders, antenna brackets, and other parts that don't always fit standard frames.

But something that looks solid after printing might behave differently after weeks of vibration, repeated flights, and a few rough landings.

TPU works well for flexible parts, while PETG and other rigid materials have their own advantages. I've also been looking into continuous fiber reinforcement from FibreSeeker, which seems interesting for components that need extra stiffness without adding too much weight.

Still, I'm curious how much reinforcement actually matters compared with good part design and print orientation.

For those who've been building drones for a while, which 3D printed components have lasted the longest?


r/diydrones • • 10h ago

Build Showcase Cooked!!

Thumbnail gallery
0 Upvotes

Truly a sad day!! 😔


r/diydrones • • 19h ago

I stopped a motor inside an emulated ESC and let unmodified PX4 find out (no hardware, no SITL)

3 Upvotes

This is the stock PX4 v1.17.0 firmware for the Pixhawk 4 running on an emulated flight controller (STM32F765), flying a simulated x500. Same ELF as on the real board, with its own drivers, DShot600 and ESC telemetry.

At 40 seconds, motor 3 is stopped inside the emulated ESC. PX4 sees the current drop in the ESC telemetry, reports "Motor failure detected" about 0.1 s later, and the quad comes down. The failure part of the clip is slowed to 0.3x.

Why bother: SITL doesn't run the drivers, the RTOS or the ESC link, so this kind of failure handling usually only gets tested on real hardware. Here it is repeatable on a laptop, and every run with the same inputs gives the same result.

It's emulation with simplified timing, not a replacement for bench or HIL testing. I wrote the emulator side, and I'm curious what failure cases people would want to try next: ESC desync, corrupted frames, a sensor that stops answering?

Video: https://www.youtube.com/watch?v=Sq3nVIbLEWQ
Code (open source): https://github.com/hakoniwalab/athrill-target-stm32


r/diydrones • • 1d ago

Question How to secure electronic parts?

Thumbnail
gallery
4 Upvotes

INB4 it's total mess. Yeah I know, it was a project for uni and this is the result of no time and no experience in diy drones. However it can fly, at least for a few meters :)

The problem is that I crashed it during testing and it cooked the stm, bmp and mpu. How would you secure those connections to prevent situations like that? Should I use hot glue at the bottom? Or maybe try to hide this board inside with battery?


r/diydrones • • 23h ago

NEED HELP!! problem with 10"

Thumbnail gallery
1 Upvotes

r/diydrones • • 2d ago

Post 2. Follow-up: what’s inside the fixed wing + platform

Thumbnail
gallery
292 Upvotes

Following up on my previous post, where I shared an overview of my ongoing thesis on building a gimbal. This time I want to show what’s inside the fixed wing that carries it, so here are some cross-section renders of the internal build.

The airframe is designed for 3D printing. Carbon fiber would make it a lot lighter and give it more range, but doing it properly needs molds and a vacuum process, and I just don’t have those resources right now. So the shell is printed ABS, and the carbon that is in there is stock tube and rod: an 8×6 mm carbon tube as the wing spar and a 2 mm carbon rod as the elevon hinge pin.

The rest of the setup:

  • Flight controller: SpeedyBee F405 Wing, with a 40 A ESC
  • Motor: T-Motor AT2312 Long Shaft KV1150, with an 8×6 folding prop as a pusher
  • Battery: 4S2P Li-ion pack with Molicel P42A cells, 8400 mAh, custom made too.
  • Servos: 8 mm slim wing servos
  • 1.10 m span, around 2 kg all-up
  • Launch bungee currently, but pneumatic is better

On paper that works out to around 50 minutes in the air and roughly 60 km of range in still air, but those are estimates until it flies.

I got quite a few DMs from people asking for a follow-up, which I really appreciate. I’d love to make a YouTube video about it but I can’t find the time right now, so I’ve set up a Google Form where you can sign up for updates until I get a channel going here: https://forms.gle/2kaUHfGA5ie8oEbu6

I’ll share the aerodynamic side of it too. I just don’t have access to my sim data at the moment.


r/diydrones • • 1d ago

Question Electronics trouble shooting.

2 Upvotes

I had a 5 inch drop out of the sky a few years back from what seemed line a single rain drop due to suprise summer rain I remember feeling one rain drop on the arm and not seeing anything else when shining a light along it. I've recently taken interest in fpv again and I'm trying to see if I can get this running again. I plugged in the flight controller to beta flight it recognized the board and the gyros seem to track movement so far as I can tell that's fine. I then plugged up the esc to the fc went back into beta flight, connected a battery. Beta flight detected the connected battery but didn't spool the motors up. (Waiting on new batteries and rx the ones I had are obviously dead after sitting for years). Is there any way to check the esc with a multi meter or anything else I can do to find any problems that may exist.


r/diydrones • • 1d ago

DJI Goggles 3 – the little menu joystick button stopped working (only the click works)

1 Upvotes

Hi everyone,

I have a problem with my DJI Goggles 3.
While I was flying, the menu started opening and moving by itself, like someone was pushing the buttons. After that, the small joystick on the goggles (the one you use to move through the menu) stopped working. When I push it up, down, left or right, nothing happens. Pressing it in still works, and it still clicks when I move it, but the goggles don't react.

What I already tried:
Updated the firmware
Turned them off and on many times
Used them outside, away from metal and magnets
Nothing changed. I didn't crash or drop them, and I haven't opened them.

Has this happened to anyone? Did DJI fix it for you, or did you find another fix?

Thanks!


r/diydrones • • 1d ago

Guide Browser tool to decode laser rangefinder / single-point lidar UART output (TFmini, LightWare, JRT, ERDI...)

1 Upvotes

Made a page that decodes laser rangefinder / single-point lidar serial output in the browser: https://erditech.com/lrf-uart-protocol-decoder/

Plug the sensor into a USB-UART adapter, open the page in Chrome or Edge and press Scan baud rates. It tries 9600 up to 921600, picks the protocol that fits and prints each frame in metres, with bad checksums flagged. Handy when a TFmini or TF-Luna shows nothing on the FC and you can't tell if it's the sensor, the wiring or the params. Pasting a hex dump from a serial terminal works too.

Profiles so far: Benewake TF series, LightWare SF30/D and SF10/SF11, Chengdu JRT, Nooploop TOFSense, DFRobot SEN0366 and ERDI. MIT licensed, source on GitHub, and pip install lrf-uart-decoder gives you a Python CLI.

Disclosure: I work at ERDI, one of the brands above. Which sensor would you want added next?


r/diydrones • • 1d ago

Guide Potensic Atom 2 Water damage? Try this DJI mini 2 Guide. Thermal management material remains a mystery (putty?). DJI Mini 2 Water Damage Repair | No Power, Corrosion & Board Cleaning

Thumbnail
youtube.com
1 Upvotes

I had previously posted about 6 days ago, regarding repairing my Potensic Atom 2 from water damage repair, including disassembly.

To my horror, the AI search function on Reddit was using the content I posted, as possible solutions. I will attempt to delete it.

This video is the closest thing I’ve found to a solution.

My apologies.


r/diydrones • • 2d ago

Review my collection of Shahed drones parts

Thumbnail
gallery
441 Upvotes

hello from fronline city Kharkiv! Posting my collection from Ukraine


r/diydrones • • 1d ago

Anyone know of a someone making cheap Infrared drones, hit me up

0 Upvotes

Thanks in advance


r/diydrones • • 1d ago

Question Fixed-wing VTOLs with a C3 label: is Open category A3 enough for your survey work, or do you go straight to SORA?

1 Upvotes

I work in EU drone regulation, and fixed-wing VTOLs are now getting C3 class labels, which lets you fly them in A3 with just the A1/A3 training. But these aircraft are built for long corridors and big mapping areas, which usually means BVLOS, and that still needs an operational authorisation in the Specific category. For those of you doing mapping or linear inspections in Europe: do you actually use A3 for real jobs, or is the class label mostly useful as evidence for your SORA?


r/diydrones • • 1d ago

AX-HUD: a free, open-source video monitor, HUD and voice announcer for the RadioMaster AX12

Thumbnail
1 Upvotes

r/diydrones • • 1d ago

How Switchblade 300 steer their flight?

1 Upvotes

I mean, with its foldable wing mechanism how do they do it?
like what mechanism they are using?
: (