Рет қаралды 44,735
To use this video in a commercial player or in broadcasts, please email licensing@storyful.com
- Forward all media requests relating to your video to our licensing team: licensing@storyful.com
- For all other queries, please contact videosupport@storyful.com
Sierra College Mechatronics program Mech 90 final project. M&M sorter using Picaxe micro-controller.
The goal for the class was to design, create, and program our own project using a specific micro controller called a Picaxe. Aside from using the same micro controller we were free to build what we wanted.
The hopper servo rotates a plate in the hopper that grabs a single candy and transports it to the chute that sits above the sensor. A small vibration motor is attached to the chute to help the candy move along (that's the annoying buzzing). Above the sensor sits a tube that has an infrared emitter opposite a phototransistor. The IR setup is used as a switch, when a candy breaks the beam it knows a candy is present. The sensor is an RGB sensor with an LED. The LED lights and the sensor gets a color reading. As part of my program I have color readings for each candy, the senses color is compared to a table and the correct cup is determined. The hopper servo rotates again to get another candy, at the same time the candy is pushed toward the sorting chute. The candy is sorted and the process begins again.
The main micro controller is a Picaxe 28x2, the color sensing is done by a TCS34725 RGBC sensor from Adafruit, I have an infra red emitter paired with a phototransistor to sense when there is a candy above the color sensor, the annoying buzz is a vibration motor on the chute from the hopper to the color sensor to help move the candy along, the hopper servo is a Hitec HS422, the sorting servo is a Hitec HS485HB, the OLED screen is a 20x4 OLED also from Picaxe paired with one of their daughter boards to use serial communication to the OLED, the circuit board is a proto-perf board from Adafruit, the metal structure and rack and pinion system are from ServoCity and are made by Actobotics, all of the acrylic pieces I designed and built myself, the wood base is birch with a mahogany frame stained, lacquered, and buffed by myself.