I recently watched a YTMB video which showed a turntable controlled with Arduino but the code was not published. The code author was Greg Heinz from Minnisota I think. I have tried to contact YTMB to request if the code was available anywhere but have not received a reply. Does anyone know of this code?
to the forum
I suppose YTMB is a reference to a youtube channel. I have seen Arduino, but that is the sum total of my knowledge. I found a thread which may or may not have the code your need. I can't tell.
https://model-railroad-hobbyist.com/node/28501?page=3#comment-272281
Henry
COB Potomac & Northern
Shenandoah Valley
Unfortunately I cannot find the link anymore.....
There was a WIP of a turntable powered by a stepper moto and Arduino. The code was also included in the thread. It was fairly simple construction and basic code. You will need a turntable, a stepper motor of your choice (probably a NEMA 17) and a suitable stepper motor driver from spark fun, and of course an Arduino or the micro controlelr of your choice. Regards
Walid
Found it:http://www.rmweb.co.uk/community/index.php?/topic/78578-dcc-controlled-peco-turntable-project-using-a-arduino-uno/
https://www.youtube.com/watch?v=XsKdb_QYrfg
and another nice guy with a link to the program:
https://www.youtube.com/watch?v=9O-Xqz-H9-k
Whatta da heck is Arduino???
B. Bryce Whatta da heck is Arduino???
Try this link: https://learn.sparkfun.com/tutorials/what-is-an-arduino/all
Joe
the use of some sensor on the turntable bridge and pit wall seems to require precise location.
a somewhat older approach is to have a disc under the benchwork that also turns and an optical sensor near its' edge. Cardboard or brass flags can be attached to the disc and one side of the flag aligned with the optical sensor when the bridge is aligned with the corresponding track. The flag can be nudged a little for precise alignment.
the controller (e.g. arduino) can be triggered to rotate clockwise or CCW to the next flag/track. If it approaches the flag from the opposite side (e.g. CW), it can overrun and backtrack.
on the older designs, a motor with a rubber friction wheel is pressed against the under bench disc to move the turntable. PWM can be used to control it's speed. One advantage of this approach is if something impedes the turntable above, the friction wheel can slip, avoiding any damage.
greg - Philadelphia & Reading / Reading