1a3e9273 fa90 4f09 8729 695b02f5c319


Lego Light Bot

by jflottmeyer

Published on July 24, 2017

An arduino lego robot that likes and seeks out light.

Duration: 6-8 hours

How To Make It

STEP 1 : Set up the main drive

047bac7a 45fb 4bf1 8f1f 4f3517f2cd9f

I put the tethered motors* back to back on a brick adapter so that I could connect them to a lego plate. Then I connected the lego plate to some technic frame pieces. *These absolutely have to be the tethered motors so that we can make use of the 'Variable' setting so that they can go both forward and backward.

STEP 2 : Set up gears

Ec00a4bc b065 43c6 9882 83bbdb1519d5

Using the lego frame you built around the motors, set up a vertical place to add gears, the first gear you will attach to the motormate will be a smaller one. We are going to gear down the motors so that the bot moves slow but it will be more robust to go over obstacles (the other legos laying around). So Chain a few gears together having the smaller gears turn the larger gears.

STEP 3 : Add some balance to your frame

Bdf9fae9 d87a 4018 8cbd 5c846c2da938

Use something to connect some swiveling wheels to the front (and back if possible) These will keep the bot from tipping.

STEP 4 : Add a frame piece for the front of your bot.

Fd06022d 4552 408c bccd b7fc50556067

Connect the button bit to the center of the fork and put the light sensors on either side. Put together a frame for the front of your bot and connect it to the case holding the motors. Using another brick adapter piece or pieces connect the button and the light sensors to the front of your bot.

STEP 5 : Add the arduino and connect it to your bots head

A15db5c0 91e1 4046 92dc b7e8417be6c0

Connect the arduino using a brick adapter to the head region or wherever it fits just leave it in a good place you can connect it easily to upload its commands.

STEP 6 : Program!

Set up your bits, and play around with your bot!

STEP 7 : Tweak / Play

As you test your bot be sure to refine it, you may need to increase / decrease the sensitivity or play with the wheel positioning, or create a bumper for the button so that the bot doesn't get trapped in the corner. Maybe it's not a robot that likes the light but a bug bot that likes to hide in the dark spaces - reverse the light sensors to see what happens.

Related Projects


You have arrived at Headquarters! Command your Universe from up to 100 feet away within the Control Room! Also, use...

Mrs Weasley's clock

I've reproduced Mrs Weasley's clock with my littleBits.It shows a spoon of "me" moving from "Work" to "Home" when I'm on my way ho...

The Elf

Elf built with paper box!