[KLOZ] submitted his final project from college. Rather than an expensive CCD camera, he used a set of colored resistors LEDs and a light dependent resistor (I’m assuming he means a photo resistor) to determine the color of a product (m&ms). He used the carriage from an old HP inkjet, a custom cnc cut wheel to separate and deliver the m&ms and a Parallax propeller micro controller board to tie it all together. Now he can hog all the green ones for himself.
Update: Yes, I’m an idiot. I did mean colored LEDs. People who caught me will get an email – I’ve got something for ya.
Check out the sorting demo video after the break
I did this YEARS ago with a lego mindstorms kit. Easy Peasy.
Several colored LED’s, I’m assuming you mean? Colored resistors :P.
finally some color images on hackaday ! and look! capital letters!
:)
I don’t know about you but I can make coloured resistors… it just depends on what shade of brown you want and how much current you’re willing to send through them. :-)
Doh, Erik doesn’t since he didn’t use a valid email address.
damnit, I noticed that before the change, too, but I thought ‘meh, he means LEDs’…
aw.
neat hack though — I’m amazed at how fast the thing is. Seems that he indexed the carrier to the right edge of the track, since if you look closely it returns all the way to the edge before moving out to deposit an M&M. If he figured out how to use relative positioning, it could be even faster…
though then you might get some cumulative errors.
will o\\\’brian, i wonder if i get a sticker for seeing that one lol. nice job by the way looking forward to doing this pretty soon as my final for electronics class.
I thought the 4.5x means it’s been sped up 4.5 times?
The video is running 4.5x faster than real life, sl.
“light dependent resistor (I’m assuming he means a photo resistor)”
I think he meant light dependent resistor, LDR an established term.
you can do it backwards with 1 white led and some LDRs with coloured filters on them.
and is photo resistor another name for light dependent resistor or are you thinking of something different because they are LDRs
You don’t need to assume that is a foto resistor. The correct name is light dependent resistor or LDR as you can see in any databook
so this thing actually takes about 4 and a half minutes to completely sort a bag of M&M’s ? the one in my class only takes about 2 minutes to sort 2 (measured) cups of colored erasers.
thats an interesting way to do it, with diff colored LEDs and photo resistor.
Whats the limiting factor of speed? I would guess the mechanics, but I can’t be sure.
The main factor with speed is the time it takes for the LDR to reach a stable resistance. In my project this is about 1/4 second. It could be less, I never made mesurments. just figured leaving it at 1/4 would be safe. And Yes I could have used multiple LDR’s with COlor filters, but the main problem with that would be the fact that I would need more then one ADC chip, at $4 a pop that would throw off my cost savings. And not to mention using more of my 32 pins on my Propeller board.