2024-04-07
[public] 92.0K views, 15.4K likes, dislikes audio only
2560×1440Cheaper PCB layout Service at JLCPCB: https://design.jlcpcb.com/
6 Layers PCBs for $2(Free ENIG): https://jlcpcb.com/AAA
Get 6 layers PCB coupon: https://www.facebook.com/groups/JLCPCB/
Components list: (partly affiliate links)
3.3V Regulator: https://www.mouser.com/ProductDetail/595-LP2985-33DBVR
5V Regulator: https://www.mouser.com/ProductDetail/595-LP2985-50DBVR
ATtiny402: https://s.click.aliexpress.com/e/_DDtsuuH
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
SI2301 MOSFET: https://www.mouser.com/ProductDetail/781-SI2301BDS-GE3
FDLL1418 Diode: https://www.mouser.com/ProductDetail/512-FDLL4148
Project files: (Schematic/PCB Design/Code): https://oshwlab.com/greatscott/stairledlight
The ATtiny Programming tutorial I used:
Previous video: /youtube/video/s6zcI1GrkK4
Facebook: https://www.facebook.com/greatscottlab
Twitter: https://twitter.com/GreatScottLab
Instagram: https://www.instagram.com/great.scott.lab/
TikTok: https://www.tiktok.com/@greatscottlab
Discord: https://discord.gg/zuAvkAuhsY
Support me for more videos: https://www.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:
https://github.com/SpenceKonde/megaTinyCore
https://github.com/ElTangas/jtag2updi
https://github.com/ktsai69/Vishay_VCNL4200
https://www.mouser.de/pdfdocs/Vishay_VCNL4200-SB.pdf
Thanks to JLCPCB for sponsoring this video.
Visit https://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