Skip to content

Duplo brick with RGB LED and microcontroller

?
Creation's quality: 0.0/5 (0 votes)
Evaluation of members on the printability, utility, level of detail, etc.
  • 652 views
  • 1 like
  • 23 downloads

3D model description

This is a Duplo brick (2x4, 2 high) with space for the following features:

  • a 5mm LED;
  • a CR2032 holder (of the “insert two stripped wires” sort);
  • a button switch (16mm diameter hole).

In my case, I used an ATTiny85 microcontroller as well, and made the LED an RGB LED. The button has the two following functions:

  • if you play a rhythm on the button, the LED will then repeat the rhythm (flashing in your favourite colour);
  • if you long-press the button, you can select what is your favourite colour (it will cycle through hues, release when satisfied).

My two-year old loves this brick!

I wrote this as a remix from topacsz' Smart LEGO Duplo brick (but rewrote everything from scratch). The main differences are: this does not use a CR2032 holder (one is included in the model), and this uses a panel-mount switch. Why? Because these were the components I had available at the time, here's why. Also I thought that the bigger button would be easier to manipulate for a child's hand.

There is still much room for improvement:

  • the microcontroller still has one free pin, which can be used for a tiny speaker (think headphone speaker);
  • the 5mm RGB LED could be replaced by a WS2812, which has a smaller footprint, uses less pins (only one instead of three), and could be attached inside the brick, facing a thin part of the brick wall^* (lithophane-style). This would have been safer for the eyes of the youger ones, and having a flat wall would have made the thing maybe more resilient as well.
  • what to do with the two pins left available after this? Motors? Make this an alarm clock?
  • while I housed the microcontroller in a DIP8 socket (to be able to remove and reprogram), the real “pro” solution would have been to include an ISP header on the side of the brick. But then soldering all this inside the brick would have been a complete nightmare!

^* (Let's stop here for a moment and consider that I just wrote “the wall of the brick”, which is not the way these things usually work.)

Written in OpenSCAD. Printed in PLA (Arianeplast — French manufacturer) on an Ender 3.

  • 3D file format: STL
  • Publication date: 2020/02/05 at 08:37

Tags

Creator

Best sellers of the category Game


Add a comment


Would you like to support Cults?

You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:

  • ADVERTISING: Disable your AdBlock banner blocker and click on our banner ads.

  • AFFILIATION: Make your purchases online by clicking on our affiliate links here Amazon or Aliexpress.

  • DONATE: If you want, you can make a donation via PayPal here.

  • WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!