Work Progress

This week we are required to use Kicad or Eagle redesigned Neil‘s hello world board, and add (at least) a button and LED (with current - limiting resistor). Since I was not very familiar with circuit design and fabrication, I decided to follow the page instruction of previous students and then use the workflow as the basis to understand the circuit board's circuit logic. I found Molly's page is very detailed instructed. At the same time, I also found Eagle's basic tutorial on youtube, which provided intuitive instructions on how to create and draw a project in Eagle.

  • To design a schematic in Eagle, the first step is to create the project and get the schematic canvas
  • The second step is to import the component package of the fab library into the eagle before drawing, and save the files in the format of.lbr into the eagle folder under My Documents. It is better to rename this file to 000, so as to ensure that it always appears in the first of many libraries without having to rummage every time. Another import method is to open the library in the top bar and import inside program. The little green dots will appear next to the library in use, while the gray dots will appear next to the unused ones.
  • Enter the main interface of eagle, and there will be two rows of command icons on the left side of the interface. The icons I used this week are Add Component, delete, copy, move, rotate, name, value, net, tools to draw wires. The functions of these ICONS are just as their names, being very intuitive and clear.
  • kerf
  • All of this week's components can be found in the fab library. It's just that the search feature at the bottom isn't very helpful, so I have to find components one by one.(I guess the inconvenience might be because I did not search in an appropriate way.)
  • kerf
    Initially, I didn't know I could connect components using the Name function, so my schematic was very messy, so I changed it. Here is the final schematic.
    kerf
    I then created the corresponding board by clicking on the BRD icon in the top bar. The difference between board and schematic is that it's just a diagram, not thinking about physical space or units, just making sure the correct components are connected, whereas board is the form of the circuit board that we actually get. The width of the connector in the board interface and the layout and size of the component are the same.
    kerf

    At the first attempt, I ignored the importance of the design rule, resulting in my route being too thin. After Anthony's reminding, I changed the design rule from 6mm to 16mm and rerouted the new board. (I actually know that the design rule needs to be set, but I ignored it because I repeatedly modified, redrew, delete board files between schematic and board.) I don't know why my airwire is very messy, which caused me to spend a long time drawing the board well. I even added a VCC component Resistor (0) to jump lines. And then there's the export, which I've set to 1000dpi monochrome.

    Soldering is going very well this week.

    A few caveats:
  • Both the led and the attiny45 are directional. The attiny45's orientation is very easy to identify, but the led orientation needs to be checked by multimeter.
  • (The following information is from this page) Led direction:
    On a multimeter the black lead is the negative and the red positive. Press the center button till you get this arrow symbol in the right-hand corner of the screen. When the LED lights up you know that The end where the black lead is touching is the minus-therefore that end should be connected to the ground.
    Led Resistor calculation:
    The When calculating what the size of resistor we need we use Ohm 's law: I = V/R.
    I stand for current in units of amperes (A).
    V is the potential difference measured across the conductor in units of volts
    R is the resistance of the conductor in units of ohms.

    To be able To calculate the resitor for the LED we need To find the data sheet for that led. we find a link To the LED in the FabAcademy weekly schedule, week 6.
    Our calculation looks like this:
    We start by changing the mA into amps = 0.01A.
    We know that We will be taking in 5V so We find the difference
    3.2 V / 0.01 A = 320 Ω

    We need 32 Ohms o or who for the resistor, so we take 499.


    The blink code was uploaded, and the Program was very smooth! kerf

    kerf