The BASIC Stamp from Parallax is a popular introductory miniature computer for learning the basics of electronics and computer programming. By themsleves, however, the BASIC Stamps cannot control motors, which are crucial to robotics and many other projects that require motion. LEGO is famous for its construction blocks, and it has lately been introducing many robot-themed sets. In this project, we demonstrate how you can use the Pololu micro dual serial motor controller to control a simple LEGO robot with a BASIC Stamp.
In its initial configuration, this robot behaves very similarly to the obstacle-avoiding robot from project 1: this robot drives forward until it hits an obstacle; when it does, it backs up, turns, and resumes its forward motion. In future projects, we will use this project as a foundation for more complex and interesting robots.
Because the details of the mechanical design are not particularly interesting, we will not cover the assembly of the LEGO chassis. Instead, we will focus on how to use the micro motor controller with the BASIC Stamp II. This sample project should, therefore, serve as a reference for anyone wanting to use a BASIC Stamp to control a small, differential-drive robot (a type of robot, which, like a bulldozer or tank, has independent drive wheels or treads on its two sides).