this might be the world's smallest esp32 drone and you can build it I call it the ESP-FLY and trust me this tiny beast flies it's so small it fits in your shirt pocket it's so fun you won't want to put it down and flying it easier than you think no expensive transmitter no fancy equipment just your phone I'm Max and I'll guide you step by step as you build program and master flying your own Micro Drone let's do this now all the parts you'll need to make it real include a whole lot of surface mounted components and a PCB to make the sensor Plus Motor driver module a microcontroller battery wires connectors antenna coreless Motors propellers and parts to form the frame of the tiny quadcopter you're looking at $37 in Parts as of March 2025 excluding the cost of shipping find all of the parts listed with product links in the video description below to take you back to how I designed the Drone I took measurements of every component that would eventually fit the frame then I hopped into the CAD software I've been using for years and highly recommend called Autodesk fusion and began designing the 50 mm drone frame I went for a closed body look with two prong style arms to support the motors while considering basic aerodynamics I gave it some personality and a top cover with its name and for you fpv Fanatics I went as far as designing a cover to support a tiny 3-gram fpv camera having completed it you can find STL files for the finished ESP fly drone 3D model / design listed on Cults 3D with more design related info and 3D printing settings to get it made successfully to purchase the design click the page Link in the description below and go from [Music] there while the 3D printer heats up we'll drop the three files into the 3D printing software position them accordingly and apply the main list of print settings I've also listed on the 3D model page once saved to a memory card we can shove it into a 3D printer and again 3D printing out the drone's parts I've been asked by quite a number of you which 3D printer I use and I must say I'm very pleased with the one I'm currently using the Elegoo Neptune 4 plus aside from its obviously spacious build volume the number one thing that stands out for me is how fast it 3D prints without sacrificing on quality you're seeing its true speed what would probably take my old 3D printer over an hour to print print this one produces the drone's parts in just 30 minutes I also like how the flexible magnetic build plate allows me to pop the parts off easily without using a scraper all right let's look at the outcome no stringing no warping or any layer shifting I'm quite happy with the print quality knowing I used the printer as it was out of the box so if you want to learn more about the Elegoo Neptune 4 plus click the link in the description below and perhaps even obtain one however if budget constraints are what's holding you back from 3D printing you always have the option to make the PVC version of the Drone frame based on the outlines of the 3D model in 2D form I came up with the blueprint sheet for you to print out with an inkjet printer the bottom half contains the parts you need to cut out while in the upper half you have outlines According to which you need to bend the respective Parts download it for free Linked In the video description among the other project files taking a 2-inch hardware store PVC pipe with a thickness of 1 to 2 mm and length of at least 200 mm we can cut it open and heat it up with a stove hair dryer or heat gun to the point we can flatten it with something like a cutting board to end up with a PVC sheet with some glue stick we can stick on the sheet of outlined parts to cut out and begin drilling holes in the marked areas either with a drill or by hand with a screwdriver from here we can either use the scoring method with a hobby knife or a rotary tool to cut out the parts one by one if you do this make sure you wear a filtered mask [Music] once peeled from paper we can sand the parts of the point they're less than a millimeter in thickness for weight management going from 11 to just 5 G these parts are now light enough we'll need to bend each of the four motor holders frame head head inner frame and outer frame pieces according to the outlines I made on the blueprint sheet with all of these bent accordingly we can begin supergluing the parts [Music] together for the frame head to fit in three corners poking inward will need to be trimmed off [Music] we'll also put some pieces of PVC on the inside to support the boards and to top it off assemble the top [Music] cover with that we've just turned 11 G of flat PVC into a complete DIY drone frame weighing just 6 G the Drone will still fly with the VC frame despite being 2 G heavier but I'll go with building my drone on the 4 G 3D printed frame for its detailed and highly accurate design moving on to making the drone's electronics to design the circuit board that holds all the components together I'll jump into my goto PCB design software instead of manually searching for each component I'll use its AI assistance to place them directly onto the canvas saving time and keeping my workflow smooth from here I'll wire up the motion sensor to the microcontroller building out the schematic I'll also bring in my 4channel motor driver circuit from the last project and integrated along with the drone's head and tail lights with the schematic complete it's time to lay out the PCB the top layer will handle motion tracking while the bottom layer manages motor control and power distribution while working on the copper fills I just so happen to run into a small issue but the AI co-pilot quickly guides me through the fix that looks better now I can move on to routing traces across all four layers co-pilot's tips on minimizing electromagnetic interference help ensure stable performance especially around the more sensitive components after a final review I can say the design looks solid and it's ready to be exported as a gerber file if you're interested in designing your own pcbs you can try out flux through the link in the description below and to download the Gerber file for the drone's PCB find it within the same folder containing all the other project files linked below as well once saved upload the Drone boards Gerber file to JLCPCB the easy affordable and reliable PCB manufacturer to get an instant quote for board specs set the layers to four choose your desired boards quantity set 1.2 mm as the thickness and pick a board color green is the fastest and most cost-effective option don't forget to select remove mark down here and that's it add it to your cart choose shipping and payment options and place your order it's as easy as online shopping while the factory gets to work you can track your order in real time from the 24-hour Lightning Fast production to the shipping and just like that the pcbs have arrived jlc PCB delivers highquality 1 to eight layer pcbs at unbeatable prices as low as $2 their strict quality control brings you picture perfect reliable pcbs just like these for my drone from my experience JLCPCB truly makes getting PCBs easy affordable and reliable it works so grab $60 in coupons upon signing up and order your drones PCB through the link in the description below along with ordering the pcbs I highly recommend you order an SMD stencil based on the PCB Gerber file as it'll make your life so much easier when applying solder paste onto the board for all of the surface mounted components to sit so let's go ahead and secure one PCB with another four arounded taped down to prevent it from wriggling and then secure the stencil above aligned perfectly with the pads with a generous blob of solder paste spread all over the holes and then scraped off we can carefully remove the SMD stencil leaving behind the neatly coated [Music] pads now for the PCB assembly I'm using surface mount components found in these reels ordered from Amazon let's start by picking and placing the indicating LEDs facing out resistors and capacitors according to their labeled [Music] values when it comes to placing the mpu 6050 motion tracking IC we need to align the dots for correct orientation the chip can be bought in tape reels or salvaged from a sensor module like I did now we can gently pick up the board and place it on a SMD hot plate to be Reflow soldered here's how the completed sensor side of the board looks now we can flip it over to the bottom side and give its pads there some solder paste with the other stencil cutouts this side of the board mainly handles the driving of [Music] Motors we'll pick and place LEDs for head and tail lights MOSFETs flyback diodes pull-down resistors and filtering [Music] capacitors since the components on the other side prevent us from Reflow soldering we'll need to solder each component by hand using a soldering iron and a pair of tweezers here we'll come in and solder the jst battery connector for power input [Music] and our IMU or inertial measurement unit / motor driver module is complete weighing only a gram wow does using a PCB keep things super Compact and lightweight but if you don't have the tools to make this board use jlc's PCB assembly service to make you a ready to use board that you can start using right out of the box when ordering the PCB don't forget to submit the PCB assembly option and ensure you select that you want components on both sides upload your bill of materials file and pick and plays file linked below only then order the board instead of just Standalone pcbs you'll be sent the finished board with all the components soldered on for you now it's time to give the quadcopter its brain for that I'm using the XIAO ESP32S3 from Seeed Studio and their lineup of cute thumb-sized microcontroller boards size and efficieny are key in a Micro Drone and this board Nails both will Bridge battery power with short wires and and mount it using pin headers keeping orientation in mind I chose it for its small size of 21x 17 mm perfect for flight but despite its size it runs two cores and packs plenty of processing power to juggle running the drone's firmware with built-in low latency Wi-Fi it handles real-time control without extra modules unlike my mini Arduino fpv drone project from 2024 another big plus the built-in battery management system lets it run directly off a battery that you can can charge via USBC plus its low 100 milliamp power draw helps extend flight time critical for the lightweight drone it's the perfect fit minimal powerful and efficient you'll see it in action once we start flying the ESP fly to buy the board I've linked different stores in the description below this video so check it out now this compact flight controller stack is ready to be installed but just before we do let's give the Drone some personality by coloring in the debossed areas on the parts of the drone's name customization and last but not least my branding now it definitely stands [Music] out now let's continue the assembly by adding the battery strap which is a small zip tie laced through with the one cell battery inserted we'll clip off the excess and continue by installing the 6X 15 mm Corless motors with a shaft diameter of8 mm when you buy these check you get the two clockwise and two counterclockwise motors which can be to apart by wire color we'll clip the connectors off exposing the wire ends which get tinned based on my quick motor test with the flight controller this is the order in which the motors get connected to the board but before connecting them we'll need to insert all four Motors into the frame like [Music] so and then we'll push the wires through the holes designed specifically for them followed by tucking the exposed parts of the wires into the Drone arms nice and tidy huh with the wires sticking through the inside only then do we connect each each pair to their designated motor pads on the motor driver side of the board the extra room inside the Drone will fit the length of wires as we push the flight controller into its place to prevent things from moving inside we'll follow up with some super glue dabbled on the corners while we're at it we'll even give a drop to each motor without overdoing it to make the drone's landing gear or legs will take advantage of the motor holder regions designed with a couple of holes each to accommodate 1 mm wire knowing that we'll cut four 25 mm sections of solid core jumper wire normally used to connect circuits on breadboards and bend these in a v-shape inserting them into the arms secured with super glue once firmly mounted the ESP-FLY has its [Music] legs next let's modify the antenna that came included with the XIAO ESP32S3 from Seeed Studio by desoldering the flex PCB part of it stripping the antenna wire end from its plastic coating and stranded wire Shield exposing an enameled section of the antenna we'll connect it to the XIAO and bend the antenna wire in such way to get to the right side of the Drone where the top cover slides over [Music] it for the propellers commercial ones work best will go with a set of gem fan Tri-bladed props for 0.8 mm shaft Motors like these we need to be careful when attaching these so that the rotors do not pop through the bottoms of the [Music] motors replacing these can be easily done with the included prop removal tool to tell what's front and back when it's in the air I suggest using different colored props for the rear Motors if you've attached the propellers correctly air must blow downward when spinning this way in flight or else your drone will not fly for the drone's battery I recommend picking one anywhere from 150 to 300 milliamp with at least a 25c discharge rate for best results it means batteries with battery management boards won't work as they don't supply enough current charging the drone's battery can be done either one of two ways if you have many to recharge use a multi-charger like this this one that may come with a set of batteries you purchase but if you're left with only one battery charging it can be done via the same USBC Port that is also used to program the [Music] microcontroller speaking of which that's what we're about to do with the help of a [Music] computer using the Powershell command line interface from a development framework called the ESP IDF specifically for esp32 chips we're going to flash the firmware onto the Drone called ESP drone by Espressif the ESP chip manufacturer originally made the open- source ESP drone project built on a PCB which was inspired and heavily contributed by bit craze with their crazyfly drone which is known for being used in drone swarms creating coordinated formations of different shapes in the air for more technical info on the ESP-drone, Espressif's documentation linked below has it all shout out to Circuit digest and engineer Jobit Joseph from India for their blog and video on the ESP drone making it more accessible to Makers like me also thanks to Dr electronics for helping me get set up with the firmware he made a nice video on his PCB version of the Drone I've linked their channels and other contributors in the description if you want to check them out so to flash the code you'll need to download the framework assuming you don't have it yet I've left a link below to open the page where you download the 5.0.7 version of ESP IDF that is 0.96 GB
save the exe file open it and go through the straightforward installation process ensuring you select the Powershell and esp32 S3 related boards to be installed when asked once installed and opened this is how the ESP IDF Powershell should look like for the firmware you can either check out jobit Joseph's Git Hub for his version of ESP drone which requires some configuration changes to work with my drone or save time by using my adjusted version with all the correct Hardware settings you'll find it along with the other project files linked below once downloaded open the folder get inside firmware and into the folder called - drone right click to copy the folder's address as text then in the Powershell type cd space and then hit control V on your keyboard to paste the folder address and hit enter when this new command line appears based on the address here comes the flashing of the firmware type IDF.py space -p then go to your computer's device manager and identify the com Port the connected drone is using mine happens to be on Comm 6 but yours might be different so I'll type that in followed by typing flash Monitor and hit enter this action both flashes the firmware to the Drone and allows you to monitor the output log which looks like this if you've done everything right you should see a line saying ready to fly now if you see these specific sensors CPU or driver warnings Don't Panic that's simply because these are not being used by the Drone but what you do want to see is that the motion sensor chips connection is okay and a visible access point network with its password and all the other elements are in green only then will you get the ready to fly message appearing now for those of you who want to make changes to the firmware to suit it to your specific drone's needs type IDF dopy menu config which opens up the configurator menu That's operated entirely from your keyboard in ESP drone config you can select the chip you're using decide if you want a buzzer added enter the pins for communication lines sensors LEDs Motors and the pins on the ESP that they use if you do make any changes do it at your risk because everything is set to work with the ESP fly at as it is don't forget to save your changes before exiting this configurator and Flash the code to apply the changes now you know that if you want to access more advanced drone settings to get the most out of your drone like you would in beta flight open the crazy fly client by typing cfclient in the Powershell an interface like this should pop up and as long as you're opening it on a computer with a Wi-Fi connection it should work and your computer connect to the drone's access Point Network and type in its password which is numbers 1 through 8 you'll want to click on input device up here and configure device mapping close this window quickly select the UDP address in the top left and hit connect to see the battery voltage a visual of how the motion tracking sensor is working with the pitch roll and yaw values displayed below to the left you can even select the advanced flight mode where you can change things like trim rates thrust thresholds and more to get the most control out of your drone after adjusting those settings we can unplug it and move on to installing the app on our phone to control the Drone which will start by powering up and ensuring we place it on a level flat surface where it performs its calibration that's only indicated Successful by each of the motors spinning then we'll go to our phone's settings under Wi-Fi and connect to the drone's access point Wi-Fi network if you're doing this for the first time you'll need to enter the password which again is 1 2 3 4 5 6 7 8 then we can head over to the ESP Drone app and connect to the Drone but where do you get the app you ask for iOS find it on the app store or for Android go to the description below and tap on this link that opens the app installation page scroll down and hit this install button and download the APK file to your device you might need to enable install unknown apps in your phone settings to make the download go through once installed and opened you'll be met with this controller interface to pair with the Drone tap the connect button in the top right corner the drone's green LED should light up confirming the connection now you can start flying right away but to get the best possible control of your drone tap the settings icon in the top right here you can adjust flight control settings such as the joystick modes pitch and roll trim to stabilize the Drone and keep it flying steady if it ever tends to Veer off one side then you can enable advanced mode for increasing angles and thrust values in controller settings you can decide if you want to control the Drone via tilting your device or normal joystick control and adjust the joystick size how you like this button on the left when turned off Locks the yaw movement but I find it only limits the drone's ability to move it's best to keep it enabled for some reason these five buttons and icons do not work if anyone in in the comments can suggest the solution that would be appreciated if you haven't flown a drone before the controls are fairly easy to master moving the left joystick up increases throttle moving it left or right is the yaw and steers the Drone either way the right joystick handles pitch and roll to move the Drone in any direction forward backward left or right and the ESP fly is Airborne [Music] he [Music] this drone is a blast to build and fly but where do you get the electronics knowhow for projects like this Elektor magazine read it to get expert insights Hands-On projects and deep dives into mastering Arduino esp32 and much more and for a limited time you can grab a one-year elector green digital subscription at half the price so don't miss out hit the link below and become a member now let's see if the Drone passes my 50 m range test cuz anything beyond that you already don't see the darn thing this clip is a bit sped up to save you time and here it is already do you hear that it just flew past the camera which means it passed you know its range is decent when you can fly it out of sight all right let's see for how long it flies on the 250 milliamp LiPo battery [Music] 3 and 1 half minutes still going strong it is holding pretty stable it's quite smooth still no battery warning at the back all right now we're getting a little battery [Music] warning I'm having to apply a little bit more throttle oh that's it whoa almost 5 and 1/2 minutes impressive if the battery warning LED is hard to notice swap it out for a tiny active buzzer this way you'll hear beeping when the battery is low and can land the Drone in time what makes flying it for a long time possible is its weight of 18 G and with the battery it is Airborne at 25 G while my mini Arduino fvb drone weighs 24 G without and around 30 G with a battery to give you a comparison with a past project of mine from 2024 the ESP-FLY is also 2/3 the size of my Arduino drone one is phone controlled while the other requires you to build a dedicated transmitter if you're interested in making a drone from modular Electronics feel free to watch my Arduino fpv drone build video after you finish watching this one but for cost performance and ease of setting up the ESP-FLY is a win in my book what makes this ESP drone so powerful aside from its lightweight design is that each motor generates 17 G of thrust with these three bladed propellers that's a total of 68 G of thrust against its 25 G weight giving it a 2.7 to 1 thrust to weight ratio according to this chart that makes it perform great even in heavy winds so if you really want to get the most out of this drone Take It Outside and let it rip for you fpv Fanatics I thought how could this drone not have a camera so I wanted to do you a favor and designed a second cover for the Drone that can hold a WT07 3 G micro fpv camera like on my Arduino drone if you choose to install it cut the green and yellow on-screen display wires short and twist them together to allow for video feed then simply connect the camera's power input wires to the battery connector on the bottom of the board [Music] once connected mounted and powered up it's time to connect you to the drone's new eye for my setup I'm using a basic iflight 5.8 GHz fpv headset you'll want to bind the camera to your goggles by tuning into the matching Band and Channel with an auto search and just like that you've got a live first person view video feed now you can really dominate your living space from my past test the camera packs a video transmission range of well over 100 m without exceeding its limit yet the quad with the camera feels a little heavier to fly and may stay in the air for about a minute less than without it but it still loads of fun [Music] that was fun so if you're ready to build the ESP-FLY drone check out my full tutorial blog on Elektor Labs packed with more in-depth guidance it's the step-by-step written guide I put together for you with extra tips to get your little drone off the ground scroll down to the description for the page link along with all the other resources you need to start building your fly thanks for watching and remember if you can imagine it you can make it till next time ah ah [Music]
2025-03-21 23:57