Enchanting 0.2 is out!

I’m pleased to announce that Enchanting v0.2.1 is out!

Why not start out the new year by trying out a new way to program your LEGO Mindstorms NXT robot?

Here’s a video showing what it does.
[If you’d rather, watch this shorter trailer video instead.]

Enchanting is free (as in lunch, and in speech) and available for Windows XP+ and Mac OS X 10.4+. (We would love help getting the experimental Linux and Raspberry Pi versions ready for use.)

It combines the simplicity and friendliness of programming in Scratch, with the advanced capabilities of leJOS and BYOB/Snap.

Please see the Enchanting website for information on getting started with Enchanting — we now have Enchanting Cards [3.4 MB PDF] and there is an interactive eBook on programming in Enchanting .

Here are the scripts demonstrated in the video:
Introducing Enchanting - Sample Programs.zip [0MB]
and here are screenshots of those scripts:

Drive Around A Square

Square Dance Program

Follow That Line (With Eyes)

Script for the Line Follower that looks back and forth

The Play:
The Big Bad Wolf The Little Pig
Program for the Big Bad Wolf Program for the Little Pig

Drive Around An Arbitrary Polygon

Script to drive around a triangle and octogon "Drive in a polygon" routine

The Sumo Bots:

The main part of the Sumo Robot Script Sumo robot "Startup" Function Sumo robot "Wander" function Sumo robot "Attack" Function Sumo robot "Retreat" Function

The two robots ran almost identical code, shown in Enchanting card #12 , except that I added code to turn on the lights to show what behaviour they were executing (which I forgot to save!), and I made one wander in the opposite direction so that the fight wouldn’t take all day!

Posted by Clinton Blackmore - Tuesday January 1, 2013.
Posted in .


  1. I am delighted with the capabilities of the application.
    Thanks for it available. I’ll try it with my students.

    — Angela Azevedo · Jan 14, 06:54 AM · #