Postmodern Sysadmin

A blog about servers and junk

A Team Fortress 2 See 'N Say!

Hopefully Valve will offer me a job instead of suing me? :)

Teardown

Parts

  • Many See N’ Says to destroy (I burned through 3)

  • An Arduino (yes, because I’m a lazy noob)

  • Wave shield

  • Some sort of ISP programmer

  • Speaker / Switch / Hot-glue / Resistors / etc

How It Works

  • A user pulls the handle, activating the normally-open switch and powering the arduino

  • When the handle is released and the spinner starts spinning, a resistor sensor detects at least two succsessive reistor changes, indicating that the spinner is in motion and noting the first value of the resistor for the next step

  • The wave shield plays a prelude for the class, “The scout says…” and a random wave file in the “Scout” folder.

  • By the time the handle gets back to the top, the wave file is over, the spinner stops spinning, and the swich is pushed open again, to power everyhing off and save the batteries.

Battery Math

  • .09 Amps * 5 Volts = .45 Watts

  • .45 Watts * 6 Seconds per Spin = 2.7 Joules per Spin

  • 4 Batteries * 9,000 Joules per Battery = 36,000 Joules

  • 36,000 Joules / 2.7 Joules per Spin = 13,333 Spins?

Realistically the batteries will ooze before we run out of juice?

Source Code

Source code is on my Github. Includes code for extracting sounds from TF2 and Arduino code.