Page 1 of 1

NDRIVE hints for poor programmers

Posted: Mon May 28, 2012 11:47 am
by bwooce
I'll preface this by saying I'm a lover not a fight....er....a software engineer not an electrical one. I know Ohms law but not much more. I just thought this stuff was worth writing down for the next person like me.

So I bought an NDRIVE to go with my LeoStick, to control a flashing alert light. I've learnt a bit about MOSFETs as switches as part of this. Corrections are very welcome since I've not got the damn thing working yet (got to crack it open and resolder)

Learnings:
* It might eventually work like a switch, but it's not a switch like a bit of metal is. Each pin is quite special.
* There are two kinds of MOSFETS, P and N. NDRIVE, gettit?
* P is for Positive, N for Negative I guess

Trying to switch the positive side of a circuit with the NDRIVE gives....odd results. I think when I wired it correctly it was always on.

G = Gate. This is the pin to connect to the Arduino IO pin.
D = Drive. This is the pin to connect to the output device's -ve pin
S = Source. This is the pin to tie to the -ve voltage source

I think the Arduino's GND pin should be tied to the Source as well? (tomgreen's post)

Re: NDRIVE hints for poor programmers

Posted: Mon May 28, 2012 7:47 pm
by hads
Here's a good short video tutorial; https://www.youtube.com/watch?v=Te5YYVZiOKs

P & N refer to how they are made, it's not a positive/negative thing.