ATMEGA32 basic programming tutorial: In the following ATMEGA32 tutorial i used books to learn fundamental knowledge about Embedded system. After that i install Atmel Studio compiler and Proteus simulator tool to implement following basic ATMEGA32 programming tutorial:
Interfacing of Stepper Motor with ATMEGA32 : In this tutorial Stepper Motoris interfaced with AVR(ATMEGA32 ) controller. You need to enter password "1234#", you can use this tutorial for security checking projects. If you want to learn more kindly see tutorial on youtube as well.
>> Stepper Motor interface with ATMEGA32 C Code: #define MOTOR_DIR DDRD #define m1 PORTD.F0 //control bits of stepper motor #define m2 PORTD.F3 #define m3 PORTD.F1 #define m4 PORTD.F2