纯小白
LM393
输入-为0V
输入+为0-12V
供电12V
输出通过10k上拉3.3V其信号直接给单片机
这个电路有问题吗?
AI说不能上拉到3.3V,说12V会倒灌3.3V,要过电阻上拉到12V
然后需要再来一个NPN三极管,增加的NPN需要:
B级通过电阻连接比较器输出
C级通过电阻上拉连接3.3V
E级连接地
然后C级输出
但是比较器内部不就是这个结构吗?
所以哪一种是正确的?
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.
您好,
您的电路逻辑没问题,
但由于芯片的轨至轨只支持In to V-,当12V供电时,输入电压最高10V.(芯片数据手册5.2 Recommended Operating Conditions)
电路请参考LM393B, LM2903B, LM193, LM293, LM393 and LM2903 Dual Comparators datasheet (Rev. AH) “Figure 7-1”。