1a3e9273 fa90 4f09 8729 695b02f5c319


Lego Light Bot

by jflottmeyer

Published on February 1, 2018

An arduino lego robot that likes and seeks out light.

Duration: 6-8 hours

How To Make It


Set up the main drive 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.
047bac7a 45fb 4bf1 8f1f 4f3517f2cd9f


Set up gears 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.
Ec00a4bc b065 43c6 9882 83bbdb1519d5


Add some balance to your frame Use something to connect some swiveling wheels to the front (and back if possible) These will keep the bot from tipping.
Bdf9fae9 d87a 4018 8cbd 5c846c2da938


Add a frame piece for the front of your bot. 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.
Fd06022d 4552 408c bccd b7fc50556067


Add the arduino and connect it to your bots head 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.
A15db5c0 91e1 4046 92dc b7e8417be6c0


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


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

Secret Tickler

A vibration motor attached to two wires that you put down someone's shirt.


Create a miniature electronic football game with our littleBits Premium Kit. Get yours today.

"Creep-er-Treat": Life-size Minecraft Creeper giving out candy to Trick-or-Treaters!

Last year we made a creeper that scared kids and since then he has grown and wants to make kids happy with sweet treats! My daught...