Problem with DS1302 RTC module

The pump does work, its powered on by a TIP120 when a certain hour is reached. And yes the pump has its flyback diode.

The problem appears when i power it with the 12v, im planning to use the 5v pin the power supply has instead of the 5v pin of the arduino, in case im drawing too much current and the arduino cant handle it.