Go to Post But, as a mentor I should caution you that FIRST is not about you its about the students. - SomeoneKnows [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 17-02-2008, 22:15
Gizmo2417 Gizmo2417 is offline
Gizmo
FRC #2417 (Robocougars)
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Virginia
Posts: 9
Gizmo2417 is an unknown quantity at this point
Connecting IR Board

Tomorrow is our last day of work on the robot, and we're just getting to the IR board, so quick responses are highly appreciated.

To power the board I just come in from the breaker panel and connect to pins 1-2, then go back to the breaker panel with a ground wire from 3-4 right?

If so, then how do I get signals to the board from the controller? Connect it to the white wire of a PWM cable attached to the digital IO?

After we get that, programming help would be awesome. Thanks!
__________________
Electrical, Structure, Programmer, Drive Train, Thinker, WebDesigner, Pneumatics, Peace Keeper, Advisor, Ect...
  #2   Spotlight this post!  
Unread 17-02-2008, 22:41
usbcd36's Avatar
usbcd36 usbcd36 is offline
Registered User
AKA: "DOS"
FRC #2399 (The Fighting Unicorns)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Solon, OH
Posts: 151
usbcd36 is a jewel in the roughusbcd36 is a jewel in the roughusbcd36 is a jewel in the rough
Re: Connecting IR Board

The IR board will have four connections to the RC, one for each of the signals. The exact pins those signals are from can be found in the IR board manual. You will need to use a minimum of two PWM cables to hook up the four pins. One can go across three sensor pins, and another can fit normally.

Programming would depend on what application you're using.
  #3   Spotlight this post!  
Unread 18-02-2008, 00:06
Gizmo2417 Gizmo2417 is offline
Gizmo
FRC #2417 (Robocougars)
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Virginia
Posts: 9
Gizmo2417 is an unknown quantity at this point
Re: Connecting IR Board

Ok, that's what I thought. I read the manual. I'm assuming I'm correct in wiring the board?

Also, I use easyC. Thanks!
__________________
Electrical, Structure, Programmer, Drive Train, Thinker, WebDesigner, Pneumatics, Peace Keeper, Advisor, Ect...
  #4   Spotlight this post!  
Unread 18-02-2008, 00:17
BenB's Avatar
BenB BenB is offline
Registered User
AKA: Ben Bennett
FRC #1114 (Simbotics)
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Oakville, ON
Posts: 102
BenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond reputeBenB has a reputation beyond repute
Re: Connecting IR Board

This might be helpful

http://www.youtube.com/watch?v=ANo4sKunvXc
__________________
2010-present - Team 1114 - Simbotics
2007-2009 -Team 2166 - Bluebotics
  #5   Spotlight this post!  
Unread 18-02-2008, 00:54
Gizmo2417 Gizmo2417 is offline
Gizmo
FRC #2417 (Robocougars)
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Virginia
Posts: 9
Gizmo2417 is an unknown quantity at this point
Re: Connecting IR Board

Thanks, I'll look into that when I get to a computer with faster internet...
__________________
Electrical, Structure, Programmer, Drive Train, Thinker, WebDesigner, Pneumatics, Peace Keeper, Advisor, Ect...
  #6   Spotlight this post!  
Unread 18-02-2008, 01:58
Stvn's Avatar
Stvn Stvn is offline
FIRST Competition Competer
AKA: Steven Rhodes
FRC #0100 (WHS/CHS - WildHats)
Team Role: Leadership
 
Join Date: Feb 2007
Rookie Year: 2004
Location: Woodside, CA
Posts: 90
Stvn is an unknown quantity at this point
Send a message via AIM to Stvn
Re: Connecting IR Board

As an alternative way to power the board, you could connect the power and ground wires to an unused PWM output. The 7.2 volts from that is enough for its operation.

Here's the code we're currently using to get the inputs (using WPILib):
Code:
unsigned char Previous_Value;

int GetIR (void) {
	unsigned char IR_Value;

	IR_Value=GetDigitalInput(IR_1)+(GetDigitalInput(IR_2)*2)+(GetDigitalInput(IR_3)*3)+(GetDigitalInput(IR_4)*4);
	if(IR_Value>0) {
		Time=0;
		Previous_Value = IR_Value;
		return IR_Value;
	} else if(Time>250) {
		Time = 0;
		Previous_Value = 0;
		return 0;
	}else if(IR_Value==0) {
		++Time;
		return Previous_Value;
	}
}
__________________
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
connecting sensors guy_rom Electrical 4 01-02-2008 13:21
Connecting LCD module to RC David55 Electrical 5 13-07-2006 22:09
Lights in Joystick board or control board rcubes85 Control System 15 26-02-2005 23:40
Connecting Switch to RC Mr. Steve Control System 2 28-01-2005 22:37
Perf Board = BS2-IC Carrier Board? indieFan Electrical 2 16-09-2004 08:28


All times are GMT -5. The time now is 06:55.

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