Hi, I'm new to this forum and I've a few question to ask you all......
1. For line following robot, usually the sensors will be put at the front of the driving wheel, right?(I'm using differential drive). So is it possible to put the sensors behind the wheel?Anyone can tell me the algorithm?
2. When I tested my line following robot without connecting the motor,(i just test the algorithm using LED), the robot work fine and it follow what i want. But when i connect it to the motor, the robot become crazy and out of control. I know that's because of the noise that generated by the motor, but i use 2 separated battery for the robot, 1 sets for electronic and 1 sets for motor. They are not connected except they are common grounded. So, any solution to this problem?
3. If we want to control a stepper motor, we need to send pulses to the driver right? so is it any IC that can generate the pulse and i can control the speed on the fly?I'm using PIC16F877A and i dont want to write a program with delay to generate the pulse. During startup of the stepper, i want to ramp up the speed from 0 to its maximum speed....
I really hope that anyone can answer my question....thanks a lot
1. For line following robot, usually the sensors will be put at the front of the driving wheel, right?(I'm using differential drive). So is it possible to put the sensors behind the wheel?Anyone can tell me the algorithm?
2. When I tested my line following robot without connecting the motor,(i just test the algorithm using LED), the robot work fine and it follow what i want. But when i connect it to the motor, the robot become crazy and out of control. I know that's because of the noise that generated by the motor, but i use 2 separated battery for the robot, 1 sets for electronic and 1 sets for motor. They are not connected except they are common grounded. So, any solution to this problem?
3. If we want to control a stepper motor, we need to send pulses to the driver right? so is it any IC that can generate the pulse and i can control the speed on the fly?I'm using PIC16F877A and i dont want to write a program with delay to generate the pulse. During startup of the stepper, i want to ramp up the speed from 0 to its maximum speed....
I really hope that anyone can answer my question....thanks a lot