Tuesday, May 15, 2012

Syrup dispensor gold 2 Frank Reyhan

The program for our syrup dispenser is small, but effective none the less. It consists of a motor class that goes forward for 0.1 rotations and goes at a power level at 15. The next step is a wait class that keeps the bottle pointing down towards the bowl. It lasts for 6 seconds. After the wait class is finished the next motor block will start. This motor block will backwards at a power level of 29 and will last for 0.3 rotations. This process will continue for about three or four turns before we refill the bottle. We hope to add an ultrasonic sensor so that our program knows when to start.

No comments:

Post a Comment