DCC++ Hardware - Throttles

KE4NYV Jan 25, 2016

  1. wvgca

    wvgca TrainBoard Member

    306
    124
    16
    link above is good for qty 10, US based, no canada shipping on that rate, cheapest to canada from amazon.com is $7.00 US
     
    Scott Eric Catalano likes this.
  2. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Got my work cut out for this one then :)

    No, seriously, I started having a play around with Autodesk's 123D Design (free for non-commercial) some time ago. It's surprising how easy it is to use. I hope to get myself a printer sometime soon. If any of you guys are interested, you could do worse than to grab a copy, and watch some of the many video's on the Tube. Here's one I took a lot of inspiration from to doodle up my first attempt at case design...


    CaptureA5.PNG CaptureA6.PNG CaptureA1.PNG CaptureA3.PNG

    I believe there will be lot's of possibilities to do some really cool models for a model railway...
     
    Scott Eric Catalano and Atani like this.
  3. esfeld

    esfeld TrainBoard Member

    413
    370
    13
    OK, Steve ..... I'm back!
    Started playing around with your code ........ without the joystick I get a proper reading .... once I plug the joystick into A0 on an UNO it keeps iterating constantly from 1 to xxx without stopping and does not respond to any joystick motion. Here we go ......
    Steve F
    BTW ..the pinouts on the joysticks I have are from left to right .. GND .. 5V .. VRX .. VRY .. SW
     
    Scott Eric Catalano likes this.
  4. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Scott Eric Catalano and wvgca like this.
  5. SP_fan_1951

    SP_fan_1951 TrainBoard Member

    93
    85
    6
    I have made a little more progress on my fork of Dave Bodnar's throttle design. I have changed the update to a timer driven interrupt scheme, and have the turnout control working. The code uses a 4x4 keypad, and in version 2.8 a 2x16 display. Version 3 uses a 4x20 display. It uses the MsTimer2 library. To change a turnout position, press "A" followed by an address (0-32767) followed by an "A", then 0 for Normal or 1 for Diverging. Have fun with it.
     

    Attached Files:

  6. BrentGlen

    BrentGlen TrainBoard Member

    10
    9
    16
    Hello,

    I have just finished building Dave Bodnars wireless throttle. I made a few modifications, I am using a pot instead of encoder and a direction switch rather than a push button, mainly because that is what I had on hand. I also changed the function buttons so that F0 will work to turn on the lights and so that F2 acts as a momentary function for the whistle/horn.

    Everything is working great, except that the display will go blank after a few minutes, the throttle continues to work, just the display goes blank, but it is still lighted.

    Any ideas as to what could be the cause? Wiring connections seem to be OK, should the code refresh the display even when nothing has changed (speed, direction)?
     
    Scott Eric Catalano likes this.
  7. Shaydriver

    Shaydriver TrainBoard Member

    18
    14
    4
    Hi, I am using the original Bodnar throttle, with rotary encoder. Your version with turnout control is very interesting, My whole layout can be reached even with a cable-restrained throttle(though HC12 is in the pipeline...). But (the ever-existing but), I can't seem to find a usable digitalwritefast.h. Could you help with that ?
    Regards
    Peter
     
    Scott Eric Catalano likes this.
  8. SP_fan_1951

    SP_fan_1951 TrainBoard Member

    93
    85
    6
    Try this:https://github.com/NicksonYap/digitalWriteFast
     
    Scott Eric Catalano likes this.
  9. DaPenguin

    DaPenguin New Member

    5
    5
    4
    Greetings Randy;
    Did you do anymore with this version? Have a few that prefer the knob and switch tactile interface. Just how did you do this anyway?
    TCC:}

     
    Scott Eric Catalano likes this.
  10. johnhb

    johnhb New Member

    5
    0
    1
    I'm probably a couple of years behind the rest of you in making this DCC++ wireless throttle but here I am. When I power up the throttle all I get is a blank display. No start up message etc.
    I have checked the connections from the arduino shield to the HC-12 and they are as per the wiring diagram. I have also checked the connections from the Pro Mini to the HX-12 and to the display and all is ok.
    My questions are 1/ How do I find the I2C_ADDR ...It is currently 0x27 Does it need to be changed?
    2/ Do the HC-12 modules come as factory set to 9600? Do I need to program these?

    Would appreciate any help from anyone who has built this throttle and got it working.
     
  11. esfeld

    esfeld TrainBoard Member

    413
    370
    13
    1-There is an I2c scanner sketch avaialable at: https://playground.arduino.cc/Main/I2cScanner/
    2-
    This is described on Dave Bodnars Trainelectronics.com :The HC-12 modules both need to be configured for a baud rate of 115,200. This procedure and other information about the HC-12 is on this web page: http://trainelectronics.com/Arduino/HC-12-Serial_Radio/
     
  12. esfeld

    esfeld TrainBoard Member

    413
    370
    13
    1-There is an I2c scanner sketch avaialable at: https://playground.arduino.cc/Main/I2cScanner/
    2-
    This is described on Dave Bodnars Trainelectronics.com :The HC-12 modules both need to be configured for a baud rate of 115,200. This procedure and other information about the HC-12 is on this web page: http://trainelectronics.com/Arduino/HC-12-Serial_Radio/
     
  13. johnhb

    johnhb New Member

    5
    0
    1
    I have used the HC-12 configuration program to set both HC-12's to 115200 baud rate. I have used the I2C scanner to set the address for the serial display. If I connect the lcd directly to the arduino then I can see the read out, but I am not getting anything when I use the pro mini and HC-12's. Does the pro mini require any programming to operate?
     
  14. Ominrailrob

    Ominrailrob New Member

    3
    0
    4
    I'm new to the DCC++EX after being a DIGITRAX user for several years.

    Are there any parts lists for the Basestation Uno, Basestation Mega and wiring diagrams
    And any parts lists for the Wireless Touchscreen Throttle and is there a wired touchscreen Throttle?
    And can the Nano be used to control turnouts?

    I know there has to be a ton of software, is there a way to purchase a usb drive or micro SD card and instructions?

    I had a small stroke in 05 so my math and code skills are dismal at very best, for example I have a brand new 3D printer on my dinner table and because of the math involved the printer is a expensive paperweight. I'm also on SSI and SSDI. Thank you
     
  15. Sumner

    Sumner TrainBoard Member

    784
    866
    17
  16. S t e f a n

    S t e f a n TrainBoard Member

    165
    77
    4
    Ominrailrob, the Arduino running the DCC++EX command station is programmed when plugged in via USB to a computer; you do not need an SD card or USB stick for the Arduino. The program is stored on the computer.
     

Share This Page