logo elektroda
logo elektroda
X
logo elektroda

[Solved] How to connect an E18-D80NK sensor LED strip to an Arduino for the kitchen?

AndreUrsyn 636 8
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18212149
    AndreUrsyn
    Level 11  
    Hello all forumers. I want to create a circuit that turns on led lights (tape) in the kitchen above the sink.I want the light to turn on automatically when approaching the sink and turn off when leaving. The sink is in the corner and there has to be light and we need to save money. I want to use a 1 channel L/H 5V 10A Arduino AVR relay and an E18-D80NK 30-80cm proximity sensor, Arduino. With the sensor you can adjust the tripping distance up to 80cm and that is quite enough.
    I intend to buy all the components from Allegro.
    How can it be wired together to make it work.
    Maybe possibly some other simple ideas.
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 18212620
    freebsd
    Level 42  
    There are ready-made motion sensors for LED strips for around £20-30. To buy on allegro.
  • ADVERTISEMENT
  • #3 18212820
    AndreUrsyn
    Level 11  
    PIR motion detectors for led tapes on Allegro work up to a few metres, while infrared ones work on hand movement because they have a range of a few centimetres. and I need one with a range of 40cm to 80cm.
  • #4 18212832
    bhtom
    Level 38  
    Welcome,

    AndreUrsyn wrote:
    Motion detectors for Allegro PIR led strips work up to several meters
    .

    It all depends on where the sensor lens is mounted. It is possible to mount it at an angle as well as to cover part of the lens to reduce the sensor's field of operation.

    Greetings.
  • #5 18213287
    AndreUrsyn
    Level 11  
    This must only work when approaching the sink and not 10cm away from it.

    Added after 5 [hours] 23 [minutes]: .

    Proximity sensor data:

    Current consumption: max 100mA

    Supply voltage 5V

    Current consumption <25mA

    Measured distance : 3-80cm adjustable, angle 15st

    Output type : Normally open, NPN
    Maybe you only need to connect a relay at 5V connected to the plus.
    When the sensor is tripped it will connect the relay to ground via the internal NPN transistor.
    Do I understand this correctly? It is important not to exceed 100mA.
  • ADVERTISEMENT
  • #6 18223153
    AndreUrsyn
    Level 11  
    Is it too simple a topic and no one wants to speak up?
  • ADVERTISEMENT
  • #7 18223612
    ditomek
    Level 22  
    Make it into an opto-barrier. As someone stands at the sink it cuts the beam and you're done.
    You can do this in different planes or even in several at once :-) .
  • #8 18223695
    bhtom
    Level 38  
    Welcome,

    AndreUrsyn wrote:
    This must only work when approaching the sink and not 10cm from it
    .

    AndreUrsyn wrote:
    Is this too simple a topic and no one wants to speak up?


    With this kind of accuracy it will not be easy....


    I have such a sensor at my place....
    https://nowyelektronik.pl/index.php?id_product=40030&controller=product

    Except I have lighting automation throughout the kitchen.

    Greetings.
  • #9 18233593
    AndreUrsyn
    Level 11  
    Thank you all for the information. The topic is now closed.

Topic summary

The discussion revolves around connecting an E18-D80NK proximity sensor to an Arduino to automate LED strip lighting above a kitchen sink. The user seeks to have the lights turn on when approaching the sink (within 30-80cm) and off when leaving. Suggestions include using a 1 channel L/H 5V 10A Arduino AVR relay and considerations for sensor placement to optimize detection. Alternatives like opto-barrier setups were proposed for more precise activation. The user plans to source components from Allegro and is looking for wiring guidance and additional ideas.
Summary generated by the language model.
ADVERTISEMENT