velvet
Posts: 6
Joined: Mon May 12, 2014 8:13 am

PI controller quadrocopter

Thu Jun 12, 2014 6:49 pm

A few weeks ago I was here asking a question on how could I possibly control a quadrocopter with the PI. I got some really helpful replies, and finally I am done with it. (well, not quite done, I have a lot of projects ahead of me now)
The reason I post this here is that I would like contribute back to this awesome community here.
Link to the pics:
http://imgur.com/a/UPVZA

If anyone's interested I can post the source to control it too. (a warning: it is preeetty ugly right now) Basically I created a webserver on the PI and then started a websocket. You can connect to the PI through the Wifi stick with your phone and just go to a website and use the controllers there. I didn't see the point of getting an RC transmitter, it is much easier this way. And hey, the wifi stick has a range of ~100meters, so it's not bad at all. Latency is around 100ms, which is also perfect for me.

I used joan's pigpio library to send pwm pulses to the control board through the gpio pins.

If someone's trying to do the same, feel free to ask me. I hope this will help someone someday.

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: PI controller quadrocopter

Fri Jun 13, 2014 1:59 pm

hi Velvet,

congrats on the quadcopter, I'd be interested in seeing your source code. I'm planning on using something very similar with my Dalek so I'd definitely be interested in seeing your solution.
Doug.
Building Management Systems Engineer.

Return to “Advanced users”