Pandora Pandora as Crazyflie transmitter?


tarwin

Still Fresh
Joined
Jan 29, 2009
Messages
16
I just got a crazyflie (tiny quadrocopter with USB based transmitter - everything with open firmware and sdk - Picture) and was starting to build a mobile ground station out of a raspberry pi... when I saw my (slightly dusty  :unsure: ) Pandora on my desk. 

The pandora would really be the optimal ground station for the crazyflie! USB Host for the crazyradio, fast enough for the python based control script, portable, open, awesome.

Sadly, the OS does not recognise the Nordic chip on the crazyradio.

Dmesg shows '... unable to enumerate USB device ...'. 

Desktop Ubuntu recognises the transmitter as follows:

lsusb:

Bus 002 Device 005: ID 1915:7777 Nordic Semiconductor ASA

dmesg:

[   51.816797] usb 2-2.2: new full-speed USB device number 5 using uhci_hcd

[   52.044208] usb 2-2.2: New USB device found, idVendor=1915, idProduct=7777

[   52.044214] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=29

[   52.044217] usb 2-2.2: Product: Crazyradio USB Dongle

[   52.044220] usb 2-2.2: Manufacturer: Bitcraze

[   52.044221] usb 2-2.2: SerialNumber: xxxxxxxxxxxx

No additional modules show up in lsmod. 

More links:

http://wiki.bitcraze.se/projects:crazyflie:index

http://www.bitcraze.se/2013/04/pc-free-crazyflie-controllers/

http://wiki.bitcraze.se/projects:crazyflie:pc_utils:pylib

It would really be awesome to get this to work! Any Idea how to get the Pandora to recognise the Crazyradio? 

 

Thanks,

Tarwin
 
Is it a USB Hi(gh)-speed (480MB/s, sometimes incorrectly referred to as USB2.0) device?
 
Interesting gadget :)   but a little bit pricey

Like Binky suggest have you tried to use an USB HUB ? and remember to enable USB Host Mode first
 
[   51.816797] usb 2-2.2: new full-speed USB device number 5 using uhci_hcd
It's a full-speed device.  The transmitter will definitely need to be connected via a hub to work correctly. 

- Neelix
 
Hi Tarwinator! Your help in this thread would be appreciated! :)

http://forum.bitcraze.se/viewtopic.php?f=6&t=114&p=560

In short, I would LOVE this to be supported somehow :p

Here's a video of me flying one using a normal laptop:

https://www.youtube.com/embed/videoseries?list=UUzz4Xq0klO5GLC8d2aZh0ag

Ideally we can use the arm compiled version they made for the raspberry pi for python, which has no gui and runs much faster. The host is essentially the controller then!

I have a hub, so can connect it properly. But I have been asked to give a syslog on the crazyflie forums. I'm not sure how I can get the information needed but I'll try.
 
Last edited by a moderator:
Just put myself on the notify list for one of these.  I have always wanted to build a Quadcopter but the Servo and Nuts and Volts variations are much bigger and cost much more(duh).  

Edit: Just noticed that there are two gets and one is available.  Don't know the difference yet, dont have time to check before I need to leave the house.
 
Last edited by a moderator:
Looks funny but to fly a copter I need my Transmitter from Spectrum, or any other "real" RC transmitter.
 
Live - The difference is the 6DOF and 10DOF - in other words the amount of sensors.

The firmware for all of them is the same - 6DOF. The 10DOF means a Magnetosphere and barometer is added. Someone could add support for them if they wanted.

For cheapness, might as well get the 6 dof.

And yes these are effing fun to fly - hence why I want to use the OP instead of lugging a laptop around :p
 
Also, the pandora's gaming controls are far better suited (although not perfect) to RC than a laptop keyboard
 
Last edited by a moderator:
Got a chance to read through the specs of both. Thanks for giving me a synopsis here.  Purchased a 6DOF via Express mail yesterday.  Looking forward to helping with making this work on the Pandora.
 
@Letalis - Haha, that's so crazy, it's worth doing.

It runs in python, and t he input devices are fully configurable - pick a function, then move your input device axis pretty much.

Like I mentioned before though, OP Would be the eventual goal.

Flying it more today, and getting fairly competent - enough to fly around objects at a decent speed.

As I see it at the moment, I need to do one of the options here:

Try to get it to run on angstrom:

- Need to install Python 2.7, pyGame, PyUSB, libusb.

Or Alternatively, put a distro on a sd card, and go from there. Havn't done that before with the OP though.
 
My kit arrives tomorrow.  Any advice on the build from the guys here that have built one already?
 
Sorry for the late reply, seems the forums mails were getting spamfiltered... 

I had no powered usb hub lying around but I tried it with something like that: 

http://www.oppoforums.com/threads/usb-otg-externally-powered-usb-otg.2083/

"unable to enumerate USB device on port 2"

And I tried it with directly attaching 5v to the crazyradio:

"unable to enumerate USB device on port 2" 

Any ideas? =( 

-T

<edit>

Ah, brainfuck. I didn't get the bit with the usb hub changing full speed to high speed.

@Super Roach: Thanks for the link!
 
Last edited by a moderator:
It works with an active USB hub! 

Now, lets get to work. =D

-Tarwin
 
No news on the software side of things, but I got an Mini USB OTG cable it worked with that as well. =) 

Sadly (or not) I'm of to vacation the next two weeks...
 
Last edited by a moderator:
Arrgh!  I wish I had the hardware!  I have wanted to wire my Padoras' up to my RC gear for a long time.  I'm currently flying mostly park-fliers with standard stuff (Spektrum, Turnigy9x, etc.) but have had my eyes on the wifi receivers for RC that are out there - basically just servo control over normal wifi, so yeah .. the plane bonds to your wifi, you control it over multiple tcp/udp connections. :)

Anyway, keep us updated guys, some of us are watching this thread with much envy!   :)
 
Back
Top