Posts in Category: Arduino

LED-strip configuration

For the main lighting of the layout, I have installed a total of 5 LED-strips, 3 with Warm White LED's and 2 with adresseable RGB LED's. The extended number of white strips gives a bright light as possible.

All strips are controlled using an Arduino microcontroller, where the 3 Warm White strips are controlled with pulse width modulation(PWM) and a IRF540 MosFet driver card, and the 2 RGB strips are controlled with the FASTLED library available for the Arduino. The programming are not finished and need further development.

The goal is to create animations that can simulate day, sunrise/sunfall and night. And some lights effecs, like ligthing strokes with sound and other visual effects. All controlled by a fastclock and swithes connected to the Arduino. Since I plan to run JMRI on a RaspBerry Pi, I am thinking about to create the userinterface on the RaspBerry Pi, connected to the different Arduinos on the Layout. The Arduino is so cheap to buy, so it will be easier to use several Arduinos for different tasks.

The section drawing shows the different LED-strips for main lighting of the layout.

 

The different LED-stripes:(Table is under construction)

Strip # Type NumOfLeds
1 Warm White, 2 wires: 12 volt, wires: +/-  
2 Warm White, 2 wires: 12 volt, wires: +/-  
3 Warm White, 2 wires: 12 volt, wires: +/-  
4 RGB adresseable WS2812B, 5 volt, 144 Leds/meter, 3 wires: +/-/Data 235
5 RGB adresseable WS2812B, 5 volt, 144 Leds/meter, 3 wires: +/-/Data  

 

LED-strips for the layout installed

Some more progress on the building of the new layout. Skyboard and mountain backdrop are installed.

The lights for the layout room and backdrop, are done using several LED-strips. For the overall white daylight, I have used 3 Warm-White LED-strips, for the colored lights, I have installed 2 adressable RGB-strips, one for the overall light, and one behind the mountain backdrop.

The skyboard and mountain backdrop are installed.
The mainlights turned off showing the mountain backdrop LED-strip with some test colors.

 

A test with an animation of the LED-strips behind the mountain backdrop. The current colors in the video are just to test to see how it could be. All lights are run by an Arduino microcontroller. I guess I need to use some time to develop the programs for the Arduino. The LED-strip in the video is a 144 RGB leds/meter, adressable WS2812B strip, with a total of 235 LED's.