Can anyone tell me if the attached image shows the correct way to hook up a protection diode?
On the right side above(red with black connector) is 12V.
On the lower left (yellow with black connector) is wire to transistor and arduino.
Upper left and lower right (heavier red wire) leads to the contacts of the relay.
The diode is in the middle.