DroneCase: The DIY Phone Case That FLIES
Вставка
- Опубліковано 17 лип 2024
- Thanks to PCBWay for sponsoring this video--check out their website for an instant quote on custom PCBs, 3D printing, or even CNC machined parts: www.pcbway.com/?from=Nicholas
I took the infamous “Phone Drone” scam, originally debunked by Mark Rober, Peter Sripol, and Captain Disillusion, and made my own version that actually works using hobby drone components, special sensors, and some PID magic.
Patreon: / nicholasrehm
My Website: www.drehmflight.com/
FREE 3D print files and build instructions: hackaday.io/project/189398-ph...
Drone Pendulum Fallacy: • Drone Pendulum Fallacy
Parts I used to build this project:
• Radio: amzn.to/3PqNgQv
• Motors: amzn.to/3Y7pqgK
• ESCs: amzn.to/3HkpO4K
• Battery: amzn.to/3wEYV6H
• Tilt Servos: amzn.to/3kR5EYq
• BEC 5v Supply: amzn.to/3yL3ugg
• Teensy 4.0: amzn.to/3IR29ZW
• Teensy 4.1 (if 4.0 is out of stock): amzn.to/3c1OSSw
• IMU: amzn.to/3Oje9og
• 4mm Carbon Tubes (for tilt arms): amzn.to/3WKp2DP
• Bearings: amzn.to/3DrliQG
• Magnets (for back cover): amzn.to/3RhKhvk
• 4mm M2.5 Setscrews: amzn.to/3wHpN5O
• Pushbutton: www.radioshack.com/products/s...
• TFMini Plus Lidar Sensor: amzn.to/3jhUZWh
• PX4Flow Optical Flow Sensor: amzn.to/40hONhu
These are affiliate links-I receive a small commission for every product purchased at absolutely no cost to you.
Building a custom 3D printed bicopter drone with altitude and position hold, all automated with just a single button is obviously way easier than buying a tripod. In all seriousness, this project was a great excuse to build a bicopter and showcase a simple cascaded PID control strategy. It is by no means a viable product, but it is a cool showcase of some advanced concepts applied to drone design and flight control. If you found this video interesting, don’t forget to subscribe so you can be up to date on future projects like this!
Intro: 00:00
The Design: 00:44
The Build: 01:49
First Flights and Tuning: 03:29
Adding Altitude and Position Hold: 05:04
Full Demo and Conclusions: 07:14
#DroneCase - Наука та технологія
Dude this thing is amazing! Much better than the contraption I came up with!
Haha but thanks for all the inspiration yours provided!
Self advertise
@МЕМЕ.ехе not really cuz he was mentioned in the video anyways...
@@hadamitMC yes, and he is saying this video's contraption is better, so it's kinda the opposite of self-advertisement.
@@thetheodorusrex9428 still self prmoting
Best channel ever. If you ever do a second channel doing deeper dives on the engineering I would totally watch.
Noted! Thanks a ton
@@NicholasRehm My thoughts exactly. I am a undergrad engineer just moving into the first engineering job in motion control and really love your efficient approach to control. Would be very eager to find out just how much math you do in the process.. :o
I usually fast forward sponsor message, but you made it relevant, straight to point, and includes progress bar that gets me invested in. Nice!
Me and @PCBWay appreciate that!
I was convinced that the thumbnail was clickbait and the actual contraption would be an abomonation but I'm super impressed with the outcome! Really nice work!!
No clickbait on this channel
@@NicholasRehm Yipee! What a breath of fresh air.
This is an amazing project considering it was put together by a single person, the integration here is fantastic, this dude is a real polymath. It would be a huge software task but I'm sure Nicholas thought about the next level of using the phone camera, sensors, processor themselves to aid in stabilization, this rig literally carries around a camera and processor capable of using ML to stabilize on an object detected target.
Yes. I thought he was going to make an app on the phone to run it.
Thanks for the kind words. Phone processor integration I guess would make sense, but app development and proper software dev is where my expertise falls off lol
Could it be an issue, that the OS on the phone is not realtime? Control logic tends to struggle with jitter in the timing of sensor readings.
@@MarcoTedaldi that is certainly a concern
@@NicholasRehm I am a proper software dev w/ drone experience. Let's chat?
Love it! And since a selfie only takes a few seconds, 4 minutes flight time is enough for a dozen selfies.
😂😂😂
And who wouldn't want dozens of selfifes?
Optical flow sensor also picks up your angular movements. You need to estimate flow created from tilting (via gyro and lidar) and substract it from from flow sensor reading. While doing so, beware of different latencies.
This was my first thought when I saw what the sensor is doing. Any pitch or roll will give velocity from the optical flow even if the thing isn't really moving anywhere. Not something I would want to try and figure out...
I'm sure he's aware of that
@@theaveragepro1749 It didn't seem like it from the video. Like, I'm sure he's smart enough to know it, but even smart people make dumb mistakes sometimes.
Incredible work and while I would agree that this is not a viable product (a DJI Mini is probably just as good and offers more stability for the relative small cost of having a remote), the learnings are great and now I want to play around with you flight controller even more :)
Mission accomplished! Thanks for the kind words
not a viable product *yet - pretty sure at this point it's a race to the bottom with high integration, just look at all the cheap quad toys you can get for like 30 bucks
@@graealex yeah, probably
Just wait until wireless power transmission gets better.
Battery pack in my backpack, and my phone will just always follow me. Won't have to actually hold it. Can't be dropped. With voice control.
Would be quite cool.
And I am off to binge all your videos now. Love finding a new/good channel all about stuff I love. This was a great vid!
Always amazed at your project! That's really cool! 🙌
You're doing something right. You have been in my feeds and my personal suggestions irl for a couple of years without a subscription. Keep being awesome!
Hopefully there's a subscription now :)
This is so cool! I learned so much more about drones!
Underrated video - deserves way more views! Well done!
Thanks Jayden!
Incredible!
I'm going to make it following your instruction!
Nice! Buddy of mine just bought a quad that floats rock solid indoors. I had no idea those things could be so stable!
Neat build!
Amazing project!! Thank you for making such a nice video.
Well done young man,Incredible work an amazing project, I wish I Had someone like you on my team 👍👍👍
You're a rockstar at this stuff, very well done and very creative
Absolutely awesome. Great work Nicholas 👍
Thank you!
This is a really cool project and fun video - crazy amount of engineering went into this little project, I am really impressed.
Thanks for the kind words!
Brilliant project to tackle and demonstrate as a flying prototype! You solved so many aspects to making the flying DroneCase a usable product. This is many levels beyond using an extra long extended selfie stick. Now feeling the need to build a DroneCame to experiment and explore, as way more fun!
The one challenge I see remaining is adjusting the optical flow for when the DroneCase is tilted significantly from vertical as it try's to maintain position hold (6:00). ie: differentiate between horizontal motion and secondary tilt of DroneCam related to position hold (particularly in a dynamic environment with variable wind).
While lidar distance to ground is easy to compensate as tilt angle is known; the optical flow device would see massive motion as DroneCase tilts more than a minimal angle. At 6:24 is an example were optical flow would be swamped (or lost) by large path differences relative to the ground below.
If optical flow had 2-axis gimbal, then a 'normal' reference to the ground target could be maintained; at the cost of added complexity (and weight).
Alternatively, think it would be easier for DroneCame to maintained a constant radial distance to the subject. If (camera subject of focus) had a remote dongle, then DroneCase could use a bluetooth signal strength to get "range" data. This could help with when adjusting to larger position deviations (associated with larger tilt angles), and optical flow could fine tune position when tilt angles smaller.
As a bonus, if the remote dongle had a compass, then when the subject turned, or moved the DroneCase could move in an arc at constant radius to the updated subject orientation. Obstacle detection would then be required.
Again, is brilliant how identified core features and avoided the spiral of feature creep. ;)
Nice, you always amaze me! Nice upload! Thanks.
Worth it for the geek-out factor alone. The fact it does not work “well” is over-awed by the fact that it works “at all”. Kudos!
Nice job! Thanks for teaching me something!
Bless you. You are a special human being. All good things to you.
Well, as a UAV manufacturer I consider your design preaty well made, yet it of course can be improoved upon. The biggest problem you have encountered is generally the problematic nature of PX4Flow. I've been there. As of now VOXL Cam seems to be a much better soultion as it includes stere camera sensors which, at least when used on Ardupilot, seem to be dooing a great job. Also - usually the LIDARs used in integrated solution have very limited range and are prone to feeding the flight controller flase data. Here even a lightweight and low cost sensors like TF-LUNA seem to be doing a stellar job.
I also might have ideas about further testing and even improoving your cyclorotor design and would be happy to cooperate with you. If you are interested - please, reply to this comment.
All in all - great job.
hm.. VOXL Cam looks like it is really great and would indeed offer an improvement but... have you considered that it is also almost 10x the price at about 1500$? 😅 which is just ridiculous for a small drone-phone case! PX4Flow is
maybe make the phone use its GPS for more fine tuned position + another IMU set
also one can potentiality use BT to send data to the FC from the phone
@@DiverseGreen-Anon maybe for you. Some of us care about the price, some of us don't.
absolutly awesome. what a great project!!! You proved that "myth" possible like the real "myth busters". incredible!!!
Excellent work !
That was amazing! Cheers from Japan!
As an aspiring control engineer, I gotta say I absolutely loved this video!! Excellent job :)) you've inspired me to get back to work on my own GNC project! Quick side note, your custom flight controller is actually what got me into my current GNC project, which is basically just an extremely watered down auto pilot for model gliders haha
The people on Reddit at r/ControlTheory would probably also be interested in seeing your project.
Awesome!!!
Watching these kind of videos make me think If I would as good in my speciality, btw, this was a really good project.
Crazy. I thought about this about 8 years ago. Im glad someone else has executed this idea.
This is freakin' awesome! Great work! Super entertaining and educational!
Thanks!
I wish I could subscribe 3 times. I don’t want a selfie drone, but just found your channel. Holy cow, you are so intelligent and creative. Your videos are amazing to watch.
Truly master class material.
That's so nice of you, thanks!
Very nice work 👏!!
Amazing work
That is amazing. What gets me is the fact that the scammer had more people watch his video. Then the both of you put together. I think you are build is amazing
Absolutely awesome! Succinct clear information. Subscribed!
Thanks Dave!
good job lad! keep at it!
Awesome! I wish I had the money and talent to do projects like this that I see on UA-cam. 👏👌Keep it up!
Thanks!!
dude your work is oustanding. (in the field). no really this is impressive
Thanks for the kind words
You beat me too it XD dang it, now i have to add features to be more unique, Great job on the work man! you really did a decent job keep up the good work
Awesome idea! Thanks for sharing! You could also use something like a Ram Mount design with 4x sprung arms to make it phone-agnostic (so you don't need to print fixtures for each phone)
Bravo. We are impressed.
Fantastic work 👍😆
Oh man! This is epically awesome man. I love drones, I love 3dprinters, don't mind soldering, but don't have the brains to put it all together into anything; this is right down the lines of something I want to make! Thank you for putting this out there with all the code and steps you took. I am going to snag it for one of my next projects, I am super excited to take selfies with this at the next family Christmas get-together! Mind blown
Would be better to use the phone processing power.
@@MichaelRyannz One of the things making the flight controller work so nicely should be reliable execution times of each command to the rotors. Just imagine your drone crashing because Twitter was refreshed in the background, keeping the CPU busy at just the wrong time. I don’t think your phone allows you to run real-time code, does it? That said, using the camera image itself to measure optical flow and stabilise the position via an app on the phone sounds like a really nice idea, if there was a way to do that.
@@sebidotorg Optical flow boards use dedicated circuits to process the imagery. The phone just won't have the processing power to do it at a decent rate with a low enough latency.
The px4flow is just a really old board. If you want to spend the money the herflow is a similar package that integrates the lidar onto the board and weighs 1.2 grams compared to the px4flows 30 grams. Runs at 50hz. Probably save 60-80 grams vs this prototype design.
If you really want good performance you get a machine vision camera with a 80hz-400hz global shutter sensor and have that do the flow tracking for ya, but that adds all the weight savings back on.
@@nocare That’s what I thought. While it would be nice to use the actual image you want stabilised as the source for the movement information, I didn‘t think the image processing on a phone would ever reach a latency that‘s low enough for such an application. Which refutes the comment that it would be better to use the phone‘s processing power. Thanks for your input!
@@sebidotorg No problem.
Also if you want to have a target you place on the ground to track then you can do what you wanted using the machine vision cameras. Such as the OpenMV camera and others like it.
Aruco tags and April tags are examples of fiducial markers.
From just 1 tag you can get the position and orientation of the camera in 3d space relative to the tag.
Conversely you also have the tags 3d pose as well.
Amazing build ❤.
Sensational!! Bravissimo!!!
Subscribed, such a good video!!!
man you did amazing job your really made me happy good job
Great! Congratulations!
Yay, another amazing channel that i can subscribe and enjoy of the content
Welcome aboard!
this is next level 👏
Genius 😍
Real neat! It seems like bi-copters are always on the wobbly side, but with prop guards they have a great cool-factor.
Great video. Thanks
Jo this is absolutely awesome
FANTASTIC, LOVE IT.
You are a clever guy Nick, well done mate.
Outstanding!
Very impressive and frightening at the same time.
Awesome project. Love it.
Thanks!
Love this...
Just subscribed
Very cool video and edit! Tip of my hat to ya.. Yes, I subscribed.. Enjoy the Breeze...👍🏻🍻👊🏻
Dude, well done!!!
Thanks!!
Great project! I am not sure how powerful is the flight controller, but you can use LQR or even reinforcement learning based approach to control the motors if you decide to implement something more complex, such as following target
As an engineer struggling with ERA/OKID for the past month, the performance you get without system identification by directly tuning the gains is mind blowing! You must understand the pole positions really well to tune gains so well!
this is so crazy I was just thinking about this exact concept...
This is brilliant, will order the parts immediately! You could also use the phone's sensors + AI to do the high level control and send that to the controller
for being very simple, this works surprisingly very well.
Great, I love it !
One thing you could do would be to use your phone's camera with a self made app to do face tracking and compute your phone position relative to your face but also relative speed, then, the app could send position adjustments requirement to your drone (through USB-C for Androids and Lightning for iPhones), as smartphone have more than enough computing power on their own to do that.
Your phone would send position request, drift speed from the target, and your phone already get drift speed from stationary and altitude.
One extra step could be to apply targeting from your position holding camera, making it able to not just get the relative speed from the gound, but also, to try and get back to the same initial point and hold it, making it much more stable than only reading horizontal velocity, as you now have a precise point to follow, only downside is that it wouldn't work in a totally uniform ground by lack of easily recognisable details (where speed can still be established) or a too complexe one (where it would looks more like noise than specific single target to hold onto).
The only downside of using a specific app, is how the phone won't be able to take 100% of your camera's capabilities as only the native phone app is made for it, so you will have, at best, what other apps (Instagram, Snapchat, etc) can do, meaning, the default camera feature, so, no zoom, macro, portrait, etc.
Though, you could try to run your own app in the background and order your phone to take picture with the main phone app through ADB commands.
amazing project, very impressive
Damn straight I am gonna sub, epic video!
Cool video. Hopefully you get more views than the scammers. You deserve it.
Nice video keep it up 🤠
Really cool!
I’ve been building one with your software for the past few months!! I didn’t know you were building one too! I’m using mark robers design but this one is more practical. I’ll post on my channel once complete!
Oh that’s awesome! Looking forward to it
@@NicholasRehm i uploaded a quick video on my channel to show the progress, its still gonna take a while for it to be completed, the design isn't perfect but i really wanted to go with the original peter sripol design.
Fantastic! There must be a big fight for you on the job market.
This should go viral.
What a smart design!!
2:30 I have the same solder station/power supply as you. I love mine and is a major quality of life upgrade from the ones that plug directly into the wall.
Agreed, made the investment last month and it’s really improved my workflow!
Now connect your phone and use its power for object detection and tracking 😜😍. Awesome video !! Definitely subscribed
i just watched 3 videos each recommended another creator this is a good place
This is so cool!
DUDE YOU ARE MY HERO!!!! I subscribed!!!!
Ayyy welcome aboard
Nick, I'm a first timer..... love the science. I subscribed and will be watching more! Thank you!!! Mark
Welcome aboard Mark!!
You have all the capabilities of what snapchat has with their drone but yours is much much better!
Very cool!!
Outstanding !.
You are SO amazing, thank you for sharing.
Thanks so much!!
@@NicholasRehm can't we use a smartphone as the device flight controller as most of the components are in the device ?
Beast! Thanks
Awesome work, I will suggest to use acceleration sensor for drift control.
Thanks for tricking me into learning something :)
Mission accomplished
Hell yeah you still have an oldschool DX7. Such a good looking radio 👍
Best purchase of my life…. Back in 2009 lol
@@NicholasRehm pretty cool that it can still hold up today with all the new advancements in flight stabilization
Damn you are good at this stuff!! Ive been into fpv pretty hard core the past 5 years and never seen anything like this. Two motor flight? Nice!
Any N motor flight is possible if you try hard enough ;)
Awesome Build!@!
subscribed immediately, you killed it!
Thanks Davide!
What an awesome project! Literally better tham the scam video published years ago!
Nice job making it real. I love the one button simplicity and the point to point soldering. Most of my robots are point to point soldering. LOL
Thanks! Cool projects you got there
@@NicholasRehm Thank you.
Great video as always! Alternatively you could try RTK GPS for outside stability control. Something like NEO-M8P would give you 1-2 cm precision in all coordinates.
This seems to fall into "slapping a GPS on it" territory lol
@@NicholasRehm It totally does, but it's a nice GPS though....
Or just use the GPS built into the phone. Sure it wouldn't be as accurate or have the same update frequency as a dedicated GPS module, but it's already there. Heck, get IMU data while you're at it.