Tutorials

How to draw Open Street Maps with a Makelangelo

Drawing open street maps on the Makelangelo looks fantastic and is painless once you have the Open Street Map OSM file into DXF format. Here are the steps I use to download Open Street Map data as a DXF.

(more…)

Tutorials

How to Draw an Arc with GCode

Gcode syntax

G02 will draw an arc clockwise in the XY plane.

G02 (X[value]) (Y[value]) (I[value]) (J[value]) (F[value]);

G03 will draw an arc counterclockwise in the XY plane.

G03 (X[value]) (Y[value]) (I[value]) (J[value]) (F[value]);

Optional parts (are in parenthesies). [value] should be replaced by a decimal number with optional exponent.

Gcode details

Arcs begin at the current tool position and end at (X,Y).

The circle of the arc has a center at (I,J).

F indicates the feed rate, the speed to draw the line.

If X or I are not included in the GCode command, the tool position X is used.
If Y or J are not included in the GCode command, the tool position Y is used.

Tutorials

Micromouse encoders to measure distance

Encoders give a micromouse the power to measure the distance it travels so that it can build a mental map of a maze. Read on to see how I measure the movement of the wheels to calculate turns and forward movements.

(more…)

Tutorials

Micromouse motors with continuous servos

In my previous post I connected four analog distance sensors to my Arduino Due and fed the sensor data to Processing, which displayed a graph of the results. In this post I’m attaching continuous servos and hooking these pieces together to get object avoidance.
(more…)