Showing posts with label optocoupler. Show all posts
Showing posts with label optocoupler. Show all posts

CNC Controller Board v2

As I said previously, I have been slowly developing my second CNC Machine, TheMaker2. To control the new CNC machine I developed a new board based on a PIC16LF877A since the L297's that I used on the first CNC controller board that I designed can be quite expensive here in Portugal and I had some PIC16LF877A samples lying around that with a few programming lines could do the same or even more than three L297 stepper motor controllers.

(Click the photo for better resolution in Picasa Photostream)
Once again, the board design can be split in three parts:
  1. Isolation - it has Vishay's CNY17-2 optocouplers to isolate the parallel port from the rest of the circuit;
  2. Driver - a Microchips' PIC16LF877A drives three stepper motors in unipolar mode (if you prefer bipolar you can change the schematics and boards at your will);
  3. Power Interface - a bunch of Vishay's SUP85N03 N channel FETs working as switches controlled by the PIC16LF877A.

CNC Controller Board

In this post I'll make a short description of the CNC controller boards that I'm making available for you to download and use to control your own CNC. I'm posting 3 version of the same board, but only the first one has been really tested and has been working inside my CNC Control Box for a long time now (see my previous post Homemade CNC:TheMaker1). I'm 99% sure that the other boards will work too because they only have minor changes. I'll explain them to you in a few moments.

All the boards are made in Kicad. The design of the boards is based on the CNC3AX designs, but it uses other components that I had available at the moment that I made the board for my CNC. I advise you that I just wanted to get my CNC running, so I didn't make any careful selection of the most appropriate components and I didn't make the math to calculate the best values for the resistors. I just made it with the components that I had laying around. The boards design can be split in three parts:
  1. Isolation - it has Vishay's 6N137 optocouplers to isolate the parallel port from the rest of the circuit;
  2. Drivers - the ST Microelectronics' L297 drive the motors in unipolar mode (if you prefer bipolar you can change the schematics and boards at your will);
  3. Power Interface - a bunch of Vishay's IRL510 N-channel FETs working as switches controlled by the L297 Drivers.

(Click the photo for better resolution in Picasa Photostream)

top