After the system is powered on, the reset operation is first performed, and then the embedded software
FDC2214 performs a reset operation to configure FDC221 via I²C bus transmission
parameters, start the system after completing the system configuration, and the capacitive sensor collects
The liquid concentration value is converted into a capacitance value, saved to the internal register, and then
Through the corresponding instructions, the I²C bus transmission method is used to save the power stored in FDC2214.
The capacitance value is sent to the microcontroller STM32F103, and finally the data is processed by the microcontroller.
Process, display the obtained liquid concentration value on the OLED screen, and complete the measurement.