Go to Post If you are adult enough to be a participant in this program, then you are adult enough to act like an adult. - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2006, 23:21
zachriggle zachriggle is offline
Registered User
FRC #1940
 
Join Date: Jan 2006
Location: Michigan
Posts: 37
zachriggle is infamous around these parts
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   Spotlight this post!  
Unread 04-02-2006, 13:03
Calvin Calvin is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Portland OR
Posts: 105
Calvin has a spectacular aura aboutCalvin has a spectacular aura about
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   Spotlight this post!  
Unread 04-02-2006, 23:53
zachriggle zachriggle is offline
Registered User
FRC #1940
 
Join Date: Jan 2006
Location: Michigan
Posts: 37
zachriggle is infamous around these parts
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   Spotlight this post!  
Unread 05-02-2006, 14:59
psquared89's Avatar
psquared89 psquared89 is offline
Registered User
AKA: Pat Pannuto
FRC #0245 (Adambots)
Team Role: Driver
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Rochester Hills, MI
Posts: 73
psquared89 is a jewel in the roughpsquared89 is a jewel in the roughpsquared89 is a jewel in the roughpsquared89 is a jewel in the rough
Re: IR Receiver

The IFI controller has resistance (I believe 100 kOhm) already built into it.
__________________
At the end of the game, the King and the Pawn both go back into the same box.
~ Italian Proverb
---------------------------------
adambots.com
  #5   Spotlight this post!  
Unread 05-02-2006, 16:05
Calvin Calvin is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Portland OR
Posts: 105
Calvin has a spectacular aura aboutCalvin has a spectacular aura about
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   Spotlight this post!  
Unread 08-02-2006, 17:06
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 416
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
Unhappy 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!
  #7   Spotlight this post!  
Unread 08-02-2006, 22:13
Calvin Calvin is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Portland OR
Posts: 105
Calvin has a spectacular aura aboutCalvin has a spectacular aura about
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.

Last edited by Calvin : 08-02-2006 at 22:21.
  #8   Spotlight this post!  
Unread 09-02-2006, 17:11
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 416
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
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 ) so connecting the battery ground, the PWM ground, and the receiver ground works fine.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 04:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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