Flexible railway model gate controllers with ATtiny24

gavrasm's picture
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0



For those that are addicted to railway models: these stand-alone pieces control the opening and closing of railway crossing gates with

  • a servomotor, or
  • a stepper motor.

Open and close positions can be configured by two trims, another trim regulates the speed of closing and opening. Gate status is displayed on a red/green LED that can be used as traffic light. Total costs are below $10 and small PCB layouts are provided. Software is in assembler and extensively commented.

The servomotor at work:

Gate driver with servo


The stepper motor at work:

Stepper motor controller


All software can be downloaded from the project locations.