I found this to be very useful as it has both analog and digital outputs. A tiny switch selects between the two. There are 2 connection points one has a Grove connection I have not found a compatible connector so used pins on rear. It is easy to set up I used in conjunction with an Arduino P3 no problem. There is no protection for the electronic area I covered it with small plastic bag.