micro final presenation - Today at Minesinside.mines.edu/~whoff/courses/EENG383/projects/2012... ·...

Post on 14-Aug-2020

4 views 0 download

Transcript of micro final presenation - Today at Minesinside.mines.edu/~whoff/courses/EENG383/projects/2012... ·...

Candy SorterIn Color

Michael Coughlin

Justin Pinkul

Function: Sort candy by color!

Materials

1 Color Sensor

Made from:• 1 Photoresistor• 4 Colored LEDs

1 HCS12 Microcontroller

2 Servo Motors

1 LCD Screen

Various Resistors• 1 potentiometer• 10x 100Ω Resistors• 1 1kΩ Resistor

1 Lego Tower!

Method of Operation

Step 1:Place candy insensor enclosure

Step 2:Allow sensor to

detect color

Step 3:First servo drops candy

Step 4:Second servo deflects

candy

Step 5:Candy is sorted!

Very Simple Design

Servo motors controlled by two PWM signals

PWM signals provided on PT3 and PT4

PT3 is then wired to PT5

Port T is also used to drive the LEDs

Input from sensor read on AN02

Port M used to control LCD

Questions?