Search found 45 matches

by BillyBag2
Mon Aug 12, 2013 8:55 pm
Forum: Developer Discussions
Topic: OTG Mouse for stable flight. [ now SPI not OTG ]
Replies: 16
Views: 11554

Re: OTG Mouse for stable flight.

BillyBag2 wrote:So I think I am a bit snookered.
It looks like the voltage reg on the module has a ultra low droput voltage of 120 -200 mv. So VCOM from the battery is probably enough to drive the regulator. :) The ident is PHUI
by BillyBag2
Mon Aug 12, 2013 8:26 pm
Forum: Developer Discussions
Topic: OTG Mouse for stable flight. [ now SPI not OTG ]
Replies: 16
Views: 11554

Re: OTG Mouse for stable flight.

Ok? Power? The flie has 2.8v when disconnected from power and the vcom (I assume the battery power) is available. The device is 3.1 to 3.6 typical and has a 3.7 absolute Max rating. There is a "5v" regulator on the module board for working with a 5v supply. But I do not know the spec. I am...
by BillyBag2
Sun Aug 11, 2013 12:59 pm
Forum: Developer Discussions
Topic: OTG Mouse for stable flight. [ now SPI not OTG ]
Replies: 16
Views: 11554

Re: Mouse for stable flight. (adns3080)

I connected the adns-3080 to the rapberry pi and used the test code https://github.com/x75/adsn3080-emd , chopping out the bits that did not compile. This code is very simple and does not do any setup. It appears to work fine. Did not try getting the image. The code used the power on settings withou...
by BillyBag2
Sat Aug 10, 2013 7:29 pm
Forum: Developer Discussions
Topic: OTG Mouse for stable flight. [ now SPI not OTG ]
Replies: 16
Views: 11554

Re: OTG Mouse for stable flight. (Ok, maybe SPI)

Could not resist and I have ordered one. If I get it going I will try and remember to post some info. OK? Its arrived. (Please do not laugh) "Its a bit bigger than it looked on ebay." I do not have any good scales to wiegh it. I'm guessing from the kitchen scales it is between 8-15 gms. T...
by BillyBag2
Sat Aug 10, 2013 7:08 pm
Forum: Developer Discussions
Topic: Barometer assisted thrust.
Replies: 15
Views: 10286

Re: Barometer assisted thrust.

I had the first barometer assisted flight. Worked quite well. I think over a meter or two I was getting 10%ish swing on the thrust. (a guess) So now the thrust setting on the controller is abit more like height, rather than before where it was ether flying away or crash landing. I have not found an ...
by BillyBag2
Sat Aug 10, 2013 6:57 pm
Forum: Developer Discussions
Topic: Barometer assisted thrust.
Replies: 15
Views: 10286

Re: Barometer assisted thrust.

Oh, and you probably want to smooth the signal. I found pressure = pressure * 0.92 + new_pressure * 0.08 worked best. After looking at the code I read the spec for the device. I have not looked back at the code(yet). It's quoted worst convertion time is just under 10ms, which gives you ypur 100Hz w...
by BillyBag2
Fri Aug 02, 2013 12:47 pm
Forum: Developer Discussions
Topic: Barometer assisted thrust.
Replies: 15
Views: 10286

Barometer assisted thrust.

Hi all, I have been looking at getting the crazyflie to hover. The current efforts are towards barameter assisted thrust. By measuring the barometer at the start and then appling a small, propotional, correction to the thrust I am hoping to increase the height stability. Propotional is easy as the s...
by BillyBag2
Thu Aug 01, 2013 9:30 pm
Forum: Developer Discussions
Topic: Flipping
Replies: 20
Views: 15154

Re: Flipping

I'm guessing you want a short full thrust. Then cut the thrust and invert. Then invert back and add another burst of full thrust. A bit like having a plate on your hand. rasing it quickly and then inverting it. So its upside down on your hand without holding it there, momenteraly. Note that you do n...
by BillyBag2
Wed Jul 31, 2013 10:33 am
Forum: Support
Topic: Crazyflie / PS3 controller problem / exaggerated movements
Replies: 6
Views: 6105

Re: Crazyflie / PS3 controller problem / exaggerated movemen

Thanks, i will try it.. To get better control over the thrust I set the minimum higher and and maximum lower, about 10% or 20% between them. It does varies abit as the battery gets flat, so you may need to adgust again. However in practice it does not last too long after the power first starts to d...
by BillyBag2
Tue Jul 30, 2013 7:36 pm
Forum: Developer Discussions
Topic: OTG Mouse for stable flight. [ now SPI not OTG ]
Replies: 16
Views: 11554

Re: OTG Mouse for stable flight.

hey, i think the easiest way would be to get an optocal flow sensor and hook it up to the i2c port. Check out this: https://code.google.com/p/arducopter/wiki/AC2_OptFlow+ and this: https://github.com/diydrones/ardupilot/tree/master/libraries/AP_OpticalFlow you can get the sensor here: http://store....