I have a DCC++ base station working on an Arduino Mega 2560 with a motor and network shield. I would like to be able to send commands to the base station via UDP. Has anyone else tried this or have any information on a UDP to DCC++ server.
Are you talking about UDP and TCP network protocols? In that case, UDP wouldn't work since there is no receipt confirmation mechanism.
Maybe I'm not understanding your question correctly.. You are looking for a client / server network setup where some client device sends information to a DCC+ server via ethernet?
I would like to develop a web front end to communicate with the base station....and again...thank you for your help.
OK. I'm not sure that an ethernet capable DCC++ server exists at this time. This might be something that Greg was planning on building at some point. At any rate - you should ask about this in the DCC++ thread.
DCC++ already supports receiving commands over a TCP link... either wired or wireless. Check the "#define COMM_INTERFACE" in Config.h Just below that are #defines for the IP address, port, and MAC address of the Arduino. You'll want to check the most recent pages of the "Introducing DCC++" thread, and maybe a couple others in that folder... some folks have already developed a web based throttle that works in a browser and/or on a variety of mobile phones, etc...
Is this model railroading ? Or is it how to wire the panel of a cruise ship !! I went from analog to DCC with NCE and that was/ is just fine. What you guys are talking about in relation to this hobby, model trains, scares the beJeezus out of me !!
MarklinLA, Oh YES , its model railroading alright. At intelligent prices. The BIG difference is the cost of DCC++ compared to any other system. It is SO economical
Still not sure what you guys are doing. But whatever floats your boat (or train barge )... My handle is 'Mark in LA' , not 'MarklinLA as has been mistaken before....
I know, right? And all we wanted was some frickin' sharks with frickin' laser beams on their heads. Now I am also looking forward to controlling the layout remotely. It all started when I read Bruce Chubb's article on computer control in (gasp) a hardcopy magazine, and a slippery slope from there. Following in the footsteps of more knowledgeable people. Got the NCE system up and running, now building a base station with an Arduino. Onward to remote control and a dead rail system. Step by small step.