iImage Information

The Trakr is a remote controlled robot equipped with a microphone and color video camera, speaker, a near infrared LED for night vision, an SD memory card slot for recording audio/video and 8MB of on board memory for storing downloadable and user designed programs. The remote control unit has control levers to drive the robot, a speaker and color video display so you can hear the audio picked up by the microphone and display the video transmitted by the camera, and several function buttons that can be used to control additional program functions of user designed programs. In this article we will demonstrate how to hack the Trakr. We will show you how to download and install the C language compiler for the Trakr. Next we’ll explain how to compile a simple program and install it on the Trakr and then run this simple program. Finally, we will demonstrate how to open up the Trakr, attach jumper pins to the GPIO connections on the mainboard of the Trakr and compile a simple program to flash an LED connected to the GPIO pins. You will be able to confidently call yourself an elite Trakr Hacker.
Step 1Download and Install the C Language Compiler for the Trakr
iImage Information

What's a compiler? Have you seen those geeky T-shirts that say "there are only 10 types of people in the world: those who understand binary, and those who don't?" If you find yourself scratching your head instead of laughing hysterically, then you don't understand binary. Computers, on the other hand, understand only binary. 1s and 0s. On and off.
I have heard of some people who can do binary code, or machine language in their heads, but the rest of us normal people would have a difficult time writing a computer program out of nothing but 1s and 0s. Instead we use a higher level language like C language to write software.
Have you ever been to a foreign country and didn't know the language? You can hire a translator to translate what you say into the language that the locals can understand. That's what a compiler does. Computers can't understand C language so, a compiler translates the software you write in C language into machine code, or the 1s and 0s that computers can understand.
You'll need to download and install the C language compiler so that you can write programs for the Trakr and compile your software into machine language that the Trakr can understand. The C Language compiler is included in a fairly complete software development kit (SDK) that the folks at Wild Planet call the "Primer." So, download the Primer and save it on your computer where it'll be easy to find by clicking the following link:
http://www.spygear.net/help/files/TRAKR_APP_PRIMER_V1.2.zip
Some folks have been trying to write their own/building their own apps for the trakr bypassing the compiler for the trakr. You can take a look at one of the discussions on the trakr forum here:
http://www.spygear.net/forum/viewtopic.php?f=30&t=746
...and there's some additional information here:
http://www.trakrhakr.com/wiki/index.php?title=Main_Page
click the links titled "Hardware reference material" and "Bootstrapping"
Anyway, you can edit the code to set pins GPC0 thru GPC6 to high or low depending on what you want the program to do and what kind of external devices you want to drive such as LEDs, relays, motors and so on.
Click the link below to see waht my app was originally written for:
http://hackaday.com/2011/11/03/bomb-disposal-robot-with-lego-gripper/
http://vimeo.com/24143672
I picked-up a set of 20x IR LED's similar to the single one (for $1.00 off Ebay).. Someone on the spygear forum, found provisions on the camera board, for 2 more LED's, and 2 chip resistors.. Haven't gotten adventurous enough to add them. (the battery draw is bad enough!) Mine's been sitting off to the side, as a arduino project has been taking more time, as well as life/work.
One more side hack, invert the drive belts. If you take them off the wheels, You'll notice the inside has deep teeth that match the drive wheels. Ironic, so does the small ribs on the outside.. Need serious traction grip? remove the track belts, invert them so the deeper teeth are outside, and replace them on the wheels, with the smaller ribs inside.
http://www.ti.com/tool/msp-exp430g2#buy
The cost is $4.30 USD.
Not sure if the TRAKR supports Serial or not, but there are ways to handle that in software. They're cheap and work great.
I'll tell you what: my next Instructable will be about interfacing variuos external devices to the Trakr like the Lego Mindstorms NXT, the TI Launcpad, Snap Circuits 08m microcontroller, and so on.
If you want to connect the Trakr's GPC0 and GPC1 pins to your arduino and program it to do something when your arduino detects GPC0 and GPC1 are set to high or low depending on which buttons are pressed on the Trakr remote, then very probably yes.