Blog

It’s been a really hectic last couple of weeks and we are now very close to shipping the first batch of Crazyflies. It is a very big step for us so we would like to start by thanking you for your support! We wouldn’t be able to do this without your support and we really hope you will be pleased with the product and that it lives up to your expectations!

There are some updates to the pre-order kits which we hope you will be happy about. We have added two extra propellers in each kit. We have also updated the motor mounts to real moulded ones which should be easier to work with and more durable. They don’t require any glue, handles impacts and vibration better. The 3D printed motor mounts was not a viable solution when the volume increased so we have been working really hard on getting these ready in time. Since the new motor mount wasn’t available to order as a spare part during the pre-order, we have include a spare one in the kit for you.

Assembled Crazyflie with new motor mounts

Assembled Crazyflie with new motor mounts

The pre-order shipments will start as announced, on Apr. 25th, and finish on Apr. 30th. Orders will be shipped out in the order they where placed so second batch orders will be shipped a bit earlier with the last order going out on Apr. 30th.  Since Seeedstudio got a lot more pre-orders than expected, the first batch orders will need some more time for packaging and delivery and couldn’t all be shipped on Apr.25th, please understand.

Keep in mind that we are still doing development on both the firmware and software as well as continuously updating the wiki. So once you get your Crazyflie visit our page to get the latest updates and information on how to assemble the kit and start flying. Updating the firmware only takes a few minutes and you will get the latest features.

Thank you!
Bitcraze

So, like we wrote last Monday, we are visiting Seeedstudio in Shenzhen, China. It’s been a great visit and we have gotten a chance to see both the Seeedstudio offices, the production and a bit of Shenzhen. And of course we also got a chance to do some shopping at the local markets. If you ever happen to find yourself in Shenzhen make sure to drop by the SEG Electronics Market, it’s a great place for electronics enthusiasts such as us!

Since we had some problems getting vacation all at once from our employers we decided to travel separately and overlapping each other a bit. Tobias left first and then me and Arnaud a couple of days later. After roughly 22 hours of travel we landed in Hong Kong and took the bus/train to Lo Wu to the Chinese boarder. Since I went traveling the week before and I couldn’t send my passport for the visa application we took the chance that we could apply for one at the boarder (after reading about it online). Turn out that it’s very easy to get a visa for the Shenzhen area (not all of China) at the boarder at Lo Wu. Took about 5 minutes and cost between ~130 yen. Just note that it’s not all nationalities that this applies to and the rules seem to change every once and a while.

Meanwhile Tobias spent his time visiting Seeedtudio and got to see the production. All the PCB assemblies was already done but the testing was running full speed. We use a simplified bed of nails test-jig that does the programming and tests voltages, current, battery charging, motor drivers etc. It is working very well and every Crazyflie plus Crazyradio takes about 2 minutes to program and test.

Visiting at Seeedstudio was great! We have been mailing and talking on Skype for the last 18 months with lots of people there and it was great to finally meet them in real life. Of course we got a guided tour around their offices which seems like a great place to work, lots of electronics everywhere :-) We also got a chance to catch up on the progress for the production. There’s lots of practical problems to solve when we scale up from only doing prototypes to full production, such as test-rigs for the Crazyflie.

After doing some research online we decided to head for the SEG Electronic Market to check it out and do some shopping. Inside it’s like a bazaar filled with small corridors and little booths selling all kinds of stuff. And this continues for 9 floors! On the first two floors you will find mechanics, electronic components, measurement equipment, leds, cabling… The list just goes on, they even had a small pick and place machine for prototype batches. Continuing upwards it becomes more and more computer hardware like graphics cards, mother boards, memory and hard-drives. These floors also have stuff like routers, cameras and tablets. Going even higher up everything is put together and you can buy laptops and computers. Its really amazing the diversity of things you can find, we even saw some cashier machines. Walking from the bottom floor upwards we really got the feeling that as you get higher things get more and more assembled. And everything is very cheap, for example we bought 300 pogo-pins in different variations for 100 yen (~16 USD), but expect the quality to be there after.

So what did we end up buying? Well, lots of stuff! We bought a lot of prototype stuff that we will use for the Crazyflie like cables, antennas, screws and batteries. And we also found a really nice USB microscope with a stand that does 500x magnification :-)

We uploaded some photos to our Picasa album for Seeed/Shenzhen.

Seeedstudio reception

 

This week and the next we will be visiting Seeedstudio for the first time so tonight we have been finalizing the travel plans! That might sound easy but it’s been a bit like solving a puzzle since we have to take vacation from our day jobs to go, and each one of us has slightly different vacations.

The purpose of the visit is to get a chance to finally meet everyone that we have been talking/mailing with during the last 18 months and also helping out during the final testing stage. And of course it will be really great to visit Shenzhen and fill our luggage with electronics for our trip back :-)

As for the production it’s still progressing according to schedule, we will post actual photos of the boards as soon as we see them :-D.

Map Copenhagen airport to Seeedstudio

Even though controlling the  Crazyflie with a PC is quite unique and permits a lot interesting things to be done, like controlling Crazyflie with a webcam or getting realtime telemetry, we have also been looking at controlling it with a, pc-free, standalone controller.

Current (unfinished) implementation of a standalone controller are using Crazyradio as a PPM to CRTP converter, a very experimental Android app, and using a raspberry pie as ground station. This week we finally managed to fly Crazyflie with an E-Sky transmitter:

Crazyflie standalone controllers

The transmitter is using a nordic-semiconductor chip compatible with our radio. The protocol is also well documented by dvdouden et al. It is using a power amplifier and uses a channel hopping scheme which makes the radio link quite secure.

Code to support this has been in the repo for a couple of week but a problem was that, by default, this transmitter was mixing pitch, roll and thrust channels which made the control of our Crazyflie nearly impossible (pitch and roll was changing by increasing the thrust ….). This week-end, we discovered two switches in the battery compartment, with which you can disable the mixing, and by doing that suddenly the Crazyflie is flying! There are still some work left to make RC transmitters works as good as a gamepad but the current source code is good enough to fly. Overall we have observed that a gamepad is really ideal to fly the Crazyflie in a fast and dynamic way. By comparison RC transmitter benefit by having more precision, mostly for the altitude control, but we are not used to it and it does not feel that ‘fast’ (our opinion).

As for the pre-order production, it is still going forward as planed. Testing of the first production samples  are finalized and now all the PCBs has been manufactured. The expected time of shipping is still according to the Seeedstudio Crazyflie product page.

We just received the first 10 sample boards from the production at Seeedstudio :-D

DSC_0210e

So far we got time to test only two boards and they are working. We have finalized the firmware, bootloader and production scripts so now it has really started :-)

Nothing new exiting about the production, it is still going as planned :-). Meanwhile we are focusing on stabilizing the Crazyflie firmware and its side projects.

This weekend we fixed a bug related to the memory allocation, which we have had a while now and that we never had time to track down. It kind of forced us to use heavier machinery so we decided to setup eclipse for debugging FreeRTOS threads and it happened to be very useful.

Since version 0.5 OpenOCD contains a rtos-awarness mode for FreeRTOS and, when painfully configured in eclipse, this allows us to observe the stack trace and the running state of all the tasks running on Crazyflie:

eclipse-threads

This helped us to track-down the bug much quicker and will greatly help us in the future. We also found a eclipse plugin, embsysregview, that enables one to show and analyse the peripheral register values, great little plugin!

The virtual machine will be updated with the debug environment and we will try to update the Wiki with the setup procedure.

The community interest for FPV flight made us buy a light weight analog FPV kits a while a go. We bought the 5.8GHz micro combo set from fpvhobby to do a first test. It took a little while to solder things together but it wasn’t that bad. We soldered the camera and the transmitter power to the VCOM voltage on the Crazyflie which is available on the expansion port. Then we taped the camera and transmitter to the Crazyflie and did a test flight.  The FPV kit is only about 3 grams which doesn’t affect the flight performances that much.

It was almost too easy, but as soon as we took off we noticed some vertical lines on the TV so maybe it wasn’t that easy. There seems to be some electrical interference, probably from the motors. Also the battery voltage drop generated by fast accelerations cuts the video feed after a couple of minutes of flight. We still think that there are some improvements to be done so hopefully it will work better in the future.

As for the production, so far it is still going forward as planned.

Finally an Alpha version of the virtual machine has been posted on the forum, you are welcome to test and report any problem/suggestion you may have :-).

As announced on the last Monday post and as well discussed on the forum, one of the things we are working on right now is to create a virtual machine (VM) that would greatly reduce the haste of getting the running/development environment up and running. The VM will be a Linux system that can run on Windows, Linux or Mac and that will be pre-configured to work with Crazyradio and Crazyflie. We are going to post the first alpha of this virtual machine during the week using Bittorrent so if you are interested to test it stay tuned to the forum!

As for the production of the Crazyflie’s things are running according to schedule, so far so good!

Also from the VM discussion we discovered that Mike has done a great job getting the Crazyflie client to work on Mac OSX. This is going to greatly help supporting Crazyflie on OSX.

Like we wrote last week we are busy with a lot of administrative stuff (box design, component sourcing, answering emails etc). But we managed to do a few commits to the crazyflie-pc-client during the week. We have also started preparing a virtual machine appliance that contains everything needed for development and flying. The idea is to make it easier for anyone that doesn’t want to bother about the pre-requisites. If you download Virtual Box or VMware Player, import the virtual machine appliance and pass the Crazyradio/USB game-controller into the virtual machine then you are ready to fly and do development.

If you missed the pre-order, don’t worry. The Crazyflie Nano Quadcopter Kit will be back in stock shortly after the last pre-orders has shipped. But we plan to split the special pre-order bundles so they will become three separate products: Crazyflie Nano Quadcopter Kit (6- and 10-DOF), Crazyradio USB dongle and the 2.4 GHz antenna.

So after three very busy weeks the pre-order will close today. We are really overwhelmed by the attention that the project hs gotten and number of Crazyflie kits that we have sold. We are also very excited about already getting feedback in the forum and by mail about new mods and features. If you have technical questions or suggestions post them over in the forum so we can answer them there and everyone can see the responses.

Currently we are finalizing the sourcing and test-plans for the production which will start very soon. We are also (as always) working on updating the wiki and answering questions in the forum. We added two new pages to the wiki: One about the Crazyflie Pyhthon API and one about how to contribute to our projects.

The upcoming weeks we will be busy with a lot of administrative stuff so don’t be worried if you don’t see any commits in the repos or new hacks, we haven’t stopped the development :-)