Search found 4 matches

by denujith
Tue Oct 12, 2010 3:51 am
Forum: Projects
Topic: PIC18F452 and L298
Replies: 6
Views: 9155

Thank you a lot for having a lengthier discussion over this. Anyway, I am trying to understand the way, how you control the Motor.

Thank you again!
by denujith
Mon Oct 11, 2010 8:25 am
Forum: Projects
Topic: PIC18F452 and L298
Replies: 6
Views: 9155

I wrote a C code that will operate the motor as: 0->100->0... At duty_cycle = 0, it will change the direction #include <pic18.h> #include <18f2550.h> #include "delay.h" #pragma config FOSC = INTOSC_EC #pragma config WDT = OFF #pragma config LVP = OFF #define Enable LATB4 #define C LATB6 #d...
by denujith
Mon Oct 11, 2010 6:09 am
Forum: Projects
Topic: PIC18F452 and L298
Replies: 6
Views: 9155

DC motor speed is controlled by the applied voltage. If the motor is rated 12V, 1000 RPM and if we apply 6V its RPM would be roughly half. i.e. 500. By using PWM, we make the motor to "see" the average voltage. 80% duty cycle: 80% ON and 20% OFF. graphically: Let's take T = 2 seconds 12v -...
by denujith
Sat Oct 09, 2010 5:35 pm
Forum: Projects
Topic: PIC18F452 and L298
Replies: 6
Views: 9155

PIC18F452 and L298

Hi, I am confused while trying to understand the code you've provided in L298 DC Motor Control: Software. L298's operating instructions are as follows: | Inputs | Function ------------------------------------|-------------------------- Ven = H | C = H ; D = L | Forward | C = L ; D = H | Reverse | C ...

Go to advanced search