lilimike
Member
For some reason I am not able to get my circuit to run properly.
This is my circuit:

I tried connecting R6 to positive, also tried to remove it but anyway gives the same results.
Using this motor model 2295
I am using a 6V battery (4R25), I've tried to connect the PIC to one battery and the transistor to a second battery.
I've tried replacing Q1 with NPN transistor 2N3904 and also tried 2N2222
All configurations are working well if I use a LED instead of the motor.
When using 2N2222 I've tested connecting these ways:

When I look at the results from the scope connected where the motor should be I get results I don't understand but the closest that makes sens to me is with 2N2222 connected as TEST2 with the POT set to 50% duty cycle gives these results:

In all configuration probing the PIC PWM pin is good.
When I connect the motor it only starts turning with the MOSFET but as I increase duty cycle, the motor slows down and stops.
Sorry about all these pictures, I wouldn't know how to describe this otherwise.
Mike
This is my circuit:

I tried connecting R6 to positive, also tried to remove it but anyway gives the same results.
Using this motor model 2295
I am using a 6V battery (4R25), I've tried to connect the PIC to one battery and the transistor to a second battery.
I've tried replacing Q1 with NPN transistor 2N3904 and also tried 2N2222
All configurations are working well if I use a LED instead of the motor.
When using 2N2222 I've tested connecting these ways:

When I look at the results from the scope connected where the motor should be I get results I don't understand but the closest that makes sens to me is with 2N2222 connected as TEST2 with the POT set to 50% duty cycle gives these results:



In all configuration probing the PIC PWM pin is good.
When I connect the motor it only starts turning with the MOSFET but as I increase duty cycle, the motor slows down and stops.
Sorry about all these pictures, I wouldn't know how to describe this otherwise.
Mike