I have a bunch of ATmega16 & ATmega 32 (40-pin DIP), and I want to use Arduino IDE with it, to program them for various projects related to robotics (Like- taking readings from a bunch of sensors, driving DC motors and servos, that kinda stuff). I also have a USBASP programmer (6 pin out).
How can I put the Arduino bootloader on the ATmega32? What files need changing? Is there another programmer that is better for this?
Also, what else do I need (hardware and/or software) to connect the ATmega32 to a computer to 1. upload Arduino sketches onto it, and 2. be able to use the Serial.read and write commands?
I have the latest Arduino IDE version installed.
I'm kinda new to Arduino so it would be great if you could tell me the step by step process and the necessary hardware pin connections too.