Let's Make Robots!


Arduino Sketches are "Evolving" for Official Robot.

When programming my "Official Arduino Robot" I have noticed that routines that would work on my previous robots need modification (this is under Arduino Sketch ver 1.05.)


A Robot that is remotely controlled over the internet!
Using a
Introduction: I'm Mohammad Adib, I'm from the US, I'm 17, and this was my summer project. It's a vision I had in mind for a long time; To make a robot that I can … Read more

Can someone recommend a C++ IDE for Windows (Vista)?

I was curious if someone could recommend an easy to setup Windows IDE for C++? I'm looking to use OpenCV and serial headers.

Perhaps even pros and cons of those you've tried?

This is an idea I wanted to try for a while. Basically, it uses one servo to drive the main wheel and a connected (90 degree) servo to turn that servo for steering. … Read more

Maus LearningBot - State Machine v2


Well, after the couple of comments from this blog, Maus LearningBot - Family Challenge One (State Machine), I've done some reading, recoding and experimenting with some of the concepts suggested of how state machines should work.  I've now dubbed this version 2 and it seems to work just as well as version 1.  I'll try to explain myself as I walk through the code.

Why a State Machine?

General Programming - Debug


When I'm coding, depending on the programming language, I usually like to sprinkle debugging statements into my code to see data, code decisions and general information while the program is executing.  Using the Arduino, I can use the Serial library to stream print statements to the Serial Monitor for example.

Option 1: In code #if

The first option is very simple.  At the top of your source file, you put in the following line when you want to turn debugging code on:

#define DEBUG

Library Basics - Optimization

The first Library Basics blog covered a basic conversion from a working sketch to a very simple library using the C++ class.  User mogul correctly pointed out some code optimizations that we can make.  His original message was:

You seem to waste a little resources here and there:

You store 4 private variables.

Struggling with creating libraries for Arduino


Documentation of my efforts will be continued in my blog: Building a new controller - fun and games

Thanks to the help of my fellow LMR members I now have a working library. I have attached the initial library created as a result of this forum. A big thanks to cr0c0, Maus and Mogule who put a lot of effort into helping me with my code. The attached library is not the final product, I need to add more functions and examples yet (I may also need more help).

CURRENT PROJECT WORK (Most recent first)   August 19, 2011 More body work, cutting and filing...and thinking about where to place the boards... Cutting an … Read more
Throws oranges when it sees a certain color
This is a catapult/trebuchet made of canes, which controlled by a PC via an arduino and a servo connected to it using a USB cable. The computer runs the … Read more
Tracks human faces using a webcamera and two servo motors to pan and tilt
Using a
This is my first time using OpenCV, an open source computer vision library developed by Intel Corporation.  It wasn't too hard to get setup or use OpenCV in … Read more

Serial oscilloscope

Hi guys,

I'm currently programming a software oscilloscope based on C++ and DirectX, thus the performance is very good. It works directly off the serial/COM ports. I was just wondering..is anyone else interested in such a thing?

I'm programming it for my Arduino BUT it should be able to work with Picaxe(or anything else) too. It's not gonna be a fancy pro application, but it works pretty damn well :) For now it's rather limited since it only accepts 8 bit values...well for now...