If you are in to making things, fine.
I tend to use these ready made....... either adjust to whatever level OR.....solder a link on the back for pre-set level
Small , cheap and they work.
Only 1-note, I tend to put a disconnect link in between the unit and Arduino during programming, some...