Fix wording and some typos

main
arne 2022-12-16 12:51:42 +01:00
parent 2c9c1cc843
commit 166af6e9df
1 changed files with 8 additions and 8 deletions

View File

@ -3,20 +3,20 @@ title: App-less Line-us plotter setup
---
# App-less Line-us plotter setup
I have bought a [Line-us plotter](https://www.line-us.com/) a while ago and had some trouble setting it up. After trying different platforms, the only way that worked was using the official app on a Macbook that I had to borrow. I just had to set it up again and, not having access to a Macbook, I consulted the documentation to see whether there was a method to set up the plotter that bypasses using the app altogether, so I could complete the process on my Linux laptop.
I have bought a [Line-us plotter](https://www.line-us.com/) a while ago and had some trouble setting it up. After trying different methods, the only one that worked was using the official app on a Macbook that I had to borrow. I just had to set it up again and, not having access to a Macbook, I wanted to see whether there is an easier approach.
The Line-us has [really good documentation on how to program it](https://github.com/Line-us/Line-us-Programming/blob/85f0c07516337a71be38675f635e6eede61d092d/Documentation/GCodeSpec.md), and it turns out this possible and easy once you know how. This method can be used on macOS as well, and probably on other operating systems with only slight modifications. All you need is:
The Line-us API [is very well-documented](https://github.com/Line-us/Line-us-Programming/blob/85f0c07516337a71be38675f635e6eede61d092d/Documentation/GCodeSpec.md), and it turns out you don't need the app at all. Skipping it is both possible and even easy once you know how. This method can be used on macOS as well, and probably on other operating systems with only slight modifications. All you need is:
- One Line-us
- One device with wifi and a tool to establish TCP connections
## Setup instructions
1. Connect the micro USB cable to power on the plotter
1. Put the Line-us into setup mode by long-pressing the button on its upside
1. Connect your device to the "Line-us setup" wifi network that should have appeared as a result of the previous step
1. Open a terminal and establish a TCP connection via `telnet 192.168.4.1 1337`
1. Type `M587 S"your ssid" P"your password"` and submit using your enter key. Place the actual values for your network between the quotes, which allow you to enter values containing whitespace.
1. Line-us will try to connect to the network.
1. Connect the micro USB cable to power on the plotter.
1. Put the Line-us into setup mode by long-pressing the button on its upside.
1. Connect your device to the "Line-us setup" wifi network that should have appeared as a result of the previous step.
1. Open a terminal and establish a TCP connection via `telnet 192.168.4.1 1337`. A quick aside: What you're seeing at this point is really cool. You're looking at a networked G-Code REPL allowing you to send arbitrary movement commands and make a small robot arm move accordingly. You should try it out with some different commands from the document I linked above, it's very fun.
1. Type `M587 S"your ssid" P"your password"` and submit the command using your enter key, but place the actual values for your network between the quotes. The quotes are not required, but they allow you to enter values containing whitespace.
1. The Line-us will now try to connect to the network.
If the submitted credentials are correct, you will be disconnected from Line-us' wifi network and the button will turn blue and blink red every 5 seconds, which shows that it is waiting for connections.