N-channel MOSFET with PIC16f628

Status
Not open for further replies.

zhaniko93

New Member
Hello all!
I am experiencing a problem with my circuit: I am controlling DC motor with PWM and have a connection shown if attached pic. also, I have common ground (the ground which is shown in pic is connected with PIC ground and another IC's grounds) and I have also connected HT12E/D. Everything goes well untill I connect the battery. when I increace pwm duty cycle up to 20%, HT12D starts doing strange things, i.e. when I change encoders pin one time (I mean, put 5v on it and than 0v), Decoders according pin starts winking and also the VALID TRANSMISSION pin goes to 0, I think that my connection is wrong....
 

Attachments

  • untitled.JPG
    118.2 KB · Views: 197
You need a logic level MOSFET. I don't know if you have one already.

A freewheel diode in parallel with the motor is also needed.
 
we can talk about electronics if you want.
I also talk about electronics on 5 other forums.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…