Sand a Sketch

by Sand A Sketch in Circuits > Arduino

893 Views, 6 Favorites, 0 Comments

Sand a Sketch

The Sand A Sketch is a group project created for the university course Prototyping Interactive Objects (Summer Semester 2026) at Hochschule RheinMain – University of Applied Sciences and Arts, Wiesbaden.


It is an interactive drawing device inspired by both the classic Etch A Sketch toy and kinetic sand tables. Instead of using a stylus or display, you can use a joystick to guide a small magnetic ball across a plate filled with fine sand. As the magnet moves, it drags the ball through the sand, creating temporary drawings.


The movement is generated by a custom-built, mostly 3D-printed, CoreXY mechanism. It is powered by two stepper motors controlled by an Arduino. The joystick allows intuitive two-dimensional control while a potentiometer adjusts the drawing speed.


If you want to build your own Sand A Sketch you can!

Just follow the instructions below. :)


Demo Videos

Check out the videos below to see the Sand A Sketch in action!


LICENCE AND CREDITS

Attribution — ShareAlike CC BY-SA

This interactive object and accompanying tutorial has been designed by Robert Bothfeld, Iris Henkel and Jaqueline Huth during the course Prototyping Interactive Objects (Summer 2026) at Hochschule RheinMain – University of Applied Sciences and Arts, Wiesbaden.

Supplies

Materials

  1. 1x Arduino Nano
  2. 1x Arduino Nano Power Cable
  3. 1x Breadboard
  4. Jumper Cables
  5. 2x 28BYJ-48 – 5V Stepper Motors
  6. 1x Joystick
  7. 1x Potentiometer
  8. 1x Cube Neodymium Magnet - 8 x 8 x 8 mm
  9. 1x Magnetic ball - 8 mm
  10. 1x 6mm timing belt & pieces
  11. 2x metal rods - 3 mm x 150 mm
  12. 2x metal rods - 3 mm x 200 mm
  13. fine mechanics oil

Equipment

  1. 3d printer

Tools

  1. cutter knife
  2. cutting mat
  3. scissors
  4. superglue

Materials

  1. Acrylic glass/Plexiglass
  2. Thick cardboard
  3. Fine sand/Quartz sand
  4. PLA filament

Software

  1. Arduino IDE
  2. CheapStepper Library (v.0.2.1) by Tyler Henry

3D Printing

Download all STL files and print them in the indicated quantities:


Base Enclosure & Sand-Top

  1. 1x Sand_A_Sketch_Sand_Top.stl
  2. 1x Sand_A_Sketch_Base Plate.stl
  3. 2x Sand_A_Sketch_Enclosure_Motor_Corner_Holder.stl
  4. 2x Sand_A_Sketch_Enclosure_No_Motor_Corner_Holder.stl
  5. (Optional) 5x Sand_A_Sketch_Cable_Channel.stl

Controls

  1. 1x Sand_A_Sketch_Controller_Holder_Clip.stl
  2. 1x Sand_A_Sketch_Upper_Controller_Part.stl
  3. 1x Sand_A_Sketch_Lower_Controller.stl

CoreXY

  1. 1x Sand_A_Sketch_Magnet_Holder_Bottom.stl
  2. 1x Sand_A_Sketch_Magnet_Holder_Top.stl
  3. 2x Sand_A_Sketch_Motor_Corner.stl
  4. 2x Sand_A_Sketch_No_Motor_Corner.stl
  5. 2x Sand_A_Sketch_No_Motor_Corner Bar.stl
  6. 2x Sand_A_Sketch_Side_Bar_150mm.stl
  7. 2x Sand_A_Sketch_Side_Bar_159mm.stl
  8. 2x Sand_A_Sketch_Side_Slider.stl
  9. 2x Sand_A_Sketch_Spool.stl
  10. 4x Sand_A_Sketch_Spacer.stl


Recommended printer settings:

  1. material: PLA
  2. layer height: 0.2 mm
  3. infill:
  4. 100% for No Motor Corner Bar (Sand_A_Sketch_No_Motor_Corner Bar.stl)
  5. 15% for all other parts


Supports:

  1. Required:
  2. Spool (Sand_A_Sketch_Spool.stl)
  3. Spacer (Sand_A_Sketch_Spacer.stl)
  4. All other parts were printed successfully without supports on our printer. Depending on your printer and print settings, you may still want to enable supports for overhangs if necessary.

Building the No-Motor Corners

You will need:

  1. 2x No-Motor Corners (Sand_A_Sketch_No_Motor_Corner.stl)
  2. 2x No-Motor Corner Bars (Sand_A_Sketch_No_Motor_Corner Bar.stl)
  3. superglue


Steps:

  1. Put a drop of superglue into the holes of the No-Motor Corner and insert the bars as deep as possible.
  2. Wipe any excess glue and set aside to dry for a moment.

CoreXY Assembly Overview

Now that we have assembled the No-Motor corners, we'll put together the full CoreXY system as shown in the video below.


For more detailed instructions, follow the next steps, where we'll guide you through the assembly step by step.

Assembling the CoreXY Sides

You will need for each side:

  1. 1x Motor Corner (Sand_A_Sketch_Motor_Corner.stl)
  2. 1x Side Bar 150 mm (Sand_A_Sketch_Side_Bar_150mm.stl)
  3. 1x Side Slider (Sand_A_Sketch_Side_Slider.stl)
  4. 1x assembled No-Motor Corner + Bar (from Step 2)
  5. 1x metal rod - 3 mm x 150 mm


Steps:

First, assemble the left CoreXY side by referencing the left image above.

  1. Orient the Motor Corner as shown.
  2. Insert the Side Bar and metal rod into the upper arm of the corner.
  3. Slide the Side Slider onto the metal rod. Make sure the holes on the side point towards the middle, away from the bar.
  4. Orient the No-Motor Corner as shown.
  5. Insert the free ends of the Side Bar and the metal rod into the No-Motor Corner.

Now repeat these steps to assemble the right CoreXY side by referencing the right image.

Connecting Both CoreXY Sides

You will need:

  1. 1x fully assembled left CoreXY side (from Step 4)
  2. 1x fully assembled right CoreXY side (from Step 4)
  3. 2x Side Bar 159 mm (SandASketch_Side_Bar_159mm.stl)
  4. 1x Magnet Holder Bottom (SandASketch_Magnet_Holder_Bottom.stl)
  5. 2x metal rods - 3 mm x 200 mm


Steps:

  1. Take the left CoreXY side.
  2. Insert the Side Bars into the holes of its Motor Corner and No-Motor Corner.
  3. Insert both metal rods into the holes of the Side Slider.
  4. Slide the Magnet Holder Bottom onto both metal rods.
  5. Take the right CoreXY side and insert the free ends of the Side Bars and metal rods into it.

Tip

Step 5 can be a bit tricky to do alone. If possible, ask a second person to help you.


Important

Do not attach the Magnet Holder Top onto the Magnet Holder bottom yet.


Your CoreXY should now look as above.

Installing the Motors

You will need:

  1. 1x assembled CoreXY
  2. 2x 28BYJ-48 – 5V Stepper Motors


Steps:

  1. Insert a stepper motor into each Motor Corner.
  2. Press each motor firmly into place until it is fully seated.


Note

The fit is intentionally tight to keep the motors in place.

Installing the Timing Belt Pulleys

Timing Belt and components. Parts are labelled 1–4 and referenced in the steps below.

You will need:

  1. 1x assembled CoreXY with motors inserted
  2. 2x Spool (SandASketch_Spool.stl)
  3. 4x Spacer (SandASketch_Spacer.stl)
  4. 1x 6mm timing belt & pieces


Steps:

  1. Take the two pulleys labelled 1 in the first image above. Press one onto each stepper motor shaft and tighten the set screws.
  2. Take the two pulleys labelled 2 and place one onto each No-Motor Corner.
  3. Place one Spacer (labelled 3) on top of each pulley, then place the remaining two pulleys labelled 2 on top.
  4. Place one printed Spool (labelled 4) onto each Side Slider.
  5. Place one Spacer on top of each printed spool, then place the remaining two printed spools on top.

Installing the Timing Belt

You will need:

  1. 1x assembled CoreXY with motors & pulleys
  2. 1x 6mm timing belt & pieces
  3. scissors
  4. superglue

Reference: Manual CoreXY Mechanism by DrRonny on Thingiverse


Steps:

Place the CoreXY in front of you with the Motor Corners closest to you.

Belt 1:

  1. Take the end of the Timing Belt and carefully glue it towards the top of the inside closest to you of the Magnet Holder Bottom. The teeth of the belt should be showing away from you/the motors.
  2. Route the belt around the pulleys exactly as shown in the refernce.
  3. Cut the belt with 2-3 cm of ease.


Belt 2:

  1. Take the end Timing Belt and carefully glue it towards the bottom of the inside furthest away from you of the Magnet Holder Bottom. The teeth of the belt should be in the same direction as Belt 1.
  2. Route the belt around the pulleys exactly as shown in the refernce.
  3. Cut the belt with 2-3 cm of ease.


Tensioning:

  1. Pull one belts taut, but not too tight. The Side Slider should not be pulled towards the inside of the CoreXY.
  2. Use superglue to glue it right beside its other end.
  3. Repeat for the other belt .
  4. Wait for the glue to fully dry.


Checking the Tension

You will need:

  1. 1x assembled CoreXY with motors, pulleys & timing belt
  2. fine mechanics oil
  3. scissors


Steps:

  1. Apply some fine mechanics oil to all metal rods
  2. Test if the Side Sliders move smoothly and the two metal rods holding the Magnet Holder Bottom are straight.
  3. Test if the Magnet Holder Bottom slides smoothly.
  4. Cut the excess Timing Belt off.


Important

If the metal rods are not straight the CoreXY will not work correctly. In this case you will likely need to adjust the tension of the Timing Belt again.

Adding the Magnet

You will need:

  1. 1x assembled CoreXY
  2. 1x Magnet Holder Top (SandASketch_Magnet_Holder_Top.stl)
  3. 1x Cube Neodymium Magnet - 8 x 8 x 8 mm


Steps:

  1. Place the magnet into the Magnet Holder Top.
  2. Press the Magnet Holder Top onto the Magnet Holder Bottom until it fits snug.


You have finished assembling the CoreXY!

Building the Base Enclosure

You will need:

  1. 1x assembled CoreXY
  2. 1x Base Plate (Sand_A_Sketch_Base Plate.stl)
  3. 2x Enclosure Motor Corner Holder (Sand_A_Sketch_Enclosure_Motor_Corner_Holder.stl)
  4. 2x Enclosure No-Motor Corner Holder (Sand_A_Sketch_Enclosure_No_Motor_Corner_Holder.stl)
  5. superglue


Steps:

  1. Take the Motor Corner Holders and click them onto the fitting corners of the Base Plate as shown.
  2. Apply some superglue to the other two corners of the Base Plate
  3. Place the No-Motor Corner Holders ontop of the glue and press down. Wipe any excess glue.
  4. Before drying, put the CoreXY into the holders. This makes sure that all Corner Holder sit straight.


Important

Make sure not to glue the CoreXY into place, this way it can still be taken out later.

Assembling the Controls

You will need:

  1. 1x assembled CoreXY with enclosure
  2. 1x Controller Holder Clip (Sand_A_Sketch_Controller_Holder_Clip.stl)
  3. 1x Upper Controller Part (Sand_A_Sketch_Upper_Controller_Part.stl)
  4. 1x Lower Controller Part (Sand_A_Sketch_Lower_Controller.stl)
  5. 1x Joystick
  6. 1x Potentiometer
  7. Jumper Cables


Steps:

  1. Install the Holder Clip into the Lower Controller Part.
  2. Put jumper cables onto the Joystick and Potentiometer.
  3. Place the Potentiometer into the left indentation and the Joystick into the right indentation of the Lower Controller Part with the jumper cables going towards the Holder Clip.
  4. Pull the free end of the jumper cables through the hole of the Holder Clip.
  5. Press the Upper Controller Part onto the Lower Controller Part until it clicks into place.
  6. Hang the Holder Clip onto the Side Bar of the CoreXY between both motors.

Preparing the Sand Top

You will need:

  1. 1x Sand Top (Sand_A_Sketch_Sand_Top.stl)
  2. Thick cardboard
  3. Fine sand/Quartz sand
  4. cutter knife
  5. cutting mat
  6. super glue


Steps:

  1. Cut the cardboard to fit onto the lower inner edge of the Sand-Top.
  2. Glue the cardboard onto the lower inner edge of the Sand-Top with superglue.
  3. Wait until the glue has dried.
  4. Fill the Sand-Top with sand until it reaches approximately half the diameter of the magnetic ball (roughly 4 mm).

Put this to the side for now.

Wiring the Electronics

You will need:

  1. 1x assembled CoreXY with enclosure & controls
  2. 1x Arduino Nano
  3. 1x Arduino Nano Power Cable
  4. 1x Breadboard
  5. Jumper Cables
  6. (Optional) 5× Cable Channel ()
  7. (Optional) superglue


Steps:

  1. Place your Arduino Nano on your breadboard and connect the power cable.
  2. Place your breadboard into the base of the enclosure.
  3. Use the wiring diagramm above to connect the motors and controls to the Arduino Nano on the breadboard.


Optional

You can use some Cable Channels to secure your jumper cables:

  1. Arrange your jumper cables.
  2. Place some superglue on the bottom of a Cable Channel.
  3. Press the Cable Channel wherever you want to place it.


Important

Always double check your components datasheets when wiring. Accidentally swapping ground and volt can damage your components.

Uploading the Code

You will need:

  1. a computer
  2. the Arduino IDE
  3. the CheapStepper Library (v.0.2.1) by Tyler Henry
  4. the code (SandASketch.ino)


Steps:

  1. Install the Arduino IDE.
  2. Install the CheapStepper Library (v.0.2.1) by Tyler Henry in the Arduino IDE.
  3. Download the code and open it in the Arduino IDE
  4. Connect the Arduino Nano to your computer
  5. Select Arduino Nano as the board and the correct port
  6. Upload the code onto the Arduino Nano


Note

If you have trouble uploading the code double check that you have selected the correct board and port.

Downloads

Final Assembly

You will need:

  1. 1x assembled CoreXY with Base Enclosure, Controls and finished wiring
  2. 1x assembled Sand Top
  3. Acrylic glass/Plexiglass
  4. cutter knife
  5. cutting mat
  6. 1x Magnetic ball - 8 mm


Steps:

  1. Carefully cut the acrylic glass so it fits onto the top inner edge of the Sand-Top.
  2. Place your Sand-Top ontop of the Corner Holders. If it doesn't fit one way, turn it 90 degrees and try again.
  3. Place the magnetic ball onto the sand, directly above the Magnet Holder.
  4. Place the acrylic glass onto the top inner edge of the Sand-Top.

Have Fun!

  1. Draw your first temporary sand image!
  2. Shake the Sand A Sketch carefully to erase image.
  3. Repeat!