Image002.jpg (48192Bytes)
Image003.jpg (43971Bytes)
here is the code for microcontroller atmega32
#include <avr/io.h>
#include <util/delay.h>
int main(void)
{
DDRC = 0x0F;
while(1)
{
PORTC = 0b00000101;
_delay_ms(100);
PORTC = 0b00001010;
_delay_ms(100);
}
}
i just want to complete the circuit for pin1,pint9 and pin16 l293d wires to be connect in breadboard or microcontoller pins ?
can someone help me to spin motor connections using atemega32,l293d ? i am not able understand how to connect micontroller with pin 1 and pin 9 of l293d means to set the pin enable ,which pins of microcontroller to be connected with those pin1 and pin 9 of l293d ?
i have the images of connections of motor ,battery, programmer and breadboard. i am connecting l293d motor output with microcontroller PORTC pins (PC0…PC3). i have connected pin 8 of l293d with battery. but not able to understand how and where to connect pin1 and pin9 and pin 16 of l293d with the atemega32 on my breadboard ? can anybody help me ?
I am not using adruino.
Just want to know where the connection will go from pin 1 and pin 9 and pin 16 of l293d to atmega32 on breadboard.can any one help me with pictures on breadboard ?