I need some help for my project
Generally you ought ought to draw schematics with logic symbols not photos, but I understand your concept. But if you do not specify currents for each, you can run into problems like NPN Ib, coil current and power relay contact derating for a large AC motor.

You show a phone trigger for a relay to drive a Johnson counter after so many pulses to drive motor power relay. The 9V battery and 5V relay are redundant and cause for concerns. ( Delete these)

The phone switch must have a known Vout and Rout to drive the NPN without excess current as no Rs is shown to base. The collector is sufficient to drive the 4017 Clk but the Cap is too big (presumable chosen to debounce redundant 5V relay contacts.

Verify your voltage and thus implied currents at each stage using LowV from phone to 12V for 4017.

4017 is about 300 ohms output R +1k may not be enough to drive 12 coil current and need to be reduced to 300 Ohms if 12V coil is &gt;1V on collector coil V- gnd side.


All wires must be twisted pairs and orthogonal to motor current and relay AC power to prevent crosstalk glitches.
The Biggest error is phone gnd is not tied to 12V gnd. But follow above advice too.