Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   IR Receiver (http://www.chiefdelphi.com/forums/showthread.php?t=43266)

zachriggle 03-02-2006 23:21

IR Receiver
 
If I've read correctly, the IR Receiver needs 12v. The Digital IO port only provides 5v. We set the IR Receiver to then have its own line AND fuse... but it refuses to show any activity that the RC can detect. The light on the Receiver turns on\off as it should... but it's sending nada down the signal cable.

How is it SUPPOSED to be hooked up?

Calvin 04-02-2006 13:03

Re: IR Receiver
 
I was about to start a new topic about the IR reciever with a similar question, but since a thread has already been started, I'll just play along.

From what I understand...
If the reciever is recieving a signal, than there would be a connection between the black and white wire (which connects to ground and SIG on digital input). If there is no signal than there would be a connection between the black and green wire. (which connects to ground and SIG on digital input).

So I believe you have a choose between the green and white wire...
IR will have to be powered externally with 12v. The black wire will than connect to both the ground, and the black port on digital input.

If someone can confirm what I just said, I will test this today at school.

zachriggle 04-02-2006 23:53

Re: IR Receiver
 
Solved the problem... in two ways. One, there was a bug in my code. I was attempting to use "digital_io_01", as opposed to "rc_dig_in01" (I should have been using the latter).

I didn't find that out until *after* the electronics guys added a pullup resistor, though :eek:.

Regardless of *which* it was, it works now!

psquared89 05-02-2006 14:59

Re: IR Receiver
 
The IFI controller has resistance (I believe 100 kOhm) already built into it.

Calvin 05-02-2006 16:05

Re: IR Receiver
 
I just tested it, works fine for me!

For the source,
- Red and Black to external 12v

For the reciever, took a PWM wire...
- both ground wires to black
- white to white
- ignore green (unless you want to reverse the logic)
- Red to external 12v

Than connect the PWM wire to the Digital input.

For a simple test without adding additional code:
- Connect the switch to Digital Input 18.
- And a spike to Relay8 (make sure nothing is connected to the spike m+m-, you don't want to turn something on)
- Now just move the source and reciever around and watch the spike light turn different colors.

StevenB 08-02-2006 17:06

Re: IR Receiver
 
Quote:

Originally Posted by Calvin
For the reciever, took a PWM wire...
- both ground wires to black
- white to white
- ignore green (unless you want to reverse the logic)
- Red to external 12v

Either I don't understand, or something else is not right, because it isn't working for me. :( The little red light doesn't come on, and I don't get any signal to the controller.
By ground wires I assume you mean the unshielded wire and the black one from the receiver. Seems like I need to hook up an external ground somewhere to power the sensor, but where does that go? I'm not much of an electrical guy, so is it ok to have an external ground connect to the controller ground as well as the receiver ground?
Thanks!

Calvin 08-02-2006 22:13

Re: IR Receiver
 
Here is how I did it:
Reciever has 4 wires...

Red wire to circuit board (+)
Black and unshielded wire to PWM Black.
White to PWM White.
Green (ignore).

PWM wire to Digital Input...

Quote:

Seems like I need to hook up an external ground somewhere to power the sensor, but where does that go?
I'm using the ground pin found on the digital input, works fine for me...

One thing I know is that you need the ground wire (from the receiver) connected to the ground on the digital input port. Because while the reciever is recieving a signal from the source there is a connection between the ground and the white wire, and the controller detects that connection through the digital input.

StevenB 09-02-2006 17:11

Re: IR Receiver
 
Quote:

Originally Posted by StevenB
Is it ok to have an external ground connect to the controller ground as well as the receiver ground?

I guess I was being dumb. Ground is ground, (hopefully :D ) so connecting the battery ground, the PWM ground, and the receiver ground works fine.


All times are GMT -5. The time now is 10:09.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi