October 23, 2008

DC motor lab (part 2)

Filed under: Intro to Phys Comp — Tags: — *aly* @ 3:47 pm

DC motor with H-bridgeWe set up the H-bridge and the ~5V DC motor using an external 5V power supply to power the motor and breadboard. Used the code from the lab and added serial.println to verify the high and low states of the digital switch. The switch worked fine, but the motor did not turn. Moved the motor off the H-bridge to verify that the breadboard was powered and off the H-bridge, the motor worked fine.
(more…)

October 19, 2008

spooky slots project summary

Filed under: Intro to Phys Comp,My Favorites — Tags: — *aly* @ 11:06 pm

small animated countOur goal is to redesign a slot machine: making it possible for group play, adding the potential for skilled play, and providing a candy reward. Given the season, it will be Halloween themed (making it fun for us and for the player). We intend to make it engaging and to encourage continuous use as it is a fun game rather than an addiction-feeding vice. Our experience of Las Vegas, Atlantic City, and various simple computer games tells us that the addictive tendencies of humans will make this repetitive task compelling for the user. (Even while under construction, our project has received attention and we have had many willing players/testers). After extensive observation of people obsessively gambling at slot machines, it is obvious that the tolerance of inconvenience and discomfort is greater when the perceived chance for winning is high.  In our design, the challenge of the play, the ubiquitous design of a slot-machine, and the chance to win a prize all contribute to its ease and desirability of use.
(more…)

slot machine … the dispenser saga pt. 2

Filed under: Intro to Phys Comp — Tags: — *aly* @ 10:42 pm

This post is a continuation of the documentation of our experiments to make a functioning candy dispenser for our spooky slots. Our previous experimentation showed us that the difficulty of turning the knob to release candy was due in part to the seal created by the soft rubber star-shaped part of the dispenser. We decided to replace this with something easier to turn, to see if we could make it automated.
(more…)

October 9, 2008

slot machine … the dispenser saga pt. 1

Filed under: Intro to Phys Comp — Tags: — *aly* @ 10:00 pm

candy corn/ cereal dispenserThe first physical piece of the slot machine interface that we tackled was the candy dispenser. We started with a cereal dispenser filled with candy corn. The dispenser has a knob on the front that is attached to a star-shaped wheel that fits on the underside of the candy reservoir. Upon turning the knob, the wheel rotates and lets a small portion of candy drop out.
(more…)

October 2, 2008

serial lab and multiple serial lab

Filed under: Intro to Phys Comp — Tags: — *aly* @ 5:55 pm

processing graph of pot[part 1] I connected a potentiometer to my breadboard and uploaded the code to the arduino so that it outputs the analog read (divided by four) in BYTE format via the serial port. I then used the mac  terminal to display that data. Lots of ascii on the screen. pretty neat. Then I set up processing to graph that information (using pretty colors). I added one line of code to the lab’s processing example to get a pretty picture since I couldn’t hit shift+apple+3 while moving the pot:
(more…)