fablab   fabacademy

Milling PCBs with the Roland Modela

Linked to the Fabacademy electronics production lecture.

Serial communication

To communicate with the program you’ve made you need the ftdi (Future Technology Devices International Limited, you can buy a usb cable with one integrated and it’s like 20 euros) it’s serial communicating over usb with the board. it uses 2 (of 6) pins for the communication (1 sending, 1 receiving)

Brands of microprocessors

Programming interfaces

UPDI (Unified Program and Debug Interface, programming and debugging, newer and more options), ISP (in-system programming, no debugging, for older chips) and JTAG (Joint Test Action Group; debugging interface) are all protocols for programming a micro controller, determined by the chip you’re using.

The boards in the picture above can be found here.

Below the boards for the UPDI and the FTDI connector + UPDI.

UPDI FTDI connector UPDI 2 PIN

The ISP is the ‘Brian board’.

ISP

JTAG boards:

JTAG JTAG

You gotta program them to use them to program others!!!! Otherwise it’s ‘dead material’, it needs instructions. So this is why we’re starting with a programmer PCB. You can’t program with the ftdi but you can use a ftdi cable (later).

Roland Modela

  1. Turn it on > machine automatically goes to machine home, it’s in view mode (can turn that off with the view mode button)
  2. Now replace the milling bit if it’s not the correct one. You can’t release it and let it fall out because it will break; put one finger against the milling bit and take it out in a controlled way

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

  3. The .4mm milling bit we are using is a two flute. Put them in the correct place in the box!
  4. Put the milling bit up all the way in
  5. Start mods (type mods in the terminal) to fire up a serial server connected to the Modela. Select MDX Mill > PCB

    process of pcb milling and soldering with the Roland Modela

  6. Close the pyserial socket (right), open the other serial.js websocket (left)
  7. Go all the way down with the machine (the buttons on the machine, not in mods) and then a little bit higher (can only do this when the milling bit is all the way up). The bit is floating above the material. Now we can lower the bit with support of two fingers to touch the material (the actual material, not the sacrificial layer); wiggle it in case there’s dust so it’s perfectly lying on the material) and then secure it. Always write down the origin! Or take a picture of it. The machine is now ready. Set the origin in mods, so keep changing the values for x and y there until you are where you want to start; don’t use manual move for this.

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

  8. Now you start with the traces in mods (PNG or SVG); one image at the time. White is the area you want to keep. Don’t forget to put DPI as 1000. Put PCB defaults in mm. Cut depth and max depth is 0.003 INCH (numbers from experience); this will cut through the top copper layer. UPDATE 15/02/22: NOW IT’S O.OO2 INCH FOR CUT DEPTH AND MAX DEPTH AND THE SPEED IS 4MM/S FOR A 1 FLUTE 0.4MM MILL.

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

  9. Offset number is the (maximum) amount of traces from the lines you want to keep. 4 is nice, easier to solder etc. 0 takes off everything except for the lines.

  10. Offset stepover is half of the tool diameter so you are sure it takes off everything.
  11. Forget about climb and conventional milling for now. It has to be climb.
  12. Path merge is 1 (diameter of the tool). Path order forward/reverse. Just use forward. If your traces are too close it sort of overlaps itself.
  13. CALCULATE
  14. Cut speed 1mm/s for this milling bit (UPDATE: now 4mm/s)
  15. Web socket > send file and it will start milling straight away

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

  16. Vacuum the dust

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

  17. Now for the cutout you need your other file and the .8mm milling bit and repeat the steps above; speed can be 4mm/s; cut depth is 1,55; .6mm per layer cut depth.

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

  18. Take the PCB out with with the screwdriver.
  19. When the lines are rough you can sand them with regular paper

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

  20. If you didn’t clear out the entire board, make sure to clear out the USB traces (I used a knife for this).

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

To stop the machine (not just pause it), you have to press the UP and DOWN for 10 seconds. The flashing lights indicate the memory is being erased. When it’s done, the lights stop blinking.

Soldering

Steps:

  1. Put solder on the tip of the soldering iron so it’s shiny and smooth (clean first with the metal sponge)
  2. Put tip against the component and the trace to heat them up
  3. Add a little bit of solder and wait till it flows, then add a little bit more solder and let that flow too
  4. Remove the tip and you should have a smooth and shiny connection
  5. Clean the tip with the metal sponge again

It can also be helpful to add a bit of solder to the trace, then add the component, then bring back the soldering iron tip and add more solder.

When you remove the soldering iron too soon (or if you keep trying and fiddling), you get a cold solder joint and that won’t work well:

“A cold solder joint occurs when the solder does not melt completely. A result of insufficient heat, cold joints are often characterized by being rigid, rough, and uneven in appearance. This solder mistake creates an unreliable joint that is highly susceptible to cracking and failure.”

Documentation of the making of my own PCB programmer

UPDI

  1. Soldering the chip (FT230XS microcontroller): since I messed it up Henk fixed it for me.

    henk removing solder process of pcb milling and soldering with the Roland Modela

  2. Soldering the resistors:

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

  3. The capacitors (the capacitors we use are unpolarized so orientation doesn’t matter):

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

  4. The J2 UPDI (Conn SMT 2WAY in the lab):

    process of pcb milling and soldering with the Roland Modela process of pcb milling and soldering with the Roland Modela

Final UPDI:

process of pcb milling and soldering with the Roland Modela