How to use the Modela: Difference between revisions

From Fab Lab Wiki - by NMÍ Kvikan
Jump to navigation Jump to search
updating the file for Fab Modules
Line 7: Line 7:
# Design the circuit board or select and download a cad file from the hello-world circuits section on the http://fab.cba.mit.edu/about/fab/ or from [[hello world electronics]]
# Design the circuit board or select and download a cad file from the hello-world circuits section on the http://fab.cba.mit.edu/about/fab/ or from [[hello world electronics]]
# Stick a piece of the PCB copper plated stock onto the cutting plane at the 1,1 inch intersection on the grid.  
# Stick a piece of the PCB copper plated stock onto the cutting plane at the 1,1 inch intersection on the grid.  
# Open Cad.py software
# Open fab [[Fab modules]] software
# Click input and get the design file (.cad file) or a pre-designed png file.  
# Click input and get the design file (.cad file) or a pre-designed png file.  




=== Make the toolpath ===
=== Make the toolpath and mill a circuit ===
# Open CAD.py in a Linux Terminal or click on the shortcut launcher in desktop.
# Open [[Fab modules]]  in a Linux Terminal by writing fab or click on the shortcut launcher in desktop.
#From format: design.cad to process, Roland Modela .rml and then clik make_cad_rml
#Load cad, select the right file.cad
#Select mill traces (1/64)
# Make the toolpath for the circuit. Use a 1/64" tool, which is 0.0156" decimal.
# Make the toolpath for the circuit. Use a 1/64" tool, which is 0.0156" decimal.
# Click CAM
#Go to the text area and uncomment the "#" and remove the "#" in front of output="traces" (* The "#" symbol is a comment, which will ignore the line of the command after the sign.  
# Click Output format and choose .rml (Modela)
)
# If you're using a circuit board written in Python, you'll find a line near the bottom saying "#dpi = 500 ".
#click on make_png
# Move the ("#") sign to the line above which is "dpi=200
#change the offset to 8
#* The "#" symbol is a comment, which will ignore the line of the command after the sign.  
#* Use "dpi = 200 # low resolution for previewing" for previewing toolpath contour
#* Use "dpi = 500 # high resolution for machining" actual rendering and sending to Modela (takes longer to render)
# Set contours to -1 (meaning infinite)
# Click Contour
*This will set the toolpath for the file
 
 
[[Image:Cam circuitcut1.png|thumb|350 px|right|Milling the circuit itself]]
 
[[Image:Cam circuitcut2.png|thumb|350 px|right|Cutting out a circuit board]]
 
=== Milling a circuit ===


# Go to "view mode" by click on the view button on the Modela
# Go to "view mode" by click on the view button on the Modela
##Press view on the Modela machine
# Tape down copper board at o,o position ( 1 inch x 1 inch from bottom left corner)
# Tape down copper board at o,o position ( 1 inch x 1 inch from bottom left corner)
# Put 1/64 inches bit in the modela, which is 0.0156" decimal. Set it up as high as you can in the machine. Loosen existing bit with provided allen wrench.
# Put 1/64 inches bit in the modela, which is 0.0156" decimal. Set it up as high as you can in the machine. Loosen existing bit with provided allen wrench.
# Clear out the memory of the Modela, by holding the both ""up" and "Down on the machine
# Clear out the memory of the Modela, by holding the both ""up" and "Down on the machine
# Open file in cad...follow instructions "Make a toolpath"
 
# Set the x,y axis starting point on the project to 1, 1 on the control panel in cad and then click "move"
#Write correct xmin and ymin, depending on where the board is (e.g. 70 and 20)
# Lower bit close to the corner (1,1) by pressing the "Down" button. Be sure to not let the bit touch the surface.  
#Click on make_path button
#Click make_rml
#Go to the modela and lower the bit by pressing Down button but be careful, the  leave at a least 5 mm above the lowest point.Be sure to not let the bit touch the surface.
#Loosen the bit until it touches the board, but be careful and hold your finger at the bit while doing it.
# Loosen the hex screw that holds the bit and lower it until it touches the top surface of the board.
# Loosen the hex screw that holds the bit and lower it until it touches the top surface of the board.
#* Lower it slowly so the bit doesn't fall into the board and break.
#* Lower it slowly so the bit doesn't fall into the board and break.
# Now that the bit is at surface level, tighten screw.
# Now that the bit is at surface level, tighten screw.
# Open cad again and then send to machine.
# Grab a coffee, it's going to be a long night.


#Click send it!




=== Cut out the Board from the PCB ===
[[Image:Cam circuitcut1.png|thumb|350 px|right|Milling the circuit itself]]


# Press view button to move PCB forward. Be careful not to move board around in process.
[[Image:Cam circuitcut2.png|thumb|350 px|right|Cutting out a circuit board]]
==Cut ot the board
# Press view button on the modela to move PCB forward. Be careful not to move board around in process.
# Clean up any shavings from first mill.  
# Clean up any shavings from first mill.  
# Change bit to the 1/32 inch bit (0.0312 )
# Change bit to the 1/32 inch bit (0.0312 )
#* Be sure it doesn't fall out and break
#* Be sure it doesn't fall out and break
# Open back up cad.py software
#Go to the computer again in Fab Modules, change from mill traces to cut out board (1/32)
# Change tool diameter to 0.0312
# Change number of contours from -1 to 1
# Change xy speed: to 0.5 and z speed: to 0.5
# Remove the "#" in front of the lines...
# Remove the "#" in front of the lines...
  #cad.function = pcb.interior
  #output= interior
#z = -.065
# Write # infront of output=traces
# Press contour to render contour lines for cutting out the board.
#Click make_png
# Press the view button place machine back in cutting mode and out of view mode.
#Click on make_path
# In program cad.py move board back to position 1, 1 by clicking the "move" button in the program.
#Click on make_rml
* repeat steps above to set bit
#Click move to xmin,ymin
  Lower bit close to the corner (1,1) by pressing the "Down" button. Be sure to not let the bit touch the surface.  
# Go to the modela and  Press the view button place machine back in cutting mode and out of view mode.
  Loosen the hex screw that holds the bit and lower it until it touches the top surface of the board.
#lower the bit by pressing Down button but be careful, the  leave at a least 5 mm above the lowest point.Be sure to not let the bit touch the surface.  
  Lower it slowly so the bit doesn't fall into the board and break.
#Loosen the bit until it touches the board, but be careful and hold your finger at the bit while doing it.
  Now that the bit is at surface level, tighten screw.  
# Loosen the hex screw that holds the bit and lower it until it touches the top surface of the board.
* Once bit is ready click on "send to machine"
#* Lower it slowly so the bit doesn't fall into the board and break.
* Press the view button to enter view mode and remove your new PCB Board
# Now that the bit is at surface level, tighten screw.
# Once bit is ready click on "send to machine"
# Press the view button to enter view mode and remove your new PCB Board
# Grab a coffee, it's going to be a long night.
 
 





Revision as of 14:17, 14 November 2013

Roland Modela can be used to mill circuit boards.

Step by Step


Modela buttons, from top: Power, View, Up, Down
  1. Design the circuit board or select and download a cad file from the hello-world circuits section on the http://fab.cba.mit.edu/about/fab/ or from hello world electronics
  2. Stick a piece of the PCB copper plated stock onto the cutting plane at the 1,1 inch intersection on the grid.
  3. Open fab Fab modules software
  4. Click input and get the design file (.cad file) or a pre-designed png file.


Make the toolpath and mill a circuit

  1. Open Fab modules in a Linux Terminal by writing fab or click on the shortcut launcher in desktop.
  2. From format: design.cad to process, Roland Modela .rml and then clik make_cad_rml
  3. Load cad, select the right file.cad
  4. Select mill traces (1/64)
  5. Make the toolpath for the circuit. Use a 1/64" tool, which is 0.0156" decimal.
  6. Go to the text area and uncomment the "#" and remove the "#" in front of output="traces" (* The "#" symbol is a comment, which will ignore the line of the command after the sign.

)

  1. click on make_png
  2. change the offset to 8
  1. Go to "view mode" by click on the view button on the Modela
    1. Press view on the Modela machine
  2. Tape down copper board at o,o position ( 1 inch x 1 inch from bottom left corner)
  3. Put 1/64 inches bit in the modela, which is 0.0156" decimal. Set it up as high as you can in the machine. Loosen existing bit with provided allen wrench.
  4. Clear out the memory of the Modela, by holding the both ""up" and "Down on the machine
  1. Write correct xmin and ymin, depending on where the board is (e.g. 70 and 20)
  2. Click on make_path button
  3. Click make_rml
  4. Go to the modela and lower the bit by pressing Down button but be careful, the leave at a least 5 mm above the lowest point.Be sure to not let the bit touch the surface.
  5. Loosen the bit until it touches the board, but be careful and hold your finger at the bit while doing it.
  6. Loosen the hex screw that holds the bit and lower it until it touches the top surface of the board.
    • Lower it slowly so the bit doesn't fall into the board and break.
  7. Now that the bit is at surface level, tighten screw.
  1. Click send it!


Milling the circuit itself
Cutting out a circuit board

==Cut ot the board

  1. Press view button on the modela to move PCB forward. Be careful not to move board around in process.
  2. Clean up any shavings from first mill.
  3. Change bit to the 1/32 inch bit (0.0312 )
    • Be sure it doesn't fall out and break
  4. Go to the computer again in Fab Modules, change from mill traces to cut out board (1/32)
  5. Remove the "#" in front of the lines...
#output= interior
  1. Write # infront of output=traces
  2. Click make_png
  3. Click on make_path
  4. Click on make_rml
  5. Click move to xmin,ymin
  6. Go to the modela and Press the view button place machine back in cutting mode and out of view mode.
  7. lower the bit by pressing Down button but be careful, the leave at a least 5 mm above the lowest point.Be sure to not let the bit touch the surface.
  8. Loosen the bit until it touches the board, but be careful and hold your finger at the bit while doing it.
  9. Loosen the hex screw that holds the bit and lower it until it touches the top surface of the board.
    • Lower it slowly so the bit doesn't fall into the board and break.
  10. Now that the bit is at surface level, tighten screw.
  11. Once bit is ready click on "send to machine"
  12. Press the view button to enter view mode and remove your new PCB Board
  13. Grab a coffee, it's going to be a long night.



Finish

  1. Clean the shavings with a vacuum cleaner
  2. Clean the circuit board with water and soap. This prevent future corrosion


If something goes wrong

If something goes wrong during the milling process press the view button on the machine. To clean out the memory of the machine press and hold the Up and Down button at the same time until the LED besides the view button stops blinking.


If for some reason the above doesn't work (and it doesn't always-- especially with the modela print queue) you want to try to find other processes running on the computer and kill them. For example "cat" and "ttyS0" are the processes used for the Modela milling, so these are usually the processes that you need to kill. To find them and kill them, type the following into the terminal:

ps -ef | grep ttyS0  

(ps here represents "processes", and -e represents "everything", f represents full details on those processes, so this represents a global search on your computer for all the processes running related to the ttyS0 port)

This will show you what process is running in ttyS0, which is the port the modela is connected to. When you see the process number you type at the prompt:

kill -9 PID  (PID=process ID number)

Then check again to see if any "cat" process is running:

ps -ef | grep cat

(cat executes a command)

If you see a cat process running kill that too:

kill -9 PID 

Then reset the Modela by holding down the up and down buttons at the same time, and when the light stops blinking you're reset.

Cad/Cam info

If you have the file.rml ready

If you have the file.rml ready and don't want to go to all the steps again you can open the terminal and write

cat file.rml > /dev/ttyS0


Using Eagle

A nice tutorial about this was written by people at the Delhi Fab Lab. It should be uploaded.