Introducing DCC++ ---a complete open-source DCC station and interface

Gregg Aug 25, 2015

  1. esfeld

    esfeld TrainBoard Member

    443
    382
    17
    Hi,

    Here's the post. As usual, change the extension and enter your own IP and loco addresses into the document.
    I'll only be leaving this up for a few hours. Just to stop cluttering the thread with stuff that is out of date so quickly.
    Please acknowledge when you've grabbed a copy.
    For anyone that misses it, I can always put it back up later.

    Steve.[/QUOTE]

    Got It ......... Renders beautifully even on the S3. Thank you
    Steve F
     
    Scott Eric Catalano likes this.
  2. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Hi,

    Here's the post. As usual, change the extension and enter your own IP and loco addresses into the document.
    I'll only be leaving this up for a few hours. Just to stop cluttering the thread with stuff that is out of date so quickly.
    Please acknowledge when you've grabbed a copy.
    For anyone that misses it, I can always put it back up later.

    Steve.[/QUOTE]

    Hi
    Thank you so much.
     
    Scott Eric Catalano likes this.
  3. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Hi Steve,

    That's great news. Thanks.
    There were a few quirks in the slider rendering, hopefully I got them sorted.
     
    Last edited: May 30, 2016
    Scott Eric Catalano likes this.
  4. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Hi
    Not for me, in iPhone 4
     
    Scott Eric Catalano likes this.
  5. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Hi,

    I assume that's in the stock Safari browser. I'll grab a copy and look into it.
    Did earlier versions render?
     
    Scott Eric Catalano likes this.
  6. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Hi Steve
    I tried with Chrome and Safari, but neither one works. I tried also with iPad mini but is the same thing. The box of function and the throttle display on horizontal
    and the others things, are positioning on the left. The others versions are the same.
     
    Scott Eric Catalano likes this.
  7. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Screen shots,

    First is what I get in Chrome (Windows)
    Second is Safari (Windows)
    Both are around 5oopx
    The Safari issues are similar to what Steve had on an S3 android device.
    Leave it with me, I'll do some more work.

    CaptureS.JPG CaptureT.JPG

    Update: I tried the source code (which is not mine) in Safari and it won't render.
    As this component is giving so much trouble, I will attempt a complete rewrite of my own.
    No doubt it will take a while. Please bear with me.
    If anyone can help I'm open to offers. The file is Range23.css

    Steve.
     
    Last edited: May 30, 2016
    Scott Eric Catalano and FStop8 like this.
  8. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Update: I tried the source code (which is not mine) in Safari and it won't render.
    As this component is giving so much trouble, I will attempt a complete rewrite of my own.
    No doubt it will take a while. Please bear with me.
    If anyone can help I'm open to offers. The file is Range23.css

    Steve.[/QUOTE]

    Hi Steve
    Thank you for your attention. You have no commitment to us, use the time you want.
    We continue to follow you. We already have a toy to play :)
    Tks
     
    Scott Eric Catalano likes this.
  9. Andrei

    Andrei New Member

    4
    2
    8
    Hello all,

    First of all, Excellent project. Congratulations!

    I am now starting with it and I guess I need some guidance. I am using Arduino Uno R3, DK Electronics motor shield (I know it's a copy of Adafruit motor shield v1) and 18V power supply. I hooked main tracks to M1 of the shield. Loco (Roco BR333) is using decoder (LokPilot V4.0) with factory default values (the address is set to 03 with 14 speed steps). The loco was tested on a "classic" system.
    I got no movement on the tracks.

    What would be the best debugging approach on my hw/sw setup? Your help is much appreciated.

    Regards,
    Andrei
     
    Last edited: May 31, 2016
    Scott Eric Catalano likes this.
  10. ddor

    ddor New Member

    1
    1
    1
    Hi Andrei,

    DCC++ works only with decoders set to 128 speed steps, so reprogramming decoder would be the first step.

    Best,
    Dmitry
     
    Scott Eric Catalano likes this.
  11. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Andrei

    DCC++ don't work with Motor Shield V1. You must have V3 for this project. See the beginning of this tread, and watch the videos here:

    https://sites.google.com/site/dccppsite/

    JB
     
    Scott Eric Catalano likes this.
  12. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    All

    I am using the ESP8266 V3 Nodemcu 12 Lua, with a USB for programming. And DCC++ with Mega 2560 and motor shield Deek-Robot

    Everything is working well with JMRI and Withrottle. The ESP is configured and makes the connection to the server, but the shield does not have the LEDs on
    and no movement of my loco. The connection between ESP and Arduino is made throug ESP TX > RX arduino and ESP RX > TX arduino
    Any idea

    JB
     

    Attached Files:

    Scott Eric Catalano likes this.
  13. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Hi JB,

    Can I ask what type of 'controller' are you trying to connect to the ESP8266?

    S
     
    Scott Eric Catalano likes this.
  14. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Hi Steve
    Could you be more specific....you are talking about the html page or about the software of controller
     
    Scott Eric Catalano likes this.
  15. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Are you connecting software like JMRI? or an Html app such as mine? Each require different firmware on the ESP.
    Browsers connect using Websockets, JMRI uses TCP.
     
    Scott Eric Catalano likes this.
  16. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Steve

    I was using JMRI and Withrottle with sucess. JMRI and Withrottle throttles.
    Now I am using 'your' Html app with your firmware ( one that begin with MIT License - DCCppWebsocketServer ) trying to connect the same Base Station configuration
    that I was using with JMRI. Anything wrong here..:)
     
    Scott Eric Catalano likes this.
  17. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12

    Yes indeed, you need the latest server code. Here is a copy below, change the extension to .ino then open in the Arduino IDE.
    Enter your SSID and Password details, upload to the ESP as before.
     

    Attached Files:

    Scott Eric Catalano likes this.
  18. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Hi Steve
    Tomorrow morning I will try the new version. Thank you for your attention. I will report to you the result.
    JB
     
    Scott Eric Catalano likes this.
  19. Dago

    Dago New Member

    5
    6
    4
    Hi all

    «new one here

    I have installed every software needed, connected to arduino uno. And i am able to run my train.
    By the way thanks to Greg for all he has done and every one who helped and making all this accesible for everyone.

    I m quite a newby in arduino and programming, and my question is ,

    As i could read for adding senor is to use the s command <S ID PIN PULLUP>:
    But as a fresh newby i dont know where i need to write this
    I tried in the command station but as soon as i type S a windows appear with 14 sensors
    But i dont know where to go from there or if it s there that 1 have to write something.

    I hope my question is in the right place

    Thank you
     
    Scott Eric Catalano likes this.
  20. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Steve .. you are the man...!!!! Now the ESP and DCC++ works like a charm...:)

    Another question...has some way to fix the IP ( through software ) because every time that you start the ESP, you have a different IP, according
    how many computers connected to your network.. Yesterday was 103...today is 101 and you need verify in your router wh.at is the number.
     
    Scott Eric Catalano likes this.

Share This Page