Hi Dave, Thanks for testing, that's great news. You are just loading a page from the internet like any other, but I'm hoping everyone will now start to see the flexibility in this. The power is all in a bit of html code. You could indeed run Dave B's layout if he set things up that way, or anyone else's layout for that matter, it doesn't matter where the page comes from. However we're just testing the page formatting for now. Thanks again. Steve.
I am looking at using this for my Z Scale layout. Is there a way to control this with a Standard Loconet throttle?
Hi, I am new to DCC++ and still learning the basic. The tracks are done earlier and I have also added Faller car system to it and my goal is to use DCC++ for both the trains and the Faller car system. I have now been able to run my first setup with DCC++. I have been running my Roco locomotives + the Roco turnouts. I have also created a small c# program using the explanation in the "Commands for DCCpp basestation" on Github and the source code from Gregg. I just wanted to do that so that I understand the basics. One question about turnouts. When is the turnout thrown ?. I tough it was like this. Not thrown = straight and Thrown = to left or right. My Roco decoder is inverted ? It seems to be possible to switch this, but before I do, I want to make sure what the definition for Thrown is. To UK Steve if you read this, I have ordered the Wifi component, but it has not arrived. Keep up the good work. It seems like there is starting to be a little community around DCC++ and there are multiple software initiatives. Would it be an idea to join the forces and set up a little priority list on whats needed/wish list on things that would improve the solution. I have 20+ years experience in software development using c,c++ c# and different web application developer techniques like javascript, html and can help out if needed. I have some knowledge about java, but not much. I saw that someone mention that he had done some kind of web application with bootstrap. I am using bootstrap and other tool kits at work. Regards Ole
Hello, I'm really new on DCC++, and I'm stunned about it. I just mounted one DCC++ command station using an Arduino UNO and had it working with JMRI in just a few minutes. Then I received some news from Rocrail, now it is also working with that software. This development is really getting famous. I would like to expand the possibilities of it and cooperate if possible, so I'm merging to the DCC++ code the MRRWA Loconet libraries. Now I'm able to move locomotive and activate functions through the Loconet connection and so manage trains with my throttles using an Arduino MEGA. Is not possible to use an Arduino UNO as both libraries (DCC++ and MRRWA Loconet) try to access the only existing high resolution hardware timer. But before that, I realized of two different behaviours in the standard DCC++ in comparison to my DCC command station: 1) When a locomotive is removed from the track and put again on it, it "remembers" the speed and directions but not any function. If it had the lights on, when put again lights are off. 2) With sound locomotives, I cannot activate the functions. May be sound functions are managed in a different way than normal functions? Is that normal? Someone else experienced that? Thanks, Dani
Hello, Yes, and the throttle of JMRI (I uses the 4.3.2 version) remains the lights "on", being necessary to turn off and on for recovering the lights functions. The same problem occurs with the Controller (Version 1.1.0) Greetings from Madrid, Jaime
I've just joined Trainboard as I am fascinated by DCC++ and I thought I would tell you that the page loads and operates on the Ipad. Regards Davey
Thank you Davey, First report from an Apple user, good news. I'm currently working on the 'Page' to bring more features as suggested by Dave B. Also updating the server code to match. Could be a while 'till I get done. I'll post here as soon as. Steve.
All, Here's a preview of the latest version of the Mobile Controller. All the buttons and switches are working now. The new additions are from suggestions by Dave B. Hope to have both sets of code tidied up very soon, and will be posting asap. Steve.
All, New html and sketch is here, https://github.com/indev2/DCCpp-WebSocket Replace the html in its current directory with its other files or it won't load. Steve. Edit; On first use connect your Websocket and power up. Then hit Master Reset. This will clear and load the correct default values to the ESP8266 EEPROM. Then reconnect and enjoy. I await the inevitable bug reports. Thank You. Use Master Reset to terminate every session.
Steve - the front end looks nice! I copied the files to my server (see: http://trainelectronics.com/WiFi-esp8266/Setup/indexDCC++/indexDCC.html ) and the new control works but has lots of bugs. I don't see any packets going across from power on or off nor do I see anything from changes in direction or function buttons. The throttle changes come through but not with addresses above 255. I have tried the Master Reset but that doesn't seem to help - Could my issues be with the version on software that is on the ESP8266? dave
Dave, Yes, you will need to update to the new software. The sketch should be in the zip file from Github. Steve
Yes, DCCppWebsocketServer.ino is definitely in the folder. Steve. Edit; Your link above still gets me the old page ?
My error, Steve - I missed it lurking in the folder with the other files! The link gives me the updated file - try a shift/refresh to clear your buffer. dave
WOW! .... I was traveling for a month (Cuba was fascinating) and can't believe what's been going on here .... I'm still trying to get Daves IR throttle working and now this new esp 8266 stuff is most exciting. UK Steve: have we got a hardware primer somewhere to get started so that I can catch up? Thanks Steve
Hi Steve, If you just pop over to the Ethernet and WiFi thread Here then all my work is roughly documented there. It's only 2 pages, nothing heavy. To get started you just need a cheap ESP8266 module, suggestions are in my posts I think. That's it, all the rest is done in software, which I've posted on Github. Here. Dave B. is kindly hosting the 'Webpage' interface, which you can test on any device with a web browser. Here. Steve.
This is looking really nice! Would it be possible to make a version with vertical sliders, as horizontal sliders aren't the easiest to operate when using only one hand on a phone while the other does switching stuff. (For me at least... ) Thanks, Andrew