Week 04: Electronic Design

During this week, I learned to use EAGLE to remake the hello-world board, and then adding a button, an LED and its accompanying resistor. My board, in the end, did not work, but I did learn a lot to pay attention to during the process.


EE Design

Schematic

I first imported the fab library to EAGLE, and then found all of the needed components. Because I was not familiar with some of the names of the components, I spent sometime looking for the name either in the code or in the production image.

I then arranged the layout of the schematic.

Looking back, I did make some mistakes or some complication:

  1. When connecting the VCC or the GND, I could have connect the individual pieces to them separately and then label them, so that the schematic will automatically connect to the two. Instead, what I did was only having one VCC and one GND, and that the entire circuit is connected. The schematic surely looks messier and harder to see the overall structure.
  2. I might have chosen a different board other than the one shown in the example.What I chose was the ATMega with 44 ports, and in the example, they used the 32-port one. I need to test the board in and see if there is a difference between their performance and functionality.
  3. I was also not sure about if connecting to the different VCC and GND ports makes any difference. Are they separate power supplies? Are they controlled by the button when I add it?
Snow

Board Routing

Next, I went to the board layout to route the board. What I did not but should have done at the beginning was to define the design rules. The wire was set at 0.16mm thick, and the pads were seated as 20mm. However, because I did not set up at the beginning, some of my routes were too close to each other. The routing process was a lot of rotation and moving around, as I was trying to make it as compact as possible. I did expected all my vias to be extremely thin. Also, routing the Vias under the components was super cool

Snow

Milling the Board

Because of the thin wires, the outcome does have two sections that I later discovered was the failing part of the board. At the top right part, where there is a via under the regulator, the route is connected to the in and out pads. At the middle right part, one of the 6 pin pads is also connected to a via. Both of them happened because I did not consider the huge difference between the default setting and the settings of our machine.

Snow
Forest

Soldering

As I tried to make the board as compact as possible, the soldering becomes harder than I expected. Because some of the Vias are really close to the pads, I need to apply minimum amount of the solder on them. Also, the small “mega component” has so many tiny “legs” that I need to solder. Thus, I am not sure if I did the right thing when I soldered them.

Furthermore, because the 6 pins are not close to the edge enough to be connected flatly, I connected them by fixing them to stand with an angle.

end

Testing the board

I connected it to the computer, and it does not work :(((( I will remake the board and then the improve the followings:

  1. Use clearer notation for the VCC and GND on the schematic
  2. Leave minimal edge space for the 6 pins.
  3. Make sure I define the design rules before starting to route, so that they will not overlap.
  4. Be more careful during the soldering, especially for the board.