Lego Robot for Beginers
![001 intro pic 1.JPG](/proxy/?url=https://content.instructables.com/F6J/GH9J/GK3TOCXP/F6JGH9JGK3TOCXP.jpg&filename=001 intro pic 1.JPG)
![002 intro pic 2.JPG](/proxy/?url=https://content.instructables.com/F7J/D705/GJQEAV1O/F7JD705GJQEAV1O.jpg&filename=002 intro pic 2.JPG)
![003 intro pic 3.JPG](/proxy/?url=https://content.instructables.com/F6V/SW92/GJQEAV1Q/F6VSW92GJQEAV1Q.jpg&filename=003 intro pic 3.JPG)
![004 intro pic 4.JPG](/proxy/?url=https://content.instructables.com/FPS/G7NZ/GK3TOCY8/FPSG7NZGK3TOCY8.jpg&filename=004 intro pic 4.JPG)
I first got into robotics when i was given a Lego mind stormers kit for Christmas
I quickly built all the robots in the book and got hooked on robotics
For me the best part was being able to take a robot designed to do one thing and program it to do something else
Being hooked i soon moved on to other robotics and the Lego got shelved
while packing for uni the other day i found my Lego and remembered the joy programming it had given me
i built the "bugbot" (so named because of the look of the bumper and its compact(ish) size) in the hopes of getting others hooked on robotics
the bugbot is designed to be easy to build, robust and easily customized, a perfect toy robot for beginners
I quickly built all the robots in the book and got hooked on robotics
For me the best part was being able to take a robot designed to do one thing and program it to do something else
Being hooked i soon moved on to other robotics and the Lego got shelved
while packing for uni the other day i found my Lego and remembered the joy programming it had given me
i built the "bugbot" (so named because of the look of the bumper and its compact(ish) size) in the hopes of getting others hooked on robotics
the bugbot is designed to be easy to build, robust and easily customized, a perfect toy robot for beginners
Parts List
![005 parts pic 1.JPG](/proxy/?url=https://content.instructables.com/FJ8/UYJ1/GJQEL6VO/FJ8UYJ1GJQEL6VO.jpg&filename=005 parts pic 1.JPG)
![006 parts pic 2.JPG](/proxy/?url=https://content.instructables.com/F8A/VPRO/GJQEHJS9/F8AVPROGJQEHJS9.jpg&filename=006 parts pic 2.JPG)
![007 parts pic 3.JPG](/proxy/?url=https://content.instructables.com/FQ2/QBMX/GJQEAV22/FQ2QBMXGJQEAV22.jpg&filename=007 parts pic 3.JPG)
![008 parts pic 4.JPG](/proxy/?url=https://content.instructables.com/FHK/RYP6/GK3TOD0R/FHKRYP6GK3TOD0R.jpg&filename=008 parts pic 4.JPG)
![009 parts pic 5.JPG](/proxy/?url=https://content.instructables.com/FRM/725Q/GJQEL6VX/FRM725QGJQEL6VX.jpg&filename=009 parts pic 5.JPG)
![010 parts pic 6.JPG](/proxy/?url=https://content.instructables.com/FA5/X1WN/GJQEL6W2/FA5X1WNGJQEL6W2.jpg&filename=010 parts pic 6.JPG)
misc bricks (image 1)
1 - rcx brick
2 - pipes
4 - short connection cables
1 - light sensor
1 - button
2 - large wheels
2 - motors
4 - wheel hubs
2 - pair shaped pieces
1 - rubber band
thin bricks (image 2) each brick is named by number of "studs" at the top
6 - 1*16
6 - 1*12
2 - 1*10
4 - 1*8
6 - 1*6
12 - 1*4
5 - 1*2
axles (image 3) each axle is named after its length compared to a studded brick
1 - 6 length
4 - 5 lengths
4 - 3 lenghts
3 - 2 lengths
flat bricks (image 4)
3 - 2*6 (filler bricks can be changed see note)
1 - 2*4
2 - 1*4
1 - 1*2
4 - corner bricks
axle connectors (image 5)
4 - "1" angles
1 - axle right angle
2 - peg to axle adaptors
8 - peg to axle right angles
11 - pegs
4 - holey 1*1 blocks
1 - flat axle stabiliser
4 - small axle spacer
5 - large axle spacer
thick bricks (image 6)
2 - 2*4
bumper bricks (image 6)
2 - yellow angle bricks
1 - rcx brick
2 - pipes
4 - short connection cables
1 - light sensor
1 - button
2 - large wheels
2 - motors
4 - wheel hubs
2 - pair shaped pieces
1 - rubber band
thin bricks (image 2) each brick is named by number of "studs" at the top
6 - 1*16
6 - 1*12
2 - 1*10
4 - 1*8
6 - 1*6
12 - 1*4
5 - 1*2
axles (image 3) each axle is named after its length compared to a studded brick
1 - 6 length
4 - 5 lengths
4 - 3 lenghts
3 - 2 lengths
flat bricks (image 4)
3 - 2*6 (filler bricks can be changed see note)
1 - 2*4
2 - 1*4
1 - 1*2
4 - corner bricks
axle connectors (image 5)
4 - "1" angles
1 - axle right angle
2 - peg to axle adaptors
8 - peg to axle right angles
11 - pegs
4 - holey 1*1 blocks
1 - flat axle stabiliser
4 - small axle spacer
5 - large axle spacer
thick bricks (image 6)
2 - 2*4
bumper bricks (image 6)
2 - yellow angle bricks
Base
![011 step 1 pic1.JPG](/proxy/?url=https://content.instructables.com/F8O/8I0D/GJQEL7CW/F8O8I0DGJQEL7CW.jpg&filename=011 step 1 pic1.JPG)
![012 step 1 pic 2.JPG](/proxy/?url=https://content.instructables.com/F7M/1DRH/GJQEHKAE/F7M1DRHGJQEHKAE.jpg&filename=012 step 1 pic 2.JPG)
![013 step 1 pic3.JPG](/proxy/?url=https://content.instructables.com/F2S/0XJ1/GK3TODW8/F2S0XJ1GK3TODW8.jpg&filename=013 step 1 pic3.JPG)
![014 step 1 pic 4.JPG](/proxy/?url=https://content.instructables.com/FUG/769Q/GJQEHKAJ/FUG769QGJQEHKAJ.jpg&filename=014 step 1 pic 4.JPG)
![015 step 1 pic 5.JPG](/proxy/?url=https://content.instructables.com/FKQ/58MA/GJQEHKB6/FKQ58MAGJQEHKB6.jpg&filename=015 step 1 pic 5.JPG)
![016 step 1 pic 6.JPG](/proxy/?url=https://content.instructables.com/F5O/L9T2/GJQEL7CY/F5OL9T2GJQEL7CY.jpg&filename=016 step 1 pic 6.JPG)
lock motors together using a flat 2*4 piece (image 1)
flip motors over and connect together with flat 1*4 pieces (image 2)
connect a thin 1*16 brick either side of the flat connectors (image 3)
invert motors and attach wheels, and connect thin 1*12 bricks to either end of of the 1*16 bricks (image 4)
add corner pieces under the 1*12 bricks (image 5)
finish base by attaching 1*16 bricks down the sides
flip motors over and connect together with flat 1*4 pieces (image 2)
connect a thin 1*16 brick either side of the flat connectors (image 3)
invert motors and attach wheels, and connect thin 1*12 bricks to either end of of the 1*16 bricks (image 4)
add corner pieces under the 1*12 bricks (image 5)
finish base by attaching 1*16 bricks down the sides
Wheels
![017 step 2 p1.JPG](/proxy/?url=https://content.instructables.com/FS2/O5MP/GJQEL7EF/FS2O5MPGJQEL7EF.jpg&filename=017 step 2 p1.JPG)
![018 step2 p2.JPG](/proxy/?url=https://content.instructables.com/FEF/DLMG/GJQEHKD6/FEFDLMGGJQEHKD6.jpg&filename=018 step2 p2.JPG)
![019 step2 p3.JPG](/proxy/?url=https://content.instructables.com/FS5/ES8G/GJQEHKD7/FS5ES8GGJQEHKD7.jpg&filename=019 step2 p3.JPG)
![020 step2 p4.JPG](/proxy/?url=https://content.instructables.com/F67/2CEF/GJQEHKD8/F672CEFGJQEHKD8.jpg&filename=020 step2 p4.JPG)
![021 step2 p5.JPG](/proxy/?url=https://content.instructables.com/FC4/E6Z7/GJQEL7EH/FC4E6Z7GJQEL7EH.jpg&filename=021 step2 p5.JPG)
![022 step2 p6.JPG](/proxy/?url=https://content.instructables.com/F8L/VB4S/GJQEAVS9/F8LVB4SGJQEAVS9.jpg&filename=022 step2 p6.JPG)
![022 step2 p7.JPG](/proxy/?url=https://content.instructables.com/F07/AUYT/GK3TODY5/F07AUYTGK3TODY5.jpg&filename=022 step2 p7.JPG)
sandwich a peg to axle right angle between two "1" angles using a 3 axle, make two (image 1)
attach to a 1*6 with 2 pegs (image 2)
attach 3 spaces in from the outer rail, the peg section facing out (image 3) put aside
start to build the wheels by attaching wheel hubs either side of a peg axle right angle, the axle must go through the hole os the wheels spin freely, make 2 (image 4)
attach a 5 axle to both, followed by two large axle spacers, add an additional small spacer to one, this becomes the back wheel (image 5)
attach wheels to base through the previously attached wheel housings, use a large spacer to attach the front and a small spacer for the back (image 6/7)
attach to a 1*6 with 2 pegs (image 2)
attach 3 spaces in from the outer rail, the peg section facing out (image 3) put aside
start to build the wheels by attaching wheel hubs either side of a peg axle right angle, the axle must go through the hole os the wheels spin freely, make 2 (image 4)
attach a 5 axle to both, followed by two large axle spacers, add an additional small spacer to one, this becomes the back wheel (image 5)
attach wheels to base through the previously attached wheel housings, use a large spacer to attach the front and a small spacer for the back (image 6/7)
Build Up
![023 step3 p1.JPG](/proxy/?url=https://content.instructables.com/FG6/KAMN/GKLIWISW/FG6KAMNGKLIWISW.jpg&filename=023 step3 p1.JPG)
![024 step3 p2.JPG](/proxy/?url=https://content.instructables.com/FD6/DDRE/GKLIWIT0/FD6DDREGKLIWIT0.jpg&filename=024 step3 p2.JPG)
![025 step3 p3.JPG](/proxy/?url=https://content.instructables.com/FEA/1Y4R/GKLJ1Z1W/FEA1Y4RGKLJ1Z1W.jpg&filename=025 step3 p3.JPG)
![026 step3 p4.JPG](/proxy/?url=https://content.instructables.com/F8E/X2JH/GKLJ5JTX/F8EX2JHGKLJ5JTX.jpg&filename=026 step3 p4.JPG)
![027 step3 p5.JPG](/proxy/?url=https://content.instructables.com/FKJ/YROA/GKLJ1Z27/FKJYROAGKLJ1Z27.jpg&filename=027 step3 p5.JPG)
![028 step3 p6.JPG](/proxy/?url=https://content.instructables.com/FXS/9ZB6/GKLIWIT2/FXS9ZB6GKLIWIT2.jpg&filename=028 step3 p6.JPG)
![029 step3 p7.JPG](/proxy/?url=https://content.instructables.com/FV3/S41L/GKLJ1Z2L/FV3S41LGKLJ1Z2L.jpg&filename=029 step3 p7.JPG)
add thin 1*2 pieces between the motor and the back wheel housing (image 1)
stack the 3 thin 2*6 pieces together and add in behind the front wheel housing (image 2/3)
lock wheel housings in place using four 1*6 pieces (image 4)
lock down frame using 1*4 pieces on each corner (image 5)
finish the front and back by adding 1*4 pieces between wheel locks (image 6)
on the front fill the gap between motor and wheel housing with 1*4 bricks (image 6)
lock the back down using a 1*12 brick across the middle (image 7)
add holy 1*1 bricks to the corners with the holes facing front and back (image 7)
stack the 3 thin 2*6 pieces together and add in behind the front wheel housing (image 2/3)
lock wheel housings in place using four 1*6 pieces (image 4)
lock down frame using 1*4 pieces on each corner (image 5)
finish the front and back by adding 1*4 pieces between wheel locks (image 6)
on the front fill the gap between motor and wheel housing with 1*4 bricks (image 6)
lock the back down using a 1*12 brick across the middle (image 7)
add holy 1*1 bricks to the corners with the holes facing front and back (image 7)
Bumper
![030 step4 p1.JPG](/proxy/?url=https://content.instructables.com/FOM/LFAI/GKLJ2A4W/FOMLFAIGKLJ2A4W.jpg&filename=030 step4 p1.JPG)
![031 step4 p2.JPG](/proxy/?url=https://content.instructables.com/FBD/Q5OS/GKLJ2A53/FBDQ5OSGKLJ2A53.jpg&filename=031 step4 p2.JPG)
![032 step4 p3.JPG](/proxy/?url=https://content.instructables.com/FA4/QI5O/GKLIWLJ5/FA4QI5OGKLIWLJ5.jpg&filename=032 step4 p3.JPG)
![033 step4 p4.JPG](/proxy/?url=https://content.instructables.com/FAZ/1B6F/GKLJ2A69/FAZ1B6FGKLJ2A69.jpg&filename=033 step4 p4.JPG)
![034 step4 p5.JPG](/proxy/?url=https://content.instructables.com/F2S/ZKL7/GKLJ2A6F/F2SZKL7GKLJ2A6F.jpg&filename=034 step4 p5.JPG)
![035 step4 p6.JPG](/proxy/?url=https://content.instructables.com/FC6/4601/GKLJ5QSD/FC64601GKLJ5QSD.jpg&filename=035 step4 p6.JPG)
![036 step4 p7.JPG](/proxy/?url=https://content.instructables.com/FRK/EX54/GKLJ5QSF/FRKEX54GKLJ5QSF.jpg&filename=036 step4 p7.JPG)
![037 step4 p8.JPG](/proxy/?url=https://content.instructables.com/F07/MGHG/GKLIWLKS/F07MGHGGKLIWLKS.jpg&filename=037 step4 p8.JPG)
![038 step4 p9.JPG](/proxy/?url=https://content.instructables.com/FU5/OS42/GKS0RZAK/FU5OS42GKS0RZAK.jpg&filename=038 step4 p9.JPG)
push the button down on top of the built up area at the front of the robot (image 1)
start the bumper by laying a pair shaped piece flat and and adding 3 2 axles (one either and and one in the middle)
attach the yellow bumper pieces to the outer 2 axles and the axle right angle to the middle (image 2)
lock in place with the last pair shaped piece
two holes in from the bend in the bumper pieces attach peg axle right angles, attach axle peg adaptor as shown (image 3)
attach the two final peg axle right angles to the inside , with the axle holes point the same way (image 4)
connect a 6 axle to the middle connector and the 5 axles to the out sides
slide a thin 1*12 brick over the axles so that the 6 axle is through its middle hole (image 5)
on the end of the 6 axle Sandwich the axle stabiliser between two thin axle spacers (image 6)
thread a rubberband through both the axle stabiliser and the hole in the 1*12 closest to the 6 axle and hold with peg (image 7)
by stretching the rubberband thread it through the other side axle stabiliser and 1*12, holding it with another peg (image8)
(this step can take a bit of patience and can be made easier by flattening out a paper clip pushing it up through both hooking the rubber band and pulling back through)
attach the 1*12 brick between the 1*1s on the front of the robot (image 9)
start the bumper by laying a pair shaped piece flat and and adding 3 2 axles (one either and and one in the middle)
attach the yellow bumper pieces to the outer 2 axles and the axle right angle to the middle (image 2)
lock in place with the last pair shaped piece
two holes in from the bend in the bumper pieces attach peg axle right angles, attach axle peg adaptor as shown (image 3)
attach the two final peg axle right angles to the inside , with the axle holes point the same way (image 4)
connect a 6 axle to the middle connector and the 5 axles to the out sides
slide a thin 1*12 brick over the axles so that the 6 axle is through its middle hole (image 5)
on the end of the 6 axle Sandwich the axle stabiliser between two thin axle spacers (image 6)
thread a rubberband through both the axle stabiliser and the hole in the 1*12 closest to the 6 axle and hold with peg (image 7)
by stretching the rubberband thread it through the other side axle stabiliser and 1*12, holding it with another peg (image8)
(this step can take a bit of patience and can be made easier by flattening out a paper clip pushing it up through both hooking the rubber band and pulling back through)
attach the 1*12 brick between the 1*1s on the front of the robot (image 9)
Build Up
![039 step5 p1.JPG](/proxy/?url=https://content.instructables.com/FK1/H86I/GKTJNV57/FK1H86IGKTJNV57.jpg&filename=039 step5 p1.JPG)
![040 step5 p2.JPG](/proxy/?url=https://content.instructables.com/FCB/451Q/GKTJNV5D/FCB451QGKTJNV5D.jpg&filename=040 step5 p2.JPG)
![041 step5 p3.JPG](/proxy/?url=https://content.instructables.com/F3V/KPQJ/GKS0RZCA/F3VKPQJGKS0RZCA.jpg&filename=041 step5 p3.JPG)
fix the motors in place using 4 1*8 bricks (image 1)
lock in the 1x1 bricks using 1x4s (image 1)
(NOTE: i did not have enough 1x4s to complete this step so i used 2, 1x2 bricks on one corner)
add wires to motors and buttons, facing backwards (image 2)
finish the body using the 2, 1x12 and the 2, 1x16 bricks (be careful not to lock the wires into place) (image 3)
finally lock down the motors using the 2, 1x10 bricks as shown (image 3)
lock in the 1x1 bricks using 1x4s (image 1)
(NOTE: i did not have enough 1x4s to complete this step so i used 2, 1x2 bricks on one corner)
add wires to motors and buttons, facing backwards (image 2)
finish the body using the 2, 1x12 and the 2, 1x16 bricks (be careful not to lock the wires into place) (image 3)
finally lock down the motors using the 2, 1x10 bricks as shown (image 3)
The Final Touches
![042 step6 p1.JPG](/proxy/?url=https://content.instructables.com/FJ4/EA8F/GLHRYOIQ/FJ4EA8FGLHRYOIQ.jpg&filename=042 step6 p1.JPG)
![043 step6 p2.JPG](/proxy/?url=https://content.instructables.com/F11/5C3L/GLHRYOIV/F115C3LGLHRYOIV.jpg&filename=043 step6 p2.JPG)
![044 step6 p3.JPG](/proxy/?url=https://content.instructables.com/FBW/SVY4/GLHRYOJ1/FBWSVY4GLHRYOJ1.jpg&filename=044 step6 p3.JPG)
![045 step6 p4.JPG](/proxy/?url=https://content.instructables.com/FOU/NDWU/GLHRYOJ7/FOUNDWUGLHRYOJ7.jpg&filename=045 step6 p4.JPG)
![046 step6 p5.JPG](/proxy/?url=https://content.instructables.com/FDN/EOFL/GLHRYOJD/FDNEOFLGLHRYOJD.jpg&filename=046 step6 p5.JPG)
![047 step6 p6.JPG](/proxy/?url=https://content.instructables.com/F5R/DJJ6/GLHRYOJL/F5RDJJ6GLHRYOJL.jpg&filename=047 step6 p6.JPG)
![048 step6 p7.JPG](/proxy/?url=https://content.instructables.com/FLO/SHS3/GLHRYOJV/FLOSHS3GLHRYOJV.jpg&filename=048 step6 p7.JPG)
![049 step6 p extra.JPG](/proxy/?url=https://content.instructables.com/FJI/UD66/GLHRYOK7/FJIUD66GLHRYOK7.jpg&filename=049 step6 p extra.JPG)
connect a flat 2x1 piece to the bottom of a thin 2x1 piece, this then needs to be attached to the front of the robot, by pushing it in to the outwards facing holes on the lowest body piece... (image 1)
attach a light sensor to the pieces just added. thread the wire up behind the bumper (image 2)
the light sensors wire will not be long enough to reach the RCX brick when that is attached later, so connect in to the main body of the bot between the bricks locking down the motor, and add another short wire (image 3)
to add the housing for the RCX flip the robot over and attach 2x4 pieces between the motor supports and corner pieces (image 4)
connect all the cables to the RCX, standing it on the pieces just added, the motor cables will need to be attached as follows right into A and left into B (image 5)
to make sure the RCX stays in place while the bot is spinning in circles (with the right programming it can spin on its own axis) it needs to be stopped from moving side to side, this is where manly pick tubing comes to its own =P
connect two tubes together with a peg and add pegs at either end (image 6)
theses tubes then need to be connected around the RCX, by pushing the pegs into the 1x1 on either side of the RCX (image 7)
** additional** you may wish to strengthen the support pieces for the RCX just in case it nose dives of a table or something =S
to provide more support add 2 additional flat 2x2 pieces to the corner supports(to build it up to the same height) then add a flat 2x4 piece to provide more stability
attach a light sensor to the pieces just added. thread the wire up behind the bumper (image 2)
the light sensors wire will not be long enough to reach the RCX brick when that is attached later, so connect in to the main body of the bot between the bricks locking down the motor, and add another short wire (image 3)
to add the housing for the RCX flip the robot over and attach 2x4 pieces between the motor supports and corner pieces (image 4)
connect all the cables to the RCX, standing it on the pieces just added, the motor cables will need to be attached as follows right into A and left into B (image 5)
to make sure the RCX stays in place while the bot is spinning in circles (with the right programming it can spin on its own axis) it needs to be stopped from moving side to side, this is where manly pick tubing comes to its own =P
connect two tubes together with a peg and add pegs at either end (image 6)
theses tubes then need to be connected around the RCX, by pushing the pegs into the 1x1 on either side of the RCX (image 7)
** additional** you may wish to strengthen the support pieces for the RCX just in case it nose dives of a table or something =S
to provide more support add 2 additional flat 2x2 pieces to the corner supports(to build it up to the same height) then add a flat 2x4 piece to provide more stability
FINISHED!!!!
![050 program.JPG](/proxy/?url=https://content.instructables.com/F8A/S0Y8/GLHRYOM3/F8AS0Y8GLHRYOM3.jpg&filename=050 program.JPG)
![051 program2.JPG](/proxy/?url=https://content.instructables.com/FNI/8IP8/GLHRYOM8/FNI8IP8GLHRYOM8.jpg&filename=051 program2.JPG)
the easy part is now done.....
the bugbot is ready to program.... what it can do is up to your imagination
here are some ideas
program it to:
avoid walls
follow lines
stay inside a box taped on a table top
dance the hokey pokey
add a pen to the front and get ti to draw letters
using a combination of the above the bugbot makes a really good toy which can avoid the edge of a table and turns around when the bumper is hit...
thanks for reading by 'ible
if i could get my hands on mindstorms nxt i would make a mark 2 version
so please vote for me in the toy contest
the bugbot is ready to program.... what it can do is up to your imagination
here are some ideas
program it to:
avoid walls
follow lines
stay inside a box taped on a table top
dance the hokey pokey
add a pen to the front and get ti to draw letters
using a combination of the above the bugbot makes a really good toy which can avoid the edge of a table and turns around when the bumper is hit...
thanks for reading by 'ible
if i could get my hands on mindstorms nxt i would make a mark 2 version
so please vote for me in the toy contest