I would love to of course! How do I do. I search but found no way. Before I contact administrator, did I miss something? JEZ
Perhaps just click on report on the first thread and asked to have DCC++ added to the header. I put a request in yesterday through to a forum moderator but haven't heard back. KC
Gregg/TwinDad Now that I have my setup using an Ethernet shield (tested as a WebServer with cable to router) .... Is there an example of code in our postings to use it wireless to connect Base station and Engine Driver? Steve
So now the thread is ok, could you give me a reminder of what needs to be done to implement an Ethernet Shield to link a Base Station with JMRI? Thank you
Jean-Eric, is your question specific about the link back to JMRI or more generally about using an Ethernet Shield with Base Station? If the former, TD will have to weigh in here since I'm unfamiliar with JMRI. If the latter I can step you through the details and config parameters within the Base Station code. Can you remind me which specific shield are you using (and which motor shield)?
Greg, I will need both. 1- Setup the Ethernet 2- Connect to JMRI I am currently using a Arduino Uno but with a dead Arduino MotorShield ;-) Tonight I will collect from the shop a brand new Arduino Mega, Arduino MotorShield, and Arduino Ethernet Shield. Thank you Jean-Eric
What is the specific Ethernet shield? There's one from Arduino.cc and one from Arduino.org. Both should work but I've only tested the latter myself.
FYI, see the DCC++ - JMRI thread. Attempting to operate a Base Station over an Ethernet connection to JMRI is currently not functioning (JMRI 4.3.2). I am using a Arduino.cc clone Ethernet shield on my Base Station. I simply had to plug it into my Mega and select it in Config.h before compiling the sketch. I am using the Pololu motor shield (I have some Arduino motor shields on order).
Ok thank you for explanation and Intel. Anyone successful with any other connection to JMRI than usb?
Jean-Eric, that Ethernet Shield should work fine with the Arduino Mega. In the DCC++ Base Station Config.h file there should be an option to select that specific model. The compiler will automatically select the proper library but you first need to download and install the library from the Arduino Org web site (the library built into the Arduino IDE will not work with this board). The Comm.h file should contain a link to the GitHub site for that library. Note that the library is part of the Arduino Org version of the IDE. You can download the entire Org IDE and install just the Ethernet2 library into the usual Arduino CC IDE (it's what I did on my own machine). Sort of a pain that you can't just download the library directly, and that the library is not readily available from the Arduino CC version of the IDE. If this sounds confusing, it is. Stems from the rift between the original founders of Arduino. Now there are two official Arduino IDEs, two official web sites, and of course two official versions of each board.
Hi Everyone From the DCC++ Software - JMRI thread I thought for a moment there, we were on the verge of a WiFi revolution. Anyway to that end, after lots of research I'm about to order one of these. In theory then the Base Station can become a standalone Host with lots of possibilities. And if I never get there I can no doubt use it on another project. It will be some time before it arrives though - slow route from China. Watch this space. Steve Yun_Shield_v2.3_ by UK Steve posted Jan 27, 2016 at 9:52 PM
Hi Everyone, I've recently been experimenting with an ESP8266 while waiting for the Yun shield to arrive. It's quite a capable little device. Trouble is there is a lot of information/misinformation out there. Anyway long story short, I've connected one (GND, RX, TX) to my mega Base Station as a serial wifi device and can send commands and receive replies over wifi from a kindle tablet. If anyone is interested and would like details, just ask. Possibilities for wireless throttles should be easy to do, the code can all reside on the one (esp8266) chip. Shame I don't have the coding skill for that just yet Oh and that can be done in C++ on the Arduino IDE. Steve.
Thank you Gregg. I am in the middle of the process to move to my new house. So As soon as I am in I will try that. Regards. Jean-Eric
Hi Everyone, In an update of my last post, I have figured out how to get DCC++Controller to connect directly (not via home network) to my ESP8266 WiFi Server/BaseStation. All working as expected, just a GND line issue to solve. Now if we could just port the app to phone/tablet ???.....Looking into that
Hi David, Thanks for your interest. I'll try to get a how-to written up and posted in a day or two. If you'd like to experiment for yourself You'll need an esp8266 to play with, I got a few of these because they were very cheap and available without ordering from China. But any 8266 should work. Witty Cloud dev variant. Includes the serial programming interface on the lower board. You can separate and 'run' the top board on its own powered by 5V micro usb. Steve.