Hello! This is my first post, so please bear with me.
I want to change the mechanical endstop on my 3D printer to an optical endstop for better accuracy. The mechanical endstop has a simple resistance signal: closed circuit while not engaged; broken circuit when engaged. The optical endstop has a voltage signal: zero when not engaged; high when engaged. In order to turn this into a resistance signal like the stock part, I'm using the setup in the picture (please forgive the hand drawing).
The left side is the optical endstop; I want the resistance between R1 and R2 to be my output (inverting the logic that I described above). My problem is that I fried my main board when I plugged it all together. I haven't ever used a MOSFET before; is there a principle here that I'm missing? Thank you for your help!
I want to change the mechanical endstop on my 3D printer to an optical endstop for better accuracy. The mechanical endstop has a simple resistance signal: closed circuit while not engaged; broken circuit when engaged. The optical endstop has a voltage signal: zero when not engaged; high when engaged. In order to turn this into a resistance signal like the stock part, I'm using the setup in the picture (please forgive the hand drawing).
The left side is the optical endstop; I want the resistance between R1 and R2 to be my output (inverting the logic that I described above). My problem is that I fried my main board when I plugged it all together. I haven't ever used a MOSFET before; is there a principle here that I'm missing? Thank you for your help!
Attachments
-
2.4 MB Views: 13