Sunday, March 20, 2011

Where you can find my code

Some of my older posts have outdated links pointing to my old website at the University of Waterloo.  My code can be found at

I apologize for any confusion that this may have caused.  One person wrote asking for the Java implementation of the Box-Muller algorithm.  It is included in the zip file, which is located at the link given above.


Saturday, August 28, 2010

The NXT as a Home Thersomstat using the HiTechnic Experimenter's Kit

In my next blog entry, I'll show you how to use the NXT with the HitTechnic Experimenter's Kit to construct a household thermostat.  I am currently making the video.  I'll have code and a circuit diagram to show you.  Stay tuned!!!

Monday, August 23, 2010

Monte Carlo Localization and Code Tutorial

I have been asked to explain how the MCL class works. Rather than giving a long written explanation, I've chosen to give a video tutorial. Remember that the source code that I am referring in the video is available for download.


Tuesday, August 17, 2010

Build your own Sound Meter with Lights

Using the HiTechnic Experimenter's Kit, you can easily create a sound meter with lights.  Here is my YouTube video illustrating how this can be done!  Download the source code.

Monday, August 16, 2010

Robot Building Instructions

I have been asked what robot design I use.  Actually, I use the Robot Educator Model courtesy of Carnegie Mellon University's Robot Academy.  It's a simple design and it can be constructed quite easily and rapidly.

Sunday, August 15, 2010

Lejos and the HiTechnic Experiment Kit

I recently purchased the HiTechnic Experiment Kit.  I'm having a lot of fun with it.  Even though the code for the eight experiments is written in NXT-G and NXTC, I have found that the kit is perfectly suitable for use with Lejos.  You can download my example code for Experiments 1 and 2 as shown in the book that comes with the kit.

Also, please view my video tutorial, which explains Experiment 2 in detail, including the code that supports it.  The experiment deals with having the NXT control 6 LEDs based upon the setting of a potentiometer.

It's a product certainly worth purchasing!