I am completely new to electronics in general but I am excited to work with the Crazyflie for a project. I am lost in programming the Crazyflie and I was wondering if someone could walk me through it. I already have the Bitcraze Virtual Machine working and I just need to know each programs' roles. Also, I am curious how you can incorporate code from GitHub into the Crazyflie. Thank you in advance and I appreciate any help.
Re: Crazyflie Programming
Posted: Mon Apr 07, 2014 12:19 pm
by marcus
Hi,
We just discussed this and realize that we don't really have a good overview of how the different software fit together. So we will try to document this with an image on the wiki, but for now here's a short run-down.
crazyflie-python-clients: PC side client used to log/control the Crazyflie and also update the firmware. Also contains a Python API that can be used for other applications
crazyflie-bootloader: Bootloader that runs at power-on of the Crazyflie. This allows updating the Crazyflie application firmware via the radio
crazyradio-firmware: The firmware that runs on the Crazyradio USB dongle and allows communication with the Crazyflie. This repo also contains scripts for updating the firmware in the Crazyradio dongle
crazyflie-android-client: This is an Android application that allows flying from a device that supports USB OTG that allows you to connect the Crazradio
Aside from these there are also Java, C/C++ and Ruby APIs (among others) available on GitHub that are developed and maintained by users.
Most users are interested in the Crazyflie firmware or the Crazyflie python client. The source-code for both are available on GitHub and in the Virtual Machine. Here's a short video tutorial on how to rebuild and flash the Crazyflie firmware:
Re: Crazyflie Programming
Posted: Wed Apr 09, 2014 1:18 am
by asaddler
Thank you, this clears things up a little, I appreciate the help
Re: Crazyflie Programming
Posted: Sat Jan 30, 2016 7:04 am
by muhamriaz4
Hey.
Is it possible to write a code to program the crazyflie to communicate with an nrf24l01 using an arduino?
Re: Crazyflie Programming
Posted: Sat Jan 30, 2016 4:36 pm
by chad
muhamriaz4 wrote:Hey.
Is it possible to write a code to program the crazyflie to communicate with an nrf24l01 using an arduino?
Bitcraze did a hack a while back that made the Arduino communicate with the Crazyradio through the radio's serial port. Unfortunately there is no further documentation on the effort yet...
Re: Crazyflie Programming
Posted: Wed Feb 10, 2016 9:56 am
by muhamriaz4
Hey. Thanks for the reply. We got it working by using the code initially provided by tbitson: