ATMEGA 3216

Sure. You can do a lot more with ATMega1284P tho.

If you want to stick with that chip, suggest you start here:
http://www.avr-developers.com/