Yoshihiro Asano

FabAcademy2016 from Fablab Kamakura

Electric Production


◆ Making milling data

Download and edit png files.

We(from FablabKamakura) decided to make hello.ISP with resonator.
First, download traces and interior png files from Class page.
I add my name to original data with Illustrator.

Process files in Fabmodules.

Fabmodules is browser based wide-use CAM for digital fabrication machines.
This time I make .rml(Roland Mill) file from .png for SRM-20.

  1. input format. → image(.png)
  2. select png file in your PC.
  3. output format. → Roland mill(.rml)
  4. traces → PCB traces(1/64)
    interior → PCB outline(1/32)
  5. choose your machine → SRM-20
  6. set x0,y0,z0 = 0.
  7. change other properties.
  8. ※traces → cut depth = 0.2
  9. click [calculate] button.
  10. check the path and save it.

◆ Let's mill it with SRM-20!


  1. stick copper board on waste board on base panel.
  2. set base panel in SRM-20 main body.
  3. set 1/64 bit with hex wrench.
  4. connect SRM-20 to PC, and open software(V-panel for SRM-20).
  5. move head and set current XY position as XY origin.
  6. with holding mill, loosen fixing screw. then, hit the tip of mill against copper board softly.
  7. set current Z position as Z origin.
  8. load .rml file and run.

◆ My mistake


Outside path doesn't match. I don't know why, so I check .rml files.

How to read .rml file

I search and find some references.
According to this page...

Finally, I found the maximum value of Y-axis is strange.
Inner maximum is larger than outside of it!
So I think I mistook at setting origin.

Resolution issue


I made another data and run, then I found resolution is so important.
Different resolution makes defferent path, although other properties are same.

I made path file with not original resolution, and got some problem on board.
If you want to edit existing .png file, you have to set same resolution.

◆ Soldering


Soldering is from inside to outside!

◆ Programming

It needs long process..

Make ribbon cable

Through 6 cables to connector

Program firmware

I read FabAcademy's tutorial page.(walkthrough via Arduino UNO)
※Before start, you need to download Crosspack AVR X code fab_ISP_mac_0.8.2
  1. unzip firmware, and go that directory via terminal.
  2. type "make clean"
    → Error "Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo."
    → I need to open X code, and agree terms(http://qiita.com/kazoo04/items/880283612abd85c0610a)
  3. type "make fuse"
    → Error "avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)".
    → I need to connect device.(=Arduino UNO)
  4. Open "Arduino ISP" program from Sketch examples.
  5. Connect Arduino and FabISP via ribbon cable.
    • Slave Reset(RST) - pin10
    • MOSI - pin11
    • MISO - pin12
    • SCK - pin13
    • V - 5V , GND - GND
  6. upload ISP program for Arduino
    →avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
    → need to fix makefile configuration for avrdude

    Comment out exisiting #AVRDUDE lines,and write following one.
    "AVRDUDE = avrdude -c stk500v1 -b19200 -P /dev/tty.usbmodem1411 -p $(DEVICE)""
  7. type "make fuse" again.

Finish

Get rid of 0 ohrm resiters, that'all!


Extra Error

In week8, I want to use FabISP as a programmer, but a problem happened.
If success, we can see FabISP in Mac System profiler > Hardware > USB > Hub.
But first time I cannnot find it.

I search for the way to solve and find Shino Onodela's page.
She wrote "Open terminal and type "system_profiler SPUSBDataType" .


After that, I can find it! yahoo!

◆ Data

trace png
trace rml
interior rml