Hey everyone,
I have an issue i cannot wrap my head around. I've tried searching for this issue and have come close but everything I've been finding is not quite the same issue.
Background:
The project is a glorified RC car made from a "Jazzy Select Elite" powered chair. It is powered with 2 U1 12v AGM batteries in series. Im using two dc motor controllers rated at 30A(way more than they are actually drawing) that is controlled with PWM and direction pins. Input is from an RC Receiver/Transmitter that is passed on to an Arduino Nano which then sends out the necessary motor control. That much is working just fine.
The Arduino and RC Receiver are powered by a 24V to 5V 3A regulator.
The problem:
Both motors have brakes attached that can be disabled mechanically via lever or released via 24V, up to this point i have just had them disabled mechanically. I recently added 2, 5V relay boards, to control the brakes when output to the motor controllers are >0. Testing without the brakes engaged was successful, both relays actuated when expected with everything else working. However, when i engaged the brakes mechanically the Arduino would reset as soon as one of the relays actuated, sometimes after 1-1.5 seconds. The relays are powered from the 5V regulator directly and not through the Arduino's 5v out.
My first assumption was that i was pulling too much current from the 5V regulator or causing a voltage drop that caused a brownout, but if this is the case then why does it not happen when the brakes are disengaged? I also checked the regulator and voltage is steady when this happens.
My second assumption is that the brakes were causing a voltage drop great enough to cause the regulator to go wonky. Again I checked the regulators voltage while this was happening with min/max and it didn't so much as flicker. The 24V side saw about .1-.2V drop for a brief moment but nothing i would think could cause this.
Some more information:
The brakes draw ~.55-.65A (measured) @ 24V each, this is consistent with the windings reading 50ohms.
Relay coils are actuated with a digital HIGH from pins 7 and 8 for their respective brakes. No issues when there is no load on the contactor side. It is also worth noting that these relay modules are junk, two of the five were DOA. and it looks like I'm not the only one with that issue.
Hope i explained everything well enough. Anyone have any ideas on what i should be checking? Or if there is a better way to control the motor brakes?
Relays
Regulator