A brick color sorter built with the LEGO Education SPIKE Essential set 45345

This is the simplest LEGO SPIKE Essential color sorting machine you can think of. Place a brick in front of the color sensor, and the conveyor belt will sort red from green bricks.