Hi everyone here, I have a a set of IFC card series. Yet, i'm encountering a problem lately, when i try writing a coding for BL-02 for my oriental motor, i find out that the encoder value for both motor 1 and motor 2 is different from what it should be. So now my situation was like this :
- i wrote a program on testing the encoder on BL-02 and the sequence is as below:
> Sw1 turn on both motor and move forwardly
> Encoder 2 will brake motor 2 when value of encoder is 1200. ( gear ratio 10 X 30 pulse per rotation for a round of wheel rotation)
> My problem start here.... My motor brake by value 1200, yet, my motor does not brake completely and it rotates with braking along.
> Then, it should be turn out with encoder 2 clear it's value.
> Followed by encoder 1, it is turned on with the same value 1200 which is 4 round of wheel.
> Though, my wheel is turned by 2 cycle and then the whole motor stop as planned.
> My 2nd problem here, the value of encoder is the same but the output came out is different, will it be the problem of the motor or card? Because when i swap both the motor, the situation is the same meaning it shouldn't be a problem with driver right?
So i hope to get some suggestion from you all....^^