I am a noob to real life electronics and Arduino (though i have watched hours of videos, and i have a mechanical engineering degree)
I am currently trying to turn a DC device off (quietly), when a PIR senses movement, and after a 1 minute delay I want the device to start working again.
I have already built the circuit using Arduino uno and a solid state relay, and after all the process, I have realized that the ssr doesn't turn off and on my dc device.
Thanks for your answer,
I will be searching for these dc ssr's,
and also, dedicate the next hours to learn how to incorporate a mosfet in my circuit,
using a mosfet (if i have one in my electronics beginner sets) will probably be faster than waiting to get an ssr from some vendor.
BTW it's 12V, 2Amps.
doron
I still don't have MOSFET, I am currently checking for the right one for my project.
The load are some computer fans in parallel, each is 12Vdc, 0.2A.
I want the fans to work, and when the PIR senses movement, to stop the fans from working for 5 minutes and then turn turn on.
I think that I need p-channel mosfet, so when the load is on (normally) I am not wasting the ArduĂno battery, and when the PIR sends HIGH, it will send HIGH to the p-channel MOSFET and the fans will turn off. offcourse, I will add a desired delay in the code.
but now i have 2 questions :
Am i right about p-channel MOSFETs ?
If the MOSFET is indicated 100V, 30A, will it work with my load ?
Not really. Unlike a bipolar transistor it takes virtually no current to keep a MOSFET turned on. Some current will flow into the gate when the voltage is first applied to the gate to charge the gate capacitance. Once the gate cap is charged the gate becomes a very high resistance (no current can flow). So switching the low side (ground) of the fans with a N channel MOSFET would work. Switching a P channel on the high side is more complicated, usually requiring another transistor to drive the gate.
If the MOSFET is indicated 100V, 30A, will it work with my load ?
To work with an Arduino, the MOSFET must be a logic level device. That means that the MOSFET is fully turned on by a 5V (Uno) output. Look at the Rds(on) spec of the device. Is the Rds(on) specified at 5V or lower? Also the drain-source resistance needs to be as low as possible.
I will probably play with both MOSFETS, in order to learn by action what is the difference in their configuration in a circuit.
both are rated 100v, is this the maximum voltage that it accepts ? so 12V is no problem ? or it needs a high voltage to function, and 12v might not be enough ?
the threshold is min 1v, max 2v, what does it mean ? the arduino sends 5v in HIGH, will it be ok ?
For the arduino start with and become familiar with N-Channel MOSFETs, they are much easier to interface to Start with a Logic Level Avalanche Rated FET. Package etc depends on your preferences. For only a few use the high amp devices they will run cool and save you a heat sink. For LEDs 2N7002 work nicely. Connect the source to ground, the gate to the arduino pin (you can use 50 Ohm or less if you like in series) with a 10K pull down resistor at the gate. The 10K keeps the MOSFET off when the arduino is in reset The drain goes to your load which has its other end connected to the + voltage, can be 3V 5V 12V etc depending on the FET. In all the examples you see MOSFETs connected to motors, with a diode across the motor, this diode is not needed with the avalanche rated MOSFETs. Look at this link for some ideas. http://www.irf.com/product-info/datasheets/data/irlz44n.pdf Here is another link that well help: https://www.quora.com/What-amount-of-voltage-is-required-to-switch-MOSFET
This response is to help you get started in solving your problem, not solve it for you.
Good Luck & Have Fun!
Gil
For a two-terminal device, you use a logic-level N-channel MOSFET - far easier to come by and much more practical than the additional complexity (and cost) of a high-side driver.