In this video I make a teardown of a 5W 12V~ LED lamp (halogen lamp replacement). I reverse engineer the schematic of it. Then I explain how does a constant current (current mode) switching power supply work. In this case, it's a buck regulator with a common positive rail. I also find out that this LED works over quite a wide range of AC and DC voltages, despite claiming only 12V AC.
You can support me on Patreon: