Construction and testing
A single side PCB pattern of Arduino on ATmega32 circuit is shown in Fig. 7 and its component layout in Fig. 8. Assemble the circuit on the PCB as it minimises time and assembly errors. Carefully assemble the components and double-check for any error(s). Use proper IC base for the MCU. Test different programs like digital read, analogue read, LCD display, serial display, tone, etc using ATmega32 for Arduino with all 32 GPIO pins.
The hex file generated (after compiling the sketch for Arduino board using ATmega32) on Arduino 1.0.5 IDE can be obtained by searching the build folder in C:// as shown in Fig. 6.
You may connect an external programmer to CON3 in Arduino ATmega32 board to burn the hex file into ATmega32.
You can also change any future version of Arduino for ATmega32 once you understand how to change the corresponding files in that version.
Download PCB and component layout PDFs: click here
Download source code: Click here
Note: Your code may not match the line numbers mentioned in this article.