Go Down

Topic: Help reading voltage on an analogread pin (Read 3 times) previous topic - next topic

StealthRT

#50
Mar 08, 2009, 01:44 am Last Edit: Mar 08, 2009, 01:45 am by StealthRT Reason: 1
OK, i went to radio shack and got a butt load of transistors :P

It seems the 2n4404 (http://www.fairchildsemi.com/ds/2N%2F2N4401.pdf) works fine with a 1k resistor. However, i still am having the problem with no 12v coming out from the relay!

:(

David

mem

Are you getting the voltage on the collector to go low when the Arduino pin goes high?

Do you hear the relay click when the collector goes low?

If both of these happen, double check that you are wired to the correct relay contacts.

StealthRT

#52
Mar 09, 2009, 09:28 pm Last Edit: Mar 09, 2009, 09:35 pm by StealthRT Reason: 1
The collector has 12v when 5v is not connected and 0.03v when connected.

Yes, i hear it click just fine.

The relay pin out looks like this: http://www.components.omron.com/components/web/pdflib.nsf/0/7270ED3CFB55EBFF85257201007DD4FF/$file/G8QN_G8QW_0607.pdf

I have it hook like so:
Pin 2 = 12v
Pin 5 = collector pin
Pin 3 = (should have 12v coming out?)
Pin 4 = 12v

I've also tried this:
Pin 2 = 12v
Pin 5 = collector pin
Pin 3 = 12v
Pin 4 = (should have 12v coming out?)

What am i doing wrong????

David

StealthRT

I finally got it working, YAY!!! :)



David

Go Up