The Final Mod to my Criccieth Castle (Hopefully).

A place for discussing battery-electric locomotives, whether they're diesel, steam or even electric outline
Post Reply
WVLR

The Final Mod to my Criccieth Castle (Hopefully).

Post by WVLR » Sat Mar 08, 2014 8:30 pm

There has always been a sixth thing which I have never liked about
my Criccieth Castle. This is the control for forward / reverse and
speed all being on the same R/C channel.

I was going to live with it, but I find that 2 lever, control with left for
speed and right for forward and reverse, gives a much better driving
experience.

There are 2 ways that I could do this:-

Firstly, change the Loco Glide ESC for one (of my own design) which would
give control from 2 channels, this would be difficult to do as there is very little
spare space inside the body and would mean major changes to the loco.

Secondly, the preferred option as it is a completely reversible change to make,
is to intercept the speed and direction data from the R/C receiver, combine it with the
data from the throttle channel then process the data to reproduce the original data that
is sent to the ESC.

Sounds complicated, it is. The micro-controller that I used to switch the directional side
lights wasn’t up to the job as it only has 8 bit timers and to generate the signal for the ESC
I need 16 bits. So this afternoons job was to re-write the code for a different
micro-controller and to make up a small circuit board to mount in the same place as
the original one underneath the loco and next to the R/C receiver.

Image

Then it was just a case of connecting it all up, switching it on and going through the
setup sequence for the Loco Glide ESC.

A test on the rolling road (2 blocks of wood) not only showed that all was working
perfectly but the throttle control was a lot better than I expected, giving much finer
control as well as a higher full speed. The real test will come tomorrow when I take
it for a proper test run on Bill Haywood’s track near to Market Drayton in Shropshire.
Last edited by WVLR on Sat Mar 08, 2014 8:40 pm, edited 1 time in total.

laalratty

Post by laalratty » Sat Mar 08, 2014 8:36 pm

I always admire those that can do clever things with microcontrollers, I've had limited experience with them at uni where I always found them to be something of a black art (my comeback to that is that I was doing mechanical engineering....) Interesting that you have managed to get a better performance from the loco.

User avatar
TonyW
Driver
Driver
Posts: 1357
Joined: Fri May 16, 2008 9:25 am
Location: North Wales
Contact:

Post by TonyW » Sun Mar 09, 2014 10:24 am

laalratty:97496 wrote:I always admire those that can do clever things with microcontrollers...
Me too. Nice work Mike!
Tony Willmore
Rhos Helyg Locomotive Works: http://www.rhoshelyg.me.uk
Facebook: https://www.facebook.com/RhosHelygLocoWorks

WVLR

Post by WVLR » Sun Mar 09, 2014 5:26 pm

Thanks folks, I took CC for a long run today on Bill Haywood's line and she was a delight to drive, much finer speed control and maybe just a little more top end speed.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests