}

Electronics Design

Eagle software : Designing schematic and PCB layout

Assignments

  • To redesign Echo hello world board and to add a button and LED to it.
  • Checking the design rules and testing the board.


  • Eagle software

    We started this week by a session on Eagle by one of my office colleague Mr. Ayush Jain



    Takeaways from the session and important point regarding Eagle software

  • Whereever wire is going to be connected add pin. Pin can be rotated using right click.
  • For moving the entire group. Select the group. Right click and click on move group.


  • Dimension tool can be used for measuring distance. Also grid can be used for same. By default grid is in inch change it to mm for designing ease.


  • Library should have green dot. It signifizes that we can use the component available in library


  • Once drawing circuit is done click on switch to board button available on top.


  • Ratsnest option can be used for finding the nearest track. Also for putting the track Ratsnest is required to be done. Ratsnest option is available on bottom left side.


  • We can add polygon for connection which are common like VCC or Ground
  • Different output files are .brd -- > Board file, .drd --> Drill file etc
  • Always while doing any changes keep both schmatic as well as board file open. If you close any of it Eagle will flash an error don't ignore it



  • If we are using any new component and it is not available in existing Eagle library same has to be created which is a time consuming job.

    For this I use www.snapeda.com. Millions of components libraries are available for free on this site.



    For my final project I had to use LM 3S 6965 whose library was not available I downloaded it from snapeda.com.

    Click here to go to Snapeda.com

    If you wish to download any component library from Snapeda.com. You have to follow below steps.

    Before proceding this site asks you to register. Once you sign up using your valid email id you can access the resources available on site.

    Using the search option search for desired part. In my case it was LM 3S6965

    Select your desired part from the list

    Then click on download footprint and symbol.

    Once the library file for desired part is downloaded save it in eagle library folder.

    Then the library will be visible in list of libraries.

    For using the component we have to activate the library. A green dot come in front of library

    Selecting the components

    Making Hello world schematic using eagle

    1. As Eagle was already installed on my laptop there was no requirement for me to download it. But those how are new to Eagle can download it from below link.
    2. Click here to go to Eagle download page.
    3. Next step is to add FAB library and save it in Eagle library folder


    4. Refering Hello world circuit diagram started making the circuit diagram
      • Add ATtiny44 IC and give label to its pins. Add resonator, VCC and Ground. Out of the free pins I decided to use PA7 for LED and PA3 for button


      • Step 2 was to add programming connector. And giving label to its PINs


      • Then added LED along with current limiting resistor and button.




      • Add finally seial connector for communicating with PC


    Now the schematic is ready and now we required to prepare the board file

    Now click on switch to board. Now you will move to layout mode. All component selected by us will be shown on left bottom corner of the screen.


    Next step is to enter DRC value, For manufacture PCB on milling machine we need to take care of clearances. For example if milling bit is of size 0.5mm then traces should be defined with atleast 0.5mm clerance. Otherwise we may end up with very thin traces or else sometimes traces will vanish. Design rules can be set in eagle cad under menu Tools > DRC for proper milling it is required to have track width and clearance of 0.5mm.


    Manually placed the component at appropriate places, on selecting the component use right key to rotate them.


    Now we can do autorouter function of Eagle


    Else manually route the components. Yellow line shows the connections to be made. Also I have added ground polygon.


    Have given name to each board for easy identification. Add name to the copper layer for it to get printed on PCB.


    After placing all component layout looks as below


    If one is not able route the track as they are ovelapping, can use o ohm as shown below


    Once layout is complete export the file as png and go ahead with milling. After milling is completed PCB look as below:


    Task 1 is to stuff the microcontroller and crstal.


    Then proceed with stuffing all the remaining components. Final PCB looks as below







    Output files

  • Board Schematic
  • Board layout
  • Image file for input to fabmodule to generate rml file