SENSOR ACS712 MODULE: Needs advises

Hi everyone,

Wanting to improve my watering project piloted by a Rasp, I would like to detect a strong current (voltage?) and then, trigger an action (in the visual, red light to on and cut-off the control box).

So I bought the “SENSOR ACS712 MODULE” module for that.

What I would like to know: how I could protect my Rasp (and in particular the GPIO)?
I positioned on the diagram 2 resistances, but:

  1. Are they in the right place and the number sufficient?
  2. If yes, what type of resistance should I use?

You will understand: the law of Ohm is abstract for me: sweat_smile:

Thanks for your reply