Author Topic: My Nonstop / Skittles sorting machine  (Read 20520 times)

0 Members and 1 Guest are viewing this topic.

Offline Kaptein QK

  • Regular Contributor
  • *
  • Posts: 77
My Nonstop / Skittles sorting machine
« on: November 04, 2013, 03:27:50 pm »
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.
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2600
  • Country: au
Re: My Nonstop / Skittles sorting machine
« Reply #1 on: November 04, 2013, 08:38:17 pm »
Way too much time on your hands!   ;D
 

Offline Clint

  • Regular Contributor
  • *
  • Posts: 116
  • Country: gb
Re: My Nonstop / Skittles sorting machine
« Reply #2 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

But seriously full respect, showing a multitude of high end skills !
=-=-=-=-=-=-=-=-=
g33K5 L1k3 80085
 

Offline Skimask

  • Super Contributor
  • ***
  • Posts: 1425
  • Country: us
Re: My Nonstop / Skittles sorting machine
« Reply #3 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 :)
I didn't take it apart.
I turned it on.

The only stupid question is, well, most of them...

Save a fuse...Blow an electrician.
 

Offline Jon86

  • Frequent Contributor
  • **
  • Posts: 512
  • Country: gb
Re: My Nonstop / Skittles sorting machine
« Reply #4 on: November 04, 2013, 11:09:35 pm »
Holy crap, 3D printers are seriously impressive! Well the whole project is!
Death, taxes and diode losses.
 

Offline Legit-Design

  • Frequent Contributor
  • **
  • Posts: 562
Re: My Nonstop / Skittles sorting machine
« Reply #5 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.  :-+
« Last Edit: November 04, 2013, 11:23:10 pm by Legit-Design »
 

Offline Corporate666

  • Supporter
  • ****
  • Posts: 2001
  • Country: us
  • Remember, you are unique, just like everybody else
Re: My Nonstop / Skittles sorting machine
« Reply #6 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




















 :o (obviously not something I built)  >:D
It's not always the most popular person who gets the job done.
 

Offline iceisfun

  • Regular Contributor
  • *
  • Posts: 138
  • Country: us
Re: My Nonstop / Skittles sorting machine
« Reply #7 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.
 

Offline ElectronicTonic

  • Contributor
  • Posts: 24
  • Country: us
    • My YouTube Channel
Re: My Nonstop / Skittles sorting machine
« Reply #8 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.
People tell me I have too much time on my hands. I tell them, for all the things I want to do, I don't have enough!
 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1838
  • Country: ca
Re: My Nonstop / Skittles sorting machine
« Reply #9 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
 

Offline sprocket

  • Regular Contributor
  • *
  • Posts: 52
  • Country: dk
Re: My Nonstop / Skittles sorting machine
« Reply #10 on: November 05, 2013, 09:29:55 am »
 :-+ plus 1 the nerd scale. I'm impressed with the nice use of a 3D printer.
 

Offline Kaptein QK

  • Regular Contributor
  • *
  • Posts: 77
Re: My Nonstop / Skittles sorting machine
« Reply #11 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

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
 

Offline Kaptein QK

  • Regular Contributor
  • *
  • Posts: 77
Re: My Nonstop / Skittles sorting machine
« Reply #12 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 :)
 

Offline Kaptein QK

  • Regular Contributor
  • *
  • Posts: 77
Re: My Nonstop / Skittles sorting machine
« Reply #13 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.
 

Offline Kaptein QK

  • Regular Contributor
  • *
  • Posts: 77
Re: My Nonstop / Skittles sorting machine
« Reply #14 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.
 

Offline Kaptein QK

  • Regular Contributor
  • *
  • Posts: 77
Re: My Nonstop / Skittles sorting machine
« Reply #15 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.



Also I have attached source code and the Sketchup 3D file.
 
 

Offline Rufus

  • Super Contributor
  • ***
  • Posts: 2094
Re: My Nonstop / Skittles sorting machine
« Reply #16 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.
 

Offline Kjetil

  • Regular Contributor
  • *
  • Posts: 64
  • Country: no
Re: My Nonstop / Skittles sorting machine
« Reply #17 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?
Scout leader and HAM radio operator
 

Offline dissidence

  • Contributor
  • Posts: 5
Re: My Nonstop / Skittles sorting machine
« Reply #18 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. :-+
 

Offline sachleen

  • Contributor
  • Posts: 39
  • Country: us
    • My Site
Re: My Nonstop / Skittles sorting machine
« Reply #19 on: December 28, 2013, 02:56:25 am »
Cool project!  :clap:

There was another skittle sorting machine on hackaday 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.
 

Offline holozip

  • Supporter
  • ****
  • Posts: 23
  • Country: gb
Re: My Nonstop / Skittles sorting machine
« Reply #20 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! :)
« Last Edit: December 31, 2013, 01:46:50 am by holozip »
 

Offline PedroDaGr8

  • Super Contributor
  • ***
  • Posts: 1278
  • Country: us
  • A sociable geek chemist
Re: My Nonstop / Skittles sorting machine
« Reply #21 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

The very existence of flamethrowers proves that some time, somewhere, someone said to themselves, "You know, I want to set those people over there on fire, but I'm just not close enough to get the job done." -George Carlin
 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 2644
  • Country: us
Re: My Nonstop / Skittles sorting machine
« Reply #22 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!
 

Offline ch3ck

  • Newbie
  • Posts: 1
Re: My Nonstop / Skittles sorting machine
« Reply #23 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 ?
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 9726
  • Country: 00
Re: My Nonstop / Skittles sorting machine
« Reply #24 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!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf