NDRIVE hints for poor programmers

Our range of tiny modules are designed to make it easy for you to quickly add functionality to your projects. [Module List]
Post Reply
Joined:Mon May 28, 2012 11:15 am
NDRIVE hints for poor programmers

Post by bwooce » Mon May 28, 2012 11:47 am

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)

* 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)

Joined:Tue May 01, 2012 3:58 am

Re: NDRIVE hints for poor programmers

Post by hads » Mon May 28, 2012 7:47 pm

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.

Post Reply