0 Members and 1 Guest are viewing this topic.
A minor hand injury (a big plywood sliver) grounded my benchwork progress so I turned to other tasks.I've been playing with Arduino components with the goal of using these for various layout controls. This is fun stuff and has a huge community of users for support. I'm working on frog juicers, block detection, distributed layout sound and turnout control with servos. Ultimately, I want to operate with DCC-EX to get wifi-enabled smart phone throttles. Signaling is easy to implement too.The servo control of turnouts is the highest priority. There are lots of implementations out there but I wanted to figure it out myself. Using an Arduino Uno and a 16-channel PWM board, I have come up with a simple means of flipping turnouts with a single button each. I could add LED indicators but I'm not planning to as it would add a lot of wiring. The system and sketch work (photo of a 2-servo test), now just waiting on the slow boat to bring a few minor components and I'll be ready to deploy. The controller boards are about $10 for up to 16 servos, plus the cost of servos, buttons, wire and a 5V power supply, so it is very inexpensive (about $3/turnout or less). The wiring is also very easy and I will have screw terminals for the push buttons and standard servo plugs. Since the boards are so cheap, I'll end up with four of these on my layout for all of the turnouts: one for each end of the Jasper yard and one for each end of Devona. The latter will only control 1-2 turnout each, so I just need the Uno board ($6). Long cables are not worth the cost. A single 5V supply will serve all boards and provide additional power for future plans.Ultimately, each Uno can be linked to DCC-EX as a node and controlled with DCC or JMRI too, no alteration of the hardware is needed.
Plywood topping going down. A few weeks delay for a short holiday and then a funeral in Vancouver. I also managed to embed a 2" splinter in palm when I started the plywood so now I'm wearing proper glove protection. Next step will be backdrop and fascia.
Ha ha, the basement is pristine so everything needs to be neat and tidy. I have a vacuum just out of site to clear up the messes and all the wood was cut outside on my porch.