lilimike
Member
For some reason I am not able to get my circuit to run properly.
This is my circuit:
![circuit.JPG circuit.JPG](https://www.electro-tech-online.com/data/attachments/54/54220-52935c56f3e7e789b82488ca1112db4e.jpg)
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:
![test.JPG test.JPG](https://www.electro-tech-online.com/data/attachments/54/54221-f767a72d0bcd33b08075c7c89c8c094b.jpg)
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:
![scope3.jpg scope3.jpg](https://www.electro-tech-online.com/data/attachments/54/54225-27be543cc7366bf23af62310d12ee47f.jpg)
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:
![circuit.JPG circuit.JPG](https://www.electro-tech-online.com/data/attachments/54/54220-52935c56f3e7e789b82488ca1112db4e.jpg)
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:
![test.JPG test.JPG](https://www.electro-tech-online.com/data/attachments/54/54221-f767a72d0bcd33b08075c7c89c8c094b.jpg)
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:
![scope1.jpg scope1.jpg](https://www.electro-tech-online.com/data/attachments/54/54222-669dbf59efda940e51315d139b176a95.jpg)
![scope2.jpg scope2.jpg](https://www.electro-tech-online.com/data/attachments/54/54223-3880fd03e5713565d25b2e3fe7795474.jpg)
![scope3.jpg scope3.jpg](https://www.electro-tech-online.com/data/attachments/54/54225-27be543cc7366bf23af62310d12ee47f.jpg)
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