This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LM393: 上拉电压问题

Part Number: LM393

纯小白

LM393
输入-为0V
输入+为0-12V
供电12V
输出通过10k上拉3.3V其信号直接给单片机

这个电路有问题吗?
AI说不能上拉到3.3V,说12V会倒灌3.3V,要过电阻上拉到12V

然后需要再来一个NPN三极管,增加的NPN需要:
B级通过电阻连接比较器输出

C级通过电阻上拉连接3.3V

E级连接地

然后C级输出

但是比较器内部不就是这个结构吗?

所以哪一种是正确的?