Arm cortex 32bit (LM3S8962) an Wii Motion + gyroscopes

3689386357?profile=originalI 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

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • 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...

  • 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...

  • It's simply IF you want to build or update a quadcopter to use an Arm 32 bit processor (instead of an Arduino for example) you could use this specific processor from LuminaryMicro (there are plenty of others too !) and this post shows you how to read the data from the wii motion + gyroscopes, which again are used by plenty of people for their quads (as a cheap alternative to other models)
This reply was deleted.