JayMok

How to use waste materials to make something.

Week13 output devices (Apr 27)

  • Assignments:
  • Add an output device to a microcontroller board you've designed and program it to do something.

  • Software:
  • AVRStudio 5
    Proteus professional
    EAGLE PCB
    Adobe photoshop
    Fab Modules
    Roland SRM-20
  • Hardware:
  • LCD1602

    Copper Clad Laminate

    (FR-4 is a code and grade about flame resistant material. it is a Material specifications that composite material is burned and self-extinguishing. it is PCB Base and kind of sheet material. Substrate is divided into FR-4(glass fiber),FR-1(Papers),CEM and special Base(Metal,ceramics...). FR-4 Copper board is composite of Fibreglass Epoxy-resin Copper Board , includes Epoxy-resin, Filler and fibreglass. Have good mechanical properties and electrical properties. In the machining, it will likely be damaged milling bits life and the powder will be got into my lung from the air and damage our health.So I pay great attention to protect myself and others. For example, wear a wear a mask, etc. In order to get good performance and quality, I chose to use FR-4 Copper Board in my Output Assignment.)


    AVRISP MKII

    Resistor

    Capacitor

    Crystal

    ATmega 88p

  • Process:
  • Design--->Program--->Simulation--->Design and Mill the board--->Solder--->Flash--->Test

  • 1.Design

    This week, I want to do something about final project, So I chose to work LCD1602 and display "FabAcademy2016" and so on .I used Micro controller ATmega 88PA to control lcd1602.

    01

    2.Program

    I have to read Micro controller and LCD 1602 data sheet before programming. Understand about information of i/o interface and how to archive initialization of LCD1602.

    01

    3.Simulation

    This process is very simple. just import the program and open the simulation switch, the status of the circus will be displayed.

    01

    4.Mill the board

    Designed the controller board and got the PCB trace with Eagle.Used Roland machine to Mill the single-sided PCB. In this process, pay attention to set the parameter about milling, includes cut depth, tool diameter, offset overlap and number of offsets.

    01 01 01 01 01

    5.Solder

    Because lacked of experience, solder was not good so that my board has solder false and damaged components. I would to test the board with multimeter until the board was worked normally.

    01 01

    6.Flash

    In this process, flash the board via AVRStudio. At first, Select correct controller. if your board is external crystal, you should set the fuse or didn't flash the board.

    01 01 01

    7.Test

    01
  • Files:
  • AVRStudio_lcd.c
    Proteus_lcd.DSN
    Controller.brd
    Controller.sch
    Controller_outline
    Controller_trace
  • What I have learned
  • 1.Focus to do something is very important.

    2.LCD1602 is very interesting to display something of my mind.

    3.Learned how to program my lcd1602.

    4.Needed very carefully to set the fuse, or it will cause some trouble.

    back