Go to Post "Oblivious" people asking questions are what gives us an excuse to sit around on CD. - Ryan M. [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 16-03-2006, 23:05
Darb12000 Darb12000 is offline
Registered User
no team
 
Join Date: Mar 2006
Location: Wisconsin
Posts: 1
Darb12000 is an unknown quantity at this point
Light Sensors

I just bought quite a few omni-wheels and light sensors, and was wondering if a robot able to move toward light is possinle at all.
  #2   Spotlight this post!  
Unread 21-03-2006, 10:02
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Light Sensors

Yes you can do that you just need to program it to do so.

basicly if the light gets brighter drive in that direction.
  #3   Spotlight this post!  
Unread 03-04-2006, 17:35
irishninja's Avatar
irishninja irishninja is offline
I count as two people!
AKA: Nathan Bixler
FRC #0694 (Stuypulse)
Team Role: Marketing
 
Join Date: Feb 2006
Rookie Year: 2004
Location: New York
Posts: 267
irishninja is a glorious beacon of lightirishninja is a glorious beacon of lightirishninja is a glorious beacon of lightirishninja is a glorious beacon of lightirishninja is a glorious beacon of light
Send a message via AIM to irishninja
Re: Light Sensors

What you need to do is buy two light sensors. You put one on the right, one on the left. This enables you to see which value is greater and turn towards that side. Once you have turned to that side and the light is bright enough, which you can do with a simple if statement if a variable with the analog light input is > a number of your choice you drive forward.

If you only have one, you must turn until you have a light input > a numbe rof your choice and then drive forward.
__________________


VEX Robotics Blog
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
Light and Line Following Sensors jeffmorris FIRST Tech Challenge 1 15-12-2005 21:57
How many users does it take to change a Light Bulb? Matt Attallah Chit-Chat 4 04-09-2004 20:59
pic: Dave demonstrates how IR sensors can be used to call robots to light beacon CD47-Bot Extra Discussion 5 10-04-2004 19:44
wiring diagram for light sensors??? pagemauck Control System 1 21-01-2004 16:32
Program Code for Light Sensors...etc Jimbo Programming 1 08-01-2002 00:36


All times are GMT -5. The time now is 03:16.

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