Trains4Africa
Because all Boys (and some girls) love Trains

DCC Turntable with LCD

Firstly I would like to thank Ray for his hard work in starting off this excellent post! also for Eric and friends for the various coding updates..  I have made a few changes to the code and managed to get a working turntable on my layout, including an OLED display to show the position and head/tail indication.  I only have 4 positions on my turntable and I didn’t use the servo brake or manual pot but left these functions in.

The display I used was a 1.3″ I2C IIC Serial 128X64 OLED LCD LED Display Module Digital for Arduino W which can be obtained easily on eBay… the driver for this is U8glib.h https://code.google.com/p/u8glib/ and the other components as mentioned by others I ordered from Proto-pic.

The revised coding is as follows, pictures to follow…

Files: DCC Turntable 5