O'Reilly logo

The LEGO MINDSTORMS NXT 2.0 Discovery Book by Laurens Valk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

14

hybrid brick sorter: sort bricks by color and size

The LEGO MINDSTORMS NXT 2.0 robotics kit comes with instructions to build a robot that sorts the colored balls in the set. This chapter goes a bit further by showing you how to build and program a sorter that sorts by both color and size. The Hybrid Brick Sorter robot separates regular LEGO bricks (2-by-4 studs) from smaller bricks (2-by-2 studs) and also separates red, yellow, green, and blue bricks, as shown in Figure 14-1. It drops each type of brick into different buckets or simply onto different places on the ground as shown in the figure.

Image

Figure 14-1: The Hybrid Brick Sorter sorts LEGO ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required