Check out my project

Martin

Lifer
Jan 15, 2000
29,178
1
81
Picture

Video (6mb)


The lego is hooked up to a custom board that somewhat simulates an embeded system. The programming was done through 68K assembly and doesn't show it, but there is also an interrupt based keyboard interface. The user can clear the counter, pause the belt, display number and type of pieces sorted and quit.

Fun assignment.
 

Anonemous

Diamond Member
May 19, 2003
7,361
1
71
Originally posted by: Martin
Picture

Video (6mb)


The lego is hooked up to a custom board that somewhat simulates an embeded system. The programming was done through 68K assembly and doesn't show it, but there is also an interrupt based keyboard interface. The user can clear the counter, pause the belt, display number and type of pieces sorted and quit.

Fun assignment.

looks cool, does it sort by color/size or is it sequential binning?
 

Martin

Lifer
Jan 15, 2000
29,178
1
81
Originally posted by: Anonemous
Originally posted by: Martin
Picture

Video (6mb)


The lego is hooked up to a custom board that somewhat simulates an embeded system. The programming was done through 68K assembly and doesn't show it, but there is also an interrupt based keyboard interface. The user can clear the counter, pause the belt, display number and type of pieces sorted and quit.

Fun assignment.

looks cool, does it sort by color/size or is it sequential binning?


Sorts by length alone. There two LEDs and two sensors. First sensor counts how long it takes for the piece to pass and based on that decides if its small, medium or big. The second sensor then stops the belt, rotates and puts it in a bin.