Electronics

Last Update: 17 October 2019

Assembling the Electronics

The LongMill electronics come pre-assembled and are pretty much ready to go out of the box. However, we recommend double-checking a few things before you start putting everything together.

Checking the polarity of the DC power supply connector

Before you plug in the power, check that the connection at the connector is correct and is secure.

First, check that the colors on the connector match the photo. From the side with the screws, it should be. from left to right, WHITE and BLACK.

Check that the wires are connected securely by gently tugging on them. Secure them using the screw terminals if loose or disconnected.

The wire on the left should be white, and the wire on the right should be black.

Checking the motor connector wiring

The wires (looking down from the side with the screws, should be, from left to right, BLUE, YELLOW, GREEN, RED. Check if the color pattern on all four of your motor wires is correct.

Check to make sure each wire is connected securely by tugging on each of the wire gently and

The wiring color pattern should be blue, yellow, green, red.

Connecting the motors and power supply

We’ll start by connecting the motors. You will find each terminal on the control board indicated by the silkscreen labeling on the top of the board.

Match the motor wire with the axis.

Plug in the AC cable into the power supply. A green LED on the power supply should light up.

Next plug in the DC connector into the LongBoard.

Plug in the power cable on the LongBoard.

Try switching on the electronics. You should see the red LEDs inside the control board light up. Once you’ve checked that the LEDs are turning on, turn off the power on the board.

You should see the red LEDs on the drivers light up.

Connecting the LongMill to your computer

Start by downloading a g-code sender. We recommend using UGSPlatform, which is what we’ll be using to show the next couple of steps and in the remaining part of the assembly.

You can download UGSPlatform here: https://winder.github.io/ugs_website/download/

UGSPlatform works with any operating system (MacOS, Windows, Linux) that has Java installed. Most computers come with Java installed. If you don’t have Java, you can download and install it here: https://www.java.com/en/download/

Once you have UGSPlatform downloaded, un-zip the file and go to:

ugsplatform -> bin

You will have a different files in the bin file.

If you are using a 64 bit Windows computer, use ugsplatform64.exe

If you are using a 32 bit Windows computer, use ugsplatform.exe

If you are not sure which type of Windows you are using, you are most likely using a 64 bit computer. You can try both and see which one starts.

If you are using a Mac OS computer, useĀ ugsplatform.

You should be greeted with a screen that looks like this.

Connect your computer via USB.

Plug in the USB cable onto the LongBoard.
Connect your USB cable to your computer.

Once that is done, go to the top left corner of the program.

Make sure your baud rate is set to 115200.

First, make sure that your baud rate is set to 115200.

Then click on the refresh icon. This will go through and auto-detect which USB port your machine is connected to. If you have multiple things connected to your USB ports, you may have a few different options to choose from. You can either unplug the other items you have plugged in, or you can try connecting to each one to see if they make a connection.

Click on the refresh button.

At this stage, power on your machine.

Finally, click on the highlighted “Connect” button. If your machine connects successfully, you should see this icon turn orange and you should see in the console output a message like “Grbl 1.1g [‘$’ for more help]”

You will usually hear a gentle hiss and a thump noise when the machine connects.

Press on this icon to connect your machine.

You can now try playing around with moving the machine.

You can jog the machine in the direction you want with the “jog controller”.

The “jog controller” lets you move the machine around.

You can choose the amount that the machine will move in the XY directions by changing the STEP SIZE XY, the amount in the Z direction with STEP SIZE Z, and the feedrate with the FEED RATE boxes.

We recommend starting with 10mm for the XZ and 1mm for the Z step size, as well as 1000mm/min for the feed rate. You can adjust this as needed.

Moving the machine around will be important for when we mount the machine to the wasteboard next!