Jump to content
RMweb
 

ianjeffery

Members
  • Posts

    158
  • Joined

  • Last visited

Posts posted by ianjeffery

  1. this topic is really interesting as im currently looking at this sort of stuff right now for my diy accessory decoders... ( www.dccinterface.com )

     

    I have to cause a 60mA drain for 6ms to let the controller know the CV write/read has been comfirmed by the decoder....

     

    for ages i wondered why my trains would move when reading and writing cv values, and it was only after reading the spec did i realise the decoder is generating the 60mA drain by moving the motor - very clever!

  2. When programming under NMRA rules the decoder can send an acknowledgment (ack) as confirmation of programming commands by way of a pulse of power to the motor resulting in a twitch or it may flash the lights if fitted.

     

    Much of this depends upon the controller and/or the decoder in play.

     

    Some controllers limit programming current on a separate programmIng track and some program on the main track (POM) at full track voltage/current.

     

    What you see is not unusual.

    Rob

    to be loved by anyone..........

  3. Ray,

     

    Thanks for the prompt response.  Yes, the Cambriancoasters sketch works correctly when setCurrentPosition(0) is commented out.  Thank you.  I missed understanding that when reading the sketch.  Now I need to add back in the auto-align on startup.  I have a CUI absolute encoder attached and working, will need to add that code to the sketch as well.

     

    One interesting thing, the motor I am using is a bipolar 0.9° stepper and it has 6,400 positions per revolution when microstepping.  I do have it set to AFMStop.getStepper(400, 2).  That is some pretty fine resolution.

     

    Again, Ray, I want to thank you for sharing your talents with the code and support that you have provided.

     

    @ ianjeffery, thanks for the link to the keypad.  However, I am using a Mega so plenty of pins available, and I want to use a red switch for the head and black for the tail with the two switches placed on the respective ray track on the local panel.  Simple and intuitive is my objective.  (control booth has a red metal roof)

     

    Warmest Regards,

    Dave

     

     :-)

  4. I have  been  digital  for  around  20  years  now

     

    I  tried  to  work  out  some  sort  of  clear  system  using  loco or  unit   running  numbers  but  after  a  year  or  so  it  became complicated  and confusing  as  the  volume  of  stock  grew.

     

    So  now  I  use  my own  simple  system,    I started  at  1  then  went  throught  the  numbers  sequentially  ( omitting  3  of course)  along  with  this  I  provide  myself  with  a   hard  copy  of all locos & units on  the layout  by type and running  number  if  there is more  than  one  of  the  same  type  ( EG  BR(S)    **EMUs then some form of further identification such as SYP or No SYP etc is included)  against  each one  the  digital  address is  noted.

     

    I have  used  this  system for  years  and  it  works  for me  ( and  any other colleague  that  drives  the  trains!!)

     

    **As   the  EMUs are  the  most  prolific items on  the  main  layout  a further  quick identifier of visual recognition is  used, by re spraying the roofs of  some  cars with  a lighter  or  darker  hue of grey, to individualise the  complete  set, making visual identification easier

     

    eg  '4-CEP  SYP   2 dark roofs'  address 0119

     

    This is what i do too....

     

    I number each train from 4 upwards and print out a sheet of paper listing the numbers and trains. 

  5. All,

     

    Thought i would give you an update on what i have been working on in my spare time...

     

    its a virtual signal box, that can handle a large number of points / signals / light etc... it can handle chains of points, ideal for cross overs etc.

     

    it has a screen and a key pad for manual operation, but also a dcc interface board ( www.dccinterface.com ) so i can operate them from my NCE powercab...

     

    I dismantled it to show two servos moving...

     

     

    what do you think?

    • Like 2
  6. This is from their website...

     

    The SPROG 3 should be used with a power supply of 12 - 18 Volts capable of supplying at least 2.5 Amp, otherwise the over current protection feature will not operate correctly.

     

    so i think you can probably use a power supply from a number of places. 

×
×
  • Create New...