Is there an arduino that would fit in a 3/4" - 1" tube?

Or use a Teensy (0.7" x 1.2", Arduino compatible). The Teensy++ variant adds a lot of I/O pins and some more capacity and 0.7" x 2.0".