<<<<<<<=Go Back To Home <<<<<=Previous Week || Next Week>>>>>

Week 5 : Electronics Production



Introduction

The week started with a Basic Electronics Class from one of our Instructors Vinod . It was all about fundamentals of Electronics followed by the overview and descriptions of Electronic components like resistors, capacitors, inductors, transistors etc. The class also covered the micro controller, micro processor part , along with the function of all the pins like MISO, MOSI, SCK(clock) , Input/Output pins, reset pin etc. He also explained about all the PCB milling materials, different tool bits used for milling, then about the Roland Milling machine and about setting up the tool.

This week I was prepared for anything as I am a Noobie to the Electronics field and expected it to be tougher than normal.

PCB Milling

Roland Modela

At our Fablab we have a Roland Modela Milling Machine.

Roland Modela brochure

The tool bits we use are the two kinds of endmills, 1/64" for mmaking the traces to the boards and 1/32" to cut the boards. End Mill tools are those tools different from other drill bits , and they have tooth on the sides. On action they rotate and cuts the PCB to move the residue up through the tooth path.

toolbits

The tool bits

Selecting the Brian's ISP

Going through our Schedule of Week 5 assignments, read about different ISPs made in fab academy. Brian's one is the simplest and tidiest with less space.

aftercut

Fab Module

Unlike for the vinyl cutting we used the online version of Fab Module to make all the settings for milling the PCB. I downloaded the png file of usb trace from Brian's page and also the cutting outline image.

fab1

The trace image was opened in the Fabmodule

fab2

Roland Milling Machine .rml output file was selected

fab3

Pre-settings for the 1/64" was selected.

fab4

Output machine was selected as MDX-20

fab6

Origin was set with x-axis and y-axis, the speed was set to 3

fab7

The depth of cut was 0.1mm, number of offset was given 4, offset overlap 50% and error pixels 1.1

fab8

When calculating the process, we get a tool path during the machining.

fab9

After making the circuit on the board, we now have to cut the USB outlinefrom the board. So i opened the cuting outline image on Fabmodule

fab10

The Origin was set the same as our trace image, the depth of cut was given 0.6mm and offset as 1.

Setting the Machine

  • In our Fablab we use FR-1 material to print the PCB, FR-1 is a flat piece of board that consists of a thin layer of copper (about 0.8mm) over a non-conductive phenolic resin bottom. I took this material and cleaned it all along with a piece of cloth along the copper surface.

  • Now going to the Rolland Modella Machine, there is a bed to keep the PCB for machining. Before starting it is really important to have the bed levelled, Even a 1mm level difference is a huge difference when it comes to milling the PCBs, it will result in broken endmills or uneven PCB surface. The bed should be flat and steady to make the right cut on the copper surface. So our Instructor took of the bed and cleaned its surface, he set up the bed.

  • While sticking the PCB to the board, we should make sure that there are no air bubbles or dirt, otherwise it could affect the depths of the cut.

  • Fixing the tool bit to the tool head was a hectic process at first, an allan-key is used to tighten and loosen the tool from the tool head. And we should make sure that the tool is fixed properly, otherwise it would broke the tool during machining. The tool must be tightened slowly and alternatly on both sides so that it ends at the center and the length of the tool to the cutting surface should be half or less than half to avoid vibration of the tool.

  • machine bed

    Machine bed with sacrificial layer on top of it and PCB on top of sacrificial layer

    machine bed2

    Sticking the PCB on the sacrificial layer with double sided stickers

    toolhead

    Tool Head

    setting tool

    Setting the tool

    Group Project

    Characterizing the specification of our PCB production process

    While milling with the tool bit 1/64" we found that it is only able to mark trace upto 0.20, It doesnt have the accuracy to mill the thickness of 0.001 and 0.01.

    groupproj

    groupproj

    Group Project

    Making the Circuit board

    We use 1/64" tool bit for the tracing through copper. The tool was fixed and i entered the image input, then changed the process to 1/64" milling , made the speed to 3, cut depth 0.1mm and made the cut. All was safe and the tracing was perfect. The machine finishes of all the unwanted copper from the board to make the circuit.

    Making the cut for the USB outline

    We usel 1/34" tool bit for the cutting of the board for making my ISP usb. I changed my tool and changed the procees to 1/34" millling, there was my PCB. I took the cut piece and cleaned it, now its time for some soldering.

    aftercut

    End Product after the milling process

    Making the In System Processor ISP usb

    First i collected all the required SMD (surface mount) components from our Electronics rack

  • 1x ATtiny45 (IC)
  • 2x 499 ohm resistors
  • 2x 49 ohm resistors
  • 2x 3.3v zener diodes
  • 1x red LED
  • 1x green LED
  • 1x 100nF capacitor
  • 1x 2x3 pin header
  • Tools : Soldering Station, soldering lead , soldering gun, tweezers, flex, de-solder and a Magnifying lens plus lamp, also a step- down transformer for the soldering station.

    soldertools

    Tools and apparatus for soldering

    I started soldering with IC first, it was quiet easy, we should have to just check the orientation of the IC while placing on the PCB. Then i took the two zener diodes, diodes are very small and the polarity is so difficult to see without the magnifier. It took me some time to solder them. And i soldered resistors, then capacitor , Leds and then atlast the Pin. I later came to know that I placed green and red LEDs in the wrong order, And also the solder on my Pin was not perfect at first.

    I followed Brian's page for all the finishing on my solder work, i flow some solder onto the USB contacts on the board to build them up a little bit. Heated the pad and apply solder, moving the iron tip along the pad to distribute it. Once you have enough solder, wipe the iron tip across the pad in one continuous motion to even it out into a smooth layer. If you don't get a smooth layer, you need more flux: clean off your iron tip on the sponge, apply a little more solder to the pad, and wipe across it again. Excess solder will come away on the iron. Eventhough i tried to make it tidy, mine was only just okay . Then i checked all my connections and the connection between the Vcc and Ground Gnd with a multimeter.

    isp

    My ISP after soldering

    isp2

    Zoomed picture

    ISP Programming

    After all the physical setup of my processor, now i have to flash it with a programmer to make it work. For programming my ISP, i took the ISP of my Instructor Yedu. So first I connected the jumper wires from my ISP Ic to other programmer ISP, Matching all the pins.

    I installed the AVR with the command
    sudo apt install avrdude gcc-avr avr-libc make
    on the terminal.

    Downloaded the firmware source code and extract the zip file.

    Open your terminal

    Extracted Firmware Source Code Folder

    Now connect the programmer ISP to USB port and my ISP connected to programmer ISP with a USB extension cable, make sure the MISO and MOSI are connected corrctely on both. Now run
    make flash
    command

    Flashing and fusing my ISP

    Fusing and checking my USBtiny

    As i connected again with the USB extension cable, my red LED glow and i run the command make fuses

    This time it worked properly and then i run the command make fuses, it was also sucessful.

    I took of my ISP and connected it to my computer directly and run the command lsusb, it showed my isp in the list MUltiple Vendor .

    Now i was sure my ISP is flashed with the program, so i have to disable the reset pin into a GPIO pin , this will disable our ability to reprogram this ATtiny45 in the future, which is why we wanted to make sure everything was working before doing this. I once gain connected the programmer ISP to mine and ran the command
    make rstdisbl

    Roland Modela
    My Isp programming the Attiny44 board,

    Creative Commons License
    This work by Aby Michael is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.