Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

Skittles M&M’s sorting machine

By Samidha Verma

 

Are you interested in projects related to electronics, programming and machine building and then combining their property and recreating a whole new project, then M&M sorting machine is your type of sport. To begin with, M&M machine can be used in various type of projects, among those, Skittles M&M’s sorting machine is used for colour recognition, basically to separate varied colored skittles and M&M pieces and then to put into different individual cups. 

Features

  • Supports Skittles, M&M’s, Reese’s pieces and similar sized candies

  • Sorts based on color of the piece using a RGB sensor

  • Up to six individual cup positions/colors supported

  • Hopper handles up to 500 gram / 17 oz bags

  • Preemptively releases items for optimal performance

  • Processes up to 80 pieces per minute

  • Easy maintainable C code – Arduino IDE platform based

  • Pseudo-realtime processing model with non-locking delay library

  • External terminal possible for statistics and diagnostics

  • Powered off single 5V power supply

Working of the machine

Built on an ATmega328 microcontroller (Arduino Uno), RGB color sensor, IR distance sensor, two servos, plastic frame tubes and a few custom designed 3D printed parts, the automated machine can classify an entire 1.5kg/56oz bag in approx. 5 minutes. The idea of event driven finite-state machine (FSM) execution is the main force working for each process. In order to make the system responsive and allow it to run properly, the processing is working under the idea of pseudo-real time programming. The processing is given in details below

Loading pieces

The machine has total of four slots and it uses two GWS servos for sorting and loading of pieces. With the help of a variable rotation speed, the servo loads pieces into four slots in the feed wheel. If a piece struck down between loading tube and slot, the system will reverse the rotation of the feed wheel.

Analyzing color

After sorting out the pieces into their individual slots, a visual indication of the detected color is given with the help of a white LED, which illuminates the piece. Further, a distance sensor governs the feed wheel rotation which detects the slot depth change. This transition is used to change process state and start the color analysis at the right moment.

Sorting

After the identification of colour, the piece is dropped onto a 360-degree servo from the feed wheel. A feeding tube attached to it guides the piece to fall into the right cup. When all the pieces are completely sorted, the machine shuts down and start again for the next round. Any consistent data is not registered by sensor.

Possible improvements

  • A faster 360 degree rotation servo would enhance the performance of the system

  • Larger wheel to hold more pieces can be used to implement a queuing system and improve unloading speed

  • To calculate the shortest distance to the next cup, a 720 or 1080 degree rotation servo can be used

  • A vibration motor could be installed in the funnel and hopper to avoid possible clogging

  • A LCD display to show the current color distribution and other vital system information

Well, items used in Skittles M&M’s sorting machine are easily available and are pocket friendly too. Further, if you are a pro in this subject, then we will not slow you down and restrain the use of M&M only for servo motor or for colour recognition. In fact, its usage are infinite and depends on your creativity, for example, zooming of a coin through a sensor faster than you can even see and by a pop up module, nudging down the correct path.


Filed Under: Reviews

 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • PS2 Keyboard To Store Text In SD Card Using Arduino Circuit Setup On Breadboard
    How To Use PS2 Keyboard To Store Text In SD Card Using Arduino- (Part 42/49)
  • Wireless Path Tracking System Using Mouse, XBee And Arduino Circuit Setup On Breadboard
    How To Make A Wireless Path Tracking System Using Mouse, XBee And Arduino- (Part 43/49)
  • How to Make a Wireless Keyboard Using Xbee with Arduino- (Part 44/49)
  • Making Phone Call From GSM Module Using Arduino Circuit Setup On Breadboard
    How to Make Phonecall From GSM Module Using Arduino- (Part 45/49)
  • How to Make a Call using Keyboard, GSM Module and Arduino
    How To Make A Call Using Keyboard, GSM Module And Arduino- (Part 46/49)
  • Receiving SMS Using GSM Module With Arduino Prototype
    How to Receive SMS Using GSM Module with Arduino- (Part 47/49)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • Renesas delivers intelligent sensor solutions for IoT applications
  • Microchip Technology releases AVR-IoT Cellular Mini Development Board
  • Qualcomm acquires Cellwize to accelerate 5G adoption and spur infrastructure innovation
  • MediaTek’s chipset offers high-performance option for 5G smartphones
  • Nexperia’s new level translators support legacy and future mobile SIM cards

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • chebyshev sine approx
  • LLC HB with synchronous rectifiers can be very dodgy?
  • building lm2596 dc dc using Arduino uno
  • ADS Cascode Power Amplifier Loadpull Problem
  • DC DC converter output voltage rise time

RSS Electro-Tech-Online.com Discussions

  • Microcontrollable adjustable and switchable constant current source for driving LED's
  • Help diagnosing a coffee maker PCB
  • Trying to make a custom automated water container for my UV purifier. Can anyone help with where to begin?
  • Control Bare LCD With ATmega328p
  • Are Cross-wind compensation and Road crown compensation functions inputs to LKA function?
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering