CONTROLLINO Mega Pure Digital low to high voltage

Hi,

I recently bought the Controllino Mega Pure to control some stepper hybrids motors.
The drivers I have are the Leadshine ES2-3DA2306.

The whole system ran on an arduino Mega 2560 before without a problem. But when I changed the controller to the one from Controllino ( Mega pure ) I noticed that when setting a digital pin to LOW that their is still a voltage of 0.6V. To much for my stepper motor drivers to recognize it as a LOW input...

Have some of you experienced the same problems?
Or do you guys have any suggestions?

Thanks in advance :slight_smile:

Please post a schematic. Thanks in advance.

From this spec sheet, it doesn’t seem to have any TTL compatible outputs

You may need to provide a transistor on those outputs to provide the correct voltage swing.

As already told, schematics please, link to datasheet. Controllino or Pendolino, all helpers might not have that device in the drawer.

As war as I've experienced 0.6 volt is a safe LOW level. Suspects the fault is else ware.

Hi,

Here you can find the schematics and the manual about the stepper driver:

Everything is installed with DIN rails. So an external solution with resistors wouldn't be clean.
I wonder if their are other solution.

Thanks in advance

What happens if you connect the +pul and +dir to 5volt, and let the I/O switch the -inputs to ground. As they do on the datasheet of the motor driver.
Program logic then needs to be inverted of course.
Leo..

Hi,

Is this possible because the output of the digital pins are 24V.

How can i do this?

Thanks in advance

Your schematic is very unclear about common ground connections.

I believe the Controllino has high side, common drain P-channel MOSFET outputs which connect the output pin to I/O voltage + when enabled and are "HI-Z" (open circuit) otherwise. We need to see a complete wiring diagram (not a Fritz picture).

I don't know this device, and what you're saying is true.
But if the pin is 24volt when HIGH, then the opto couplers in the motor driver could be fried. No opto LED can withstand more than 5volt in reverse. But the opto couplers might have a protection diode across them, who knows. You're up sh*t creek without a paddle if you don't have the exact schematic diagrams of both units, or exact I/O documentation. The block diagrams given are largely useless.
Leo..

Hi,

The drivers DIR and PULL can receive a voltage of 24v which is not the problem.
The problem I think is that the LOW voltage of the Controllino is too high to be reconized as a low by the drivers. If I measure the voltage of the pins when settings them on LOW then I receive around 0.6V on the Controllino.

Drives manual:

Pulse signal: In single pulse (pulse/direction) mode, this input represents pulse signal, each rising or falling edge active (software configurable); In double pulse mode(software configurable), this input represents clockwise (CW) pulse, active both at a high level and low level. 5-24V when PUL-HIGH, 0-0.5V when PUL-LOW. For reliable response, pulse width should be longer than 2.5uS(200K bandwidth) or 1uS(500K

I wonder if there is a way to decrease the voltage of the Controllino in LOW.

Unfortunately, there aren't any schematics public of the Controllino or the drivers I use...

Thanks in advance

You could try adding a 1k resistor between pin and ground.
The extra (small) load might drop it to 0volt.

If not, then connect as I explained in post#6 (motor driver page 14).
Leo..

If not using the analog input pins, maybe use as 5V digital outputs as with Mega:

pinMode(A0,OUTPUT);
digitalWrite(A0,HIGH); // or LOW

Same with A1, A2, A3.

HI,

I think the Controllino can't switch a digital output to ground? So the setup from page 14 would'nt be possible I think.

Which output pins are you using?