Week13 output devices (Apr 27)
Add an output device to a microcontroller board you've designed and program it to do something.
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.)
Design--->Program--->Simulation--->Design and Mill the board--->Solder--->Flash--->Test
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.
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.
This process is very simple. just import the program and open the simulation switch, the status of the circus will be displayed.
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.
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.
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.
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.