LED challenge: How to build an LED circuit that feeds off of a Lionel train track (2-18 VAC) at a reasonable price.? Answered
I am working on a shelf-train that will circle my son's room. I want to add lights to the boxcars using LED, which means the power would come from the tracks. That means AC power, variable from 0 to 18 VAC, with 5-6VAC the average use power. What is the best way to do it? Should the power be rectified? And how do you deal with the variable power source?
I also plan to control the transformer with an arduino. Bonus points for any advice there!