Tutorials

How to Generate a Maze

In this tutorial I’m going to show you how to recursively generate a well formed maze in Java without overflowing your computer’s stack.

Makelangelo v7.2.9 maze generator
Makelangelo v7.2.9 maze generator

(more…)

Tutorials

Arduino Starter Kit Tutorials

This is index of existing and future MarginallyClever Arduino Starter Kit tutorials.

A moment of clarity

  • Arduino
  • Serial 1: Texting from an Arduino to a computer
  • Serial 2: Texting from a computer to an Arduino

Creating a Grammar and Vocabulary

  • Building and Drawing Circuits
  • Breadboards
  • Resistors
  • Capacitors
  • Transistors
  • LED
  • Button
  • Seven Segment Display 1 2
  • 2×16 LCD
  • Passive and Active Speakers
  • 8×8 LED
  • Potentiometer
  • Joystick
  • Stepper Motor
  • Servo
  • Integrated Circuits
  • Shift registers
  • Making PCBs
  • Turing machines, CPU, and Arduino
  • Methods
  • Variables
  • Loops
  • Branches

Forming sentences

  • Speaker 101: How to Blink (or Beep) Morse Code with Arduino
  • Speaker 201: How to make a Piezoelectric speaker play music
  • Decoding Morse Code with an Arduino and a Microphone
  • Little Big Planet Sackboy faces – 8×8 LED, Joystick, Arduino.
  • Maze game – 8×8 LED, Joystick, Arduino
  • Tetris 1 2 3 4 – 8×8 LED, Joystick, Arduino.

From there we can get into lots and lots of other stuff, not in the scope of this kit:

Having a conversation

  • How to make a linear actuator – pi and circle math
  • CNC machines – linear actuators, bresenham’s algorithm, kinematics, algebra
  • 3D printers – CNC machines, thermistors
  • Robot simulation – 2D & 3D graphics with OpenGL
  • CAD/CAM
  • Robot vision

Follow along and comment your questions. I’ll answer them and improve the tutorial based on your ideas.

News Tutorials

Decoding Morse Code

A video posted by Dan Royer (@imakerobots) on

Morse code is an ancient tongue spoken by the hooded figures who worship a terrifying obsidian pillar in the sunken city of – oh, wait. Sorry! Wrong blog.

We’ve briefly looked over producing Morse code and making music. What if we’re receiving Morse code now? Today, we’ll be teaching the Arduino to translate Morse code back into English and use a microphone at the same time.

(more…)