Go to Post when I was a young whippersnapper, we didn't even HAVE Internet access at my high school in my podunk farmer town of Kinsman, OH! - Travis Hoffman [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 10-02-2014, 23:25
cogbrained3244 cogbrained3244 is offline
Registered User
FRC #3244
 
Join Date: Nov 2012
Location: St.Cloud MN
Posts: 5
cogbrained3244 is an unknown quantity at this point
Question How in the world do I code and wire this wacky sensor(a.k.a. Photoswitch)

So, we're tossing a telescoping blocker on our robot, and the mentors want a way to control it so it doesn't try and go past it's safe spot. So they handed me this thingy and told me "Figure out how to wire this. Then figure out how to program it." The Javadocs don't have anything I could see about using these. So how they work is a little beyond me.

I know that this is a photoswitch/photometer and that I want to get a true false value out of the thing's feedback. But where do these four wires connect to, is it analog or digital, and how do I write code for it?

Note that other members of my team might write replies to this topic consorting with me, so check our team number before you get confused by someone's post. Also, apologies for tossing the pictures of the thing in a word document. It was the only way to get the file size down.
Attached Files
File Type: doc Photo 2 Photometer.doc (358.5 KB, 34 views)
Reply With Quote
 


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


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