[ Log In ]
[ Register ]

Question #: 4690

Question: Hi ! Can I use the redFly System with a Raspberry Pi ?

Current Solution

Yes, since the Raspberry Pi has the ability to communicate using its GPIO (General Purpose Input/Output) pins, software loaded on the Raspberry Pi can be connected directly to stepping (stepper) motor drivers. The redFly can be retrofitted to replace the breakout board so the Raspberry Pi can live within the redFly case.

Since the Raspberry Pi can communicate using other methods (i.e. USART), the Raspberry Pi can be alternatively connected to another board that interprets the serial communication into g-code. This scenario would be use if the GPIO pins are inaccessible, or used for other functions.

Respond:

Other Possible Solutions to this Question

  • I HAVE THE REDFLY SYSTEM AND A 2.2KW SPINDLE - 110V HOW DO CONNECT SPINDAL?

    It is not necessary to connect the spindle VFD (Variable Frequency Drive also called an Inverter) to the computer or CNC motion electronics. The VFD can be controlled independently using the control panel on the VFD. The control panel has the ability to control all aspects of the spindle including Speed, Torque, limits, etc. However, you can connect the VFD to the computer so the CNC control program can control the spindle during the CNC Machine operation. You will need to connect the VFD to the computer via a serial conection (in this case, it is the RS-485 protocol).

    The following are instructions on how to connect the VFD to Mach3 via this RS-485 serial connection.

    The first thing you will need is the dynamic link library to pair with mach3 called the Huanyang VFD Mach3 PlugIn. You can find this file at the mach3 support forum here: http://www.machsupport.com/forum/index.php/topic,14182.0.html

    You will also need to download the Microsoft .net 3.5 framework and install it: https://www.microsoft.com/en-us/download/details.aspx?id=21

    Follow the pdf that comes with the library file, but here is a synopsis of what you need to do (I also added a lot more information that may be useful during this process as the manual does not cover the main connections that need to be done):

    You will need to program your VFD so that it knows how to communicate with mach3 and the computer (go into the programming mode of the VFD and change these parameters):
    - PD001 - value 2 - Enables with communication aspect of the VFD
    - PD002 - value 2 - Enables frequency control from the communcations port
    - PD163 - value 1 - VFD address
    - PD164 - value 1 - Baud rate of 9600 (speed of the communication)
    - PD165 - value 3 - 8N1 RTU - 8 bits (that's the size of the word that gets communicated), N (No parity or no error checking) and 1 (1 stop bit)

    Copy the dll file to the PlugIns folder of mach3.

    Connect the RX and TX lines to your computer. There are a couple ways you can do this, but the recommended way would be to use an FTDI USB device which converts a USB to a serial com port. The device will have Rx and Tx connectors to connect to the VFD terminals with the same labels. This method is recommended since serial ports are not as common in computers these days.

    Next, you will need to configure mach3 to use the plugin library. Start mach3 and click on Menu -> config ->Config Plugins. Enable the new plugin by clicking on the red cross on the left column next to the plug in. Restart mach3 after doing this.

    No you need to configure mach3 to use the HuanyangVFD plugin. Go to the ports & pins configuration and select the spindle setup tab. Make sure that the Disable Spindle Relays checkbox is unchecked. We don't want mach3 to output a signal for a relay since the spindle will start up and turn off within the VFD and not from an external relay.

    Next, go to the HuanyangVFD settings by clicking on Menu -> plugin control -> HuanyangVFD. Set the parameters to the same settings you put into the VFD programming. The com port will be shown as new hardward when you plug in the USB FTDI device. A little bubble will be displayed at the bottom right where it will notify you that a new device is being installed (be patient while windows assigns a com port). Alternatively, you can use the windows device manager to see which port was set for the new USB FTDI device). You may need to restart mach3 several times until you get the correct information displayed in the PD001 and PD002 fields. When the com port is correct and the other parameters, like baud and VFD address is the same as you entered in the programming, then the PD001 and PD002 will show the number 2, otherwise, a 99 will appear which means that communication was not successful.

    You can now control the on/off and RPM of the spindle using the RS485 communication between mach3 and the VFD.

    Additional Information:
    The question was how to connect the spindle to the redfy. I did not receive a VFD.
    I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindle?

    Additional Information:
    If you received a spindle without a VFD, please contact us asap. Our spindle will not work without a VFD.

    Additional Information:
    Hi, how is this setup in mach4?

    Click the link to add information to this solution:
    I HAVE THE REDFLY SYSTEM AND A 2.2KW SPINDLE - 110V HOW DO CONNECT SPINDAL?

  • I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindal?

    It is not necessary to connect the spindle VFD (Variable Frequency Drive also called an Inverter) to the computer or CNC motion electronics. The VFD can be controlled independently using the control panel on the VFD. The control panel has the ability to control all aspects of the spindle including Speed, Torque, limits, etc. However, you can connect the VFD to the computer so the CNC control program can control the spindle during the CNC Machine operation. You will need to connect the VFD to the computer via a serial conection (in this case, it is the RS-485 protocol).

    The following are instructions on how to connect the VFD to Mach3 via this RS-485 serial connection.

    The first thing you will need is the dynamic link library to pair with mach3 called the Huanyang VFD Mach3 PlugIn. You can find this file at the mach3 support forum here: http://www.machsupport.com/forum/index.php/topic,14182.0.html

    You will also need to download the Microsoft .net 3.5 framework and install it: https://www.microsoft.com/en-us/download/details.aspx?id=21

    Follow the pdf that comes with the library file, but here is a synopsis of what you need to do (I also added a lot more information that may be useful during this process as the manual does not cover the main connections that need to be done):

    You will need to program your VFD so that it knows how to communicate with mach3 and the computer (go into the programming mode of the VFD and change these parameters):
    - PD001 - value 2 - Enables with communication aspect of the VFD
    - PD002 - value 2 - Enables frequency control from the communcations port
    - PD163 - value 1 - VFD address
    - PD164 - value 1 - Baud rate of 9600 (speed of the communication)
    - PD165 - value 3 - 8N1 RTU - 8 bits (that's the size of the word that gets communicated), N (No parity or no error checking) and 1 (1 stop bit)

    Copy the dll file to the PlugIns folder of mach3.

    Connect the RX and TX lines to your computer. There are a couple ways you can do this, but the recommended way would be to use an FTDI USB device which converts a USB to a serial com port. The device will have Rx and Tx connectors to connect to the VFD terminals with the same labels. This method is recommended since serial ports are not as common in computers these days.

    Next, you will need to configure mach3 to use the plugin library. Start mach3 and click on Menu -> config ->Config Plugins. Enable the new plugin by clicking on the red cross on the left column next to the plug in. Restart mach3 after doing this.

    No you need to configure mach3 to use the HuanyangVFD plugin. Go to the ports & pins configuration and select the spindle setup tab. Make sure that the Disable Spindle Relays checkbox is unchecked. We don't want mach3 to output a signal for a relay since the spindle will start up and turn off within the VFD and not from an external relay.

    Next, go to the HuanyangVFD settings by clicking on Menu -> plugin control -> HuanyangVFD. Set the parameters to the same settings you put into the VFD programming. The com port will be shown as new hardward when you plug in the USB FTDI device. A little bubble will be displayed at the bottom right where it will notify you that a new device is being installed (be patient while windows assigns a com port). Alternatively, you can use the windows device manager to see which port was set for the new USB FTDI device). You may need to restart mach3 several times until you get the correct information displayed in the PD001 and PD002 fields. When the com port is correct and the other parameters, like baud and VFD address is the same as you entered in the programming, then the PD001 and PD002 will show the number 2, otherwise, a 99 will appear which means that communication was not successful.

    You can now control the on/off and RPM of the spindle using the RS485 communication between mach3 and the VFD.

    Additional Information:
    The question was how to connect the spindle to the redfy. I did not receive a VFD.
    I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindle?

    Additional Information:
    If you received a spindle without a VFD, please contact us asap. Our spindle will not work without a VFD.

    Additional Information:
    Hi, how is this setup in mach4?

    Click the link to add information to this solution:
    I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindal?

  • I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindal?

    It is not necessary to connect the spindle VFD (Variable Frequency Drive also called an Inverter) to the computer or CNC motion electronics. The VFD can be controlled independently using the control panel on the VFD. The control panel has the ability to control all aspects of the spindle including Speed, Torque, limits, etc. However, you can connect the VFD to the computer so the CNC control program can control the spindle during the CNC Machine operation. You will need to connect the VFD to the computer via a serial conection (in this case, it is the RS-485 protocol).

    The following are instructions on how to connect the VFD to Mach3 via this RS-485 serial connection.

    The first thing you will need is the dynamic link library to pair with mach3 called the Huanyang VFD Mach3 PlugIn. You can find this file at the mach3 support forum here: http://www.machsupport.com/forum/index.php/topic,14182.0.html

    You will also need to download the Microsoft .net 3.5 framework and install it: https://www.microsoft.com/en-us/download/details.aspx?id=21

    Follow the pdf that comes with the library file, but here is a synopsis of what you need to do (I also added a lot more information that may be useful during this process as the manual does not cover the main connections that need to be done):

    You will need to program your VFD so that it knows how to communicate with mach3 and the computer (go into the programming mode of the VFD and change these parameters):
    - PD001 - value 2 - Enables with communication aspect of the VFD
    - PD002 - value 2 - Enables frequency control from the communcations port
    - PD163 - value 1 - VFD address
    - PD164 - value 1 - Baud rate of 9600 (speed of the communication)
    - PD165 - value 3 - 8N1 RTU - 8 bits (that's the size of the word that gets communicated), N (No parity or no error checking) and 1 (1 stop bit)

    Copy the dll file to the PlugIns folder of mach3.

    Connect the RX and TX lines to your computer. There are a couple ways you can do this, but the recommended way would be to use an FTDI USB device which converts a USB to a serial com port. The device will have Rx and Tx connectors to connect to the VFD terminals with the same labels. This method is recommended since serial ports are not as common in computers these days.

    Next, you will need to configure mach3 to use the plugin library. Start mach3 and click on Menu -> config ->Config Plugins. Enable the new plugin by clicking on the red cross on the left column next to the plug in. Restart mach3 after doing this.

    No you need to configure mach3 to use the HuanyangVFD plugin. Go to the ports & pins configuration and select the spindle setup tab. Make sure that the Disable Spindle Relays checkbox is unchecked. We don't want mach3 to output a signal for a relay since the spindle will start up and turn off within the VFD and not from an external relay.

    Next, go to the HuanyangVFD settings by clicking on Menu -> plugin control -> HuanyangVFD. Set the parameters to the same settings you put into the VFD programming. The com port will be shown as new hardward when you plug in the USB FTDI device. A little bubble will be displayed at the bottom right where it will notify you that a new device is being installed (be patient while windows assigns a com port). Alternatively, you can use the windows device manager to see which port was set for the new USB FTDI device). You may need to restart mach3 several times until you get the correct information displayed in the PD001 and PD002 fields. When the com port is correct and the other parameters, like baud and VFD address is the same as you entered in the programming, then the PD001 and PD002 will show the number 2, otherwise, a 99 will appear which means that communication was not successful.

    You can now control the on/off and RPM of the spindle using the RS485 communication between mach3 and the VFD.

    Additional Information:
    The question was how to connect the spindle to the redfy. I did not receive a VFD.
    I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindle?

    Additional Information:
    If you received a spindle without a VFD, please contact us asap. Our spindle will not work without a VFD.

    Additional Information:
    Hi, how is this setup in mach4?

    Click the link to add information to this solution:
    I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindal?

  • Can I use the driver's I have with the Pokey57

    Since the Pokey57CNC outputs standard pulse and direction signals, you can use any stepper driver. So, you do not need to use the Postep driver to operate your stepper motors.

    The Pokey57CNC control board is extremely feature rich and can be use to control very complex light or heavy CNC systems. Since most CNC system use high current drivers, the Pokey57CNC can be used with these systems.

    Click the link to add information to this solution:
    Can I use the driver's I have with the Pokey57

  • can I use the usb on the parallel breakout board with planet cmc

    The USB on the Parallel breakout board, is used for powering the board itself (5v USB), and the Parallel to communicate directly between the drivers and the computer/mach 3.
    Planet-CNC cannot be used with our Parallel Breakout Board, it is only intend to be used with Mach 3/other open source programs.

    To use Planet-CNC, please refer to our USB breakout board! (https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-USB-Controller-Breakout)

    Click the link to add information to this solution:
    can I use the usb on the parallel breakout board with planet cmc

  • Can I use Mach4 with the Fabricator Pro?

    Yes, you can use Mach4 wtih the Fabricator Pro CNC machine.

    We have not designed a metal machine like the Fabricator Pro to lean more in the vertical orientation. Unfortunately, we haven't gotten any requests for that style of machine, and the greenLean, although a great machine and space saver, has not been our best seller.

    If we get more interest in this type of machine, we would have no problem designing a machine like this.

    Click the link to add information to this solution:
    Can I use Mach4 with the Fabricator Pro?

  • what operating system comes with the laser (Integrated Computer) Option

    You have multiple options to run the laser but if you want us to install a OS system,you will have to buy the windows 7 license and mach3 license to run the machine with the parallel BB/if you would get the USB BB you will need to get planet CNC, you can also go with a free system Linux and have emc run the cnc machine.

    Click the link to add information to this solution:
    what operating system comes with the laser (Integrated Computer) Option

  • [575] Hi, Can I use this board with a closed loop stepper?

    Yes, this CNC controller can be used with closed-loop stepper drivers and motors. The loop for control and feedback is between the driver and the motor. The closed-loop driver receives step and direction signals, which this controller will output which furnishes the driver with the necessary signals to move the motor. Additionally, the closed-loop driver can output a fault signal to this controller through the controller's input terminals in case the motor should encounter a situation that prevents the motor from moving so the CNC can shut down.

    Click the link to add information to this solution:
    [575] Hi, Can I use this board with a closed loop stepper?

  • I am retrofitting two Emco f1 mills, the motor, at least on the x axis is a 83 oz/in with a 1/4" shaft, would item #291 work or could I use the red fly system?

    The 3 axis electronics combo, will work with your EMCO mill as well as the redFly.
    The difference between both these kits is one comes assembled while the other comes as a DIY kit. The major concern if trying to retrofit, our motors to a specific machine will be the mounting holes. Which can be found in the motors specific datasheet.

    Click the link to add information to this solution:
    I am retrofitting two Emco f1 mills, the motor, at least on the x axis is a 83 oz/in with a 1/4" shaft, would item #291 work or could I use the red fly system?

  • CAN I USE A STEPPING MOTOR WITH AN ENCODER?

    I haven't delved into using encoders with stepping motors too much. From my research, you need to have a controller that can provide the closed loop control, rather than software handling that process. I have also found from my research that using encoders on stepping motors is generally used to stop the machine in the case that the motor failed to achieve the commanded position for some reason and gives the user the chance to correct and continue with the job.

    If you want proper closed loop control, it may be best to go with servos and servo controller that provide the closed loop control within the real of those two components.

    Click the link to add information to this solution:
    CAN I USE A STEPPING MOTOR WITH AN ENCODER?

  • Can I power the Mach3 USB interface 24V with a 48V power supply?

    The Mach3 USB interface card uses 5V (powered from the computer's USB) and a 24v to power the inputs, outputs and spindle control

    the mach3 usb interface can be found here:

    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    But the mach3 usb does not absolutely need the 24V supply. The 24v supply is only needed if you will be using limit switches (I1-4), VFD controlled automatically and for use with the outputs (O1-4)


    Additional Information:
    The 36v 8.8 amp power supply we typically recommend is for powering the stepper motor drivers.

    Click the link to add information to this solution:
    Can I power the Mach3 USB interface 24V with a 48V power supply?

  • Hi I live in South Africa and want to know if i can buy a wiring and component diagram for the readleaf plug and play computer system?

    The best wiring diagram that can be used for the redLeaf and redSprout CNC computer system would be found on instruction #1 (datasheet for the breakout board) on this page: https://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay

    Click the link to add information to this solution:
    Hi I live in South Africa and want to know if i can buy a wiring and component diagram for the readleaf plug and play computer system?

  • Hi I live in South Africa and want to know if i can buy a wiring and component diagram for the readleaf plug and play computer system?

    The best wiring diagram that can be used for the redLeaf and redSprout CNC computer system would be found on instruction #1 (datasheet for the breakout board) on this page: https://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay

    Click the link to add information to this solution:
    Hi I live in South Africa and want to know if i can buy a wiring and component diagram for the readleaf plug and play computer system?

  • DON'T WANT TO USE MY OWN MOTORS FOR THE REDLEAF CNC COMPUTER SYSTEM.

    That shouldn't be a problem. I will need the current rating for the motors. We can subtract the price of the motors. and you can add you own. If you want us to solder the cable to the round connectors and them motor, you would need to send the motors to us.

    Let me know and I can send a paypal invoice for the redLeaf without motors.

    Click the link to add information to this solution:
    DON'T WANT TO USE MY OWN MOTORS FOR THE REDLEAF CNC COMPUTER SYSTEM.

  • 4 axis kit can I use 2 motors for the gantry with one controller card? or I buy the 3 axis kit instead?

    Yes, you can use the 4 axis kit and use two of the motors on the gantry. You will need to wire the gantry axis motors to the same step and direction signals on the controller interface. For example, if the gantry axis is the X axis, then on the controller step and direction terminals (CP and CW) is wired to both of the stepper motor drivers for the X axis.

    Click the link to add information to this solution:
    4 axis kit can I use 2 motors for the gantry with one controller card? or I buy the 3 axis kit instead?

  • can I purchase the 2' x 4' laser with an 80 watt tube?

    We offer a 4'x8' laser system that uses an 80 watt laser tube.
    Vertical Laser XL 4'x8'

    Our blackTooth 24"x20" laser uses a 40 watt laser tube due to the internal size constraints and that the laser tube is mounted on the gantry for ease of aligning and maintaining better power at the cutting end.
    blackTooth 24"x20" Laser

    Click the link to add information to this solution:
    can I purchase the 2' x 4' laser with an 80 watt tube?

  • Can I use Mach3 or 4 with your USB controller PCA?

    The USB controller board is currently only compatible with Planet-CNC software.

    Click the link to add information to this solution:
    Can I use Mach3 or 4 with your USB controller PCA?

  • How fast can I cut 1/4" wood with the 40 watt CO2 laser?

    CO2 laser will not cut wood material fast at all. This is just the nature of the laser energy. The wood is a very low absorbent of the laser energy and you will need to run probably around 10 ipm to cut through the wood. CNC is much more efficient for cutting and laser as more efficient at marking or slowly cutting if you need the small kerf. You will also need a relatively high output air source to cut efficiently. The air will blow away the char (carbon) on the wood. The black char will absorb most of the laser energy not allowing the wood to be cut well. We use a compressor for the air source, but you can use a commercial hydroponic air pump instead.

    Click the link to add information to this solution:
    How fast can I cut 1/4" wood with the 40 watt CO2 laser?

  • Is there a recommended cooling system for purchase that can be used with your 2.2 kW water cooled spindles?

    A standard water pump like this one will work: https://www.buildyourcnc.com/item/pneumatic-hydraulic-water-pump-370-Gallons-Per-Hour-220v-110v

    You will also need silicone tubing at 1/4" ID and 3/8" OD to connect from the pump to the spindle: https://www.buildyourcnc.com/Item/pneumatic-hydraulic-silicone-tubing

    And a bucket to hold the water.

    You may also consider CPU cooling systems which can actually be fastened to the back of the gantry. We do this for the Fabricator Pro machine. The CPU cooling I would recommend is a small pump and cylinder with a heat sink, or a small radiator.

    Click the link to add information to this solution:
    Is there a recommended cooling system for purchase that can be used with your 2.2 kW water cooled spindles?

Get Help with:
This Product
Orders
Tech Support
Sales
This Product
Order Query
Tech Support
Sales
Not logged in. Log In Register
Track Order(s)
View Order(s)
I Want to Schecule a One-On-One Paid Tech Support Session
Book an Appointment Pertaining to a BuildYourCNC Product (Free)
Ask a Quesion Below (Free):
Book an Appointment Pertaining Other Equipment ($60/half hour)
Book an Immedite Appointment Pertaining Other Equipment ($120/half hour)
Ask a Quesion Below (Free):
Waiting for response... I may not answer immediately, but I was notified on my cellular phone so my response is forthcoming. If I don't respond immediately, you can always go to the [My Account] page to see all of our chats at any time.