https://github.com/creativeinquiry/mh871-plotter
https://github.com/creativeinquiry/mh871-plotter
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/creativeinquiry/mh871-plotter
- Owner: CreativeInquiry
- Created: 2016-06-17T05:23:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-17T05:58:42.000Z (about 10 years ago)
- Last Synced: 2025-07-22T18:40:01.755Z (11 months ago)
- Language: Processing
- Size: 36.6 MB
- Stars: 3
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MH871-MK2 Pen Plotting Templates
Basic templates for the US Cutter MH871-MK2 pen plotter, intended for Golan Levin's intermediate creative coding class' #plottertwitter project.
2016 [Johanna McAllister](https://github.com/sarjomac), et al.
The setup instructions for US Cutter MH871-MK2 pen plotter adapted from the directions of [Dan Moore](https://github.com/danzeeeman/ofxMH871)
#MH871-MK2
The MH871-MKII supports the HPGL (Hewlett-Packard Graphics Language) and uses a limited subset of the HPGL standard:
1. Initialize the machine- IN;
2. Pen Up command - PU
2. Pen Down command - PD
3. Pen moves to x,y position, absolute from origin - PAx,y
4. Pen moves to x,y position, relative from current position - PRx,y
## HOW TO SETUP CONNECTION TO PLOTTER
### Connecting to the device
Please look in [/manuals](https://github.com/CreativeInquiry/-plottertwitter-Templates/tree/master/manuals) for the MH871 manual and how to setup the Mk2 on OSX.
* if you are using a Keyspan Adapter, [install the Keyspan driver](http://www.tripplite.com/support/downloads/tab/1/mid/USA19HS) for your adapter's specific model
#### Connect to the MH871-MKII Pen Plotter via the COM port. This will require a USB to Serial device.


#### Power on the Plotter

#### Press the Setup Button

#### Change the Serial BaudRate to 19200

#### On your Mac or Linux Terminal
bash$ ls /dev/tty.*
#### Copy the name for your USB to Serial Device for when you setup the MH871 object
e.g. "/dev/tty.KeySerial1"
in ofx:
string serialPort = "PASTE SERIAL NAME HERE"
plotter.setup(serialPort)
in processing:
String serialPort = "PASTE SERIAL NAME HER";
plotterPort = new Serial(this, serialPort, 19200);
For ofx, download and use Dan Moore's [openFrameworks addon](https://github.com/danzeeeman/ofxMH871). Move it to your addon folder.
This addon drives the [MH871-MKII Pen Plotter and Vinyl Cutter](http://www.uscutter.com/USCutter-MH-Series-Vinyl-Cutter-w-VinylMaster-Cut-Design-Cut-Software)