The present application is based on, and claims priority from JP Application Serial Number 2020-054530, filed Mar. 25, 2020, the disclosure of which is hereby incorporated by reference herein in its entirety.

BACKGROUND

1. Technical Field

The present disclosure relates to a liquid ejecting apparatus.

2. Related Art

As the related art, there has been known an ink remaining amount detecting device in which two electrodes are provided in a liquid container, a voltage is applied between the electrodes, and a remaining amount of ink in the liquid container is detected by using a resistance value between the electrodes in JP-A-6-270410.

In the technique of the related art, when the resistance value between the electrodes is detected, even in a case in which a coupling failure of the electrodes occurs, the resistance value becomes substantially the same as the resistance value in a case where there is no remaining amount of the ink. This makes it difficult to determine whether or not a coupling failure of the electrodes occurs by using the resistance value between the electrodes. This problem is not limited to the technique for detecting the remaining amount of the ink in the liquid container, and is common to techniques that use two electrodes in order to detect a remaining amount of liquid other than ink.

SUMMARY

According to one aspect of the present disclosure, there is provided a liquid ejecting apparatus configured to eject liquid. The liquid ejecting apparatus includes an electrode unit that is provided in a liquid container configured to contain the liquid and that includes a first electrode and a second electrode, a determination unit configured to individually determine whether or not a coupling failure occurs in the electrode unit and whether or not the liquid exists in the liquid container, a first resistor being provided between the first electrode and the second electrode and having a first resistance value, and a second resistor having a second resistance value that varies depending on an amount of the liquid between the first electrode and the second electrode.

According to another aspect of the present disclosure, there is provided a liquid ejecting apparatus configured to eject liquid. The liquid ejecting apparatus includes an electrode unit that is provided in a liquid container configured to contain the liquid and that includes a first electrode and a second electrode, a determination unit configured to determine whether or not a coupling failure occurs in the electrode unit and whether or not the liquid exists in the liquid container, a first capacitor provided between the first electrode and the second electrode, and a second resistor having a second resistance value that varies depending on an amount of the liquid between the first electrode and the second electrode.

