Hi there, sorry for the question, it has probably been asked a million times, but I didn't know how to search for it.
So imagine I have an Arduino board doing a certain function and I want to apply it permanently in a circuit. However, I think an arduino board is too good to put it in a metal casing (I'm a musician and a DIYer, lot of my stuff need to be durable on the road). So, I was thinking: could I program the chip with an Arduino board and then take the AVR chip and solder it to a small board (attached to the circuit) with just the IO connections and Vcc regulator/filtering. So the Arduino board would be to develop and prototype programs, and when I wanted to make it permanent, I'd program the same code into a different AVR chip which would go to a different board and circuit.
Is it doable? How can it be done?