EEVblog® Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: Kaptein QK on November 04, 2013, 03:27:50 pm

Title: My Nonstop / Skittles sorting machine
Post by: Kaptein QK on November 04, 2013, 03:27:50 pm
I really don't need my candy sorted, but I like the challenge :)

My Nonstop / Skittles sorting machine (https://www.youtube.com/watch?v=tSEHDBSynVo#ws)

There is still a few problems:

Candy dispenser works poorly when it is much candy in it. I am going to make a motorized stirrer for it.

Color recognition sometimes fails. I will try to improve the algorithm.

Technical:
Parts made on my 3D-printer.
TCS3200 color sensor.
Arduino Nano (No Arduino IDE where harmed)
Standard R/C servos.
Title: Re: My Nonstop / Skittles sorting machine
Post by: David_AVD on November 04, 2013, 08:38:17 pm
Way too much time on your hands!   ;D
Title: Re: My Nonstop / Skittles sorting machine
Post by: Clint on November 04, 2013, 08:41:45 pm
I absolutely love it, however you are working on a problem that does not exist:

http://www.temptationcandy.com/favorite-candy-brands/skittles.html (http://www.temptationcandy.com/favorite-candy-brands/skittles.html)

But seriously full respect, showing a multitude of high end skills !
Title: Re: My Nonstop / Skittles sorting machine
Post by: Skimask on November 04, 2013, 08:58:42 pm
Candy dispenser works poorly when it is much candy in it. I am going to make a motorized stirrer for it.
Put a cell phone vibrator motor on the side of the hopper....either that or a paint can shaker motor :)
Title: Re: My Nonstop / Skittles sorting machine
Post by: Jon86 on November 04, 2013, 11:09:35 pm
Holy crap, 3D printers are seriously impressive! Well the whole project is!
Title: Re: My Nonstop / Skittles sorting machine
Post by: Legit-Design on November 04, 2013, 11:20:32 pm
Color recognition sometimes fails. I will try to improve the algorithm.

Could it be that you are using cold white almost blue leds? Cold white might be the cheapest in volume, maybe they specced something else and decided to save money on manufacturing by optimizing.

But I agree with everyone else, that is really nice.  :-+
Title: Re: My Nonstop / Skittles sorting machine
Post by: Corporate666 on November 04, 2013, 11:47:10 pm
That's pretty cool!  Here is one I built over the course of a weekend

???????????? ??????????????? 2/2 (https://www.youtube.com/watch?v=-_JdQZTQuTI#ws)




















 :o (obviously not something I built)  >:D
Title: Re: My Nonstop / Skittles sorting machine
Post by: iceisfun on November 04, 2013, 11:47:28 pm
Thats awesome!

I'm working on a robot to play pool, there are a lot of challenges on this and I am running into some custom parts that need made so I've gone a little off track into making a 3D CNC mill to make other parts.

I think the color and ball position will be the most critical part, I have a good grasp on the table solver, robotics and electronics but its a fun project. Maybe someday it will even run a rack or more importantly run large test sets of data on tips, draw, follow, etc with no human failure factors involved.
Title: Re: My Nonstop / Skittles sorting machine
Post by: ElectronicTonic on November 05, 2013, 12:26:14 am
Way too much time on your hands!   ;D

No such thing as too much time on one's hands. The truth is - there is never enough time to do everything one wants to do.
Title: Re: My Nonstop / Skittles sorting machine
Post by: codeboy2k on November 05, 2013, 06:08:18 am
That's pretty cool!  Here is one I built over the course of a weekend

So that's what robots do all night long when we are sleeping and they are bored. :o
Title: Re: My Nonstop / Skittles sorting machine
Post by: sprocket on November 05, 2013, 09:29:55 am
 :-+ plus 1 the nerd scale. I'm impressed with the nice use of a 3D printer.
Title: Re: My Nonstop / Skittles sorting machine
Post by: Kaptein QK on November 06, 2013, 10:36:19 am
I absolutely love it, however you are working on a problem that does not exist:

http://www.temptationcandy.com/favorite-candy-brands/skittles.html (http://www.temptationcandy.com/favorite-candy-brands/skittles.html)

But seriously full respect, showing a multitude of high end skills !


It is even worse: the "skittles" I am using is a Norwegian brand called "Nonstop" (makes sense! :-), and all the colors have same taste!   ;D
Title: Re: My Nonstop / Skittles sorting machine
Post by: Kaptein QK on November 06, 2013, 10:40:14 am
Candy dispenser works poorly when it is much candy in it. I am going to make a motorized stirrer for it.
Put a cell phone vibrator motor on the side of the hopper....either that or a paint can shaker motor :)
I could not find a vibrator motor (....lulz..  8) )
I bet a paint shaker would make a fine brown powder out of the candy :)
Title: Re: My Nonstop / Skittles sorting machine
Post by: Kaptein QK on November 06, 2013, 10:44:03 am
Color recognition sometimes fails. I will try to improve the algorithm.

Could it be that you are using cold white almost blue leds? Cold white might be the cheapest in volume, maybe they specced something else and decided to save money on manufacturing by optimizing.

But I agree with everyone else, that is really nice.  :-+

I think you are right, I was confuzzled over the strange RGB values I got from the sensor. AFAIK the white leds is mostly blue and yellow wavelenghts.
I will replace the leds with a small incadecent bulb for a more flat spectrum.
Title: Re: My Nonstop / Skittles sorting machine
Post by: Kaptein QK on November 06, 2013, 02:00:04 pm
A red, green and blue led will probably do it, but I see no use for a IR one.
Title: Re: My Nonstop / Skittles sorting machine
Post by: Kaptein QK on December 04, 2013, 12:11:29 am
Update:

I used RGB LEDs instead of the "white" ones. Also controlled the LEDs instead of the RGB filters on the sensor. This improved the color recognition.

Also I added a servo driven stirrer to help the candy into the dispenser. This made it better, but still it misses sometimes.

Nonstop sorter update (https://www.youtube.com/watch?v=Xiq0lUUZXG0#ws)

Also I have attached source code and the Sketchup 3D file.
 
Title: Re: My Nonstop / Skittles sorting machine
Post by: Rufus on December 04, 2013, 02:02:18 am
Impressive result. I don't think I could put that much time and effort into something which has no practical use.

One thing that strikes me is how sequential it is. There is no reason that it couldn't bin the sorted skittle, detect color, and stir the feed bowl simultaneously. One thing at a time seems to be the Arduino way.
Title: Re: My Nonstop / Skittles sorting machine
Post by: Kjetil on December 26, 2013, 07:56:23 am
Ah, good to see quality designs coming out of Norway  :-+
Have you printed it in ABS or PLA?
Title: Re: My Nonstop / Skittles sorting machine
Post by: dissidence on December 28, 2013, 02:29:36 am
this is just a though but how hard would it be to use 1 servo on the end that pushes the 2 arms for the belt and sorter. i think it could work,

but kudos on the design. :-+
Title: Re: My Nonstop / Skittles sorting machine
Post by: sachleen on December 28, 2013, 02:56:25 am
Cool project!  :clap:

There was another skittle sorting machine on hackaday (http://hackaday.com/2013/12/21/quick-candy-sorting-machine/) a few days ago where the interesting thing is that it releases the candy as it rotates the arm to the next cup to make it faster.
Title: Re: My Nonstop / Skittles sorting machine
Post by: holozip on December 31, 2013, 01:41:59 am
Haha, this is amazing! Great job  8)


EDIT: holy crap, you 3D printed the parts for that... I'm completely and utterly in awe. Well done! :)
Title: Re: My Nonstop / Skittles sorting machine
Post by: PedroDaGr8 on December 31, 2013, 02:51:02 am
Another option is to use high CRI (color rendering index) leds. I'm pretty certain Cree and Nichia make them in a variety of form factors

Sent from my EVO using Tapatalk

Title: Re: My Nonstop / Skittles sorting machine
Post by: Rick Law on December 31, 2013, 03:57:04 am
I really don't need my candy sorted, but I like the challenge :)
....

There is still a few problems:

Candy dispenser works poorly when it is much candy in it. I am going to make a motorized stirrer for it.

Color recognition sometimes fails. I will try to improve the algorithm.

Technical:
Parts made on my 3D-printer.
TCS3200 color sensor.
Arduino Nano (No Arduino IDE where harmed)
Standard R/C servos.

Awsome!  I am impressed with your creativity and skill!
Title: Re: My Nonstop / Skittles sorting machine
Post by: ch3ck on June 07, 2015, 09:41:40 am
Hi,
Sorry to use an old topic but I m trying to make this machin and I don't know which pins you used on arduino board to plus servos and sensors. Maybe somthing I didn understand or see (Yees I m really noob).
Is it possible to make the same software with servo library ?
Title: Re: My Nonstop / Skittles sorting machine
Post by: Fungus on June 07, 2015, 11:10:00 am
I absolutely love it, however you are working on a problem that does not exist:

Says who? There's dozens of applications for this, eg. People who recycle plastic bottle caps have to separate them by color.

And if you're applying for a job it doesn't matter what it actually does - look at the brilliant engineering!
Title: Re: My Nonstop / Skittles sorting machine
Post by: Ian.M on June 07, 2015, 12:03:12 pm
It could be useful if you are a music promoter!
http://www.snopes.com/music/artists/vanhalen.asp (http://www.snopes.com/music/artists/vanhalen.asp)