|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 .Regardless of *which* it was, it works now! |
|
#4
|
||||
|
||||
|
Re: IR Receiver
The IFI controller has resistance (I believe 100 kOhm) already built into it.
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
Quote:
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! |
|
#7
|
|||
|
|||
|
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:
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. Last edited by Calvin : 08-02-2006 at 22:21. |
|
#8
|
|||
|
|||
|
Re: IR Receiver
Quote:
) so connecting the battery ground, the PWM ground, and the receiver ground works fine. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TTL port to a serial port on a demo board | ImmortalAres | Programming | 16 | 09-07-2005 23:44 |
| Infrared sensor...receiver | emayank | Electrical | 3 | 25-02-2005 19:54 |
| How to connect the R/C receiver?! | Tim Skloss | Robotics Education and Curriculum | 7 | 10-12-2003 16:34 |
| Need info on how to build temp. receiver and transmitter | archiver | 1999 | 5 | 23-06-2002 22:01 |