Skip to content

5. Electronics production

Task: Electronics Production

  • Group assignment:(Page Link is Here)
    • Characterize the design rules for your in-house PCB production process: document feeds, speeds, plunge rate, depth of cut (traces and outline) and tooling.
    • document your work (in a group or individually)
    • Document your work to the group work page and reflect on your individual page what you learned
  • Individual assignment:
    • Make an in-circuit programmer that includes a microcontroller by milling and stuffing the PCB, test it to verify that it works.

Electronics, I was always curious to that. I had purchase soldering irons two times. But I couldn’t complete most of projects, because, when I planed to make a electronic project. I faced 2 problems

  1. Lack of components in the stores in my town.
  2. Lack of guidance. I couldn’t even find a hobby circuit person in my connections

In this week, I can study pcb milling, soldering and program adding.

Our main aim in this week is to mill a pre-designed pcb, solder components and upload a program to that.

MODELA MDX-20

photo_2022-02-23_12-18-24.jpg

Roland Modela MDX-20 is used for many purposes in different industries.

Here we use the machine to mill the PCB.

Main parts of the Roland Modela MDX-20.

mdx-20.jpg

Axes

It is a 3 axes CNC machine. in which a cutting carrier moves in x and z direction and the work plate moves in the y-direction.

Cutting carrier

We can attach different bits to the cutting carrier. It moves in XZ plane. So it can engrave and cut with the same bit.

Work plate

We place the material for work on the work plate. It moves in the y-direction.

Switch panel

Modela MDX-20 has a basic switch panel which includes 4 switches.

Power button: It is for on and off

View button: When we click on the view button. The working bed will came towards the user.

Navigation keys: The 2 navigation keys are used for move cutting carrier up and down.

Configuring the Roland MDX-20

Before we begin milling, we have to set up the work plate and cutting carrier.

Setup the work plate.

We have to attach 2 layers of work materials to the work plate.

Our lab operators have already attached 2 sacrificial layers

It prevents the breakage of the bit during cutting of plate.

We paste the working material on the top sacrificial layer using a double-sided tape.

Untitled-5.jpg

Setup the cutting carrier

We have to insert/change the bit in to cutting carrier and to set the origin point.

Steps for changing bit.

  1. make sure the cutting carriage is on the top position.
  2. Loose the 2 screws which are on two sides of the tool holding part using alen keys. We should support the tool using fingers to prevent the falling of the bit. Even it falls from a low height, the tip of the bit will break. Because the tip of the bits are very thin(1/64 and 1/32 inches)

    Untitled-3.jpg

  3. After getting the bit, place another bit to the bit holding hole and tighten 2 screws. We will ensure to pull the bit up to the parts above the cone shape is inside the bit holder.

    photo_2022-02-23_12-18-51.jpg

  4. Using up and down navigation keys, move down the cutting carrier and leave a 3-4 mm gap in between the working material and tip of the bit.

  5. After that, we can set the origin point using navigation keys for X and Y direction in ‘mods’ which will describe later.
  6. Then loose 2 screws ones more and make touch the tip of the bit to work material and tighten screws. We can press the work material a little to ensure the bit is touch to work material.

Downloading file

For making the PCB, I used the trace file and cut file from gitlab.fabcloud.org/pub(Link here)

Using Mods

To send file and control other properties of MDX-20, we use Mods.

Steps are:

  1. Open Mods from the directory using the code below in terminal.
bash start-servers

Screenshot from 2022-02-22 10-38-38.png

  1. Right click and follow as below. at last click on PCB under the MDX-20 option.

    mods_1.jpg

  2. In the opening window, click on ‘add diagram’ button inside png option. and select the engraving diagram.

    mods_1.1.png

  3. Select the bit from the ‘cutting tool’ option. For milling we use 1/64 inch bit. We can change the parameters if want.

    mods_2.jpg

  4. Click on calculate Butten under mill raster 2D. We can change the offset number, then the path for milling will show below.

    mods_3.jpg.png

  5. Set the origin point by typing different values for X and Y coordinates.

    mods_4.jpg

  6. Click on ‘open socket’ and ‘open terminal’ and click on ‘send file’.

    mods_5.jpg

After the milling process, remove the dust using a vacuum cleaner.

Cutting.

We use a 1/32 inch bit for cutting.

Change the bit as described above section.

In Mods

upload the cutting diagram.

Select 1/32 bit.

Set origin point.

Click on ‘send file’ as described above.

Polishing

After milling and cutting, Our PCB will have a rough surface. Polish the surface with san paper. And we have to remove the unwanted copper tracks in the edges.

WhatsApp Image 2022-02-22 at 3.15.27 PM.jpeg

Collecting different components.

Make a list of different components and collect those from fab academy inventory. And paste each parts near name of each component using a double-sided tape

                                                                      Inventory of Fab lab Kochi

Inventory of Fab lab Kochi

                                                                      Components pasted on the list.

                                                                  Components pasted on the list.

Soldering

Our mentor Gogin Francis introduced about soldering iron and soldering process. So I understood why my previous soldering became very bad.

How to solder better?

  1. Clean the surface and ensure there is no dust or oil particles.
  2. Set a temperature 350- 360 in soldeing iron.
  3. Apply a little paste on the soldering position.
  4. touch and the tip of the soldering iron in the soldering point by 45 degree angle and hold for 2 seconds.
  5. Then at the junction of soldering iron and surface, apply the led.
  6. After the the led melted and became in ball shape, take the soldering iron.
  7. When solder small SMD components, Use tweezer for pick and hold the components.
  8. When solder components with 3 or more legs, fix one leg in any corner and solder diagonal corner, and solder other legs.

                                                                              Soldering the board

Soldering the board

Checking connections in the PCB.

We have to check connections using multimeter before and after soldering process.

Before Soldering:

Check and ensure there are not any unwanted connections and each track are continues.

After soldering: Check and ensure there is not any short connection between adjecent pins of components and between adjecent tracks.

photo_2022-02-23_11-46-21.jpg

Programming

Download and install Arduino software.

Arduino software is open-source and we can simply download it from arduino.cc

Burning bootloader

Now our microcontroller is blank. At first we have to upload a program to understand the usb communication protocol. For that here we used UPDI programmer with Atmel 546 microcontroller.

Steps

  1. Plug Atme546 in a usb port and connect SAMD11C board using 2 pins.

    e13fefae-1f65-4f1e-8f42-bd57dc460d97.jpg

  2. Open Arduino software. and go to File → Preference and paste the code below.

[k](https://raw.githubusercontent.com/qbolsee/ArduinoCore-fab-sam/master/json/package_Fab_SAM_index.json)

preference.png 3. Go to Tool → Board → Board Manager and Search for Fab SAM core for Arduino and dowload that library. 4. Go to Tool→ Board→ Fab SAM core for Arduino and select Generic D11C14A 5. Go to Tools → Programmer and select Atmel EDBG 6. Go to Tools and click on Burn Bootloader

![photo_2022-02-23_11-45-27.jpg](../images/week05/photo_2022-02-23_11-45-27.jpg)

Now our board is ready to connect directly in USB port. We have to upload a program to that microcontroller

steps I followed are given below.

  1. plug our board in a USB port.

    WhatsApp Image 2022-02-23 at 12.14.44 PM.jpeg

  2. Create a folder in computer and clone the files using following code in git.

git clone [https://github.com/qbolsee/SAMD11C_serial.git](https://github.com/qbolsee/SAMD11C_serial.git)
  1. Open SAMD11C_serial.ino in Arduino software.

    Screenshot 2022-02-23 121622.png

  2. Go to Tool→ Board→ Fab SAM core for Arduino and select Generic D11C14A

  3. Go to Tools → port and select the USB port.
  4. Click on verify and click on upload.

    photo_2022-02-23_11-45-44.jpg

Now the board became programmed.

Study about drilling tools.

Our instructors Rahul and Gogin Francis explained us about different drilling tools and their properties.

Climbing milling and Conventional milling

By comparing these to sow and shovel we could understand them very clearly.

Untitled-1.jpg

Flute number

If the number of flutes is increased, we must increase feed speed according to.

Single and two flute mills are used for high-speed machining and high-volume material removal like aluminum, plastic, etc.

Untitled-2.jpg

Mils and Inch

Commonly bit diameter is represented in mills and inch.

1 Inch = 1000 Mils

1 mill = 0.001 Inch

1/32 Inch= 31.25 Mils ≈ 31 Mils

1/64 Inch= 15.625 Mils ≈ 16 Mils

easydigging.com

We have to check the smallest thickness for gap and grooves in a pcb

In

64 bit

32 bit

100 bit

vinyl

In the milling process, we can compare increasing flute number into increasing

  1. Load the material to be milled, add the tool for tracing, i.e. 1/64 inch mill and then set x, y and z axis.

  2. Load the png file “linetest” you are going to trace from the download earlier.

  3. Set the tool to 1/64 inch mill, set offset at 4, stepover 0.5 and speed 4mm/s, hit calculate and then open socket, open port and send the file which should start the cut.

Group Assignment.

Aims of the Group Assignment.

  • Find the small trace thickness during PCB milling using a specific bit.
  • Find the smallest gap between 2 traces using a specific bit.
  • Send a PCB out to a board house.

Line Test

We used bits of 1/64 inch, 1/32 inch and 1/100 inch.

photo_2022-02-23_16-36-38.jpg

The png files are given by Fab academy.

We milled using different bits and cut the outline by 1/32 inch bit.

We used the preset settings for each bits.

Our outputs are given below.

Untitled-10.jpg

After the examination, we came to the conclusion that

  • 1/64 bit can trace upto 0.16 mm
  • 1/32 bit cannot be used to make traces, better to use as a cutting tool
  • 1/10 bit can trace upto 0.11 mm

Download files


Last update: June 26, 2022