Difference between revisions of "Fab modules - compiled version"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
Line 39: Line 39:
 
*Change port="/dev/ttyUSB0" to port="/dev/ttyS0"  
 
*Change port="/dev/ttyUSB0" to port="/dev/ttyS0"  
 
*/dev$ sudo chmod 0766 /dev/usblp0
 
*/dev$ sudo chmod 0766 /dev/usblp0
 +
 +
Go to the root
 +
cd ..
 +
cd ..
 +
cd ..
 +
 +
*Open the send_rml with gedit program
 +
 +
cd /usr/local/bin
 +
Write
 +
sudo gedit rml_send
 +
 +
In the gedit program
 +
 +
if [ $# -eq 1 ]
 +
  then
 +
      port="/dev/ttyS0" 
 +
  else
 +
#fg breyttiport=$2
 +
 +
      port="/dev/ttyS0" 
 +
  fi
  
 
== CAMM settings  ==
 
== CAMM settings  ==
Line 93: Line 115:
 
<br>  
 
<br>  
  
== Settings for the laser ==
+
== Settings for the laser ==
  
 
*How to get Epilog laser running on net with Ubuntu  
 
*How to get Epilog laser running on net with Ubuntu  

Revision as of 16:01, 26 January 2012

This is how I installed the Fab Modules on Ubuntu and it seems to work. I got this tutorial on

  • fab modules
cd ~/Desktop
mkdir fabmodules
cd fabmodules
wget http://kokompe.cba.mit.edu/dist/fab.zip
unzip fab.zip
chmod +x bin/*
sudo mv bin/* /usr/local/bin
  • graphing and interface modules
apt-get -y install python-wxtools
  • Install: Python wxPython GCC libpng Make BASH
apt-get install python python-wxgtk2.8 gcc libpng12-dev make bash


Run the Fab Module

And to run the Fab module simply write in the Ubuntu terminal:

fab

and press enter from what you are going to do with it.


Then you can select from different options

Modela settings

not working at the moment......

  • Change port="/dev/ttyUSB0" to port="/dev/ttyS0"
  • /dev$ sudo chmod 0766 /dev/usblp0

Go to the root

cd .. 
cd ..
cd ..
  • Open the send_rml with gedit program
cd /usr/local/bin

Write

sudo gedit rml_send

In the gedit program

if [ $# -eq 1 ]
  then
     port="/dev/ttyS0"  
  else

#fg breyttiport=$2

     port="/dev/ttyS0"  
  fi

CAMM settings

  • To make it work with the vinyl cutter:
  • First find out how the vinyl-cutter is connected, (what is the name of the usb port?)
cd ..
cd ..
cd ..
  • Until you are on the root
  • then write
/var/log$ dmesg
  • Turn on the vinyl cutter and
/var/log$ dmesg
  • Then you will see the name of the USB port that the vinyl cutter uses
  • Turn of the vinyl cutter and
/var/log$ dmesg

Then you will see the name of the USB port that the vinyl cutter uses

Then you should change the permisson

/dev$ sudo chmod 0766 /dev/usblp0
  • Open the send_camm with gedit program
/usr/local/bin$ sudo gedit camm_send
*Change the name of the port to the one you will be using
port="/dev/usblp0"

then you can check how it works in the fab module

fab

Setting on the CAMM

Ritural to make sure the vinyl cutter accepts force settings:

  • 1.Keep MENU/PARAM and cursor LEFT,RIGHT key down and turn power on.
  • 2.Select "!FScmd" by dial.
  • 3.Select parameter field by MENU/PARAM key.
  • 4.Select "ON" by dial.
  • 5.Push ENTER key.
  • 6.Turn power off.


Settings for the laser

  • How to get Epilog laser running on net with Ubuntu
    • Be sure the Epilog is on and connected.


      • · System -> Administration -> Printing ->
      • · Server->New Printer
      • · Select Devices -> Network Printer
      • · Host 192.168.12.236
      • · Queue queue -- Forward
      • · Select printer from database ->Generic -- Forward
      • · Models Raw queue --Forward
      • · Printer name laser -- Apply


  • If you use the USB connection you will only be able to "print" from one computer. †If that's ok, then just use Ubuntu's regular "add printer", select USB, and otherwise select RAW driver. †Name it "laser", which is what cad.py is looking for. †(Cad.py doesn't know how it's hooked up only it's name).
  • yeah, call them laser1 and laser2 or something. For host you will need to select the 2 ip addresses that the lasers have when you plug them into the network-- may not necessarily be 192.168.12.236.


Here's how to find the IP address of the Epilog Mini once it's on the network


Mini/Helix:

    • 1. Quickly depress and release the “Go” and “Pointer” buttons simultaneously to display the “Functions Menu”
    • 2. Continue to press the “Go” button until the IP Address is visible and note the address.
    • 3. Continue to press the “Go” button until the display reads “GO/SAVE” and then press “Go” to return to the jobs screen.

(http://www.epiloglaser.com/tl_troubleshoot_directnetwork.htm)

  • then in fab_send (/usr/local/bin/fab_send) you have to change the laser name from 'laser' to 'laser1' or whatever you named the one you want to print to that computer from with.


Conversion from dpi (Dots per Inch) to millimeters (mm)

  • 500 dots per inch equals to 19.67 dots per mm.