I tried to Revolutionize LED Lights!.....And FAILED?
TLDRIn this video, the creator shares his journey to design and build a set of modular, daisy-chainable PCBs aimed at illuminating a staircase during nighttime hours. The project, inspired by LED strips, was designed to automatically react to human presence, avoiding the need for intrusive lighting. Despite facing challenges with the initial design, including issues with noise interference and component selection, the creator remains optimistic about refining the concept in the future. The video also highlights the use of JLCPCB's new PCB layout service and the importance of selecting the right components for such a project.
Takeaways
- 🌃 The video discusses a DIY project to create a staircase lighting system that illuminates steps in the dark for safety.
- 🔍 The creator faced challenges finding existing solutions that met their requirements, avoiding rechargeable lights and extensive wiring.
- 🛠️ A custom solution was devised, involving modular, daisy-chainable PCBs with LED strips that react to human presence.
- 🏠 The project was sponsored by JLCPCB, a service offering design to production for PCBs, which is beneficial for complex projects.
- 💡 The lighting system was designed to be mounted on a timber beam attached to the staircase, using an aluminum profile for aesthetics.
- 📏 Key measurements for the PCB design included a step distance of 31cm and an aluminum profile width of 2.1cm.
- 🔄 The PCBs were designed to be daisy-chained together through power lines and data lines for a seamless setup.
- 💰 The VCNL4200 Infrared sensor was chosen for its affordability and capability to detect objects up to 1.5m, suitable for the staircase width.
- 🔧 The project involved assembling the PCBs, soldering components, and programming the microcontrollers for the desired functionality.
- 🛑 Despite initial success, the final implementation faced issues with constant illumination instead of activation based on presence, indicating a need for redesign.
- 📚 The creator invites viewers to download project files and provide feedback, showing a collaborative spirit for improvement and innovation.
Q & A
What was the main problem with the staircase mentioned in the script?
-The main problem was that the staircase became dangerous and difficult to navigate in the dark because there was no adequate lighting solution in place.
Why did the author not want to use the big lights for the staircase?
-The author did not want to use the big lights because they would disrupt the sleep mood and were not in line with the desired ambiance.
What was the author's solution to the lighting issue?
-The author created modular and daisy chainable PCBs with LED strips that react to human presence, aiming to install them next to each step of the staircase.
What was the赞助商 of the video and what service did they provide?
-The video was sponsored by JLCPCB, who provided a new PCB layout service that includes design to production, component sourcing, and assembly.
How did the author attach the electronic components to the staircase?
-The author used 3 pieces of 2m long timber beams that were cut to size and joined together to fit onto the staircase lip, then secured close to the staircase without causing damage.
What type of sensor was used in the project to detect human presence?
-A VCNL4200 Infrared sensor was used, which can detect objects up to 1.5 meters away and has an integrated ambient light sensor.
What microcontroller was chosen for controlling the LED lights and distance sensor?
-An Attiny402 microcontroller was chosen due to its small size, sufficient pins for all functions, integrated I2C for sensor communication, PWM capabilities, and programmability through a single pin.
What was the issue encountered when the author tried to use the PWM function?
-The PWM function was not working as expected, and the author had to manually configure the timer B to fix the problem.
What was the final problem faced when all the PCBs were soldered together?
-The final problem was that all the LEDs were constantly on, which indicated a failure in the communication between the PCBs and the proper functioning of the distance sensors.
How did the author attempt to fix the issue with the constantly on LEDs?
-The author tried several solutions including adding a pull down resistor, flipping diodes, adding bigger capacitors to each board, and using smaller pull up resistors, but none of these attempts were successful.
What was the author's conclusion about the project?
-The author concluded that a redesign of the board without a switching converter and with added filters to eliminate noise affecting the GND was necessary. Despite the frustration, the author intends to return to the project due to the appeal of the initial idea.
How can viewers help or engage with the author's project?
-Viewers can help by downloading the project files from the video description and providing feedback on potential issues with the design.
Outlines
💡 Staircase Lighting Problem and DIY Solution
The speaker discusses the issue of a dark staircase becoming hazardous at night and their aversion to using the main lights. They mention an unsuccessful search for pre-made lighting solutions online and describe their decision to create a custom solution involving modular, daisy chainable PCBs with LED strips that react to human presence. The speaker also highlights the video's sponsorship by JLCPCB, a company offering a comprehensive PCB layout service, and shares their approach to attaching the lighting solution to the staircase using wooden beams and an aluminum profile.
🛠️ Component Selection and PCB Design
The speaker details the selection process for the necessary electronic components, focusing on finding a suitable distance sensor. They chose the VCNL4200 Infrared sensor for its price and performance, and tested it with an Arduino development board. The speaker then explains the design of the PCB, emphasizing the importance of size accuracy and the ability to daisy chain the PCBs. They ordered 20 PCBs from JLCPCB, assembled the components, and programmed the Attiny402 microcontrollers, despite encountering issues with the PWM function which required manual timer configuration.
🔧 Implementation Challenges and Future Plans
The speaker describes the process of connecting the PCBs and writing code for the final project, acknowledging their limited programming skills. They faced challenges when the LEDs remained constantly on instead of responding to human presence as intended. Despite extensive troubleshooting, including repairing PCBs, adding capacitors, and adjusting resistors, the speaker was unable to resolve the issue fully. They concluded that a redesign of the board is necessary and expressed their intention to return to the project later, inviting viewers to download the project files and provide feedback.
Mindmap
Keywords
💡LED strip
💡Daisy chainable PCBs
💡Human presence detection
💡Microcontroller
💡LED driver
💡Schematic
💡Arduino
💡Programming
💡Noise
💡Pull up resistor
💡JLCPCB
Highlights
The creation of modular and daisy chainable PCBs for staircase lighting that reacts to human presence.
The use of an LED strip-inspired design for the PCBs to ensure easy mounting next to a staircase.
The development of a solution that avoids the use of rechargeable lights and extensive wiring, respecting the user's preferences and constraints.
The innovative approach to utilize the staircase's lip by attaching a wooden structure to it for mounting the lighting system.
The integration of an aluminum profile for the LED strip to enhance the aesthetics of the staircase lighting.
The selection of a VCNL4200 Infrared sensor for its affordability and capability to detect objects up to 1.5 meters, suitable for the staircase width.
The use of an Attiny402 microcontroller for its compact size and sufficient functionality for the project's requirements.
The design of a PCB with specific dimensions to accommodate the LED lights, driver, sensor, and microcontroller for individual step activation.
The implementation of a 5V and 3.3V regulator to power the sensor and microcontroller within the PCB design.
The decision to use the AL8860 LED Driver to efficiently step down the input voltage for optimal LED performance.
The process of turning the schematic into a PCB design, ensuring precise sizing and the ability to daisy chain the PCBs.
The assembly of the PCBs, including soldering components and testing the functionality of the LEDs, driver, and sensor.
The challenge of addressing high-frequency noise on the power lines and the iterative troubleshooting process to resolve the issue.
The realization of the need for a redesign to incorporate a switching converter and filters to eliminate noise affecting the system's performance.
The offer of project files for download and an invitation for community feedback to improve the design, fostering collaboration and open-source innovation.
The commitment to revisit and refine the project despite the setbacks, demonstrating perseverance and passion for the initial idea.