hello guys,
I have made a circuit of connecting a 5V push pull solenoid with a Rapberry PI but its not working. I have attached a circuit diagram where i have used an N channel mosfet of 60V 30A and diode rectifier with 1A 50V and a resistor of 10KR. I have also written a code please do have a look and tell me whas wrong.
Here,s the code:
Regarding push pull solenoid with a raspberry pi3
I have made a circuit of connecting a 5V push pull solenoid with a Rapberry PI but its not working. I have attached a circuit diagram where i have used an N channel mosfet of 60V 30A and diode rectifier with 1A 50V and a resistor of 10KR. I have also written a code please do have a look and tell me whas wrong.
Here,s the code:
Code (Text):
- import RPi.GPIO as GPIO # Import Raspberry Pi GPIO library
- from time import sleep # Import the sleep function from the time module...