Arduino Basics (Automated Inflation)

(The first foray into Arduino programming. Pretty much following built-in examples for driving DC motors and reading analog sensors (here a IR distance sensor). The fan here was nowhere near powerful enough to inflate even a small garbage bag, but I think the principle is useful, and hopefully this is the start of a series of experiments.

And a couple useful links for future development:

http://www.instructables.com/id/RE-Inflatable-Vest/?ALLSTEPS

http://www.instructables.com/id/Use-Arduino-with-TIP120-transistor-to-control-moto/