I have an old RC (remote controlled) car lying around, that I got a few years ago. The battery, being Ni-Cd (and not too well treated), is dying so it hasn’t seen much use lately. Earlier in the year, while taking part in Sebastian Thrun’s brilliant Programming a Robotic Car class, I got inspired to build my robot-car. Well, at least a model version.


Where I’m currently at – that RC car controlled via an Arduino.

I saw David Singleton’s Neural-Networks Car, blog.davidsingleton.org/nnrccar, and that’s where I decided to start – converting that old RC car into an Arduino controlled one. The key from David Singleton being, controlling the remote via Arduino rather than directly controlling the car via Arduino (which would probably require some a lot of disassembly of the plastic mold).

After taking apart the plastic shell of the remote, I needed to find how to connect up the Ardiuno. The method I used was:

  1. Find ground (or just use the negative terminal of the battery) and connect one end of a wire there
  2. Look for the switches (forward / back, left / right) on the circuit board
  3. With the car & remote on, begin touching the other end of the wire to parts of the circuit and see what happens

Once you’ve found that connection (you’ll notice that the car begins to move…), that’s (between there and ground) where you’d add the transistor (a transistor is like a tap, with the base being the valve). Setting the Arduino pin (which you connect to the base) to LOW or HIGH then controls whether current can flow through the transistor, in essence, an electronic switch.

After playing around with that for some time, and buying 90cents worth of transistors (the 2N2222A NPN transistor) I was able to get it to work (connecting the Arduino’s ground with the remote’s ground, and having the transistor the right way round, were two things that I learnt in particular).


Image based on Howard Logsdon’s work at wiki.hplogsdon.com/Arduino/. GPL licensed.

Arduino Remote Circuit Diagram
Made with circuitlab.com

(more…)



As with other Microsoft Office applications, you can also create add-ins for OneNote. In OneNote 2007 you wrote add-ins by implementing IOneNoteAddin (see Daniel Escapa’s tutorial – http://blogs.msdn.com/b/descapa/archive/2006/08/31/734298.aspx) and they integrated well with OneNote’s UI, being toolbar based add-ins in a toolbar based UI. With OneNote 2010′s ribbon, however, these ‘toolbar based’ add-ins only show up on a separate Add-Ins tab, and even then only appearing as small icons. Integrating these add-ins with the ribbon / fluent UI is what we want for OneNote 2010, to properly ‘integrate’ them with the UI.

Like this (a custom button in a custom tab in the ribbon):
Add-in in Ribbon

This is a tutorial / guide on how to do this.

Rather not view this in a web browser? Ok, here’s the pdf and xps documents of this tutorial

(more…)