I’m still learning about Arduino programming. My first attempt at building a 12 port Random Lighting Controller worked but it can be enhanced to 14 ports easily. By increasing the ports that also adds to the random generator making the pattern sequencing even more random.
When I first got into this project I didn’t know that the pins marked TX and RX (1 qnd 2) could be used for outputs. I included them into my sketch and wiring on a new expansion shield to gain two more outputs. That actually simplified the wiring to pin to pin. I use incandescent bulbs in my older structures so I need a high current driver so that is built up on a UNO expansion shield using TG62394AP seven cannel driver chips.
For a 14 port LED driver the UNO doesn’t need an expansion board, pins 0 through 13 are the driver ports. +5 volts and Ground are available from the UNO power pins.
I bought 100’ roll of flat ribbon cable off eBay (under $20) for distribution to my structures. Arduino connectors are ready available on eBay too.
Actually I’ve been using a Rob Paisley circuit for my signaling system for over 8 years, I want to upgrade to an Arduino Mega processor. I corrected my original post to reflect the Arduino request.
Mel
Modeling the early to mid 1950s SP in HO scale since 1951
Arduino Guru I’m not! All my components are still in a drawer waiting for my project “window” to open.
I assume you have seen the article on Pg. 42 of the December MR?
Build A Signal System With Arduino Controls ?
I’m heavily invested in Signal Animators by LogicRail and for my use, they do everything I like to see in my signals. I have not found any bi-color LEDs that represent all three signal colors accurately. The BLMA 4001 signal head is very nice and gives a “true yellow” by using three SMD LEDs.
I have a good working Paisley circuit signal system using three pin bi color LEDs. If you balance the red/green LEDs for yellow they look pretty good then rotate the LEDs so that the red hot spot isn’t visible. I have all my signals built and installed on my layout, unless you really look very hard the yellow looks very good.
I’ve been trying to come up with a MEGA sketch to drive bi color LEDs but I can’t get anything to compile. I need a shot in the arm from a Guru to point me in the right direction for one working
j. c.
Rob Paisley has several circuits listed for both 3 lead and two lead leds.
Thanks for the reply J C.
Actually I’ve been using a Rob Paisley circuit for my signaling system for over 8 years, I want to upgrade to an Arduino Mega processor. I corrected my original post to reflect the Arduino request.
Mel
Modeling the early to mid 1950s SP in HO scale since 1951