week 6

electronics design

Group Assignment Page

Kicad

Workflow

  1. Downloaded Kicad.
  2. Opened Kicad and created new project named 'Kicad demo'. And Opened Schematic Layout Editor.

  3. Clicked 'Place symbol' butten located on right side of screen and clicked screen. But No symbol showed up in my mac. Only Mac users of our fablab students had the problem. Our library was empty.

  4. So we searched 'mac kicad library' and downloaded Kicad library according to the library download page in Kicad site. And We downloaded sparkfun, fab(search 'pub' in Gitlab Site - click 'pub / libraries / electronics' - click 'kicad' - download), digikey, seeed libraries as well as kicad.

  5. Preferences - Manage Symbol Libraries - Add existing library to table - selected lid files in libraries downloaded

  6. We chose the ATTiny45 board as reference image to redraw. And then redrew ATTiny45 board in Kicad program according to Craig.(Ref. Used ATTiny85 instead of ATTiny45. The main difference between them is the amount of memory.)
  7. Used 'Select item', 'Place symbol', 'Place wire' and 'Place net label' button.

  8. Finished to redraw the board. Clicked 'Annotate schematic symbols' and 'Perform electrical rules check'.

  9. There were 8 errors

  10. 2 errors was that power didn't connected and 5 errors was that 'no connected' flag didn't set. finally, The last error was that one pin was not connected.

  11. And needed to set values of registers and capacity. then used 'v'key.

  12. Assigned PCB footprint to schematic symbol. Important to double click a choice and save schematic before closing the footprint screen.(Then mac users had problem again. We needed to add footprint libraries.)

  13. Saved the net file after clicked 'Generate netlist'.

  14. Ran PCBnew.

  15. Open netlist file in the PCBnew window. and joined these component by using 'Route tracks', 'Add graphic line'.

  16. But needed to add other component for assignment. Decided to add blue led and switch.
  17. Searched 'arduino [component name] sch' and find the most effective design to add component.
  18. Finished connecting component in PCBnew window. And then changed layer to 'Edge.Cut' and draw cut line.
  19. Check error to perform 'Perform design rules check' To my surprise, No problem was found.

  20. So tried to print my design. but I failed because I saved file by using plot and put it in the USB and connected USB to the printer. The result was not good. (It wasn't until the next day that I knew. The way to print is using print button After set up the printer I want to use.)

    This process is very important. Because We can ensure that components and boards fit well and therefore we can prevent board waste.

  21. Enter 'Plot' window - select layers (F.Cu, Edge.Cuts) - select format (gbr) - Click 'Plot'

  22. Cut the circuit board using bantam tool. and soldering. (I followed the milling process of electronics production week.)

  23. In addition, I add a way to change the thickness of the line in PCBnew. The thickness is changed according to the endmill you have. I made an additional line of 0.4mm thickness and set the Clearance to 0.4mm in the default setting. This is because engraving endmill thickness is 0.4mm in our fablab.

Programming

  • My ISP board was not work.(My mac didn't identify) So I tested my hello echo board with AVRISP.

    This problem later turned out to be a soldering problem. So I made sure to solder the ATtiny44 microcontroller part of my ISP board and the problem was solved.

  • In arduino, in 'Tools' I changed Chip and Programmer setting. And upload to my board was successful. (Prior to that, I followed the 20 and 21 steps of the programming process at the electronics production week document.)

  • In embedded programming week, I found and solved the problem with my board. And I tried putting the blink code and running it.
  • Files

  • .sch
  • .kicad_pcb