How to read pH with an Ardunio or Raspberry Pi