This is an open-source liquid sensor for microscopes. It works by measuring the resistance between pairs of conductors separated by 550 µm.

The four-layer layout with a grid of vias connecting to the layers allows for the the sensor board to be cut and shaped as needed without interfering with the electrical connections.
- Order the sensor PCB by uploading the provided Gerber files to a PCB manufacturer such as OSH Park, PCBWay, Ailser, etc.
- If using an Arduino, order the following items:
- Arduino Uno
- Piezo transducer
- 10 kOhm throughhole resistor
- Header pins
- Wires and solder
- Note: If using the High-Speed Programmable LED Driver, the sensor can connect directly to the external thermistor port, so only wire and solder is needed.
- Cut/drill the sensor PCB as needed
- Solder across both jumpers if an RC filter isn't used, otherwise solder on the desired resistor and capacitor combination.

- Solder a pair of wires to the two wire pads.

- Cut a set of 5 pins from the header pins.
- Solder the 10 kOhm resistor between the 5V pin and A0 pin on the arduino.
- Solder the positive wire to pin A0.
- Solder the negative wire to GND.

- Cut a pair of pins from the header pins.
- Solder the two piezo wires to the pins (polarity does not matter).
- Insert the pins to digital pins 6 and 7.
- Upload the provided code to the Arduino.
- Follow steps 1-5 for the Arduino Uno installation
- Connect the wires to the "External Therm" port on the LED driver.
- Set the "External Fault" temperature to 0° and the "External Warn" temperature to 1°C. For higher sensitivity, also increase the "Resistance at 25°C" value. For example, a value of 90000 will allow the sensor to detect deionized water.
Test the driver by applying a drop of water or PBS onto the sensor. This should trip the alarm and wiping the liquid off should reset the alarm:
If the alarm trips without liquid, this means there is a short on the board. If the board was cut or drilled, then sand these regions and inspect the board under a microscope for any shorting traces.