element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Spring Clean!
  • Challenges & Projects
  • Project14
  • Spring Clean!
  • More
  • Cancel
Spring Clean!
Spring Clean Projects 2026 Wardrobe Light Control --- undone
  • News and Projects
  • Forum
  • Members
  • More
  • Cancel
  • New
Join Spring Clean! to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 30 May 2026 11:56 PM Date Created
  • Views 42 views
  • Likes 3 likes
  • Comments 0 comments
  • monochrome LED strip
  • IR proximity sensor
  • Wardrobe Light Control
  • Spring Clean 2026
Related
Recommended

Wardrobe Light Control --- undone

ralphjy
ralphjy
30 May 2026

This project started out as a simple control circuit to switch the LED light strip in a Wayfair wardrobe assembly as described in my proposal Wardrobe Light Control.

image

In the spirit of spring cleaning I had some obsolete Everlight ITR20001T IR sensors and a leftover coil of 4 conductor wire to use for the project.

image  image

First thing I did was to print a housing for the sensor.  The IR LED is on the right with the clear lens.

image  

Then I added a 4 pin socket housing on the end of the cable (this is a test assembly, so it's intentionally short).

image

The LED strip that is used for the wardrobe is powered by a 12V adapter, so I adjusted the current limit resistor for the IR LED for 20mA (470 ohms).  The IR LED has a max current of 50mA, so there is room to increase it if I need more sensitivity/range.  The other two components are a 10K ohm pullup resistor for the phototransistor collector and a diode to allow "or'ing" or the sensors.  Any single door open will turn on the LED strip.

image

I realized as I was wiring the assembly that the Kicad schematic symbol that I am using does not match the pin numbers on sensor datasheet, so I'll need to fix that.

image

For the switching of the LED power, I'm using an opto-isolated 12V relay.  The schematic below is for the 5V version, but it is functionally the same with some component value changes.

image

The completed test assembly is shown below with barrel connectors to allow it to be inserted between the power adapter and the LED strip.

image

Here is a short video showing the circuit operation with the proximity of a box emulating the opening and closing of a door.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Unfortunately, I was not able to complete this project as planned because we ran into problems with the physical wardrobe unit itself during assembly.  This is a unit that Wayfair sells that is manufactured in China and the metal doors on the unit are very poor quality.  We were having a difficult time adjusting the doors to fit properly and I realized that the sheet metal where the hinges are mounted was so flimsy that it was actually deforming with just the normal opening and closing of the doors.  

image

image

My son decided that he wanted to make these units work, so that is what we are doing (I am reinforcing the area with a mending plate) - but that effort has made it impossible to complete project as I wanted.

I've also decided that I'd really like to add remote control to the project, so that he can control it with the Google Home controller that he uses for the rest of lights and blinds.

But that might be something for the next Project14 competition Slight smile.  Happy Spring Cleaning!

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube