Fiddle yard controller fy_2

Some summarizing word about it:

  • Controls (with my circuit) up to eight rails
  • Direct DCC support, “Multiport” setup (http://wiki.rocrail.net/doku.php?id=seltab-int-en)
  • Position control solved with some kind of “P” controller
  • Position setup could be done with the implemented loco decoder mode or direct by changing CVs, for details please have a look at the header of fy_2.ino
  • Switching between the rail sensors possible (http://wiki.rocrail.net/doku.php?id=seltab-gen-en, “Shared sensors”)

fy_2-motor.jpg

The source code is available at:
http://bazaar.launchpad.net/~tuxstef/mrsd/trunk/view/head:/fiddleyard/arduino/fy_2/fy_2.ino

And the schematics:
http://bazaar.launchpad.net/~tuxstef/mrsd/trunk/view/head:/fiddleyard/eagle/fy_2.png

[more]

fy_2-controller.jpg

Don not forget to load the Arduino Duemilanove bootloader onto your microcontroller otherwise the serial upload and debug will not work!