One of the cheapest one chip solutions would be a Microchip
microcontroller. All of the development software is free, but you would need to build a programmer (schematics are on-line) or buy one. If you're going to do hobbiest projects in the future it's a good low cost investment.