I see the trend for quadcopters is now to use more and more Arm 32 bit processors, which are obviously more than enough for balancing :) and have the advantage of offering enough remainin power for extra jobs.
Here's my attempt at interfacing a LM3S8962 (from LuminaryMicro / TI) with the Wii Motion Plus gyroscopes.
After spending some time trying to figure out how to install / work with IAR and FreeRTOS, I discovered (on this site) the CooCox environment and its real time OS, and I must say I'm much pleased with its usability and easy of use..
You can find HEREmore details and the C code...
Hope somebody finds this useful !
dan
Comments
Same story here the lack of good / full examples is making it difficult to progress as you said transition from arduino to other MCUs is quite harsh for newbies like me.
Though I haven t yet gave up make it work so I hope I ll be able to contribute to the community very soon with a working example. I pretty tried every environment starting with Keil then using freeRTOS+ eclypse + openOCD on a Mac and finally using Coocox for the simplicity of the RTOS and the IDE.
Hi Damien,
No sorry, I haven't tried to control servos with it.
I've tried to use if for my autonomous tank (http://trandi.wordpress.com/2011/05/14/tiger-1-bb-airsoft-rc-tank-%...), BUT the more I played with it the more I realised the "obvious" : the power of platforms like Arduino is really in the COMMUNITY around them !
With the community come examples and information, which are priceless...
I tried the other day to read the PPM signal from an RC receiver with the LM3S8962 and gave up after 1-2 days of work ! It was very frustrating as I could NOT find 1 single example of somebody else having done a similar thing...
dan
P.S. are you also using CooCox ?
In any case, I'd be very interested in your code if you mange to control servos with it...
Hi Dan,
I m also using a 8962 and was wondering if you tried to link it with servo motors and if you would happen to have an example ?
no I haven't... I'm not sure it CooCox supports C++ though...
It would be nice to encapsulate all the I2C calls in some nicer, higher level class...
another person using the lm3s! Im in the progress of building my IMU - lm3s808 + wii motion plus internals + diydrones 10hz gps thingo + mma7260 accel..
The guys at luminary micro [now ti] did a great job with the documentation and driverlib.. TI sells the dev boards real cheap - the one i have has a 20pin jtag connector so i can program my board + onboard lm3s and small oled for $50 shipped!
here is a pic of my board.. on the left are the wii motion plus internals..
have you tried C++? an auto-pilot/quadcopter pretty much calls for it!
thanks for the info, im gonna check out CooCox, and the rtos!