Boarduino or Ardweeny
Check out the
Boarduino , an Arduino clone that is much smaller (7.5cm x 2.0cm, and can be configured to be as "short" as 1 cm tall) than the current Arduino Uno board. I've used this, and like it. That should fix your space problem.
And if I'm fully understanding your potentiometer problem, this should fix that, too. You can use code to set the resolution and range of your pot pretty easily. (HINT: use map() on the pot's analog pin's reading.) Then, use the pot reading to set the pulse and delay in milliseconds.
The one limitation of Boarduino vs Uno is that it cannot supply power beyond its pins (5V DC, 600mA max I believe). The Uno has a separate power bus (is that the right word?) that can supply power to other things beyond the pins. But, I don't see that being a big problem for your application.
I'm not sure of budget restraints, but the Boarduino is about $18. You will also need a chip to program it if you get the DC version. I use
FTDI Friend, which is $15 and can be reused over and over. The USB version has the programmer on it already, but you then have to power the board with USB. Tradeoffs...
I'll admit, I've got a seat on the Arduino bandwagon right now, so every project that comes to mind I think how to get the Arduino to do it. It may not be the best way, but it sure is quick and simple.
Disclaimer: I'm no EE, just a hobby tinkerer.
PS: I somehow overlooked the
Ardweeny! It's even smaller--the footprint is the IC. I haven't used it, but from what I understand it works just the same as Boarduino except there is no power adapter or voltage regulation built in. Maybe I need to get one and find out!!!