Go to Post sweet nectar thy name is Dew... - Trinora [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 08-01-2008, 17:38
DemonYawgmoth's Avatar
DemonYawgmoth DemonYawgmoth is offline
Registered User
AKA: Artem Kochnev
FRC #1396 (Pyrobots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Staten Island, NY
Posts: 28
DemonYawgmoth is an unknown quantity at this point
Send a message via AIM to DemonYawgmoth Send a message via MSN to DemonYawgmoth
Question about the IR sensor

From what I gathered from the manual and forum posts and stuff, we can connect the pins on the sensor board (I can't remember which ones, it doesn't really matter though) to Digital Inputs on the RC and just test in the code to see if those inputs have been triggered? Is this true or am I missing something?
  #2   Spotlight this post!  
Unread 08-01-2008, 18:44
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Question about the IR sensor

ya, just put the approprate pins to digital in.out pins on the rc and it should work fine
__________________


  #3   Spotlight this post!  
Unread 08-01-2008, 21:17
DemonYawgmoth's Avatar
DemonYawgmoth DemonYawgmoth is offline
Registered User
AKA: Artem Kochnev
FRC #1396 (Pyrobots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Staten Island, NY
Posts: 28
DemonYawgmoth is an unknown quantity at this point
Send a message via AIM to DemonYawgmoth Send a message via MSN to DemonYawgmoth
Re: Question about the IR sensor

Awesome, thanks a lot!
  #4   Spotlight this post!  
Unread 08-01-2008, 21:43
Binome's Avatar
Binome Binome is offline
Programmer/Electronics/CAD
AKA: Patrick
FRC #2273 (SHIM)
Team Role: Leadership
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Surrey,BC
Posts: 105
Binome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of lightBinome is a glorious beacon of light
Re: Question about the IR sensor

Right now i've started to program the IR sensor in easyC. A real easy way to get input to the robot from these things is interupts! easyC makes interupts EXTREMELY EASY! Dragging interupt blocks in, initializing them, and having 4 if statements to get it to send different values to the motors worked very well. I did start to run into what could be a killer later. The IR recciver is fairly directional. Multiple vishay reccivers, and an IR floodlight will probably be required to get a long distance, omnidirectional control system with IR.
  #5   Spotlight this post!  
Unread 08-01-2008, 22:26
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Question about the IR sensor

interrupts? honestly, i think that's a bit overkill for the ir sensor....just do an if statement in the regular autonomous code.
__________________


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
Question about the bumpers. Brad Voracek Technical Discussion 16 16-01-2007 07:28
Quick question regarding the gear tooth sensor... Brad Voracek Electrical 3 12-01-2007 01:07
Question about the LabView itsme LabView and Data Acquisition 2 07-01-2007 20:16
question about the code naor52 Programming 1 10-01-2006 16:42
Question about the playfield Big H General Forum 2 19-02-2004 07:57


All times are GMT -5. The time now is 11: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