im not sure if this is the right fplace to put this on the forum, ill take my chances
i did this sketch that basically consists of an Arduino connected to a serial connection via an ftdi board, and i have a lm317 regulator to power up a sensor that works on 24v, this sensor activates a relay that emits a signal to the arduino. here is where my problem starts, every time the relay activates the arduino resets, why is this?? is the relay taking too much power or may my circuit be badly soldered somewhere(been looking for it, haven’t found yet)? can this be solved with a capacitor?
PD: in the schematic you can see the ftdi chip, i don’t have it soldered actually, im using my second option the pins where i connect a ftdi board, i do have a succesfull serial connection.