If you have code for an Arudino, you can make a board that uses an AVR microcontroller (made by Atmel[0]) with that same code. It may be possible to use a cheaper AVR if you don't need the same functionality (eg, if you aren't using hardware pulse width modulation, there are cheaper chips) with only slight code modifications.
[0] http://www.atmel.com