Week Outline

  1. Monday: Introduction to Mechanics Local Class.
  2. Wednesday: Global Class on Mechanical Design and Machine Design.

Global Class

Local Class

Group Assignment

This week's group assignment consisted of (1) designing a machine that includes mechanism+actuation+automation+application, (2) building the mechanical parts and operating it manually, and (3) actuating and automating the machine. We decided to build this CNC Wire Bending Machine and add our own twists to it.

Basic Board Soldered

The complete documentation of the work we did can be found here. Our machine ended up looking like this:

Basic Board Soldered

Since we are 6 people, we divided ourselves to divide and conquer. We had some people working on the mechanical design and assembly, some people working on the programming, and some people working on the electronics.

I was part of the group working on electronics. At the beginning, the guys started prototyping the electronics with a CNC shield. However, as you can see below, this was very messy. So my job was to replicate the original project's PCB in a way that we could produce it in-house, using components that we already had in the Lab. The purpose of this was so that we could have a one-sided PCB that we could mount on the bottom of our machine in order to tidy up the electronics on the assembly.

Basic Board Soldered

My workflow consisted of:

  1. Accessed the original project's PCB design files to use as reference.
  2. Created a Kicad Project and created the following schematic

    Basic Board Soldered


    based on the original PCB's design

    Basic Board Soldered

  3. Downloaded the original project's Gerber Files that were used for the PCB production. The zip folder with the files can be downloaded here.

  4. Created a Subdirectory on the project from the file manager called "Gerbers" and copied all the downloaded gerber files into it. Opened the gerbview for the project within kicad.

    Basic Board Soldered

  5. Selected File > Export to PCB editor and created a pcbnew file off of the original gerber files. Opened the file on the PCB viewer.

    Basic Board Soldered

  6. Edited the file so that only the layers that I needed were visible. I was just interested in the physical delimitations of the components in the original PCB, so that I could then overlay my components on them making sure everything fit properly.

    Basic Board Soldered

  7. Plotted the visible layers as an SVG.

  8. Created a new PCB file for the project.

  9. In "File", selected Import > Graphics, and selected the SVG for the layers.

  10. Overlayed the components from my schematic that needed to have specific dimensions on top of the Graphics

    Basic Board Soldered

  11. Deleted the graphics to reduce any chances of confusion for myself.
  12. Finished the components nesting and ran the traces between components by using the original PCB design as reference. Added an edge for the board and holes for screws.

    Basic Board Soldered

  13. Prepared the files for production and milled the PCB by following our established workflow for in house production

    Basic Board Soldered

    The traces weren't perfect, but they were good enough for an initial prototype.

  14. Soldered the connectors and capacitors into the board

    Basic Board Soldered