8

enter image description here

I have two different buttons (B3F-1000 and 3a250vac switch) which I want to integrate into a LEGO "machine" which I'm powering with an Arduino. Since the rest is integrated into LEGO plates, I also want to do the same for the buttons, which means they need to be covered in LEGO, but still fit with the rest, which means no glue.

Looking for suggestions on how to attach LEGO parts in a way so the user pushes a LEGO part and it is registered by the button. It's a very tiny range of motion, so it doesn't need to move much in the process, and it's not a toggle button, which means every press will feel the same.

Picture with two common parts for scale.

3
  • Are you wanting to place the buttons inside of the bricks, or just be able to stack them with other Lego parts? Commented Sep 3, 2020 at 1:29
  • @MatthewJensen they should just be stacked, as a part of the build, not inside.
    – bogen
    Commented Sep 3, 2020 at 6:29
  • 2
    Are you willing to drill, glue or otherwise irrevocably alter your bricks? What are the size constraints of the solution? How stable must it be?
    – zovits
    Commented Sep 8, 2020 at 10:32

2 Answers 2

7
+50

For the first switch I bent the legs of the button and splayed them out just a little bit.

enter image description here

Next I stripped off the caps of two Dupont connectors, ran them through the headlight bricks and connected the button upside down.

enter image description here

An axle will trigger the button. Either one with a stud on one end (and a 1x1 tile) or a regular one with a half bush.

enter image description here

A 2x2 brick on top serves as a button.

enter image description here

The second switch is a hacked light brick. They're very inexpensive on bricklink.

enter image description here

I took out the batteries and the LED (they're not soldered as they're meant to come apart) and replaced the one on the right with a metal contact.

For that I took a paper fastener, cut off one of its legs and bent it in an e shape.

enter image description here

2
  • 2
    Solution with hacked light brick is just great combination of non-destructive use of LEGO with 3rd party elements.
    – Alex
    Commented Sep 14, 2020 at 14:06
  • This is amazing! Thanks
    – bogen
    Commented Sep 15, 2020 at 9:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.