Jump to content
Issues with Images is known, we are working on it. ×

Recommended Posts

Posted

Is it possible to use two light sensors on a single input on the RCX? What I want to do is have two LED/Light sensor combo's to detect passing trains and I only need to know if one of them has been triggered, not which one.

Posted

@Duq

Good evening.

Just tried it out. What works (also with more than 2 light sensors on one port): Put sensor port into passive mode ("none" in BricXCC) and select "raw".

With one sensor I get a reading of about 490 for dark and 380 for rather bright light. With three sensors this gives 450 for all dark and 380 again for bright light on an individual sensor. Which means that the span between dark and light decreases a little. But it works fine, when the light hits the sensor spot on. Setting the "percent" output works as well - numbers are between 88 (dark) and 100 (light) then. These all depend highly on your setup but in essence I believe it works.

With the sensor LED powered ("reflection" mode, sensor LED on) I could not get it to work - the sensor electronic circuity may not like to run in parallel.

I bet that @Philo knows exactly why this is.

Whatever it is worth.

Best
Thorsten

    

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...