Just checking if I'm missed something regarding this part which looks like it's out of spec or not working at all.
lcsc.com
The relevant bits, the datasheet says it has a 3.5mV input offset (max) and a -0.2 to +0.2v common input range.
With a 5v vdd, 140mV reference and a low frequency signal which clearly rises and falls below this always receive a pull down at the output.
LMV393TP-SR | 3PEAK | Price | In Stock | LCSC Electronics
LMV393TP-SR by 3PEAK - In-stock components at LCSC. Price from $0.0494. Free access LMV393TP-SR datasheet, Package, pinout diagrams, and BOM tools.
The relevant bits, the datasheet says it has a 3.5mV input offset (max) and a -0.2 to +0.2v common input range.
With a 5v vdd, 140mV reference and a low frequency signal which clearly rises and falls below this always receive a pull down at the output.