LEGO + Arduino = Brickduino (1. the LED)
I know LEGO has the Mindstorms-set that probably is great, but wouldn’t it be even better (and cheaper) to hack your regular bricks into your own micro controller controlled LEGO? Well I think so!
I had this idea for a long time, but to many other projects stood in the way until Tristram posted this instructable: DIY-LEGO
We tried to work together on this project, but it seemed impossible to synchronize our agenda’s and get together so we both run our own projects. First I took the same route Tristran took and even build myself a MYDIYCNC to cut the bricks, but finally I decided to take an other approach.
A nice first step in this project will be a simple LED in a brick.
(Tristram also did a LEGO-LED but with his own approach)
My goals for the LEGO-LED:
- It must be 5V so is can be easily controlled by an Arduino micro controller
- It must fit in a 2×2 brick and be flush within the brick
- There must be come logic in the positive and negative poles
- There must be a easy (LEGO-like) system to connect cables
- The design must be useful for different modules in the future, like sensors and switches. (so there must be a possibility for three poles: 5V, GND and signal)
- It must be repeatable
- It must be cheap (not counting the CNC I build for it)
- It definitely must look cool
Step 1: You will need:
Step 2: 1) The cables
Normally I wouldn’t start with the cables, but my bricks for the LED-module aren’t delivered yet, so the cables it will be.
The cable will be a 1×2 black brick with one of the studs made into a connector and a 1×2 red plate on the bottom with the little round stud in the middle replaced by a connector.
The hole in the Bottom plate
To make the connector, we need a 3mm x 4 mm hole though the 1×2 plate. I use my CNC for that. (you can also use a drill and file). To make it easier to repeat, I first made a jig to hold the brick out off 6 mm thick HDPE plastic. The G-Code to make the jig is included in this instructable. I used a 1.4 mm bit in the CNC.
As you can see on the pictures, the LEGO fits snugly in the jig. When I zero-out the CNC on the little hole I made in the jig, the bricks will be cut perfectly every time. (G-code included. You might need to change the .txt extension in .ngc)
Step 3: The connector on the bottom plate
I tried manny different ways to make the connector. I tried 3mm nails, machined parts and bolds, but I think that I found a good solution now.
The best solution that I found until now for the bottom connector is a folded strip of copper. I was lucky to find a nice 0.5 mm thick, 3.5 mm wide strip of copper at the place where I buy my metals.
See the drawing on how to fold the strip.
To make this also easily repeatable, I also made a jig for this.
You can also use needle-nose-pliers.
- Cut the strip to a length of 30 mm
- Fold up the last 1.5 mm on both sides
- Fold up again 4.5 mm from both folds
- Fold down 3.5 mm from the last folds
- Fold down 2.5 mm from the last folds
If everything went well, you ended up with something that looks like the pictures.
For more detail: LEGO + Arduino = Brickduino (1. the LED)
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw
This Post / Project can also be found using search terms: