Crazyflie: the tiny research drone students can learn from

6 min read
A tiny quadcopter resting on a student's open palm, with a small laptop and a gear icon beside it.

In this post

Have you seen a palm-sized drone in a research video and wondered what it was? There is a good chance it was a Crazyflie. You can learn a lot from this tiny drone without ever holding one, because the code that flies it is open for anyone to read.

Key takeaways

  • The Crazyflie is a nano quadcopter from Bitcraze with open firmware, used in research and classrooms.
  • You can learn from it without owning one: read its firmware, follow its issues, and see how a real open project works.
  • Start today: open the official repository, read the README, and pick one thing to explore.

What is the Crazyflie?

The Crazyflie is a nano quadcopter used in research and classrooms. A quadcopter is a drone with four rotors, and “nano” means it is tiny. A bigger drone can sit on a table, while this one fits in your hand. What makes it interesting for a student is its firmware. Firmware is the program that lives on the drone’s own small computer and keeps it in the air. The Crazyflie’s firmware is public, so anyone can read it on GitHub.

A small quadcopter beside a laptop showing folder icons and abstract lines, joined by an arrow.
The code that flies the drone is public, so you can read it from any laptop.

Who builds it: Bitcraze and its community

The Crazyflie is made by Bitcraze, and the firmware is maintained in their official repository. Open-source projects are rarely the work of one team alone. The repository’s contributors page lists the people who have added code, fixed bugs and improved the documentation. On the repository page you will also see the project’s licence. A licence is the set of rules for how you may use, change and share the code. Read it there, in the project’s own words, rather than relying on anyone’s summary.

What can a student learn from the Crazyflie?

You don’t need a drone in your hands to learn from one. A public project like this gives you three things to explore. Treat them as paths you can follow, not boxes to tick.

Read real flight firmware

Most of us learn coding from short exercises. Real flight firmware is different: it is a large, organised codebase that has to work every time the drone flies. Browsing it shows you how engineers split a hard problem into folders, files and modules. If you are new to flight code, it helps to know the basic job it does. Almost every small drone runs a loop like this, many times a second:

forever:
  read the sensors (how is the drone tilted and moving?)
  estimate where the drone is pointing
  compare that with where the pilot wants it to point
  work out the error
  adjust each motor's speed to fix the error

That loop is the heart of a flight controller. If you want the full background first, read what a drone flight controller actually does. Then open the Crazyflie repository and see how a real team organises the code around that job. If code feels like a wall, you don’t have to climb it in one go. Our drone programming learning path breaks it into small steps you can follow at your own pace.

See how an open-source project is run

A public repository is a window into how engineers work together. Here are the parts worth knowing:

  • README: the front door. It explains what the project is and where to start.
  • Issues: a public list of bugs, questions and ideas. Each one is a real problem someone hit.
  • Pull requests: proposed changes to the code. Others review them before they are accepted.
  • Contribution guidelines: if a project has them, they explain how to help and what reviewers expect.

Reading a few issues from start to finish teaches you something no textbook does. You see how people describe a problem, test a fix and agree on a change. That is how a lot of real engineering happens, in public.

A doodle of a question bubble, a gear and a checkmark joined by arrows, showing a problem becoming an accepted fix.
In an open project, a reported problem turns into a proposed change, which is reviewed before it is accepted.

Why researchers like small open drones

Why would a researcher pick a drone this small? Open code is the first reason: if you want to test a new idea for how a drone flies, you need to read and change the code that flies it. A closed system would keep you locked out. Size is the second reason. A small drone needs less room for testing. When an experiment goes wrong, as experiments often do, a small drone also makes a crash less costly.

Start today without owning one: a 4-step checklist

All you need is a browser and about half an hour. Here is your plan for this week:

  1. Open the official repository. Go to github.com/bitcraze/crazyflie-firmware and look at the top-level folders. Guess what each one holds before you click.
  2. Read the README. Note in one line what the project says it is, and where it tells newcomers to begin.
  3. Browse the open issues. Pick two that you half understand. Write down what the problem is and what people suggest.
  4. Write down one thing to learn next. It could be a term you looked up, a file you want to read or a skill you lack. For more ideas, see these drone projects you can try in India.

If you liked this, see ESP-Drone too

ESP-Drone, by Espressif, is another open small learning drone you can explore the same way. We walk through it in ESP-Drone: an open ESP32 drone, and its code is on Espressif’s GitHub.

Frequently asked questions

What is a Crazyflie drone?

It is a nano quadcopter made by Bitcraze, used in research and classrooms. Its firmware is open, so anyone can read the code that flies it.

Is the Crazyflie open source?

Yes, the firmware is public in Bitcraze’s GitHub repository. The licence is shown on the repository page, so check the exact terms there before you reuse any code.

Can I learn from the Crazyflie without buying one?

Yes. Reading the firmware, the README and the issues needs only a browser. Start with the 4-step checklist above.

Feel how a small quadcopter flies, for free

Reading flight code is one half of the picture. The other half is feeling how a small quadcopter responds when you push the sticks. Try the free Aasma flight simulator in your browser at sim.aasmaaerospace.in. There is nothing to install, and you get 6 missions to fly with your keyboard. Read more in our guide to the free online drone simulator. Should a beginner start with a small learning drone like this, or with a full autopilot like ArduPilot or PX4? That is where we are heading next. Build it. Fly it. Code it.

Try it in the simulator

Free, in your browser. Nothing to install.

Share with a friend who builds drones

Fly a drone in your browser

Free, six missions, nothing to install.

Teaching drones at your college?

We run hands-on workshops in your lab, with our drones and this simulator.

Keep reading

Scroll to Top