by Keith Packard

An open-hardware Python microcontroller for LEGO®

View all updates Feb 05, 2020

Snek lessons, part one

by Keith P

First off, I’d like to thank all of our supporters for helping this campaign reach 100% of its funding goal. It looks like we’re going to be building some hardware!

Teaching with Snekboard

We’ve been teaching LEGO robotics for a number of years. Our teaching mentor developed some curriculum based on Logo and Robolab which we first adapted to the Arduino and have now adapted for Snek running on the Snekboard.

This fall, we’ve been spending some time writing down those lessons and have created material that is designed to be a series of self-directed lessons for learning about Snek, Snekboard and LEGO robots. The lessons are available in HTML and PDF form from the website.

Lesson 1: Introduction to Snekboard

This lesson (PDF) covers basic motor and sensor usage while introducing the key components of the Snek environment:

  1. Snek
  2. Snekboard
  3. Mu editor

Lesson 2: The Line Bug

Now we get to build a robot! This lesson (PDF) contains detailed assembly instructions for a robot that can follow a line on the table, using the contrast between the table and the line. It starts by guiding the programmer in how the robot can “see” with a phototransistor and then moves through a step-wise refinement to build a working program.

More Coming Soon!

We’re working on writing up two more lessons and will post those soon.

You’ll find all of the lessons on the web site linked from the Documentation page.

About the Author

Keith P

keith-packard  ·   Portland, OR

$8,288 raised

of $4,000 goal

207% Funded! Order Below

Product Choices



One Snekboard and one 3.7 V, 900 mAh LiPo battery.


Snekboard Cable Set

Four motor cables and four GPIO cables (pins to bare wires).


Snekboard Sensor Kit

Two QTR-MD-01A reflectance sensors and two GP2Y0A41SK0F distance sensors. All four sensors are Snekboard-ready with cables pre-soldered. Provides everything you need to follow along with existing Snekboard tutorials.


Keith Packard

Free Software / Free Hardware developer doing robotics instruction, amateur rocketry and RISC-V processor design.

Keith Packard

OSH Park

PCB Manufacturer



Components & Hardware Sourcing

Mouser Electronics

Component Provider

See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: