JayMok

How to use waste materials to make something.

Week8 embedded programming (Mar 16)

  • Assignments:
  • 1.read a microcontroller data sheet

    2.program your board to do something, with as many different programming languages and programming environments as possible

  • Software:
  • Arduino IDE
    AVRStudio 5
    Proteus professional
    123D Circuits
  • Process:
  • 1. How to program the board.

    2.Write program via AVRStudio.

    3.Write program via Arduino IDE.

  • Process:
  • At first, I had to read the data sheet of ATmega 88pa and understood I/O interface. 00 00

    1. How to program the board.

    Understand the chain of program and how to use data sheet.

    00

    2.Write program via AVRStudio.

    At the first time to use the AVRStudio and program is a challenge for me . I have to read some date about AVRStudio and use it for excursive. Including build project, set parameters, compile and flash. In this process I have a problem is that if my board is external crystal and then I have to change my fuse or my board is not allowed to program.

    01 02 03 00 00 00 00 00 00 00 00

    3.Write program via Arduino IDE.

    After write program via AVRStudio and I try to use Arduino IDE to program. I try many times to program but it is failure. There maybe some setting wrong and i will ask help for someone in FabAcademy to solve this problem .In finally, I did it. Just my operation wrong.

    00 00 00 00 00
  • Files:
  • AVRStudio_led.c


    Arduino_led.ino


    ATMEGA_datasheet


  • What I have learned
  • 1.Read a micro controller data sheet for get some useful information.

    2.Use AVRStudio to program the board.

    3.Use Arduino IDE to program the board.

    back