Tag Archives: code

Using OpenCV for Simple Object Detection

As part of the Blue Block Challenge I’m using the OpenCV library to detect and track objects based on their color only. In the process I created an Mac application to help develop the algorithms.

NavBot: Pilot

An overview of how the NavBot Pilot component works. This is still a work-in-progress but taking on solid form. I plan to explain the internal workings once I have it mostly functioning.

NavBot: Navigator

An overview of the workings of NavBot’s Navigator component.

PID Tuning For Zumo

With the encoders working it’s time to tune the PID controller for driving in straight lines.

PID Controllers 101

My first introduction to PID controllers was inĀ an article about a robotics dead-reckoning competition which the author won using a Lego Mindstorms creation called Peeves. This was back in 2001. It’s an interesting read. I had only recently purchased my own Mindstorms set and so was very impressed with the “toy” robot beating all the […]

Wheel Encoders For WallBot

Adding wheel encoders to WallBot ended up being more work than I thought. I ended up writing all the code from scratch but it meant I learnt a lot about encoders and timer interrupts on the microcontroller.

WallBot – Version 1

My first “wall avoiding” Wallie-like robot.

Servorator

Servorator is an open source Arduino library, providing sophisticated speed control for servos, that I wrote for my Robix arm project in order to creating smoother movements.

Servo16

Now that I have the servo shield working I went ahead and created my first OSX app to control the servos from my desk top. It’s a very simple app. There’s a slider for each of the 16 servos. Changing the sliders causes commands to be sent to the selected serial port. On the Arduino […]