350
edits
Tobiaszimmer (talk | contribs) |
Tobiaszimmer (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
==='''Utility programs'''=== | ==='''Utility programs'''=== | ||
* [[Media:HP7475A_live_input.pde|HP7475A_live_input]] (you have to download the controlP5 library | * [[Media:HP7475A_live_input.pde|HP7475A_live_input]] (you have to download the controlP5 library) | ||
* [[Media:HP7475A_feed_hpgl_file_01.pde|HP7475A_feed_hpgl_file_01]] (no buffer overflow in most cases) | * [[Media:HP7475A_feed_hpgl_file_01.pde|HP7475A_feed_hpgl_file_01]] (no buffer overflow in most cases) | ||
* [[Media:HP7475A_feed_hpgl_file_02.pde|HP7475A_feed_hpgl_file_02]] (no buffer overflow at all (so far), but method seems a bit inefficient) | * [[Media:HP7475A_feed_hpgl_file_02.pde|HP7475A_feed_hpgl_file_02]] (no buffer overflow at all (so far), but method seems a bit inefficient) | ||
Line 17: | Line 17: | ||
==='''Paper Setup'''=== | ==='''Paper Setup'''=== | ||
The HP7475A either takes A4 or A3 paper. The thickness of the paper is very flexible. | The HP7475A either takes A4 or A3 paper. The thickness of the paper is very flexible. | ||
Before plotting on a A3 paper, you need to press SIZE + ENTER on the plotter to change the format. | |||
==='''Pen Setup'''=== | ==='''Pen Setup'''=== | ||
Line 25: | Line 25: | ||
==='''Serial Connection'''=== | ==='''Serial Connection'''=== | ||
You need to find out the | You need to find out the name of the serial port, as which the USB/Serial adaptor is registered in your computer. After connecting the USB/Serial adaptor to your computer, open a new Processing sketch and run the following program. | ||
import processing.serial.*; | |||
println(Serial.list()); | |||
It will display a list of all available serial devices, in the console. In Windows, the ports are named COM1, COM2,... You can try all of them until you find the right one, or check the Windows Device Manager to find out. If you have a Mac, you need to look for a name like "/dev/tty.usbserial..." Copy that name from the console and use it one of the programs that are supposed to talk to the HP7475A. | |||
==='''HPGL'''=== | ==='''HPGL'''=== | ||
Line 36: | Line 42: | ||
Fortunately, there is a HPGL library for Processing, which can convert your sketches to HPGL files. | Fortunately, there is a HPGL library for Processing, which can convert your sketches to HPGL files. | ||
Another approach is to export a .svg file with Processing and to convert it to .hpgl with InkScape. (The files produced by inkscape are not compatible with my “HP7475A_feed_hpgl_file_01” sketch yet). InkScape also has the option to directly send graphics to the plotter, but I had no good experience with that. It also needs original HP Pens (or 3d printed adaptors), as it sends SP; commands, which let the plotter attempt to change the pen, before beginning to draw. | Another approach is to export a .svg file with Processing and to convert it to .hpgl with InkScape. (The files produced by inkscape are not really compatible with my “HP7475A_feed_hpgl_file_01” sketch yet). InkScape also has the option to directly send graphics to the plotter, but I had no good experience with that. It also needs original HP Pens (or 3d printed adaptors), as it sends SP; commands, which let the plotter attempt to change the pen, before beginning to draw. | ||
Line 61: | Line 67: | ||
beginRecord(hpgl); | beginRecord(hpgl); | ||
// your code here (the graphics you want to export as hpgl file) | // your code here (the graphics you want to export as hpgl file) | ||
// make sure that nothing is drawn outside of the canvas. The plotter seems to have problems with that. | |||
endRecord(); | endRecord(); | ||
} | } |
edits