Uploaded April 2024 | Updated September 2026, 2 weeks ago
Cheaper PCB layout Service at JLCPCB: design.jlcpcb.com
6 Layers PCBs for $2(Free ENIG): jlcpcb.com/AAA
Get 6 layers PCB coupon: facebook.com/groups/JLCPCB
Components list: (partly affiliate links)
3.3V Regulator: mouser.com/ProductDetail/595-LP2985-33DBVR
5V Regulator: mouser.com/ProductDetail/595-LP2985-50DBVR
ATtiny402: https://s.click.aliexpress.com/e/_DDtsuuH
VCNL4200: mouser.com/ProductDetail/Vishay-Semiconductors/VCNL4200?qs=gt1LBUVyoHnG9%252BeWUQ9nRg%3D%3D
AL8860: https://s.click.aliexpress.com/e/_DlTFdi9
0805 Resistor Kit: https://s.click.aliexpress.com/e/_DBeArjf
0805 Capacitor Kit: https://s.click.aliexpress.com/e/_DmFOspJ
3015 47uH Coil: https://s.click.aliexpress.com/e/_DFhprnn
LEDs: lcsc.com/product-detail/Light-Emitting-Diodes-LED_Everlight-Elec-67-21ST-RKE-N305834Z15-SZM-2T_C694723.html
SI2301 MOSFET: mouser.com/ProductDetail/781-SI2301BDS-GE3
FDLL1418 Diode: mouser.com/ProductDetail/512-FDLL4148
Project files: (Schematic/PCB Design/Code): oshwlab.com/greatscott/stairledlight
The ATtiny Programming tutorial I used:
electronics-lab.com/project/getting-started-with-the-new-attiny-chips-programming-the-microchips-0-series-and-1-series-attiny-with-the-arduino-ide
Previous video: youtu.be/s6zcI1GrkK4
Facebook: facebook.com/greatscottlab
Twitter: twitter.com/GreatScottLab
Instagram: instagram.com/great.scott.lab
TikTok: tiktok.com/@greatscottlab
Discord: discord.gg/zuAvkAuhsY
Support me for more videos: patreon.com/GreatScott?ty=h
In this big project video, I basically tried to revolutionize LED lights. That means I wanted to create an awesome led light for my staircase that only reacts when a human passes by and when it is dark. At the beginning everything worked just fine the mechanical mounting as well as the electrical design with uC, LED driver and distance sensor. After the programming and final assembly, everything fell apart. Check it out ;-)
Websites that were used/shown during the video:
4donline.ihs.com/images/VipMasterIC/IC/VISH/VISH-S-A0011791776/VISH-S-A0011791776-1.pdf?hkey=CECEF36DEECDED6468708AAF2E19C0C6
github.com/SpenceKonde/megaTinyCore
github.com/ElTangas/jtag2updi
electronics-lab.com/project/getting-started-with-the-new-attiny-chips-programming-the-microchips-0-series-and-1-series-attiny-with-the-arduino-ide
github.com/ktsai69/Vishay_VCNL4200
mouser.de/pdfdocs/Vishay_VCNL4200-SB.pdf
amazon.com/dp/B075MB414D/ref=syn_sd_onsite_desktop_0?ie=UTF8&pf_rd_p=d77a94d7-221a-4129-af34-3c16ad136bb7&pf_rd_r=FRV357T1FRCR4BFENH9Z&pd_rd_wg=iXqJG&pd_rd_w=LBHdw&pd_rd_r=b3b70667-e5b2-4415-ad9b-c2adc748ab6a&aref=WRTpWcvnZ2&th=1
aliexpress.com/item/1005004866038739.html?spm=a2g0o.productlist.seoads.1.146bdb59rnb5Jf&p4p_pvid=202403240204225665922053693720003280458_1&s=p
Thanks to JLCPCB for sponsoring this video.
Visit jlcpcb.com to get professional PCBs for low prices.
0:00 My Staircase problem
1:34 Intro
2:39 Mechanical Enclosure
4:20 Initial Plan for the Electronics
6:08 Testing the Distance Sensor
7:05 Creating the final Schematic & PCB Design
8:51 First Assembly & Test
9:48 ATtiny Programming & Finished Prototype
10:41 Final Assembly
11:24 PROBLEMS & TROUBLESHOOTING
12:43 Verdict
Cheaper PCB layout Service at JLCPCB: design.jlcpcb.com
6 Layers PCBs for $2(Free ENIG): jlcpcb.com/AAA
Get 6 layers PCB coupon: facebook.com/groups/JLCPCB
Components list: (partly affiliate links)
3.3V Regulator: mouser.com/ProductDetail/595-LP2985-33DBVR
5V Regulator: mouser.com/ProductDetail/595-LP2985-50DBVR
ATtiny402: https://s.click.aliexpress.com/e/_DDtsuuH
VCNL4200: mouser.com/ProductDetail/Vishay-Semiconductors/VCNL4200?qs=gt1LBUVyoHnG9%252BeWUQ9nRg%3D%3D
AL8860: https://s.click.aliexpress.com/e/_DlTFdi9
0805 Resistor Kit: https://s.click.aliexpress.com/e/_DBeArjf
0805 Capacitor Kit: https://s.click.aliexpress.com/e/_DmFOspJ
3015 47uH Coil: https://s.click.aliexpress.com/e/_DFhprnn
LEDs: lcsc.com/product-detail/Light-Emitting-Diodes-LED_Everlight-Elec-67-21ST-RKE-N305834Z15-SZM-2T_C694723.html
SI2301 MOSFET: mouser.com/ProductDetail/781-SI2301BDS-GE3
FDLL1418 Diode: mouser.com/ProductDetail/512-FDLL4148
Project files: (Schematic/PCB Design/Code): oshwlab.com/greatscott/stairledlight
The ATtiny Programming tutorial I used:
electronics-lab.com/project/getting-started-with-the-new-attiny-chips-programming-the-microchips-0-series-and-1-series-attiny-with-the-arduino-ide
Previous video: youtu.be/s6zcI1GrkK4
Facebook: facebook.com/greatscottlab
Twitter: twitter.com/GreatScottLab
Instagram: instagram.com/great.scott.lab
TikTok: tiktok.com/@greatscottlab
Discord: discord.gg/zuAvkAuhsY
Support me for more videos: patreon.com/GreatScott?ty=h
In this big project video, I basically tried to revolutionize LED lights. That means I wanted to create an awesome led light for my staircase that only reacts when a human passes by and when it is dark. At the beginning everything worked just fine the mechanical mounting as well as the electrical design with uC, LED driver and distance sensor. After the programming and final assembly, everything fell apart. Check it out ;-)
Websites that were used/shown during the video:
4donline.ihs.com/images/VipMasterIC/IC/VISH/VISH-S-A0011791776/VISH-S-A0011791776-1.pdf?hkey=CECEF36DEECDED6468708AAF2E19C0C6
github.com/SpenceKonde/megaTinyCore
github.com/ElTangas/jtag2updi
electronics-lab.com/project/getting-started-with-the-new-attiny-chips-programming-the-microchips-0-series-and-1-series-attiny-with-the-arduino-ide
github.com/ktsai69/Vishay_VCNL4200
mouser.de/pdfdocs/Vishay_VCNL4200-SB.pdf
amazon.com/dp/B075MB414D/ref=syn_sd_onsite_desktop_0?ie=UTF8&pf_rd_p=d77a94d7-221a-4129-af34-3c16ad136bb7&pf_rd_r=FRV357T1FRCR4BFENH9Z&pd_rd_wg=iXqJG&pd_rd_w=LBHdw&pd_rd_r=b3b70667-e5b2-4415-ad9b-c2adc748ab6a&aref=WRTpWcvnZ2&th=1
aliexpress.com/item/1005004866038739.html?spm=a2g0o.productlist.seoads.1.146bdb59rnb5Jf&p4p_pvid=202403240204225665922053693720003280458_1&s=p
Thanks to JLCPCB for sponsoring this video.
Visit jlcpcb.com to get professional PCBs for low prices.
0:00 My Staircase problem
1:34 Intro
2:39 Mechanical Enclosure
4:20 Initial Plan for the Electronics
6:08 Testing the Distance Sensor
7:05 Creating the final Schematic & PCB Design
8:51 First Assembly & Test
9:48 ATtiny Programming & Finished Prototype
10:41 Final Assembly
11:24 PROBLEMS & TROUBLESHOOTING
12:43 Verdict










