I think you are a bit confused... there are many microcontrollers that are just a dollar or two... you can get a complete microcontroller and software development environment from PICAXE for just three dollars.