Sly401
Hi I have received my SP and am looking for come clarification.

I presume the NCE powercab is only connected to the programming port whilst programming ?
after programming is complete it is returned to its normal port ?

Outputs - I see that some pins at the top end are outputs that can drive LED's
Am I correct that any of the other pins can be configured as outputs ?

I believe that SP has 5v logic -
can I connect pins to an arduino mega (5v) Pin to pin + arduino ground to SP ground?
would a safety resistor be necessary ?
Should / can the arduino be powered from the SP 5v output (I believe max possible arduino draw is 200ma)

Intended usage is to integrate an Absolute Block bellcode system that is at present PC powered and not yet connected to track circuits
Thanks Paul G
Reply 0 0
Robin Sundt Echini
Hi Paul,
You are correct, NCE powercab is only connected to the programming port whilst programming,
after programming is complete it is returned to its normal port.
 
Only Inputs 44 to 47 can be configure as Outputs. From the Manual: "Please note, apart from connections 44, 45, 46 and 47, DO NOT DIRECTLY
CONNECT ANY LEDs, Mimic or 3rd party, to the Super Panel on ANY OTHER connections, either using the screw terminals or the white sockets. If you do, you may damage Super Panel. The damage will not be covered by warranty."
 
For Inputs per the manual: "Any of the 47 inputs can be connected to PUSH-BUTTONS, TOGGLE SWITCHES and/or
RELAYS. This also includes devices such as the DCCconcepts LM-iD Block Detector, and any
other device that provides a 5V logic output."
 
"Each Super Panel also has a 5 volt output-only terminal which may be used to power some LEDs,
with series resistors. DO NOT feed 5 volts INTO this terminal because doing so could damage the
on-board voltage regulator and/or the micro-controller. Such damage is also not warrantable."
 
I have not tried to use an Aduino with a Super Panel, either to power it from the 5v Output or to drive Inputs. Based upon the manual, it should be possible but I will defer to DCCconcepts to comment on that from a warranty point of view.
 
Hope that helps, regards
Robin
.
Reply 0 0
Sly401
Hi Paul,
You are correct, NCE powercab is only connected to the programming port whilst programming,
after programming is complete it is returned to its normal port.
 
Only Inputs 44 to 47 can be configure as Outputs. From the Manual: "Please note, apart from connections 44, 45, 46 and 47, DO NOT DIRECTLY
CONNECT ANY LEDs, Mimic or 3rd party, to the Super Panel on ANY OTHER connections, either using the screw terminals or the white sockets. If you do, you may damage Super Panel. The damage will not be covered by warranty."
 
For Inputs per the manual: "Any of the 47 inputs can be connected to PUSH-BUTTONS, TOGGLE SWITCHES and/or
RELAYS. This also includes devices such as the DCCconcepts LM-iD Block Detector, and any
other device that provides a 5V logic output."
 
"Each Super Panel also has a 5 volt output-only terminal which may be used to power some LEDs,
with series resistors. DO NOT feed 5 volts INTO this terminal because doing so could damage the
on-board voltage regulator and/or the micro-controller. Such damage is also not warrantable."
 
I have not tried to use an Aduino with a Super Panel, either to power it from the 5v Output or to drive Inputs. Based upon the manual, it should be possible but I will defer to DCCconcepts to comment on that from a warranty point of view.
 
Hope that helps, regards
Robin
.
Hi Robin, thanks for the reply.
as regards outputs I am slightly confused - the manual shows Pin 43 connected to a relay as an output
(As are the alternative connections for LED's via a Darlington array or SN7406) both are on pin 43
hence my query - I had read it that -  44-47 were configured for direct led output and presumed/hoped <44 could be configured as output
Section 6.6 of the manual again mentions pin 43 as output and goes on to say that if you reserve top 10 pins then the top 5 can be outputs.
Thanks again Paul G



Reply 0 0
Robin Sundt Echini
Hi Paul,
I think the confusion is between DIRECT connection of LEDs, which can be done on Inputs 44 to 47, and connecting LEDs INDIRECTLY to Inputs below 44 configured as Outputs. The INDIRECT connection requires additional circuitry as indicated in the manual using SN7406 or a Darlington array such as ULN2003A. In this case, the LED is either on or off and you can't use dual colour LEDs.
If you want to drive LED indications, then a much easier option is to use a Mimic Panel, each of which can drive 12 LED pairs, which are single colour or dual colour singles or pairs. Each is addressable and the address can either mimic an Accessory Code that is driving a signal or point or it can be a completely separate Accessory Code range that is switched as required by programming in the Super Panel. Another advantage of this method is that it doesn't use any additional Super Panel Inputs, which remain available for other things.
Regards
Robin
Reply 0 0
Sly401
Hi Robin,
Indeed, the confusion is my fault - I was trying not to get too far off track by my (intended) wierd application.
Outputs that I require are not to drive LED's - I need them to pull an arduino pin low.
I will try a brief description of my application

At present I have a self written PC Based app that can ring all necessary Signal box bellcode responses and operate block instruments.
as per prototype.
It was written as part of a PC based railway simulator where you can play the part of a signalman.
As it stands the app is too heavyweight to directly port over to the model railway world (written with full 3d graphics)

The use of a Super panel is (hopefully) to act as an interface between what is physically happening on the track and trigger routines on a micro controller that operates / responds to a set of miniature block instruments

It is the connectivity and programming side of SP that is appealing especially the delay options.

I have seen the video of the routine you wrote to shuffle engines,
Imagine that one loco was under Box A control and the other Box B a series of bell signals would be passed back and forth.
There are glimpses of the signal box game in this video
https://youtu.be/o-Qm3cSeJLk

Thanks again Paul G
I

 








Reply 0 0
Robin Sundt Echini
Hi Paul,
Really not sure if it is possible to use multiple Inputs, defined as Outputs, to pull an Arduino pin low - with or without additional circuitry. I have sent an email to DCCconcepts to get their take on it.
Regards
Robin
Reply 0 0
Sly401
Hi Robin
I can of course pull a pin low with the SP using an AD8sx or similar , but would be a much more elegant solution if direct coms available.
Be interested to hear what DCC Concepts take is
Maybe a whole new world out there :-)
Thanks Paul
Reply 0 0
Robin Sundt Echini
Hi Paul,
DCCconcepts is looking at it and I have asked them to respond on the Forum. As this is not something that has come up before to my knowledge, the answer may not come that quickly.
Regards
Robin
Reply 0 0
Sly401
Thanks Robin,
I realise that this is a "little Left field"
Whenever the info comes :-)


Reply 0 0
ChrisTechSales
Hi Paul

In reply to your questions:
 
The answer is basically yes. The Super Panel controller is in the same chip family as Arduino, the Arduino Mega being the big brother to the ATMega1281 in the SP, so they are 100% compatible at the logic level. This also applies to the original Arduino with the ATMega328p chip. The Super Panel’s higher numbered ports can be set to outputs with no software restriction but I would recommend resistors of not more than 330Ω when joining the two controllers I/O ports together (See below for more info). This is to avoid overloads when the devices power up and the ports are switched between input and output during initialisation.  Definitely connect the 0v/ground pins together, and yes you could power the Arduino from the 5v output on the Super Panel. Just beware of heat dissipation in the Super Panel’s voltage regulator. Alternatively, remove jumper J1 on the Super Panel and power both the Super Panel and the Arduino in parallel from an external 12v power pack so that neither voltage regulator gets hot. Note that we would NOT try to power a Super Panel and an Arduino Mega from the 12v feed in the CAB bus cable. That would be equivalent to having two Super Panel’s on the bus, power wise.
 
Further info - with ports 44-47 which have 330Ω resistors built in, you can use these as inputs without any issue as 330Ω to ground does not affect detection of a logic ‘low’ input voltage.  We haven’t tried connecting two controllers together so there is the small possibility that you may need lower value resistors, say 47Ω, but input current draw for a ‘low’ is very small. Experiment here!

There is no software restriction on the number of inputs that can be set as outputs.
 
Good luck
 
Chris
Reply 0 0
Sly401
Hi Chris
Thanks that is exactly the info I was hoping for, some serious experimentation ahead
I will document my findings here, that may help others
Regards
Paul
Reply 0 0
Ted A.
I saw the setup in the manual, and the query above about where to plug in the PowerCab for programming. However, I have another question. On my mini panels I leave the PowerCab plugged into the panel, and I use a ProCab to plug into the mini-panel for programming. This works great, as I don't have to move my PowerCab which disconnects power and resets everything. Can I do the same with the Power panel and use a 2nd Cab, a Procab, in the programming port?
Reply 0 0
Ted A.
Another question. My biggest complaint about the mini panel, and now the Super panel, is having to key everything in via menus on the Pro or PowerCab! I was hoping that someone would come out with something just like the Super panel with more memory, registers etc! And you did, very excited once I order one. However, I have one big feature that I want. An interface to upload commands! After using an Aurduino, and other devices for that matter,why not have USB port where you can directly load the super panel? It would be VERY nice to have an app on the computer, for edting and writing of code (commands), then upload it so the Superpanel. That would be a game changer, this is what I want more than anything ! I really don't like spending so much time going through all the menus to "program" my panels. I usually have long sequences for train control, and it's a real pain putting them in then editing them etc. Plus, I want to be able to save them! At least with the superpanel there's way to add and copy commands or inputs, at least that's what I see.
Reply 0 0
Robin Sundt Echini
Hi Ted,
It is clear that the manual shows two Cabs attached to the Super Panel at the same time but I am not sure how you would switch between programming and running with both connected. Unfortunately I couldn't test the idea as I don't have a spare Cab but Chris might be able to test how this works in practice. It certainly should not damage anything to try the idea if you have a spare Cab.
I absolutely agree that a GUI would make life much easier as well as a way to upload and download whole programmes and edit them offsite but although the Super Panel is a massive step forward, it is only the first step and I am sure that there will be more to come in the future.
Reply 0 0
Ted A.
Hi Ted,
It is clear that the manual shows two Cabs attached to the Super Panel at the same time but I am not sure how you would switch between programming and running with both connected. Unfortunately I couldn't test the idea as I don't have a spare Cab but Chris might be able to test how this works in practice. It certainly should not damage anything to try the idea if you have a spare Cab.
I absolutely agree that a GUI would make life much easier as well as a way to upload and download whole programmes and edit them offsite but although the Super Panel is a massive step forward, it is only the first step and I am sure that there will be more to come in the future.
Basically on the Mini-Panel I just leave my PowerCab in place, in the left port of the PowerCab Panel. I have a procab that I move from the cab bus to the programming port. Works great! When I'm done, I move the Procab back and just hit the reset button on the mini panel to make sure everything is good. The drawings for the super panel do not show this as a possibility, but it "should" work I would suppose. I just received my super panel so when I start working with it I'll try it.
Reply 0 0
Reply