Go to Post Roses are red/Violets are blue/I'll write a poem/Once build season's over. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-01-2008, 20:31
jln646v jln646v is offline
Registered User
AKA: Vincent Juliano
FRC #0514 (RPM)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Miller Place
Posts: 4
jln646v is an unknown quantity at this point
Send a message via AIM to jln646v
Infrared Sensor Interface Problems

I am using the infrared sensor included with the kit of parts with the 2005 edubot. I have power going in the 1st and 3rd pin and have the 5th 6th and 7th pins going to the signal pin of 3 digital inputs using a pwm cable. The other one is not hooked up to anything.

When none of the buttons on the remote are pressed or a pin is not hooked up to the signal pin, the value is 1. When i only have 2 inputs hooked up, everything works correctly. The correct digital inputs go to 0.

When i have the 3rd one hooked up, when i activate one input the 1st and 3rd digtal inputs turn to 0. When i activate the 2nd, the 2nd and third pins go to 0. Both times only one light is flashing on the infrared sensor, so it looks like everything is working correctly there. Does anyone know what is causing this, i dont see any shorts or anything.

Interestinly enough, i dont know if this is related, if i have digital inputs one and two hooked up and take the 3rd pin and touch it to the ground, digital inputs go to 0.

Any help would be greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2008, 01:08
taggartbg taggartbg is offline
Registered User
FRC #1712 (Dawgma)
Team Role: Electrical
 
Join Date: May 2005
Rookie Year: 2006
Location: Lower Merion, PA
Posts: 38
taggartbg will become famous soon enoughtaggartbg will become famous soon enough
Send a message via AIM to taggartbg Send a message via MSN to taggartbg Send a message via Yahoo to taggartbg
Re: Infrared Sensor Interface Problems

We were having similar issues, turns out I made a bad assumption after looking at a picture. Initially we had the 5v signal running through the red wire into the center pin (+5, which would make sense...but no). You need the 5v signal from pins 5,6,7 or 8 to run into your white, inside, signal (SIG) pin, and also the black, outside, GND, pin to run to your ground.

Hope that helps,
/Taggart
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2008, 01:26
Steve_Alaniz Steve_Alaniz is offline
Registered User
FRC #2848 (All Sparks)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 1997
Location: Dallas
Posts: 211
Steve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond repute
Re: Infrared Sensor Interface Problems

Do you have power supplied to the IR board from the 12V battery? And battery ground from the robot connected to ground on the IR board? 5,6,7,and 8 would go to the SIG pin of the corresponding digital inputs.

Steve
Reply With Quote
  #4   Spotlight this post!  
Unread 15-01-2008, 01:38
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Re: Infrared Sensor Interface Problems

There is a pic in this post where it's all visible except the power distribution block.

The two white wires in the zip tie go to 12v from the battery. The two black wires in the zip tie go to ground on the terminal block.

http://www.chiefdelphi.com/forums/sh...12&postcount=4
__________________
What place are we at? ... TODAI!
Reply With Quote
  #5   Spotlight this post!  
Unread 15-01-2008, 08:07
JimS JimS is offline
Registered User
#0549
 
Join Date: Mar 2005
Location: Leominster High School
Posts: 5
JimS is an unknown quantity at this point
Question Re: Infrared Sensor Interface Problems

Has anyone have the IR board working on the robot.I need some help.I am not sure of the power supply to use,12 supply on the RC,a seperate power supply or the backup supply.The second problem is the inconnections from the IR board to the Robot controller.Can I simply plug the outputs to the digital inputs and if we use a seperate supply do I have to have the grounds connected together.I have gotten the IR board programmed with the remote but I am not sure of the rest of the connections

Jim
Reply With Quote
  #6   Spotlight this post!  
Unread 15-01-2008, 08:33
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Infrared Sensor Interface Problems

Quote:
Originally Posted by JimS View Post
Has anyone have the IR board working on the robot.I need some help.I am not sure of the power supply to use,12 supply on the RC,a seperate power supply or the backup supply.
As far as the power supply goes, to get the board spec'd voltage (above 7 volts if i recall correctly) you can connect it to one of two places: the red wire of one of the PWM outputs (assuming you have a charged backup battery--this battery is directly connected to the power pin on every PWM output) or the 12 v system on the robot--this will require you to run a wire from the circuit breaker to the power pin on your IR board. If you use the RC's PWM output, ground goes to ground on the controller. IF you use the 12v system, ground will have to go to the ground on the breaker panel (correct me if I'm wrong).

It has been rumored that the board will function with only 5 volts as input, meaning you can connect the power pin to a digital i/o's power pins, but this is not advisable as the spec sheet says that the board needs above 7 volts, and there is a noticable drop in performance with the drop in voltage.

Quote:
Originally Posted by JimS View Post
The second problem is the inconnections from the IR board to the Robot controller.Can I simply plug the outputs to the digital inputs and if we use a seperate supply do I have to have the grounds connected together.I have gotten the IR board programmed with the remote but I am not sure of the rest of the connections
Each one of the signal pins coming from the IR board will need to go to a separate Digital I/O pin on the RC, and at least one ground needs to be connected between the IR board's ground and the RC (I could be wrong here, but it will not damage anything if connected in this fashion).

JBot
__________________
Aren't signatures a bit outdated?

Last edited by JBotAlan : 15-01-2008 at 08:35. Reason: forgot to answer second part of question...
Reply With Quote
  #7   Spotlight this post!  
Unread 15-01-2008, 09:17
JimS JimS is offline
Registered User
#0549
 
Join Date: Mar 2005
Location: Leominster High School
Posts: 5
JimS is an unknown quantity at this point
Re: Infrared Sensor Interface Problems

Thanks for all the inputs,I am going to wire it today and give it a go
Reply With Quote
  #8   Spotlight this post!  
Unread 26-01-2008, 13:37
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: Infrared Sensor Interface Problems

I dont understand where the ground from to the digital io's come from.

I noticed that John C said that the two black wires in his picture go to the terminal block but don't we see that they are connected to the terminal block?
Quote:
There is a pic in this post where it's all visible except the power distribution block.

The two white wires in the zip tie go to 12v from the battery. The two black wires in the zip tie go to ground on the terminal block.

http://www.chiefdelphi.com/forums/sh...12&postcount=4
So where does the ground to digital i/o come from?

I also don't understand why we need to use all four positive/ground pins? I got the board to power up using a 7.2V backup battery where the positive is connected to pin #1 and ground is connected to pin #3 and had it learn some buttons, so I don't see why it is necessary to use all four pins.

Thanks for the help ahead of time,
Sravan
Reply With Quote
Reply


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
PBASIC operator interface LED problems John Gutmann Programming 1 19-05-2005 10:39
Infrared sensor...receiver emayank Electrical 3 25-02-2005 19:54
Infrared Beacon and Sensor Diagnostics Code Released Kevin Watson Programming 3 25-02-2004 17:50
Operator Interface Problems - Won't Boot Jamie_Richard Control System 1 14-02-2004 17:20
Warning: Error in infrared sensor construction document Kevin Watson Electrical 1 29-01-2004 19:28


All times are GMT -5. The time now is 02:39.

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