bdring / 6-Pack_CNC_Controller

MIT License
290 stars 71 forks source link

10-30 V inductive endstops #20

Open raenji-sk opened 4 years ago

raenji-sk commented 4 years ago

Would it be possible to upgrade the end stop module to support 10-30V inductive sensors (ideally both PNP and NPN)?

bdring commented 4 years ago

You could build it with a different isolated power supply and led resistors to use 12v NPN sensors.

yngndrw commented 4 years ago

The switch input module just requires the signal pin to be pulled to ground, so it should already work with open collector / NPN outputs. The power supply for the sensors would need to be handled separately.

PNP sensors would require a little more work, essentially you have to convert them to an NPN output with an external NPN transistor: PNP to NPN circuit

KingMo5h commented 4 years ago

The cheapest isolated DC-DC converter and with 2W I could find are the Meanwell SPUN02L, either 5V, 12V or 15V Output. Input is 5v 12v or 24v. Maybe it helps.

Just replace the DC-DC Converter at your choice and the LED/Optocoupler resistors and it should work with the input module from bdring.

raenji-sk commented 4 years ago

OK, thanks. I will look into it when I have some time. I've been using GRBL for a long time and am looking for some other hardware as well as the 8 bit is clearly limited these days. This board seems very nice and I would not have to get used to a new controller / software and keep on using GRBL with better hardware.

raenji-sk commented 3 years ago

Just an update, I decided to design my own mix of boards, the 4 axis external stepper one and the MPCNC one. PCBs already being manufacured, hope to assemble and test one piece in second half of September. Took what I needed and removed what I did not. In the end I ended up with 4 axis board with oprocouplers on endstops and the probe, PWM for / laser, pin for cooling and spindle relay, powered by 2 external PSUs (5v for board and 12v for inductive endstops), got rid of the modbus as I do not need it. The endstops connector should accept both PNP and NPN, selectable with a jumper. I assumed it is OK to do so as it is all open source, but please let me know in case it is not totaly allright. 4axis_custom_esp32

M10CUBE commented 2 years ago

Hi @raenji-sk What is the status of your design?. @bdring design is very good but I am thinking a scale down module (4 axis will do at the moment) to adapt to my m10cube idea. Yours looks closer to my geometry concept of m10cube (a modular do what you like design). https://hackaday.io/project/171770-m10cube

raenji-sk commented 2 years ago

@M10CUBE Sorry that was the first and last version. I had the board made in China but never assembled it. Went for grblhal and teensy 4.1 board instead. That worked quite well for me for a year or so. But that's history now too as I changed the cnc controller to Uccnc.

M10CUBE commented 2 years ago

thanks @raenji-sk . Thumbs down for me for the integrated drivers. I say to stick here and improve @bdring design. It is a lot of inspiration for me. I will find some how a way to contribute to this project. You see I am coming from industry with years experience in PLCs and always I wanted to make my dream PLC that works and controls everything. To have one controller that can be modular and deliver the job. In that way I like the I/O modularity of the @raenji-sk design but still i thing it can be better. That is why I have I/O modules on our M10CUBE design (like the 8 input and 8 output card) . But still needs rethinking and redesigning

raenji-sk commented 2 years ago

@M10CUBE i checked the project website and it looks really interesting. Not a big programmer or hardware designer myself, but I'll check on it from time to time 😉 (do you use some social media where you post updates perhaps?) I agree about the stepstick or integrated drivers, never liked them too much myself too. That's why I went with grblhal which has a board with outputs for stepper drivers, optoisolated inputs, etc.. But as it was and still is (a very nice) hobby project I needed something more industrial so I got the uccnc uc300eth controller. Slowly upgrading my cnc (more rigid parts, changed steppers for servos for example), learning new stuff etc. Anyway, have a great weekend and good luck with your project.

M10CUBE commented 2 years ago

@raenji-sk thanks for your comments. You must be proud for your build. No social media except some rare posts on LinkedIn. I have many things to do and social media is a waste of time. I prefer the old days workflow. See you around some time...Nice weekend too.