Лего буст самоделки с инструкциями

Introduction: LEGO Boost Candy Sorter

This project is a LEGO-based reimplementation of an existing Arduino candy sorter project. Building with LEGO block-units made this a challenge, but programming and debugging the LEGO Boost via the app is much easier compared to Arduino.

The sorter goes through a loop of movements and events to sort candy:

  1. the swivelling plate picks up one candy by moving the hole under the feeder tube
  2. It turns to move that candy under the color sensor.
  3. The color sensor sees the color, and a slide rotates so that the candy will fall in the correct color zone or bucket.
  4. The plate turns to bring the candy to the drop location, where the floor ends and the slide begins.
  5. The slide turns back to its initial position

Throughout this build, colors don’t matter. We used bricks from our spare collection, with no record of which LEGO set they once belonged to. The notable exception being the LEGO Boost main block, external motor and external color sensor. One exception in terms of color: the region around the color sensor is intentionally white, so the color detection of the candy is not disturbed by the surrounding LEGO bricks.

Let’s get started.

Step 1: Swivelling Transport Plate

Get the parts

Get the following parts (as seen in the first picture). The slopes should be white, the other parts can be any color. The hole in the small Technic block is not a regular hole, rather one that doesn’t allow the axle to turn (as seen here on bricklink ) That will be crucial later.

Assemble the parts

Assemble the parts (second picture). This plate will be swinging back and forth to transport candy from the supply to the color sensor, to the sorting ramp, and then back to its starting position to pick up the next piece of candy. Only the wheel part sticks out on the top. We didn’t have a wheel attachment with height one. In the final machine, it didn’t look like the wheel was actually doing anything, so you can probably do without. I just wanted to make sure the swivelling plate doesn’t touch the floor when it turns.

Step 2: Technic Gear Assembly

Get the parts

N.B. the bevel gear pictured is a 12-tooth version. This part was introduced in 1995. An earlier 14-tooth version as introduced in 1980 would work just fine. Whatever version you use, you’ll need a matching gear later in the build.

The holes in the 1×6 Technics brick aren’t used in the build, so you can use a regular brick instead.

The length of the axle we used was 10 studs. A bit shorter may be enough. (Cfr. second picture)

Assemble the parts

As seen in the third picture.

Join both pieces together

As seen in the fourth picture. The swivelling plate doesn’t need to touch the grey Technic rectangle. The axle should extend a bit beyond the swivelling plate. The axle will rest in a hole in the floor of the complete build.

Step 3: Prepare the Connection to the Motor Block

Get parts

get an axle and another bevel gear. The blue piece is there as a reference for the length of the axle (but will be used in the next step). Remember to match the bevel gear type to the earlier one.

Assemble and get more parts

The grey axle goes through the middle hole, just enough to slide through the bevel gear. Make sure it doesn’t touch the perpendicular black axle.

The spacer goes onto the grey axle, and the length 3 pins go on either side. Assemble the next four blocks and get a 16 tooth gear.

Assemble

Join the new part on the previous one. The new part sits at spacer distance from the old part, connected by the length 3 pins and the axle. Slide the gear onto the grey axle where it protrudes from the new part.

Step 4: Decoration

This step is optional, as it was purely decorative. I created two minifigs that look a bit like my children, gave them a tablet in their hands (a decorated 1×2 tile with buttons and dials). I mounted them on a small plate attached on top of the long black axle so they turn back and forth as the sorter is working.

We displayed and demoed the sorter at the CoderDojo Belgium Coolest Projects fair in 2018. Decoration makes for entertained viewers!

Step 5: Build the Raised Structure

Build the structure

With assorted (and mostly regular) bricks, we’re building the structure that will hold the mechanism up and provide the floor for the candy mover. The black block pictured will be one of the legs on which the structure stands. Only one special block is used here: a simple 1×2 brick with one hole. This is where the axle from the previous part will pivot. The hole is only one unit deep, underneath is a regular brick.

Attach the previous part

The third picture shows how the previous part is attached to the new one. You can see the first leg extending «down».

You’ll see that the swivelling plate can turn freely around the black axle, and the 16-tooth gear can drive that motion via the perpendicular bevel gear.

Step 6: Add a Second Leg

Build

We extend the large standing structure of the sorter, starting with another leg. We used two short yellow plates on top of a black 2×10 plate to provide support for the slide assembly (which you will build later). Three plates have the same thickness as a standard brick, so that simplifies the overall construction.

Attach

Attach the second leg as shown in the second picture.

Step 7: Extend the Floor

Build

We extend the raised floor of the structure. This floor is two units thick throughout. Color choice is arbitrary except for the white blocks. In the area around the color sensor, we’ve selected white bricks to avoid influencing the Boost color sensor.

Attach

The second picture shows where to attach the floor extension.

Step 8: Build the Rotating Mechanisme for the Slide

Build around the external motor

The rotating slide will guide the candy to the correct color bucket. The external motor is the first Boost part we’ll integrate. We add a couple of Technic parts to fix the motor to the rest of the structure even better. The axle goes through the first hole, the pin through the second.

The slide attachment

We continue with two double-perforated 1×2 bricks and a double pin of length 3, as shown in the fourth picture. If you only have one double-perforated 1×2 brick, that’s OK. The slide attaches to only one of these.

Step 9: Build the Slide

Build

The slopes are standard two-units-wide, one-unit-high slopes. The black end slopes are six studs long and tapered, which allows the slide to turn closer to the raised floor of the construction.

Two 1×8 plates extend from the main plate by 1 unit, and avoids the slide tilting down too much when it doesn’t make contact with the bottom of the raised floor altogether.

Attach

The slide attaches to the axle using a pivot. We found this 2×2 pivot plate, but the 1×2 versions are more common and would work as well.

Slide and motor get attached to the legs of the structure, and this is where the 2 yellow plates on one of the first legs come in. The long perforated beam we attached to the front of the external motor fits perfectly on those two plates.

Step 10: Add Another Leg and More Floor Space

Build

The next leg is built from standard Lego bricks. No Technic elements, no plates, no narrow beams, just bricks.

Attach

This leg gives the structure a fourth point of support to stand on.

Extend the floor

More regular bricks to extend the raised floor (third and fourth picture).

We can now turn the structure upright for the first time. It’s far from finished, but you can get a better idea of how it will move and function now.

Step 11: More Floor Extensions and Legs

Build

More regular bricks to form the five parts seen in the first picture.

Assemble

The second, third, and fourth picture show how to assemble the five parts.

Attach

Alignment is critical, so the fifth and sixth picture clarify how to align the new piece with the existing structure.

Pictures seven and eight show the attached piece.

Check

The floor is now large enough to allow the transport swivel plate to swing (and maybe ride) back and forth. You should see basic alignment between the hole in the transport plate and the top of slide. This is where the candy will drop onto the slide.

Step 12: Feeder Tube

Before the sorting begins, candy needs to be fed into the sorter at the correct position. To facilitate this, we construct a feeding tube.

Build

We start with a 4×4 square of plates as seen in the first picture. Notice that one 1×2 piece is intentionally missing on the bottom layer. Candy will be moved away in that direction by the swivel plate. An extra plate could potentially jam larger candy pieces.

A layer of round bricks is built on top of that base, and a second layer is constructed (second picture). Both layers can be joined (third picture).

This tube is one of the only pieces of the structure that will be oriented studs-up. We need a 90-degrees attachment to connect it to the structure that way. The fourth picture shows the components for this construction. Note that we used a 1×2 plate with a sidebar, but ended up not using it. Substitute a regular 1×2 plate if you want. These components form the base of the next layer of the tube, as shown in the fifth picture.

Then a third layer can be added (sixth picture). A couple of plates (three 1×2, two 1×4 and one 1×8) are used to even everything out (seventh picture).

Decorate

In the final picture, we add a couple of decorational elements, to clearly point out the candy entry point to the user: a couple of 1×2 dial/control plates, an envelope plate and two 1×2 arrow plates on 1×2 pivots. Decoration is optional, even when it is functional…

Step 13: Mounting Wall for Feeder Tube

Build

We need a wall over the raised floor to mount the feeder tube (at 90 degrees). The wall is one unit thick. For alignment with the feeder tube, we insert two plates between the Technic attachments. A third plate is needed to make this wall exactly 9 units high, but that third plate is already mounted on the structure (can you spot a lonely 1×6 blue plate in our pictures?). We used 1×2 bricks with fixed pins, but 1×2 bricks with a hole and a pin are equivalent.

Assemble

With correct alignment as shown in the second picture, it should now be obvious how the feeder tube attaches to this wall.

Mount

Mounting the wall on the sorter is easy. It attaches to the 1×6 plate next to the 16-tooth gear on one side (third picture). We fix it to the raised floor on the other side as well, using a 2×10 brick (fourth picture). You could use a 1×10 brick, as the wall is only one unit thick. We need enough space so the swivelling plate can freely move underneath.

Step 14: Mount the Color Sensor

Build

Another arch extends over the raised floor. It supports the Boost color sensor. Three plates are used to align the sensor as well as possible. One goes on the top side, two on the bottom side. We happened to have a three unit high 2×2 brick, but three separate bricks would be just fine.

Attach

The 2×8 brick on the end supports the far end of this arch. We’ve added a couple of bricks to the raised floor to firmly hold the two arch supports in place (one for the feeder tube and one for the color sensor).

Check alignment

We can now manually swivel the transport plate and check alignment of the transport hole with the feeder tube, the color sensor, and the drop-off point at the top of the slide. You can even test it with a piece of candy (an M&M or Skittle should have the correct size). If the transport plate can not move freely between these three points, you need to retrace your steps, because something went wrong.

Step 15: The Boost Motor

Build

Gather the parts as displayed in the first picture. These include two 24-tooth crown gears and an 8-tooth gear (the smallest Technic gear).

Assemble

Insert the short red axle into the A motor, and attach the perforated 2×4 plate with the black axle as seen in the second picture. The assembly with the second perforated 2×4 plate holds the black axle in place (third picture).

The stopper prevents the axle from sliding away, but leaves enough space to allow you to manually slide the crown gear away from the 8-tooth gear to stop automatic movement, or to calibrate the starting position before starting the sorter.

Add a leg

Next we’ll add a leg to the motor block, to support it at the correct height so the whole structure doesn’t topple. Just a couple of regular 8×1 bricks and two plates are enough (picture four and five).

Attach the external cables

Attach both the external motor and the color sensor. It doesn’t matter which cable goes where, since the programming blocks don’t rely on the connection ID. Picture six and seven show the top view of the motor block and the cables coming from the main structure.

Replace batteries

If your Boost block may need new batteries, this is a good time to replace them.

Mount the motor block

We can now mount the motor block. Adjust the crown gears so they grip both the 8-tooth gear on the motor, and the 16-tooth gear on the main structure.

Admire your candy sorter

The sorter is finished! In step 16 we build a base that will hold the sorter and provide four sorting buckets. Then we need to create a Boost program, and the sorter will work! If you want to see the sorter in action as soon as possible, skip step 16 now, and return later if you want.

Step 16: The Base Plate

Build

The first picture shows the 32×32 base plate with all of the parts we use to build the sorting buckets. We foresee spectators on one side, hence we use windows there, so they can see where the sorted candy lands.

The colored translucent pieces on top of that wall are there mainly for decoration, but also they are placed in front of the zone where Skittles of that color will be deposited. The same goes for the translucent blocks in the middle of the base plate.

The side walls are there to hold up the front wall and to avoid spillage. The middle wall is the divider between the green and yellow zone. It features a small 1×2 ridge to avoid Skittles hitting the divider head-on and bouncing back. That’s probably an unlikely corner case, but we found the piece so we used it.

The two other dividers can’t be placed in standard perpendicular Lego fashion. We worked around that by using 2×2 rotary plates on the base, at a distance of 6×4 of each other, and upright 12×4 plates with 90 degree angle attachments at the last position. Details of the 12×4 plates can be seen the second picture.

The third picture shows the blocks on the right side of the base plate. They are meant to align the legs at the same position every time, so that the pivot point of the slide is centered on the base plate. Pictures five and six provide detailed views. If you built the legs of the structure differently, you should change the position of these blocks to match the legs on your sorter.

Admire

Picture six shows the finished base plate as seen from the top.

The final picture shows the sorter as it stands on the base plate.

Step 17: Create the Boost Program

Create a project

The project uses the left internal (A) motor of the Boost block, the external motor and the color sensor. Combining these elements in a program can be done via the “create a project” function of the Lego Boost app. If you’ve never created your own project, find instructions on the Lego website: https://www.lego.com/en-us/themes/boost/articles/…

Understand what the program needs to do

The main movement is the swiveling candy mover plate, driven by the A motor. Initialize it so the hole aligns with the feeder tube (slide away one of the crown gears to allow free movement, then slide the crown gear in place again). Initialize the slide in the central position.

The program can now, in an eternal loop,

  1. move the plate “a” steps further using the A motor, “a” being just enough to position the candy below the color sensor. Adapt the “a” constant by experimenting.
  2. One of the color sensor detection blocks will fire when the candy is in place, setting the “d” variable to the degrees of movement needed from the external motor to swing the slide to the correct zone. In the example, I associate red with -45, yellow with -15, green with 15, and black with 45. You might want to add a detection block for white, setting “d” to 0, to avoid movement when there is no candy.
  3. The main loop waits for one second, then reads “d” and stores it in variable “c”. Storing the current value of “d” is needed because the color sensor will see bricks of other colors when plate moves. We need to remember the value associated with the candy color so we can move the slide back to the central position.
  4. The external motor then activates, moving the slide “c” degrees.
  5. The candy mover plate will now move the plate “b” steps further using the A motor, covering the distance between the color sensor and the drop position above the slide. Adapt the “b” constant by experimenting.
  6. The program waits one second, which should be enough for the candy to drop in the correct zone.
  7. The candy mover plate moves back “a” + “b” steps. We specify a negative speed to get the motor to turn in the other direction.
  8. The slide turns back “c” degrees using the same trick: negative speed with a positive degree value.

Create the program

I think it’s fun to write your own program, but to help you, the included picture shows an example program. Values may need to be tweaked for your specific build.

Have fun!

If you tried this project, we’d like to hear from you! Please send us a message at

Bert de Bruijn <legoboostcandysorter@debruijn.be>.

This instructable and the included pictures are available under the terms of the Creative Commons Attribution-NonCommercial (CC BY-NC) license 4.0 – https://creativecommons.org/licenses/by-nc/4.0/

My original creations based on the LEGO BOOST Creative Toolbox 17101. You can build original LEGO BOOST models by following my detailed building and programming instructions.

  • Filter by
  • Categories
  • Tags
  • Show all
  • All
  • Arduino Projects
  • EV3 Projects
  • Free LEGO instructions
  • LEGO BOOST
  • LEGO industrial projects
  • LEGO instructions
  • LEGO Masterpieces
  • LEGO MINDSTORMS EV3
  • LEGO MINDSTORMS NXT
  • LEGO MINDSTORMS RCX
  • LEGO MINDSTORMS Robot Inventor
  • LEGO Power Functions
  • LEGO Projects
  • LEGO Spike Essential
  • LEGO Spike Prime
  • LEGO Technic
  • LEGO Technic Projects
  • LEGO WeDo 2.0
  • NXT Projects
  • Other
  • Power Functions Projects
  • RCX Projects
  • All
  • admin

July 31, 2019

A spaceship arcade game built with LEGO BOOST set 17101

🔒 LEGO BOOST Spaceship Game

LEGO BOOST Spaceship Game Classic arcade… LEGO BOOST style! This LEGO BOOST project lets you become the pilot of a spaceship! You can build this game […]

December 17, 2019

this LEGO BOOST plotter canwrite text and draw

🔒 LEGO BOOST Mobile Plotter

LEGO BOOST Mobile Plotter Write anything anywhere with this LEGO plotter This LEGO BOOST plotter robot lets you write text on any flat surface. You can […]

July 3, 2020

Whac-a-mole game built with LEGO BOOST Creative Toolbox 17101.

🔒 LEGO BOOST WHAC-A-MOLE

LEGO BOOST WHAC-A-MOLE Are you fast enough? This LEGO BOOST Whac-A-Mole game  is my own version of the classic arcade game. Moles pop up from their […]

September 15, 2020

LEGO BOOST music sequencer

🔒 LEGO BOOST Music Sequencer

LEGO BOOST Music Sequencer Making electronic music with LEGO BOOST With this LEGO Music Sequencer, you can compose drum and weird electronic music loops. This LEGO […]

September 15, 2020

A functional LEGO Cash Register based on LEGO BOOST Creative Toolbox 17101.

🔒 LEGO BOOST Cash Register

LEGO BOOST Cash Register Food? I’d rather go shopping for LEGO bricks This LEGO Cash Register features a working conveyor belt, a price tag scanner that […]

November 15, 2020

🔒 LEGO BOOST Steam Train

LEGO BOOST Steam Train Choo Choo! All aboard the LEGO BOOST Train This LEGO BOOST Steam Train Locomotive is inspired by the steam train locomotive 131 […]

December 15, 2020

🔒 LEGO BOOST Blaster Gun

LEGO BOOST Blaster Gun Put’em up! I have a LEGO dart gun loaded and ready to fire! Nobody will get hurt by this fun LEGO BOOST […]

December 15, 2020

🔒 LEGO BOOST Motorbike

LEGO BOOST Motorbike First gear… it’s alright! «It’s not a big motorcycle, just a little groovy motorbike» sang the Beach Boys. You can build this LEGO […]

January 3, 2021

A smooth LEGO BOOST walker biped robot that can balance on two legs and turn

🔒 LEGO BOOST Walker Robot

LEGO BOOST Walking Robot Look, mom! Without wheels! This cute LEGO robot can walk and turn smoothly by shifting its weight from one foot to the […]

January 25, 2021

A LEGO airplane built with LEGO BOOST creative toolbox, with spinning propeller and moving ailerons

🔒 LEGO BOOST Airplane

LEGO BOOST Airplane Flying through the air You can build this LEGO Airplane with a single LEGO BOOST Creative Toolbox set 17101. This LEGO Airplane features […]

February 10, 2021

a cute LEGO BOOST puppy that walks, sits down, bark

🔒 LEGO BOOST Puppy

LEGO BOOST Puppy A cute LEGO puppy You can build this LEGO puppy with a single LEGO BOOST Creative Toolbox set 17101. This LEGO dog pet […]

March 9, 2021

A ping pong ball shooting turret built with LEGO BOOST creative toolbox 17101

🔒 LEGO BOOST Ball Shooter

LEGO BOOST Ball Shooter Ready? Aim… shoot! You can build this ping pong Ball Shooter with a single LEGO BOOST Creative Toolbox set 17101. You can […]

May 27, 2021

lego boost plotter drawing robot can draw any image you want

🔒 LEGO BOOST Image Plotter

LEGO BOOST Puppy Draw anything you want! You can build this LEGO Plotter with a single LEGO BOOST Creative Toolbox set 17101. You can control the […]

October 7, 2021

Johnny 5 from Short Circuit movie built with LEGO BOOST Creative Toolbox 17101

🔒 LEGO BOOST Johnny 5

LEGO BOOST Johnny 5 Johnny Five is alive! Johnny 5 is the robot star from 1986 science fiction comedy film Short Circuit. One of five experimental […]

February 4, 2022

LEGO BOOST T-Rex walking roaring dinosaur model instructions for download

🔒 LEGO BOOST T. Rex

LEGO BOOST Tyrannosaurus Rex Minifigures, beware! This LEGO BOOST T-Rex will hunt you! The tyrannosaurus Rex, often called T. Rex or colloquially T-Rex is universally known […]

May 3, 2022

With this LEGO BOOST Magic Box you can perform real magic tricks at the wave of your wand

🔒 LEGO BOOST Magic Box

LEGO BOOST Magic Box Hocus Pocus! Brickus Morphus! This LEGO box allows you to entertain your public with a magic trick. Place your hand on the […]

June 17, 2022

CODIE is a LEGO BOOST robot that can be programmed on the fly

July 7, 2022

Star Wars X-Wing Starfighter built with LEGO BOOST Creative Toolbox 17101

🔒 LEGO BOOST X-Wing Starfighter

LEGO BOOST X-Wing Starfighter Ready to swoosh! LEGO has released several building sets featuring the X-Wing Starfighter from the Star  Wars movies. Now you can build […]

December 6, 2022

Annual subscription to all my LEGO BOOST models building and programming instructions

December 6, 2022

Custom LEGO BOOST model: LEGO WALL-E built with LEGO BOOST Creative Toolbox set 17101

🔒 LEGO BOOST WALL-E

LEGO BOOST WALL-E A cute LEGO BOOST robot My LEGO BOOST version of WALL-E is shaped after Disney Pixar’s movie star WALL·E (Waste Allocation Load Lifter […]

December 9, 2022

CODIE is a LEGO BOOST robot that can be programmed on the fly

🔒 LEGO BOOST on-the-fly coding robot

LEGO BOOST CODIE Learn coding with CODIE This LEGO BOOST robot helps you learn the basics of coding by letting you program its movements to complete […]

December 9, 2022

🔒 LEGO BOOST old-fashioned Radio

LEGO BOOST Radio All we hear is… Today we are used to digital radio equipment that search the stations automatically, and tune themselves on the right […]

December 9, 2022

LEGO BOOST tracked loader can be remote controlled to move LEGO bricks with its moveable bucket and tear down LEGO houses

🔒 LEGO BOOST Tracked Loader

LEGO BOOST Tracked Loader Versatile vehicle for your LEGO construction site This LEGO tracked loader (or crawler loader) is an engineering vehicle that you can remote-control […]

December 9, 2022

A LEGO BOOST Robot inspired by the LOGO turtle that can drive around and draw

🔒 LEGO BOOST “LOGO” Drawing Robot

LEGO BOOST Drawing Robot Basic «LOGO» programming This LEGO BOOST robot helps you learn the basics of coding by letting you program its movements to draw […]

December 27, 2022

A fast LEGO BOOST racing car that you can remote control with the Powered Up app

🔒 LEGO BOOST Racing Car

LEGO BOOST Racing Car BOOST and FURIOUS I was sure I could design a sleek racing car out of the LEGO BOOST Creative Toolbox #17101. Although […]

February 7, 2023

With this LEGO BOOST Piano you can play music just like with a real piano keyboard. You can play music, sound effects, and even chords!

🔒 LEGO BOOST Piano Keyboard

LEGO BOOST Piano Keyboard Make music with this LEGO piano I love making working musical instruments out of LEGO. LEGO musical instruments can be made also […]

February 18, 2023

You can control LEGO BOOST Pick and Place robot to pick up, move and release objects like a real industrial robot arm

🔒 LEGO BOOST Pick and Place Robot Arm

LEGO BOOST Pick and Place Robot Arm One motor, multiple movements The LEGO BOOST Creative Toolbox #17101 is a really versatile kit. With its pieces, you […]

March 8, 2023

Star Wars Astromech Droid R2-D2 built and programmed with the LEGO BOOST Creative Toolbox 17101

April 18, 2023

The LEGO BOOST Hexapod Walker is a custom model that you can build with the parts from the LEGO BOOST Creative Toolbox 17101.

July 28, 2023

A chicken walker mecha automaton built with LEGO BOOST Creative Toolbox 17101

August 2, 2023

Cute LEGO Star Wars BD1- Droid built with LEGO BOOST Creative Toolbox 17101

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.

О проекте

Уникальный сервис в России для любителей лего-конструирования. Сборка различных моделей из своих конструкторов LEGO. Список своих наборов, вишлист и анализ всех своих деталей LEGO.

Полный каталог конструкторов ЛЕГО с пошаговыми инструкциями и база MOC-моделей со схемами для сборки.

Рекомендации и помощь при выборе нового набора.

У нас на сайте

21 281 набор LEGO
10 072 авторские модели для сборки
8 178 инструкций Лего
8 178 схем сборки Лего
68 748 деталей в 190 цветах
145 тематик и 898 серий Лего

Правовая информация

Пользовательское соглашение | Политика конфиденциальности

© 2015-2023 LEGKO-SHAKE.RU

LEGO® – это товарный знак компании LEGO Group,
которая не создавала, не санкционировала и не одобряла данный веб-сайт.
Права на модели для сборки принадлежат их авторам.

Introduction: LEGO Boost Candy Sorter

This project is a LEGO-based reimplementation of an existing Arduino candy sorter project. Building with LEGO block-units made this a challenge, but programming and debugging the LEGO Boost via the app is much easier compared to Arduino.

The sorter goes through a loop of movements and events to sort candy:

  1. the swivelling plate picks up one candy by moving the hole under the feeder tube
  2. It turns to move that candy under the color sensor.
  3. The color sensor sees the color, and a slide rotates so that the candy will fall in the correct color zone or bucket.
  4. The plate turns to bring the candy to the drop location, where the floor ends and the slide begins.
  5. The slide turns back to its initial position

Throughout this build, colors don’t matter. We used bricks from our spare collection, with no record of which LEGO set they once belonged to. The notable exception being the LEGO Boost main block, external motor and external color sensor. One exception in terms of color: the region around the color sensor is intentionally white, so the color detection of the candy is not disturbed by the surrounding LEGO bricks.

Let’s get started.

Step 1: Swivelling Transport Plate

Get the parts

Get the following parts (as seen in the first picture). The slopes should be white, the other parts can be any color. The hole in the small Technic block is not a regular hole, rather one that doesn’t allow the axle to turn (as seen here on bricklink ) That will be crucial later.

Assemble the parts

Assemble the parts (second picture). This plate will be swinging back and forth to transport candy from the supply to the color sensor, to the sorting ramp, and then back to its starting position to pick up the next piece of candy. Only the wheel part sticks out on the top. We didn’t have a wheel attachment with height one. In the final machine, it didn’t look like the wheel was actually doing anything, so you can probably do without. I just wanted to make sure the swivelling plate doesn’t touch the floor when it turns.

Step 2: Technic Gear Assembly

Get the parts

N.B. the bevel gear pictured is a 12-tooth version. This part was introduced in 1995. An earlier 14-tooth version as introduced in 1980 would work just fine. Whatever version you use, you’ll need a matching gear later in the build.

The holes in the 1×6 Technics brick aren’t used in the build, so you can use a regular brick instead.

The length of the axle we used was 10 studs. A bit shorter may be enough. (Cfr. second picture)

Assemble the parts

As seen in the third picture.

Join both pieces together

As seen in the fourth picture. The swivelling plate doesn’t need to touch the grey Technic rectangle. The axle should extend a bit beyond the swivelling plate. The axle will rest in a hole in the floor of the complete build.

Step 3: Prepare the Connection to the Motor Block

Get parts

get an axle and another bevel gear. The blue piece is there as a reference for the length of the axle (but will be used in the next step). Remember to match the bevel gear type to the earlier one.

Assemble and get more parts

The grey axle goes through the middle hole, just enough to slide through the bevel gear. Make sure it doesn’t touch the perpendicular black axle.

The spacer goes onto the grey axle, and the length 3 pins go on either side. Assemble the next four blocks and get a 16 tooth gear.

Assemble

Join the new part on the previous one. The new part sits at spacer distance from the old part, connected by the length 3 pins and the axle. Slide the gear onto the grey axle where it protrudes from the new part.

Step 4: Decoration

This step is optional, as it was purely decorative. I created two minifigs that look a bit like my children, gave them a tablet in their hands (a decorated 1×2 tile with buttons and dials). I mounted them on a small plate attached on top of the long black axle so they turn back and forth as the sorter is working.

We displayed and demoed the sorter at the CoderDojo Belgium Coolest Projects fair in 2018. Decoration makes for entertained viewers!

Step 5: Build the Raised Structure

Build the structure

With assorted (and mostly regular) bricks, we’re building the structure that will hold the mechanism up and provide the floor for the candy mover. The black block pictured will be one of the legs on which the structure stands. Only one special block is used here: a simple 1×2 brick with one hole. This is where the axle from the previous part will pivot. The hole is only one unit deep, underneath is a regular brick.

Attach the previous part

The third picture shows how the previous part is attached to the new one. You can see the first leg extending «down».

You’ll see that the swivelling plate can turn freely around the black axle, and the 16-tooth gear can drive that motion via the perpendicular bevel gear.

Step 6: Add a Second Leg

Build

We extend the large standing structure of the sorter, starting with another leg. We used two short yellow plates on top of a black 2×10 plate to provide support for the slide assembly (which you will build later). Three plates have the same thickness as a standard brick, so that simplifies the overall construction.

Attach

Attach the second leg as shown in the second picture.

Step 7: Extend the Floor

Build

We extend the raised floor of the structure. This floor is two units thick throughout. Color choice is arbitrary except for the white blocks. In the area around the color sensor, we’ve selected white bricks to avoid influencing the Boost color sensor.

Attach

The second picture shows where to attach the floor extension.

Step 8: Build the Rotating Mechanisme for the Slide

Build around the external motor

The rotating slide will guide the candy to the correct color bucket. The external motor is the first Boost part we’ll integrate. We add a couple of Technic parts to fix the motor to the rest of the structure even better. The axle goes through the first hole, the pin through the second.

The slide attachment

We continue with two double-perforated 1×2 bricks and a double pin of length 3, as shown in the fourth picture. If you only have one double-perforated 1×2 brick, that’s OK. The slide attaches to only one of these.

Step 9: Build the Slide

Build

The slopes are standard two-units-wide, one-unit-high slopes. The black end slopes are six studs long and tapered, which allows the slide to turn closer to the raised floor of the construction.

Two 1×8 plates extend from the main plate by 1 unit, and avoids the slide tilting down too much when it doesn’t make contact with the bottom of the raised floor altogether.

Attach

The slide attaches to the axle using a pivot. We found this 2×2 pivot plate, but the 1×2 versions are more common and would work as well.

Slide and motor get attached to the legs of the structure, and this is where the 2 yellow plates on one of the first legs come in. The long perforated beam we attached to the front of the external motor fits perfectly on those two plates.

Step 10: Add Another Leg and More Floor Space

Build

The next leg is built from standard Lego bricks. No Technic elements, no plates, no narrow beams, just bricks.

Attach

This leg gives the structure a fourth point of support to stand on.

Extend the floor

More regular bricks to extend the raised floor (third and fourth picture).

We can now turn the structure upright for the first time. It’s far from finished, but you can get a better idea of how it will move and function now.

Step 11: More Floor Extensions and Legs

Build

More regular bricks to form the five parts seen in the first picture.

Assemble

The second, third, and fourth picture show how to assemble the five parts.

Attach

Alignment is critical, so the fifth and sixth picture clarify how to align the new piece with the existing structure.

Pictures seven and eight show the attached piece.

Check

The floor is now large enough to allow the transport swivel plate to swing (and maybe ride) back and forth. You should see basic alignment between the hole in the transport plate and the top of slide. This is where the candy will drop onto the slide.

Step 12: Feeder Tube

Before the sorting begins, candy needs to be fed into the sorter at the correct position. To facilitate this, we construct a feeding tube.

Build

We start with a 4×4 square of plates as seen in the first picture. Notice that one 1×2 piece is intentionally missing on the bottom layer. Candy will be moved away in that direction by the swivel plate. An extra plate could potentially jam larger candy pieces.

A layer of round bricks is built on top of that base, and a second layer is constructed (second picture). Both layers can be joined (third picture).

This tube is one of the only pieces of the structure that will be oriented studs-up. We need a 90-degrees attachment to connect it to the structure that way. The fourth picture shows the components for this construction. Note that we used a 1×2 plate with a sidebar, but ended up not using it. Substitute a regular 1×2 plate if you want. These components form the base of the next layer of the tube, as shown in the fifth picture.

Then a third layer can be added (sixth picture). A couple of plates (three 1×2, two 1×4 and one 1×8) are used to even everything out (seventh picture).

Decorate

In the final picture, we add a couple of decorational elements, to clearly point out the candy entry point to the user: a couple of 1×2 dial/control plates, an envelope plate and two 1×2 arrow plates on 1×2 pivots. Decoration is optional, even when it is functional…

Step 13: Mounting Wall for Feeder Tube

Build

We need a wall over the raised floor to mount the feeder tube (at 90 degrees). The wall is one unit thick. For alignment with the feeder tube, we insert two plates between the Technic attachments. A third plate is needed to make this wall exactly 9 units high, but that third plate is already mounted on the structure (can you spot a lonely 1×6 blue plate in our pictures?). We used 1×2 bricks with fixed pins, but 1×2 bricks with a hole and a pin are equivalent.

Assemble

With correct alignment as shown in the second picture, it should now be obvious how the feeder tube attaches to this wall.

Mount

Mounting the wall on the sorter is easy. It attaches to the 1×6 plate next to the 16-tooth gear on one side (third picture). We fix it to the raised floor on the other side as well, using a 2×10 brick (fourth picture). You could use a 1×10 brick, as the wall is only one unit thick. We need enough space so the swivelling plate can freely move underneath.

Step 14: Mount the Color Sensor

Build

Another arch extends over the raised floor. It supports the Boost color sensor. Three plates are used to align the sensor as well as possible. One goes on the top side, two on the bottom side. We happened to have a three unit high 2×2 brick, but three separate bricks would be just fine.

Attach

The 2×8 brick on the end supports the far end of this arch. We’ve added a couple of bricks to the raised floor to firmly hold the two arch supports in place (one for the feeder tube and one for the color sensor).

Check alignment

We can now manually swivel the transport plate and check alignment of the transport hole with the feeder tube, the color sensor, and the drop-off point at the top of the slide. You can even test it with a piece of candy (an M&M or Skittle should have the correct size). If the transport plate can not move freely between these three points, you need to retrace your steps, because something went wrong.

Step 15: The Boost Motor

Build

Gather the parts as displayed in the first picture. These include two 24-tooth crown gears and an 8-tooth gear (the smallest Technic gear).

Assemble

Insert the short red axle into the A motor, and attach the perforated 2×4 plate with the black axle as seen in the second picture. The assembly with the second perforated 2×4 plate holds the black axle in place (third picture).

The stopper prevents the axle from sliding away, but leaves enough space to allow you to manually slide the crown gear away from the 8-tooth gear to stop automatic movement, or to calibrate the starting position before starting the sorter.

Add a leg

Next we’ll add a leg to the motor block, to support it at the correct height so the whole structure doesn’t topple. Just a couple of regular 8×1 bricks and two plates are enough (picture four and five).

Attach the external cables

Attach both the external motor and the color sensor. It doesn’t matter which cable goes where, since the programming blocks don’t rely on the connection ID. Picture six and seven show the top view of the motor block and the cables coming from the main structure.

Replace batteries

If your Boost block may need new batteries, this is a good time to replace them.

Mount the motor block

We can now mount the motor block. Adjust the crown gears so they grip both the 8-tooth gear on the motor, and the 16-tooth gear on the main structure.

Admire your candy sorter

The sorter is finished! In step 16 we build a base that will hold the sorter and provide four sorting buckets. Then we need to create a Boost program, and the sorter will work! If you want to see the sorter in action as soon as possible, skip step 16 now, and return later if you want.

Step 16: The Base Plate

Build

The first picture shows the 32×32 base plate with all of the parts we use to build the sorting buckets. We foresee spectators on one side, hence we use windows there, so they can see where the sorted candy lands.

The colored translucent pieces on top of that wall are there mainly for decoration, but also they are placed in front of the zone where Skittles of that color will be deposited. The same goes for the translucent blocks in the middle of the base plate.

The side walls are there to hold up the front wall and to avoid spillage. The middle wall is the divider between the green and yellow zone. It features a small 1×2 ridge to avoid Skittles hitting the divider head-on and bouncing back. That’s probably an unlikely corner case, but we found the piece so we used it.

The two other dividers can’t be placed in standard perpendicular Lego fashion. We worked around that by using 2×2 rotary plates on the base, at a distance of 6×4 of each other, and upright 12×4 plates with 90 degree angle attachments at the last position. Details of the 12×4 plates can be seen the second picture.

The third picture shows the blocks on the right side of the base plate. They are meant to align the legs at the same position every time, so that the pivot point of the slide is centered on the base plate. Pictures five and six provide detailed views. If you built the legs of the structure differently, you should change the position of these blocks to match the legs on your sorter.

Admire

Picture six shows the finished base plate as seen from the top.

The final picture shows the sorter as it stands on the base plate.

Step 17: Create the Boost Program

Create a project

The project uses the left internal (A) motor of the Boost block, the external motor and the color sensor. Combining these elements in a program can be done via the “create a project” function of the Lego Boost app. If you’ve never created your own project, find instructions on the Lego website: https://www.lego.com/en-us/themes/boost/articles/…

Understand what the program needs to do

The main movement is the swiveling candy mover plate, driven by the A motor. Initialize it so the hole aligns with the feeder tube (slide away one of the crown gears to allow free movement, then slide the crown gear in place again). Initialize the slide in the central position.

The program can now, in an eternal loop,

  1. move the plate “a” steps further using the A motor, “a” being just enough to position the candy below the color sensor. Adapt the “a” constant by experimenting.
  2. One of the color sensor detection blocks will fire when the candy is in place, setting the “d” variable to the degrees of movement needed from the external motor to swing the slide to the correct zone. In the example, I associate red with -45, yellow with -15, green with 15, and black with 45. You might want to add a detection block for white, setting “d” to 0, to avoid movement when there is no candy.
  3. The main loop waits for one second, then reads “d” and stores it in variable “c”. Storing the current value of “d” is needed because the color sensor will see bricks of other colors when plate moves. We need to remember the value associated with the candy color so we can move the slide back to the central position.
  4. The external motor then activates, moving the slide “c” degrees.
  5. The candy mover plate will now move the plate “b” steps further using the A motor, covering the distance between the color sensor and the drop position above the slide. Adapt the “b” constant by experimenting.
  6. The program waits one second, which should be enough for the candy to drop in the correct zone.
  7. The candy mover plate moves back “a” + “b” steps. We specify a negative speed to get the motor to turn in the other direction.
  8. The slide turns back “c” degrees using the same trick: negative speed with a positive degree value.

Create the program

I think it’s fun to write your own program, but to help you, the included picture shows an example program. Values may need to be tweaked for your specific build.

Have fun!

If you tried this project, we’d like to hear from you! Please send us a message at

Bert de Bruijn <legoboostcandysorter@debruijn.be>.

This instructable and the included pictures are available under the terms of the Creative Commons Attribution-NonCommercial (CC BY-NC) license 4.0 – https://creativecommons.org/licenses/by-nc/4.0/

Introduction: LEGO Boost Pipe Cleaner Bending Robot

For the 2019 Coderdojo Belgium Coolest Projects fair, we built a LEGO Boost variant of Yoshihito Isogawa’s Mindstorms pipe cleaner bending robot. He only published a Youtube video of his EV3 robot, so we didn’t have any building instructions to start from. Building from scratch took several iterations before achieving a working robot, but we’re thankful that we could borrow some of Mr. Isogawa’s brilliant ideas nonetheless.

As always, every challenge has many possible solutions. We present solutions that were possible using our collection of spare LEGO parts. Your mileage, and your parts collection, may vary.

Please note that this instructable was documented by taking the robot apart. Building from scratch is far less linear than taking the final build apart…

Step 1: About the Components

We build the robot on two 8×16 stud, regular height plates. One is just for holding the Boost motor block, the other one holds the mechanism itself.

Every step will include pictures of the components used. Small details can make a large difference sometimes, so make sure to zoom in if you’re not sure which type of Lego part we’re using. Please don’t ask where we got a specific part, as these all come from the «spare part» box, with no record of which set they once belonged to.

In the first picture, you can see the Technic parts on the left, and the regular parts on the right. This will not be a large build, as you can see. The Boost main motor block and the Boost external motor are in the middle. We didn’t use the Boost color sensor in this build. The second picture shows all axles we used, with a couple of Technic beams for length reference. We tried to use the minimum length required for the specific purpose of each axle.

Step 2: Transmission Axles

At a height of two flat plates from the base, we mount two transmission axles that will take the rotation from the A and B motors in the Boost block to the two bender arms at the front of the machine.We need four 1×2 perforated blocks, four stoppers (half or full length doesn’t matter) and eight plates to achieve the required height. Also, we need four bevel gears. It doesn’t matter if you use the newer 12-tooth version or the older 14-tooth version, but make sure you have a matching gear for each one you use. The final build needs four matching pairs of these bevel gears. As pictured, we used three 12-tooth pair and one 14-tooth pair. The distance between the two transmission assemblies is 6 studs. This area needs to be kept free for now.

Step 3: Supports for Later Components

Using regular (non-Technic) Lego bricks, we build a couple of supports for the rest of the robot. Note that the perforated 2×4 plates in the picture will connect the two base plates together. There’s no functional reason for those to be perforated.

Step 4: Walls for the Feeder

Using perforated bricks (mainly 1×6), we construct side walls to mount the feeder wheels between. The total height is a full number of regular bricks, but we split one into three plates, to push the two feeder wheels onto each other. That is also the reason why we have the perpendicular beam: without that beam the forces on the wheels push the wall apart.

On one row you can see two grey pins. The external Boost motor will connect to those, and the wheel axle driven directly by the motor goes in between the two connectors.

Step 5: Feeder Wheels and Rear Alignment Tubes

We chose Lego wheels that have a compressible rubber tire on a central rim. This allows for pressure to be exerted by pressing the wheels together a bit. The pipe cleaner will be fed between the two wheels, one wheel will be motor-driven, and the other wheel will be driven by its firm contact with the first wheel.

We use 180 degree axle and pin connectors as alignment tubes. The three rear alignment tubes are centered by pins on one side, and by axles on the other side. The axles protrude from the wall on the other side, which allows us to fixate them in a permanent direction. The only part that has three fixed axle attachments in a row was the grey egg-shaped part in the last picture. You could reduce the construction to two alignment pieces, and use a piece with two fixed axle attachments instead. Note that using pins on both sides would allow the alignment tubes to rotate. Also note that the space between the walls is one unit wider than the black tube parts. This is why we add half-unit spacers on both sides.

Step 6: Wall Assembly

The wheel on the longest axle is the one driven by the motor, so it is positioned between the grey pins that will keep the motor in place later. It doesn’t need additional stoppers, as the connection in the motor is rigid enough. The other wheel is on the shorter axle, and is kept in place by two half stoppers on either side of the walls.

The alignment tubes are mounted in the dark grey brick in the example. You can see the egg-shaped fixating piece on one side, keeping the alignment tubes oriented correctly.

For the type of wheels we chose, the one plate below/two plates above positioning of the dark grey brick aligns the tubes with the contact surface between the wheels.

Step 7: Main Beam and Transmission Gear Prep

At the front of the robot, one long beam (15 holes) supports the front alignment tube, the bender axles and the transmission gears. Three 1/3th height beams are added to either reduce the freedom of movement of the axles, or to fixate the orientation of an axle. They are held in place by pins. Many of the other holes in the beam will be used in the next steps, so if you use 1/3th height beams of different length, that may cause issues later.

Step 8: Main Beam Axles, and Bender Arms

In this step, we assemble various items that go into the main front beam. The first is the front alignment tube. It consists of two axles, an alignment tube identical to the ones we used at the back, and a single-ended connector that keeps the pipe cleaner precisely centered. This one goes into the central hole of the main beam. In the previous step we already added a piece that prevents rotation in that position.This is crucial for the alignment tube.

Secondly, we assemble the benders. One bender arm consists of 4×2 elbow beam, a connector, and a small rim. We make two arms.These go one long axles, and into holes two steps away from the central hole.

At the bottom of the bender axles, 24-tooth gears are attached. The short axles from the previous step get 8-tooth gears, and a matching bevel gear for the transmission axle. Note that the 1:3 gear reduction provides extra force for the bender arms. Two 16-tooth gears cover the same distance, but didn’t bend the pipe cleaners reliably during testing.

Step 9: Main Beam Attachments

Using two pins, an axle pin, a perforated 1×2, and a piece called «Axle and Pin Connector Perpendicular 3L with 2 Pin Holes» on each end, we make sure the beam is firmly attached to the rest of the structure. There are perpendicular attachment pieces with only 1 hole. Those will work as well, but we’ve seen that the movement of the bender arms exerts a lot of force on the construction, so we prefer using the 2 pin hole variant.

Step 10: Upper Beam

The movement of the bender arms is crucial, and a lot of force is transferred onto the axles and their support. Therefore, we mount an upper beam that provides an additional pivot point for the bender axles. We used a 9-hole beam. Holes 3, 5 and 7 are occupied by axles. This leaves the outermost two holes for mounting the beam. We used a part called «Axle and Pin Connector Perpendicular 3L with Center Pin Hole» on one side. On the other side this would interfere with the external Boost motor, so we went for the shorter «Axle and Pin Connector» and a 1×2 perforated block instead of a 1×4 perforated block. You could use the shorter version on both sides.

Step 11: Mounting the Beam and Bender Assembly

The main and upper beams can now be mounted onto the existing structure. Careful alignment of the bevel gears is needed, so the transmission axles don’t block each other. Horizontal alignment of the bender rims with the feeder tube is also needed.

Step 12: Reenforcing the Structure

At the four attachment points of the beams, we add reinforcement using regular bricks. We take care not to hinder the movement of the axles, wheels, and bender arms.

Step 13: Attach the External Boost Motor

The attachment points for the external boost motor are already in place, so attaching it should now be straightforward. The motor can be added in four different orientations. Functionally for the motor itself it doesn’t matter, but we prefer the orientation that leaves the most swing-room for the bender arm on that side.

Step 14: Attach the Boost Motor Block

We build two hind legs for the Boost motor block, and attach bevel gears on short axles on both A and B motors. We mount the front of the motor block on the second base plate. This leaves the battery compartment reachable at the bottom. After joining the two base plates, align the bevel gears so the A and B motors drive the transmission axles and the bender arms.

Step 15: Create a Program in the Boost App

Once the robot is finished, it is time to fire up the Boost app. Start experimenting with the feeder speed, the bender arm range, etcetera. We created programs to bend a 5 point star, a heart, a circle, a plus sign, and a diamond shape. We used pipe cleaners of 6 mm diameter and 30 cm length.

Have fun and good luck!

Понравилась статья? Поделить с друзьями:
  • Лего бугатти инструкция по сборке
  • Ларатокс капли ушные цена инструкция
  • Лего битва на планете салукемай инструкция
  • Ланзап инструкция по применению цена
  • Лего бионикл похату инструкция 2015