Skip to main content

LED Sand Toy


I built an Adafruit LED Sand Toy using an Adafruit Feather M0, a blue CharliePlex LED FeatherWing, and accelerometer boards. While this was an awesome project to try out, I had some bumps along the way. It forced me to think outside the box and make some minor, but helpful, modifications to the original design.

3D Printing the Case

The Adafruit Learn website for this project provides a list of materials, 3D-printing files, code, and wiring diagrams.

3D-printing the toy’s casing

3D-printing internal parts

Connecting the Wires

I used a thicker gauge of wire than recommended which made soldering a little difficult. This was my first time using heat-shrink tubes to insulate connected wires to keep them from being exposed to other connections. It worked out well, and I highly recommend using some heat-shrink tubes on clamps to protect circuit boards.

Soldering the boards at my work station - shown with helping hands,
silicone mat, tweezers, solder, and solder sucker (desoldering tool)

Some Assembly Required

After connecting all the wires, I began assembling the toy. I attached the SPDT switch to the inside opening. The 3D-printed case included a mounting bracket inside for the switch. Metal tabs on the switch clicked right into place.

Installed SPDT switch inside the case

I quickly realized the tightness of the space where the internal electronics had to be mounted. The thicker wires made it even more difficult to get all the electronic components tucked inside the casing.

Electronics mounted inside casing with SPDT switch shown

Modifying the Dome Lid

Because of the tight enclosure, I wasn’t able to connect the flat-bottomed, dome-shaped lid onto the casing. I took a closer look at the dome lid and decided I could make a small adjustment that would allow more room for the electronics.

I opened the dome lid .stl object file in Tinkercad and designed a hole in the bottom of the dome model. The hole had to be large enough for the electronics, but not interfere with the dome’s structure. Additionally, the hole couldn’t have a diameter too wide that would interfere with the connecting ridge.

Model of modified dome lid


Download or modify a 3D version of the modified dome lid I created.

Finally Made It!

After weeks of trying different M2 machine screw lengths (to get the electronics mounted) and brainstorming ways to get the dome lid to close over such a tight space, I finally finished building the Adafruit LED Sand Toy. I downloaded the provided code from Adafruit and began playing with this cool electronic and responsive toy.


Comments

Popular posts from this blog

Tippe Top Design

The physics behind the tippe top toy have been the subject of studies by scientists for years - dating back to the early 1890s. The tippe top is spun just like any other top, but pulls a surprise stunt. The top flips over and spins on its stem when given a strong twist. Why does the tippe top flip over? What does this mean for anyone planning to make one on a 3D printer? Nobel Prize winners, Wolfgang Pauli and Niels Bohr, take a break with a tippe top at the 1954 inauguration of the Institute of Physics in Lund, Sweden. Early Top Patents The first patent for the top, listed as “Wendekreisel”, was filed in Germany by Helene Sperl in 1891. While the patent seems to describe the top’s inversion property, reproductions of the top have proved unsuccessful. The patent expired after one year because the fee wasn’t paid. During a trip to South America, Danish engineer Werner Østberg noticed kids spinning a small, round fruit. While spinning, the fruit would flip over (or...

Creating VR Environments

Virtual reality (and augmented reality) have become major buzz words in educational technology. With inexpensive VR headsets, such as Google Cardboard , and the use of student smart phones, teachers can take their classes on virtual reality field trips - a much more preferred trip to administrators than pouring money into bus fuel. But besides immersing students in gimmicky games and field trips until the VR sickness kicks in, how else can virtual reality be leveraged as a learning tool? Building with A-Frame I attended the annual Computer Science Teachers Association (CSTA) Conference in Omaha, Nebraska. I had made it my personal and professional mission to learn how virtual reality could be used as a learning tool in computer science education. On the very first day I dove into a VR workshop where I discovered one method of programming virtual reality worlds and creating interactive 3D environments. Anyone who thinks code must be developed from scratch is kidding ...

Sprites & Games

Any graphical object or character in a video game is known as a sprite. Code provides instructions for sprites. A game’s program can tell the sprite how to move or react when a button is pressed. Every time Mario bops his head on a box and a mushroom appears, sprites (Mario, the box, the mushroom) are interacting with each other and responding accordingly based on the game’s code. You can create your own sprites to use in your video games! I used Piskel , an online sprite creation tool, to create my m4ttbit sprite for a blob-catching game I made using Scratch . Piskel lets you create an 8-bit or pixelated sprite and even animate it. To create an animated sprite, you’ll want to develop a frame for each movement. A frame toolbar in Piskel lets you easily create a frame for a standing sprite or a series of images to make it look as though your sprite is running, jumping, or flipping. When you’re finished creating the frames or series of images for your sprite, export them by savin...