Shop OBEX P1 Docs P2 Docs Learn Events
Help with Sensors for an art installation — Parallax Forums

Help with Sensors for an art installation

CeilingwalkerCeilingwalker Posts: 2
edited 2013-01-24 22:28 in Accessories
I'm building an interactive art installation and I need some assistance with which sensors I should use. The installation consists of a large panel (8'x16') that will have hundreds of small LED lights sticking through. The goal is to use a close range sensor switches that will turn on 5 to 10 of the LED lights (similar to how a motion detection bathroom faucet turns on ) and turn off when the switch is no longer engaged. Ideally people will be able to waive their hand over the art installation turning on and off groups of LED lights.

Also, if you have light or configuration/wiring suggestions please do not hesitate to share.

Comments

  • ElectricAyeElectricAye Posts: 4,561
    edited 2013-01-20 09:50
    There are a number of ways to do this, and some of what you would need to do depends on how far away the hand must be. For intermediate distances of, say, a foot or so, look at the type of set-up described in Experiment 20 of the StampWorks manual:

    http://www.parallax.com/dl/docs/books/sw/Web-SW-v2.1.pdf

    If you don't mind having the hand nearly touching your installation, then you could perhaps use the LEDs not only as light emitters but as sensors, too.
    http://www.youtube.com/watch?v=_CCndD10OSM
    http://www.youtube.com/watch?v=qbuNroHBtOM

    The most expensive and least practical option would be to use a boatload of PIRs (passive infrared sensors) each sensing a particular zone, and as you wave your hand through the zone, it commands things to light up.
  • CeilingwalkerCeilingwalker Posts: 2
    edited 2013-01-20 10:27
    Thank you for the information. So if I use an IR LED this could act as a basic on off switch when someone gets within a specific distance? Is there any easy way to configure this without programming?

    Also, would the http://www.parallax.com/Store/Sensors/ObjectDetection/tabid/176/CategoryID/51/List/0/SortField/0/Level/a/ProductID/793/Default.aspx provide a basic on off function when someone is within proximity?

    Which method would you recommend if you were going to build my light wall?
  • kwinnkwinn Posts: 8,697
    edited 2013-01-20 12:41
    Thank you for the information. So if I use an IR LED this could act as a basic on off switch when someone gets within a specific distance? Is there any easy way to configure this without programming?
    The IR led can be used to sense light levels but it is not really a switch. The current through the led will vary with the amount of light falling on it. A phototransistor would be more sensitive.

    While this could all be done in hardware it would be much more complex and costly than using a microcontroller, and much less flexible as well.


    Yes, it provides an on/off function, however it senses motion not proximity. If a person stops and remains still it will not sense him/her. They must be moving to trigger it. This sensor also has a range of about 20 feet.
    Which method would you recommend if you were going to build my light wall?

    I would definitely use a microcontroller (propeller) to read the sensors and control the light patterns for the leds. I would also split the project into 4 similar sections since the dimensions you want imply 4 sheets of plywood. Each section would have a microcontroller and would communicate with the other 3 sections.

    The rest of the circuitry would depend on the details of the display such as how many leds will there be, what pattern will they be arranged in, what patterns will they be lit in, etc. The same would apply to the motion/proximity sensors.

    A lot of the design will depend on the project objectives and the environment it will be displayed in.
  • ElectricAyeElectricAye Posts: 4,561
    edited 2013-01-20 12:50
    ... Is there any easy way to configure this without programming?....

    There might be hard-wired ways to do this, but they would probably be more expensive than using a microprocessor. Plus, if you decided to make changes or add some more interesting effects, a microprocessor would make that easier to do whereas a hard-wired approach would require you to start almost all over. It's probably worth your time to learn how to use microprocessors for any of your projects like this - you'll thank yourself down the road.
    ....

    Also, would the http://www.parallax.com/Store/Sensors/ObjectDetection/tabid/176/CategoryID/51/List/0/SortField/0/Level/a/ProductID/793/Default.aspx provide a basic on off function when someone is within proximity?...

    Generally speaking, yes. That is, if you want your entire system to boot up and activate when a person moves toward it. But if you want individual PIRs like that to activate each and every LED separately, that would be insanely expensive, I would think.
    .......
    Which method would you recommend if you were going to build my light wall?

    If you could share with us the details of what you're trying to do, then people here could provide better suggestions. What we need is a clear picture of the dimensions and distances you're talking about. What sort of effects are you trying to achieve? What should the response rate of the device be? How many people or hands does it have to deal with at one time, etc. Is this to work indoors or outside? You might also include some sense of your budget, time constraints, available power outlets, shoe size and social security number. The more info, the better.
  • bomberbomber Posts: 297
    edited 2013-01-20 19:19
    There is a kit offered by evilmadscientist: http://shop.evilmadscientist.com/productsmenu/majors/46
    You may be able to extend the IR Led and phototransistor wires and use your own (possibly smaller) leds. The kits can be daisy-chained too. No Programming Required!
    A less expensive but less compact version: http://shop.evilmadscientist.com/productsmenu/tinykitlist/556
  • NWCCTVNWCCTV Posts: 3,629
    edited 2013-01-23 16:32
    Are your LED's individual or in strips? I know it does not matter but this seems like a lot of work. I was thinking along the lines of a QS and phototransistors but this will require a whole bunch of them (phototransistors).
  • kwinnkwinn Posts: 8,697
    edited 2013-01-24 22:28
    Ceilingwalker, are you still out there?

    Don't be discouraged by the responses so far. There are a lot of ways to do what you want, but to propose something more specific than has been done so far we need a rough idea of how the leds are to be positioned and grouped to be lit. We would also need to know how close you want people to get to trigger the leds, and how sensitive to motion you need the detectors to be.

    It is pretty much a given that some programming will be needed since a micro controller is the only practical and affordable way to control that many inputs and outputs. That is not a problem though. You will find that the folks on this forum are very friendly and willing to help with that.
Sign In or Register to comment.