Automotive CAN bus hacking


This 1st video shows the dashboard of a VW Passat B6 2006 being controlled directly by a micro-controller (an old ARM M3 on a LM3S8962 Texas Instruments discovery board) using the automotive CAN bus.

Read more of this post

Wii Motion plus Gyros on RaspberryPi


Here’s a really quick post about the Wii Motion Plus (again !) and how to make it work with the Raspberry Pi…

I’ve connected this nice little device to an Arduino (obviously ! 🙂 ), to a IOIO board, a FEZ Domino and even to an obscure TI Arm board, the LM3S8962 using CooCox… so it was only right that I connect it to my “new” Raspberry Pi board.

Connecting the Wii Motion Plus to the Raspberry Pi board

Connecting the Wii Motion Plus to the Raspberry Pi board

Read more of this post

TM1638 Display Driver for Stellaris Launchpad


Here I am, roughly 3 months after my last post…

Read more of this post

Android IOIO Wii Motion Plus – Gyroscopes


First of all, the more I work with Android, the more I love it … ! It’s so cool to have both Linux and Java and everything is so open and hackable … !

Wii Motion Plus connected to the IOIO board and then to the Android phone

Read more of this post

WiiMote IR Camera with Lego NXT Brick – LeJOS


This previous post talks about how to connect a IR Camera from a WiiMote to an Arduino.

There’s also this one, talking about how to connect it to the .NET micro framework, FEZ Domino board (which also has hardware details on how to extract the mentionned camera and solder it on its own little board…).

It’s therefore time I wrote a quick post, on how to interface this wonderful camera with a Lego NXT Brick, programmed in Java thanks to LeJOS !

WiiMote IR Camera and Lego NXT - LeJOS

Read more of this post

Wii Motion Plus gyros on LM3S8962 (I2C on CooCox)


After the initial discovery and a brief “hello world” on my new Arm Cortex M3 board using the CooCox environment, it’s now time for something more “involved”…

And because I’m still in the middle of my quadcopter project, and refactoring it to use the gyroscopes from a wii motion + , what better test than try to read these sensors from the new board ?

LM3S8962 with the Wii Motion Plus gyroscopes connected through I2C

Read more of this post

CooCox Hello World


As per my previous post, I started yesterday playing with a 32bit ARM processor, using the LM3S8962 evaluation board.

However, this comes with an evaluation version of the IAR compiler, which is limited to 32KB max code size and buying a licence is prohibitively expensive. Not only this, but the GUI seems somehow old and overcrowded, probably perfect for engineers that do this all day, but quite a steep learning curve for a beginner…

So here comes CooCox which is a “new and highly-integrated software development environment for ARM cortex M3 and M0 based microcontrollers, which includes all the tools necessary to develop high-quality software solutions in a timely and cost effective manner“.

It also includes CoOS which is a small real time OS, similar I suppose to the more well known FreeRTOS ?

So here’s how it looks the CoIDE, Eclipse based, quite clean and nice to use !

CoIDE - a clean and easy to use, Eclipse based IDE

Read more of this post

LM3S8962 Unboxing


It’s been a while since I started telling myself that I had to try the 32bit microcontrollers at some point… the 8bit AtMega and others similar to Arduino are nice and more than enough most of the time, but you can’ t do any proper multi-threading on them.

The occasion came unexpectedly when a friend told me they were using an ARM 32 bit cortex M3 for one of their devices and I immediately said that I needed to hack it… 🙂

Getting an evaluation board for free (they are not hugely expensive, but it feels wrong to pay for something I’m not sure I’ll ever use for real…) was the harder part with Texas Instruments support being quite nice and helpful (even calling back) but unable to send me one.

I finally got my hands on one board a few weeks ago, when the aforementionned friend sent me one of the 2 he has.

So without further due, here’s the “beast” :

LM3S8962 in its original box

Read more of this post

%d bloggers like this: