hi and greeting..
i be able to communicate with SKKCA 21 with PIC16F877.... example... i make my own GUI, with button ON OFF...
The communication was successful.. i can control the ON OFF of output at my PIC.
when i apply a motor driver L293, the output of the motor drive should voltage of 4.48V+,
example of code (to drive a dc motor through L293)
if(a=='u')//Base Up
{while(a=='u')
{
servo2=1; //Enable pin high
servo0=1;
servo1=0;
}
}
if(a=='s') //Base Stop
{while(a=='s')
{
servo2=0; //Enable pin low
servo1=0;
servo0=0;
}
}
if(a=='y') //Base Down
{while(a=='y')
{
servo2=1; //Enable pin high
servo0=0;
servo1=1;
}
}
the problems come when i connect the motor drive to a dc motor, i use the bluetooth module. when i press a button which i define as 'u' or 's' or 'y'. the motor rotate awHile.. then it stop.. then the bluetooth is disconnect..
may i know wat the problem?
thanks in advance