sunil21
Advanced Member level 4
- Joined
- Dec 2, 2010
- Messages
- 119
- Helped
- 4
- Reputation
- 8
- Reaction score
- 5
- Trophy points
- 1,298
- Activity points
- 2,514
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 code is as follows while(1) { PORTB=0b0011; delay_ms(100); PORTB=0b0110; delay_ms(100); PORTB=0b1100; delay_ms(100); PORTB=0b1001; delay_ms(100); }
{
PORTB=0b00000001;
delay_ms(15);
PORTB=0b00000101;
delay_ms(15);
PORTB=0b00000100;
delay_ms(15);
PORTB=0b00000110;
delay_ms(15);
PORTB=0b00000010;
delay_ms(15);
PORTB=0b00001010;
delay_ms(15);
PORTB=0b00001000;
delay_ms(15);
}
this sounds like a wiring or layout problem. Caused by ESD, ground bounce or something similar.if I touch the motor side body or the L298 IC the motor continuously runs
Show your schematic and a picture of your PCB / wiring.
Yes, you could even change the code.is it okay to reverse the INx connections ?
How can we answer this? We don't have any information or picture what hardware you use.1. On the L298 board there are 4 inputs - IN1 to IN4 and 4 output pins , 2 pair of Output pins (Out1, Out2, Out3 and Out4) . so Out1 and Out2 represents IN1 and In2 , Out3 and Out4 represents In3 and In4 ?
You dissipate power in half step mode and in full step mode.the power is actually wasted ?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?