motor controller not powered from a relay

Hi

i am hoping someone can help me. i have created a motor controller board, when plugged directly into a 12V dc power supply works great. the issue i am having is that i now need to input the 12v DC power supply from the relay. everythihng else i connect to the relay powers up great, however when i connect the motor controller to the 12v ouput of the relay, the relay just starts rapidly turning on then off. also all the leds do the same. i know its my hardware but cant seem to find the answer. i have attached an image of my schematic hopefully someone can help

thank you

You care creating a brown-out condition... a voltage dip on the arduino poswer source... this causes it to reset. You likely don't have a powerful enough power source or you are overtaxing the onboard regulator on the arduino.

vj01:
Hi

i am hoping someone can help me. i have created a motor controller board, when plugged directly into a 12V dc power supply works great. the issue i am having is that i now need to input the 12v DC power supply from the relay. everythihng else i connect to the relay powers up great, however when i connect the motor controller to the 12v ouput of the relay, the relay just starts rapidly turning on then off. also all the leds do the same. i know its my hardware but cant seem to find the answer. i have attached an image of my schematic hopefully someone can help

thank you

"Plugging a motor controller board into a 12V DC power supply" is not a clear/concise description of whatever you're trying to convey.

Also, what do you mean by "need to input the 12V DC supply from the relay"?

What kind of relay have you got? Probably a good idea to show a diagram that conveys your situation very clearly. Put labels on your diagram.... like "relay". Show how you've connected the relay to the motor controller.

The relays don't show on your circuit diagram.

It seems you're powering two 2Amp motor drivers with a single 1Amp voltage regulator.

What sort of motor is connected to the motor drivers, and why the L298 on a (low) 6.4volt supply.
That ancient chip drops ~2.5volt@1Amp and ~3.75volt@2Amp.
Those chips are made for 12volt or 24volt, so that dropout voltage is less of a problem.
Leo..