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...

micro:bit Fireworks with Python

I used the MicroPython editor to program a fireworks animation that controls the brightness of the LEDs as the firework explodes on the LED display. For young computer science students, this is a great introduction to text-based programming, arrays, and animating LEDs. Code # Display message and show pacman with firework option from microbit import * firework1 = Image("00000:00000:00000:00000:00200") firework2 = Image("00000:00000:00000:00200:00100") firework3 = Image("00000:00000:00200:00100:00000") firework4 = Image("00000:00000:00900:00000:00000") firework5 = Image("00000:07870:08580:07870:00000") firework6 = Image("60706:01210:72127:01210:60706") firework7 = Image("30503:00000:50005:00000:30503") firework8 = Image("10201:00000:20002:00000:10201") all_firework = [firework1, firework2, firework3, firework4, firework5, firework6, firework7, firework8] while True: if button_a.is_pressed(): ...

Coding & Making in Ed Tech

I attended the 2017 ISTE Conference in San Antonio where I had the privilege to explore the latest trends and movement in educational technology. New platforms for teaching computer science skills to new technologies, like virtual and augmented reality, are really taking off in education. But is that enough? Virtual & Augmented Reality Let me get these two technologies out of the way first. Virtual reality puts learners in another environment. When they put on VR goggles or use a smartphone with the popularly cost-efficient Google Cardboard , students are given access to new worlds and locations they might never get to explore in real life. Virtual reality, I believe, is still in its infancy, both in the consumer and educational markets. Currently in education, I see virtual reality used to take students on virtual field trips. They can explore national monuments, tour the Louvre in Paris, or visit animals deep in the Pacific Ocean. In addition to exploring our world, other ...