To use more of Elektor Proton's capabilities, I started writing a slightly more complex program. It makes the robot follow a line, while moving cans on its path out of its way. Here is a video.
Wednesday, July 13, 2011
Following a line
After that, I made a small program in Flowcode to make Proton follow a line. This was quite easy to program, but it took me a while to understand that I needed to turn down the robot's speed to make it follow the line smoothly. At full speed, it would simply rush over the line before any course corrections can be made.
Motor test
I decided to extend my first program to test Proton's motors. This was slightly more difficult, because of the I2C protocol, which I had never used before. This is a video snippet of Proton using both motors to make a circular movement.
RGB Eyes
I've been programming Elektor Proton's RGB eyes to test its functionality. This was the first program I wrote for this robot.
Subscribe to:
Posts (Atom)