so, judging by this diagram ( http://www.arduino.cc/en/Hacking/Atmega168Hardware )of the pin-mappings for an atmega168, you should be able to remove the chip after burning it with the bootloader and a sketch for standalone operation, right? Simply connect inputs to corresponding pins on the chip, etc.?
You’d have to power it with a battery or some other power source (and I assume, regulate that power source to provide the correct voltage), and I suppose add resistors to compensate for the lack of the arduino’s internal pull-up resistors, but it would work correctly otherwise, right?
Has anybody tried this? Maybe it’s an obvious question.