Home >Documents >PROJECT CODEVISION AVR C · PDF filemikrokontroler Atmel AVR dapat mempermudah pemrograman C....

PROJECT CODEVISION AVR C · PDF filemikrokontroler Atmel AVR dapat mempermudah pemrograman C....

Date post:15-Feb-2018
Category:
View:236 times
Download:13 times
Share this document with a friend
Transcript:
  • CODEVISION AVR C

    Dwisnanto Putro, S.T., M.Eng.

  • Code vision AVR merupakan compiller bagi bahasa pemrograman C, sistem IDEAPG (Integrated Development Environment and Automatic Program Generator) yang di disain khusus untuk keluarga mikrokontroler Atmel AVR dapat mempermudah pemrograman C.

    CODEVISION AVR C

    Published By Stefanikha69

  • Sebagai Compiller C, Code Vision AVR telah mengandung hampir semua elemen bahasa pemrograman ANSI C. Dengan disediakannya beberapa fitur tambahan yang merupakan kebutuhan dari arsitektur AVR dan sistem embedded.

    CODEVISION AVR C

    Published By Stefanikha69

  • Sistem Integrated Development Environment (IDE) telah disediakan dalam Chip AVR pada System Programmer Software yang memungkinkan mentransfer program secara otomatis ke dalam chip mikrokontroler setelah proses kompilasi sukses.

    CODEVISION AVR C

    Published By Stefanikha69

  • System Programer Sofware di disain untuk bekerja secara konjungsi dengan produk Atmel STK500/AVRISP/AVRProg (AVR910 application note), sistem Kanda, STK200+/300, Dontronics DT006, Vogel Elektronik VTEC-ISP, futurlec JRAVR dan Micro Tronics ATCPU/Mega2000 development boards.

    CODEVISION AVR C

    Published By Stefanikha69

  • New Project

    Run CodeVision

    Published By Stefanikha69

  • Published By Stefanikha69

  • Chip select

    Published By Stefanikha69

  • configuration chip select

    Chip ATMEGA 8535

    Clock 11.059200 Mhz

    Published By Stefanikha69

  • Untuk port gunakan PORTC untuk LED

    PORTC.0 PORTC.7 = output (0)

    Published By Stefanikha69

  • Save and Generate

    Published By Stefanikha69

  • Save File make folder and files

    Published By Stefanikha69

  • Display

    Published By Stefanikha69

  • Configuration ready compile

    Published By Stefanikha69

  • Published By Stefanikha69

  • CODE PROGRAM Untuk menyalakan sebuah led misalkan pada posisi PORTC.0 (PORTC memiliki 8 buah PIN. Pin 0-7), maka Dapat dituliskan pada akhir program

    yang paling bawah;

    while(1){ //Place your code here) PORTC.0=0; PORTC.1=1; PORTC.2=1; PORTC.3=1; PORTC.4=1; PORTC.5=1; PORTC.6=1; PORTC.7=1; } }

    Published By Stefanikha69

  • Penulisan code dengan Cara lain : PORTC= 0b1111110;

    Atau

    PORTC = 0x7E ; // 1111110

    Published By Stefanikha69

  • SETTING USB DOWNLOADER : INSTALL DEVICE USB DOWNLOADER

    CONNECT USB DOWNLOADER TO PC/LAPTOP

    SETTING COM PORT: COMPUTER -> MANAGE -> DEVICE MANAGER

    PORT (COM &LPT) -> PROLIFIC USB TO SERIAL COMM PORT (COM....)

    Published By Stefanikha69

  • Configuration PORT Programmer

    Published By Stefanikha69

  • Choice :

    AVR Chip programmer type

    COM PORT

    BAUD RATE

    Published By Stefanikha69

  • COMPILER AND BUILD ALL PROGRAM

    Or Shift F9

    Published By Stefanikha69

  • Connecting USB Downloader - PC/Laptop - Microcontroller, And....

    Published By Stefanikha69

  • Process Downloading.........

    Published By Stefanikha69

  • FINISH

    Published By Stefanikha69

  • Error DOWNLOADING

    Solution : Check COM PORT Check Baud Rate Check Connection Downloader Check Prog/Serial TTL select

    Published By Stefanikha69

  • CV AVR WITH PROTEUS

    OPEN PROGRAM ISIS PROTEUS PROFESSIONAL

    Published By Stefanikha69

  • synchronization cv avr with proteus

    Creat Project and Design

    Double click pict microcntroller

    Published By Stefanikha69

  • synchronization cv avr with proteus

    Select clock frequency

    Select program file, (HEX file type)

    Published By Stefanikha69

  • synchronization cv avr with proteus

    Running ISIS Proteus

    FINISH...

    Created by. Dwisnanto Putro, Manado, September 2012

    Published By Stefanikha69

  • TASK

    BUATLAH project dengan system menyalakan led hanya pada PORTC.1, PORTC.3, PORTC.5, dan PORTC.7 . PORT Yang lainnya MATI

    Published By Stefanikha69

  • TASK

    BUATLAH project dengan system menyalakan led hanya pada PORTC.0, PORTC.2, PORTC.4, PORTC.6ndan PORTC.8 . PORT Yang lainnya MATI

    Published By Stefanikha69

  • TASK

    BUATLAH project dengan system menyalakan led hanya pada PORTC.1, PORTC.4, PORTC.6, dan PORTC.7. PORT Yang lainnya MATI. Dengan menggunakan cara pengalamatan HEXA.

    Published By Stefanikha69

  • TASK

    BUATLAH project dengan system menyalakan led hanya pada PORTC.7, PORTC.6, PORTC.3, PORTC.1 dan PORTC.0. PORT Yang lainnya MATI.

    Published By Stefanikha69

Click here to load reader

Embed Size (px)
Recommended