emeteuz Blog
  • About
  • News - Blog
  • TAC Residency
    • AIR Cycle 6 Artists
    • Spinning
    • Natural Dyes
    • Indigo
    • Workshop Planning and teaching approaches
  • Woven Signals
    • Concept
    • Mood-board
    • Research
    • Proof of Concept
    • Weaving soft circuits - Tests
    • Preparing custom conductive thread
    • Double Weave - On the Loom
    • Textile Pixels Controller
    • Making bobbins on the lathe
    • Prototype
  • Projects
    • Textile >
      • Origami Fabric #1
      • Origami Fabric #2
      • Parametric Landscapes
      • Skullwall Blanket
      • 3D Printed Textiles
      • Draping in Rhino3D
      • Weaving a touch sensor
      • Hugging Switch
      • Embroidered 555 timer
    • Wood >
      • Wooden Collar
      • Wooden Waves
    • Interactive >
      • Physical Equalizer >
        • Physical Equalizer Parts
      • WIKIPI.ME
      • Interior Weather
      • Gif Booth
      • Biomechanics
      • The Way Things Go
      • Microscopic Camera Tests
      • Physical Computing Labs
      • Processing Labs
      • Interactive Live Game
    • Paper >
      • Panther
      • Happy Ducks A Love Story
      • Triangle Shirtwaist Company Fire
    • Video and Sound
    • Animation
  • Process
    • Digital Fabrication >
      • Printing from a 3D scan
      • CNC Tests
      • CNC Surfacing - Test
      • Pumpkin
      • Parametric Design using data
      • SVG to UvertexList
    • Circuit Prototyping >
      • Variable Voltage Regulated Power Supply
      • 555 timer - LED flasher
      • Operational Amplifier
      • Protective wearable
      • Operational amplifier
      • Kinetic Energy
      • Energy and Wearables
      • Installing the Roland Modela
      • Tutorial - Setting up the Roland for milling
      • Tutorial - Milling circuit with the Fab modules
      • Tutorial - Solder Stencils with Eagle and the Silhouette Cameo

Circuit Prototyping Station

For the six mouths, most of my work with circuitry has be related to set up the circuit prototyping station.

My project Protective wearable led me to work with surface mount circuits. In the meantime Eric Rosenthal needed help to set up a circuit prototyping station at ITP. So I worked with him as a student researcher on the following:


  • installing the Roland milling machine;
  • creating tutorials for milling circuit boards;
  • creating a tutorial for surface mount solder stencils;
  • creating tutorials to set up the Roland for milling.

Here is a summary of the Roland installation process.
The Roland milling machine
the Roland the circuit milling machine used in most of the Fablabs part of the MIT network. The machine uses RML language to transform traces into paths for the milling.
Photo
MIT has developed the Fab Modules to generate files for the Roland. You can find details on the Kokompe website. Before I learned about the modules, I made research and found this tutorial made by a Mishihito Mizutani. I started by working with this option.


PAJA tutorial

Mishihito created this tutorial before the Fab modules were developed. This tutorial shows how to use a DRC (Design rule check) and a ULP in Eagle to export files for the milling and the drilling of circuit boards.

I tested it in Eagle while resident Ben Light was installing the machine. We managed to have it worked. But here are some comments about this process option:

  • There is a series of upload and file modifications to do so Eagle can run the ULP and the DRU properly.  Once you have done those the process work but we thought there were a bit tedious.

  • The process worked well with through hole circuits, but does not work well as soon as the board design is more complex. There are issues with the tolerance and the bit size. This has an impact on the board design and we thought we should try to use a better way to mill.

Using this option is tedious as there are a lot of adjustments to make for every board we want to mill. So, I contacted the person who created this tutorial, Michihito Mizutani and he told me he does not use it anymore. He strongly suggested we use the Fab Modules created by MIT.

I anyhow adapted his tutorial for ITP. You can consult it here.



The Fab modules

MIT Center for Bits and Atoms developed a set of modules to work with the Roland. It is called the Fab modules. 


On OSX 
As most of the students use Apple computers, I tried to install the fab modules on a Macbook pro. It did not work as it is getting more and more difficult to install that type of applications in OSX. The Fab modules installation instructions are not up to date and it was not possible for me to install it on a Mac.

On Ubuntu
I decided to make a little survey to see which operating system was the most used in the Fab Lab network.

Chigaco Fab Lab
Contact: Rabiah Mayas (rabiah.mayas@msichicago.org)
They use the modules on Windows, but they recommended to use them on Ubuntu, as the Windows installation is very hard.

Fablab Manchester
Contact: fablabmcr@manufacturinginstitute.co.uk
They use the fab modules on Ubuntu.

AS220 Providence
Contact: James Rutter - cellphone: 408-728-4434, office: 401-831-9327 #203
They use the fam modules on a dual boot PC using Ubuntu. James said it was very easy and recommended we use this option.

Fab Lab Lima, Peru uses Ubuntu as well.



Installing the modules

Ubuntu first attempt
To make some tests without preventing people to use the Roland, we bought a pc on which I could install Ubuntu.

I installed Ubuntu from a usb with this tutorial. And it was very easy.
Then, I installed the dependencies needed to run the fab modules. It runs on Linux and it was to first time I installed stuff that way. It took a while to find the proper version of Python, error messages kept coming, but I found it after couple of tries.

Python
wxPython
NumPy
GCC and G++
libpng
GIFLIB
Make
BASH
Okular
Boost (headers, thread, and system library)
cmake

You can install all of the dependencies with the command:
sudo apt-get install python python-wxgtk2.8 python-dev python-pip gcc g++ libpng12-dev libgif-dev make bash okular libboost-thread-dev libboost-system-dev cmake

I tried to compile the modules, but it did not work. I kept having the same error:


/usr/bin/ld: libfab.a(fab.c.o): undefined reference to symbol 'sqrtf@@GLIBC_2.0'

/lib/i386-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line


I then asked a linux programmer the have a look, Gal Gasson. He managed to compile the modules on his computer.
Here are the steps to install the pre-compiled files on Ubuntu:
fab_modules.tar.gz
File Size: 4117 kb
File Type: gz
Download File


1 - Unzip the pre-compiled package:

 # tar -xzf fab_modules.tar.gz


2 - Modify the .bashrc
Access and modify the .bashrc with this command:

#nano ~/.bashrc


3 - Then add the line "export PATH=$PATH:/home/itp/Desktop/fab_modules/bin"
(*edit this line so it fits with the location of yor bin directory on your computer)

I managed to run the fab modules on the computer. Now I needed to try it on the computer connected to the Roland. 



Installing dual boot and Ubuntu

We decided to install the dual boot on the computer that is currently connected to the Roland, so we would not have to reinstall the Roland software on the Windows side.

Backing up the hard drive
To make sure we would not loose any of the work that was done on the computer, I decided to back up the entire computer using a system image. Here is the tutorial.

Partition the drive
Then, I needed to partition the hard drive to allow space for Windows 7 and Ubuntu.
I used this tutorial. The partition and installation worked fine.

Installing the Fab modules
I reinstalled the fab modules on this computer using the same steps as before, using the precompiled modules from Gal.


Connecting the computer to the Modela
To send data from to modules to the modela, I needed to make sure the modela and the computer can have an handshake. To do so, I needed to find on which USB port the Modela is connected. 

To know if the computer recognize the usb port on which the modela is connected, I used gtkterm. 
Once the connection is confirmed, I have to give the computer the authorization with this command:

sudo chmod 777 /dev/ttyUSB0

Now, the computer will be able to communicate with the Roland directly through the USB Port. We might have to reenter this command sometimes when the computer has been used on the Windows side and we want to use it again on the Ubuntu modules.

Milling circuits

Here are some tips on milling from the Fablab network
.

When I started to make tests with circuits, something weird was happening. The paths were clearly wrong. 

I tried with the old version of the Fab modules from a file sent by AS220. I also tried with the latest version installed from the pre compiled files by Gal. The same problem was happening.

Photo
Photo
Photo
Photo
Photo
The paths generated were clearly not right. I though it was in the modules so we tried several versions. 

We tried with the Roland software called Dr. Engraver and it worked well.
Photo

Problem in sending the file to the Modela
This gave me the idea to check if it was in the sending that the problem was.

So I checked if the baud rate of the computer was the same as the Roland and it was, so that was not the problem.

Than I searched for an application that would allow me to take the file generated by the Fabmodules and send it to the Roland.

I also contacted Mishihito and he confirmed he had the same problem!!! He told me he uses the Fab modules to generate the files in Ubuntu, then switches to Windows to send them to the Roland.

And it works perfectly well!
Photo
Photo

I created two tutorials to mill circuits:

- On Ubuntu and the Fab modules;
- In Eagle.

Powered by Create your own unique website with customizable templates.