Live data from Hacker News

Show HN: The Jankest Autonomous Drone Built and Programmed from Scratch

github.com

11–20 of 39 posts

Re: Show HN: The Jankest Autonomous Drone Built and Programmed from Scratch

#11
post #5

I love this. I've been a professional dev for almost a decade now, and over the last couple of years have started migrating toward a blend of hardware and software/firmware development, and I can't get enough of learning to build physical things from scratch. I don't often get to iterate in this way at my job, and rebuild the same thing over and over, so I tend to spend my free time with projects like this that start…

Oooh you should learn how to route PCBs, you're going to love both the process and the result.

Re: Show HN: The Jankest Autonomous Drone Built and Programmed from Scratch

#12

If you want to build a really cheap drone that can actually do autonomous GPS-guided stuff, the Kakute F7 can be flashed with Arducopter (Arudpilot), and is $49 with a power distribution board. Mostly intended for small racing drones, but can be used for other purposes. https://www.getfpv.com/holybro-kakute-f7-aio-flight-controll... https://shop.holybro.com/c/kakute-f7_0486 Or you can get the version that combines a…

This is all great advice. Ardupilot/Arducopter is heavy duty stuff, you can make a quadcopter/plane/whatever that will fly completely autonomously by giving it waypoints on a Google Maps interface. Highly recommended, I've built a plane like this and very much enjoyed the process.

Total flight time was around thirty seconds because I managed to crash it twice, but live and learn.

Re: Show HN: The Jankest Autonomous Drone Built and Programmed from Scratch

#13
post #5

I love this. I've been a professional dev for almost a decade now, and over the last couple of years have started migrating toward a blend of hardware and software/firmware development, and I can't get enough of learning to build physical things from scratch. I don't often get to iterate in this way at my job, and rebuild the same thing over and over, so I tend to spend my free time with projects like this that start…

Oooh you should learn how to route PCBs, you're going to love both the process and the result.

Came across this little PCB mill just today: https://www.youtube.com/channel/UCX44z-SSL7LzcB4xxgUdHHA

Re: Show HN: The Jankest Autonomous Drone Built and Programmed from Scratch

#15
Hi, I'm the creator! Thank you all for your thoughtful comments.

Some of you wanted a photo album of the journey; I quickly collected one here [0]. Apologies for duplicates, no descriptions, and Google.

The full album shows a lot more of the process, but I also linked some quick highlights / milestones at the end of this comment.

Also, to those who were wondering, I am still in the market for a Summer 2019 internship.

I really ought to have a blog post detailing more of this, but here's a little backstory anyway. My best friend from high school and I wanted to experiment with creating our own modular drones, and although we bought a bunch of parts, we ended up leaving for college before we could do anything. A couple years later I had some time on my hands, and I decided that I wanted to see whether or not I could actually build and program a drone myself. For the project, I tried to focus on writing high quality software while still managing to build something flyable with my nearly-nonexistent mechanical skills. Even though much of this project was physical (and electrical), I still largely consider this a software project, actually.

Physically, my prototypes are something you might laugh at. Zip ties, styrofoam, and Gorilla tape were my go-to materials for the most part. I originally started by mounting (read: zip-tying and taping) components to PVC tubes and metal sheets; combined with the pretty large LiPo battery I bought, it should have been no wonder that four motors were no match for the weight of the thing. I later decided to screw together 6 strips of carbon fiber sheet (a "frame") and add two motors to help assure my drone can actually lift greater than two inches off the ground at a time. Reworking the flight controller to work with six motors instead of just two was a fun challenge; I decided to make the flight controller support an unlimited number of motors in a circle while I was at it.

Figuring out the optimal wireless technology for the drone was a bit of a process as well. It was frustrating when I thought I had everything ready for a test flight, but then slowly realized that, perhaps, I wasn't going to be able to get away with using Bluetooth LE over non-trivial distances. Eventually I found a radio module with superb distance and transmission rate; and after some struggle, I got them working. You can see in the video that I could control the drone from quite far away!

It took quite a few days of test "flights" to get the drone to fly as well as it did in the video (if you consider the oscillating nightmare in the video "flying well"). Even getting the drone to launch two feet in the air, instantly lose control and backflip, and crash back down on the ground felt like an AMAZING feat from my perspective; it demonstrated all my systems were at least online and functional. I slowly increased the hover time of each attempt by a couple seconds or so, adjusting my controller tuning and implementation as I went. The flight in the video was nowhere near as primitive as some of my early experiments, even.

I'm sure I skimped on many details, don't hesitate to ask for more information on anything.

[0]: Full album: https://photos.app.goo.gl/QhSZEyd4DA1r9S9G6

First physical prototype: https://photos.app.goo.gl/k6km6Hyrkq4FuxkH9

Second physical prototype: https://photos.app.goo.gl/sL1LjnAgeXrmGvgEA

Third physical prototype: https://photos.app.goo.gl/bY33peH7RZbXPxyx9

LED strip code testing: https://photos.app.goo.gl/wZJJJ4NrFENjpUkHA

Custom remote control assembled: https://photos.app.goo.gl/z577cVbH59vjW3g56

Final "boxy" physical prototype: https://photos.app.goo.gl/8ESsQidi5Tgsb1mm6

Re: Show HN: The Jankest Autonomous Drone Built and Programmed from Scratch

#16

I've only seen the word written as jank, janky or jankiest. First for jankest. Where can I view photos of the various physical build attempts?

Yes, my use of jankest is possibly 100% contrived.

Also, I recently added a comment with a photo album if you are interested!

Re: Show HN: The Jankest Autonomous Drone Built and Programmed from Scratch

#18
post #5

I love this. I've been a professional dev for almost a decade now, and over the last couple of years have started migrating toward a blend of hardware and software/firmware development, and I can't get enough of learning to build physical things from scratch. I don't often get to iterate in this way at my job, and rebuild the same thing over and over, so I tend to spend my free time with projects like this that start…

Similar story here, developer then sysadmin, but I decided I wanted to have a hobby and "physical stuff" seemed interesting.

When my child was born I spent my paternity leave getting started with Arduino, and ESP8266 devices. These days I've kinda stalled, but there's something fun about making the hardware and the software, and getting back to the limits I used to "enjoy" with limited RAM/flash-space.

Mostly my projects are put together for learning, then the parts are recycled, but there are a few projects dotted around the house that have stayed in-place for a couple of years now.

(Wireless temperature/humidity sensors, along with tram-departure information, etc.)

Re: Show HN: The Jankest Autonomous Drone Built and Programmed from Scratch

#19

Hi, I'm the creator! Thank you all for your thoughtful comments. Some of you wanted a photo album of the journey; I quickly collected one here [0]. Apologies for duplicates, no descriptions, and Google. The full album shows a lot more of the process, but I also linked some quick highlights / milestones at the end of this comment. Also, to those who were wondering, I am still in the market for a Summer 2019 internship…

How did you get the remote control to work? Looks like you started with an Xbox controller?

Re: Show HN: The Jankest Autonomous Drone Built and Programmed from Scratch

#20

If you want to build a really cheap drone that can actually do autonomous GPS-guided stuff, the Kakute F7 can be flashed with Arducopter (Arudpilot), and is $49 with a power distribution board. Mostly intended for small racing drones, but can be used for other purposes. https://www.getfpv.com/holybro-kakute-f7-aio-flight-controll... https://shop.holybro.com/c/kakute-f7_0486 Or you can get the version that combines a…

What is the approximate price range to get everything needed?
Post reply on HN