Live data from Hacker News

Build a Low-Cost Drone Using ESP32

digikey.com

111–120 of 160 posts

Re: Build a Low-Cost Drone Using ESP32

#111
post #108

Earlier quoted context omitted.

That is consistent with my experience. My highlights: - Current betaflight devevelopers and leaders are incompetent (They inherited the code base from others), and are slow, and varying degrees of willing, to add higher-level flight-control mechanics (semi-autonomous modes etc). - The Ardupilot and PX4 configuration systems, and general experience, are user-hostile. Note that the converses of these hold: Betaflight h…

I haven't touched this stuff in 5+ years, but I wonder how iNav stacks up on your list? I was about 50% of the way through a 7" FPV build with a GPS receiver based on iNav when COVID hit, and between the supply shortages and general life shift, I stopped working on it.

I'm curious too; of those it's the one I have the least experience with. It is currently not an option for me, as the aircraft I would use with it uses CAN perhipherals, which iNav doesn't support.

Re: Build a Low-Cost Drone Using ESP32

#112
post #81

Earlier quoted context omitted.

https://apnews.com/article/drones-new-jersey-what-to-know-e6...

Thanks! > Authorities say many of the drone sightings have actually been legal drones, manned aircraft, helicopters and even stars. > many state and municipal lawmakers have called for stricter rules about who can fly unmanned aircraft — and for the authority to shoot them down. Hard to find a more American article than this.

"Hard to find a more American article than this." Just wait until they start taking pot-shots at them and then it will be "real" America: BOOM! "Look Ma! I done got one!"

Re: Build a Low-Cost Drone Using ESP32

#113
post #99
post #90

Earlier quoted context omitted.

Do you really need the phone? The dual core 240MHz ESP32 seems to be able to do the job at lower weight and power consumption. Maybe the old phone is better used as a controller?

I got an ESP32 WROOM 32U board that I intent to use it as the flight controller which will keep the drone within its flight envelope and do the maneuvering upon receiving commands from the phone. I find the phone appealing because I want try to make it somewhat autonomous, like im RTS games where you give a unit a command to go somewhere and it figures the path out by itself and avoids obstacles without direct input.…

Still I think I'd just have the phone run an app that talks to a microcontroller by Wifi, even if it is strapped to the drone all the time.

Re: Build a Low-Cost Drone Using ESP32

#115
post #99

Earlier quoted context omitted.

I got an ESP32 WROOM 32U board that I intent to use it as the flight controller which will keep the drone within its flight envelope and do the maneuvering upon receiving commands from the phone. I find the phone appealing because I want try to make it somewhat autonomous, like im RTS games where you give a unit a command to go somewhere and it figures the path out by itself and avoids obstacles without direct input.…

Still I think I'd just have the phone run an app that talks to a microcontroller by Wifi, even if it is strapped to the drone all the time.

I haven't tried it yet but as it appears that will be my choice too. Other options appear to be bluetooth or ethernet tethering over USB.

Re: Build a Low-Cost Drone Using ESP32

#116
post #38

This is amazing. Even the landing gear (struts?) is part of the PCB. I hope the author considers selling kits or outsourcing kits to SeedStudio. I live in a country where digikey order shipping is quite pricey. The author estimates the BOM to be a little under US$13. At that price it would be fun to try create a swarm for DIY drone lights show. [1] https://circuitdigest.com/microcontroller-projects/DIY-wifi-...

FWIW, making just 10 might drive that $13 price down quite a bit. Although, it looks like 1 unit might be closer to $50 (at least for the suppliers I might use), but $150 for 10. I think costs could be cut somewhat though. The USB->serial chip is nearly $6, but differently packaged it can be $4.40 for 1 or $3.99/ea for 10, and alternative chips that seem like they should be good enough can be cheaper still. The volta…

The entire BOM is crazy. The USB to UART chip is wholly unnecessary if you simply pick a better (at an equal or lower price) ESP32-S3 module which has a USB interface.

I suspect this was designed based on things the author had in their cupboard as opposed to something that's reasonable for new designs.

Re: Build a Low-Cost Drone Using ESP32

#117

Is this just someone reposting espressif's esp-drone ( https://github.com/espressif/esp-drone ) and passing it off as their own (and DigiKey posting it on their site)? They talk about making a custom PCB, but it looks pretty much the same. The repository linked from the article ( https://github.com/Circuit-Digest/ESP-Drone ) has some issues claiming there's malware in it, and the commit history looks a little suspici…

Yeah, he took the code straight from esp-drone which is copyrighted.

https://github.com/Circuit-Digest/ESP-Drone/blob/main/Firmwa...

I believe this is a violation of the license. Very poor form of Digikey to hire these people.

Re: Build a Low-Cost Drone Using ESP32

#119
post #103

Note to anyone unafamiliar: There is a thriving "FPV" ecosystem of drones that can be DIYed. Example common setup, you can mix+match: - Small square PCB with the main flight control MCU (STM32), and some sensors - Smalls square PCB with motor drivers - Carbon fiber frame - Small PCB with a LoRa radio - Camera and video transmission system. (90s-security-cam style analog, or digital. - Brushless DC motors, props etc U…

Also > All-in-one PCB: Doesn’t need any 3D printed parts or such I actually am fine 3D printing and laser cutting stuff at home but I don't have the stuff to make a PCB and don't have the hand skills to do anything more than through-hole soldering.

The intent is not at-home fabrication: It's sending it to a company in Shenzhen (e.g. JLCPCB) to do both PCB fab, and SMT assembly for you. 10-day time between order and arrival. (USA), and astonishingly low cost.

PCB are sometimes used in these structural scenarios, (Where they are not the right tool for the job) as they're one of few(?) ways to get a custom part fabricated at low cost. If the device has electronics anyway, the added cost of expanding the PCB footprint for structure, as in this case, is small.

Re: Build a Low-Cost Drone Using ESP32

#120
post #92

Earlier quoted context omitted.

This is all true, but just to set expectations: the open source ecosystem seems to be lagging the proprietary world pretty significantly, unless there's some corner where development is really chugging along that's not making it out to the rest of the hobbyist market. Though there have been incremental improvements in flight control software, and video subsystems have moved (mostly) from analog to 2.4/5.8 GHz and dig…

That is consistent with my experience. My highlights: - Current betaflight devevelopers and leaders are incompetent (They inherited the code base from others), and are slow, and varying degrees of willing, to add higher-level flight-control mechanics (semi-autonomous modes etc). - The Ardupilot and PX4 configuration systems, and general experience, are user-hostile. Note that the converses of these hold: Betaflight h…

Interesting, I wanted to look into building a drone myself next year. Mostly to learn about tinkering with engineering and electronics. What are the issues with the codebases and their development?
Post reply on HN