This basket is made and put between 2 touch sensor.Under the basket has a colour sensor.It is very simple basket to put candy in it.
This motor are build this way because when we use the this tyre it cause a less friction force and it easy to build.Here has some photo to look.
This robot arm use to open and close the basket.It use only two gears.The first gear which is the big gear connect to the motor and the small gear connect to the arm.When the big gear move the small gear will move the arm.