Hi
Below is the schematic of a pretty simple and straightforward Stepper Controlling Module built around Arduino Nano.
a) A 6-pole selector switch is connected to analog pin A0. Depending upon the values of the active resistors the analog value is selected at pin A0. This value is interpreted as number of STEPS to move the stepper motor. The stepper is 3-phase, 6A, 12Nm and is installed on a power press which is several feet away from the module and the driver.
b) D6 & D8 issue direction & pulse signals to the stepper driver.
c) D2 is connected to the output of an inductive proximity sensor thru an opto coupler. When the sensor gets on, an ISR function is called to rotate the stepper. This function is a simple for() loop which is repeated for the number of STEPS interpreted by the selector switch. The sensor is installed on the power press.
d) Two push buttons are attached to D2 and D4. FWD button moves 1 step in forward (anti clockwise) direction. REV button moves 1 step in reverse (clockwise) direction. Both the buttons are also installed on the power press (green wires).
The module is working fine as programmed. However, I have noticed that the press operation interferes the module operation, though both are totally isolated. The press is operating at 3-phase 400VAC whereas, the module is powered from 220VAC. (Of course, Arduino is powered with regulated 5V). Whenever, the pedal switch of the power press is pressed; the OUTPUT of the proximity sensor gets ON for a short moment which triggers the rotation of the stepper. The LED on the sensor remains off, which shows that the sensor does not gets ON, only its output is getting some "noise". Similarly, when the pedal is released, the output of the sensor gets ON again.
I would highly appreciate if someone out there could help me with this issue.
Below is the schematic of a pretty simple and straightforward Stepper Controlling Module built around Arduino Nano.
a) A 6-pole selector switch is connected to analog pin A0. Depending upon the values of the active resistors the analog value is selected at pin A0. This value is interpreted as number of STEPS to move the stepper motor. The stepper is 3-phase, 6A, 12Nm and is installed on a power press which is several feet away from the module and the driver.
b) D6 & D8 issue direction & pulse signals to the stepper driver.
c) D2 is connected to the output of an inductive proximity sensor thru an opto coupler. When the sensor gets on, an ISR function is called to rotate the stepper. This function is a simple for() loop which is repeated for the number of STEPS interpreted by the selector switch. The sensor is installed on the power press.
d) Two push buttons are attached to D2 and D4. FWD button moves 1 step in forward (anti clockwise) direction. REV button moves 1 step in reverse (clockwise) direction. Both the buttons are also installed on the power press (green wires).
The module is working fine as programmed. However, I have noticed that the press operation interferes the module operation, though both are totally isolated. The press is operating at 3-phase 400VAC whereas, the module is powered from 220VAC. (Of course, Arduino is powered with regulated 5V). Whenever, the pedal switch of the power press is pressed; the OUTPUT of the proximity sensor gets ON for a short moment which triggers the rotation of the stepper. The LED on the sensor remains off, which shows that the sensor does not gets ON, only its output is getting some "noise". Similarly, when the pedal is released, the output of the sensor gets ON again.
I would highly appreciate if someone out there could help me with this issue.