TiboJ:
The power supply isn't connected to the arduino gnd at this moment.
That's the problem then. You need to connect power supply ground (i.e. negative side of its output) to Arduino ground.
TiboJ:
The power supply isn't connected to the arduino gnd at this moment.
That's the problem then. You need to connect power supply ground (i.e. negative side of its output) to Arduino ground.