Open source electronic hydrometer