Go to Post It's in the RUMOR MILL section, hence it is a RUMOR. Personally I find it entertaining to see what gets started in this particular forum section and have people go off the deep end. - Gary Dillard [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2001
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-06-2002, 02:55
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
optical sensor

Posted by joe frick at 03/27/2001 12:14 PM EST


Engineer on team #466, bartram braves, from john bartram high school and sheet metal workers local union 19.



could anyone help me with the optical sensor?
i want to use it as a limit switch how do i hook it up to digital imputs to control PWM 3 what i need is something that lets me start a match in a down position but prevent our robot from returning to this position during a match, so the switch would have to allow our robot to go up but not down. any help wou;ld be appreciated


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #2   Spotlight this post!  
Unread 24-06-2002, 02:55
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: optical sensor

Posted by Lloyd Burns at 03/27/2001 4:58 PM EST


Engineer on team #188, Woburn Robotics, from Woburn Collegiate and TorDistSchoolBrd, ScotiaBank. OntPwrGen, Enbridge.


In Reply to: optical sensor
Posted by joe frick on 03/27/2001 12:14 PM EST:



: could anyone help me with the optical sensor?
: i want to use it as a limit switch how do i hook it up to digital imputs to control PWM 3

' see the connection diagram on the case, and the listing of the pinouts in the Innovation First manual.
One of the wires goes to ground, one to the +5 V pin, and one (of the two outputs) to the signal pin. One of the outputs is closed normally, but opens when it detects reflection; the other output closes at the same time. Closed to ground = 1 in the program.

: what i need is something that lets me start a match in a down position but prevent our robot from returning to this position during a match, so the switch would have to allow our robot to go up but not down. any help wou;ld be appreciated

' if rc_sw# = 1 then PWM3 = 0 (or 254 depending on how you've wired the motor.) This could compress into
PWM3 = 127 + rc_sw# * 127 (if 254 is up, or use - to get to 0).
' you could implement another limit switch or a timer / counter to make sure the part rose far enough, if your sensor is positioned to sense only the start.


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #3   Spotlight this post!  
Unread 24-06-2002, 02:55
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: optical sensor

Posted by Travis Hoffman at 03/27/2001 10:18 PM EST


Engineer on team #48, Delphi E.L.I.T.E., from Warren G. Harding High School and Delphi Automotive Systems .


In Reply to: Re: optical sensor
Posted by Lloyd Burns on 03/27/2001 4:58 PM EST:



: : could anyone help me with the optical sensor?
: : i want to use it as a limit switch how do i hook it up to digital imputs to control PWM 3

: ' see the connection diagram on the case, and the listing of the pinouts in the Innovation First manual.
: One of the wires goes to ground, one to the +5 V pin,

The optical sensor runs on 12 VDC. Tap the power for the device from the 20A Robot Controller circuit breaker.

Travis





and one (of the two outputs) to the signal pin. One of the outputs is closed normally, but opens when it detects reflection; the other output closes at the same time. Closed to ground = 1 in the program.

: : what i need is something that lets me start a match in a down position but prevent our robot from returning to this position during a match, so the switch would have to allow our robot to go up but not down. any help wou;ld be appreciated

: ' if rc_sw# = 1 then PWM3 = 0 (or 254 depending on how you've wired the motor.) This could compress into
: PWM3 = 127 + rc_sw# * 127 (if 254 is up, or use - to get to 0).
: ' you could implement another limit switch or a timer / counter to make sure the part rose far enough, if your sensor is positioned to sense only the start.


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #4   Spotlight this post!  
Unread 24-06-2002, 02:55
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Yer Right - 12 V :-(

Posted by Lloyd Burns at 03/28/2001 6:27 PM EST


Engineer on team #188, Woburn Robotics, from Woburn Collegiate and TorDistSchoolBrd, ScotiaBank. OntPwrGen, Enbridge.


In Reply to: Re: optical sensor
Posted by Travis Hoffman on 03/27/2001 10:18 PM EST:



: One of the wires goes to ground, one to the +5 V pin,

: The optical sensor runs on 12 VDC. Tap the power for the device from the 20A Robot Controller circuit breaker.

: Travis

__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
optical sensor majormusic2005 Technical Discussion 1 29-01-2003 07:39
Quick Optical Sensor Question zorro Technical Discussion 10 21-01-2003 06:39
Find any optical sensor in catalogs? GreenDice Programming 1 13-01-2003 18:05
How do you connect optical sensor? archiver 2001 1 23-06-2002 23:05
Optical range sensor Ben Mitchell Technical Discussion 9 12-01-2002 00:11


All times are GMT -5. The time now is 18:44.

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