I've used the following 2 products numerous times
https://www.sparkfun.com/products/10213https://www.sparkfun.com/products/10256I always have trouble with product 10256.
But product 10213 always works perfect. I wire product 10213 on a bread board with this wire guide.
http://bildr.org/2012/03/rfp30n06le-arduino/
I used a comment on product 10256 to wire it. Comment is below.
Looking at this picture going clockwise starting at the very top left:
* The headlight's negative lead
* The headlight's positive lead
* Your supply voltage (The voltage/current your headlight needs)
* Gnd
* And Arduino IO pin
1 and 4 are connected through the mosfet. Connectivity between those two pins is controlled by 5.
2 and 3 are connected together directly, so they could be omitted.
Is there a reason for this? Am I wiring it wrong?
This is for PWM on 12V LEDs and fans.