SlideServe
Menu
Préférences
© SlideServe · v2026

Programming LED Control with ATmega 8535 Using CodeVision

tarika avatar
33 diapositives · 469 Views · Oct 06, 2014

This guide provides detailed instructions for controlling LEDs using the ATmega 8535 microcontroller with CodeVision. It outlines the logic for anode and cathode LEDs, and shows how to configure port settings and write the necessary code. The document covers USB downloader setup, connection procedures, and troubleshooting tips to ensure a successful programming experience. Multiple task examples are provided to help users implement different LED activation patterns on PORTC. Enhance your microcontroller programming skills by experimenting with this project.

Programming LED Control with ATmega 8535 Using CodeVision - slide 1
01 / 33Programming LED Control with ATmega 8535 Using CodeVision
1 / 17

Télécharger la présentation

Programming LED Control with ATmega 8535 Using CodeVision
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. PART 3TRAINING OUTPUT LED Dosen : DwisnantoPutro, ST, M.Eng

  2. LED (LIGHT EMITING DIODE) • Untuk LED ANODA : Logika0 = led menyala Logika1 = led mati • Untuk LED KATODA : Logika0 = led mati Logika1 = led menyala Published By Stefanikha69

  3. Published By Stefanikha69

  4. Published By Stefanikha69

  5. New Project Run CodeVision Published By Stefanikha69

  6. Published By Stefanikha69

  7. Chip select Published By Stefanikha69

  8. configuration chip select Chip ATMEGA 8535 Clock 8.000000 Mhz Published By Stefanikha69

  9. Untuk port gunakan PORTC untuk LED PORTC.0 – PORTC.7 = output (0) Published By Stefanikha69

  10. Save and Generate Published By Stefanikha69

  11. Save File – make folder and files Published By Stefanikha69

  12. Display Published By Stefanikha69

  13. Configuration ready compile Published By Stefanikha69

  14. Published By Stefanikha69

  15. CODE PROGRAM Untukmenyalakansebuah led misalkanpadaposisiPORTC.0 (PORTC memiliki 8 buah PIN. Pin 0-7), makaDapatdituliskanpadaakhir 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

  16. Penulisan code dengan Cara lain : PORTC= 0b1111110; Atau PORTC = 0x7E ;// 1111110 Published By Stefanikha69

  17. 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

  18. Configuration PORT Programmer Published By Stefanikha69

  19. Choice : AVR Chip programmer type COM PORT BAUD RATE Published By Stefanikha69

  20. COMPILER AND BUILD ALL PROGRAM Or Shift F9 Published By Stefanikha69

  21. Connecting USB Downloader - PC/Laptop - Microcontroller, And.... Published By Stefanikha69

  22. Process Downloading......... Published By Stefanikha69

  23. FINISH Published By Stefanikha69

  24. Solution : • Check COM PORT • Check Baud Rate • Check Connection Downloader • Check Prog/Serial TTL select Error DOWNLOADING Published By Stefanikha69

  25. CV AVR WITH PROTEUS OPEN PROGRAM ISIS PROTEUS PROFESSIONAL Published By Stefanikha69

  26. synchronization cv avr with proteus Creat Project and Design Double click pict microcntroller Published By Stefanikha69

  27. synchronization cv avr with proteus Select clock frequency Select program file, (HEX file type) Published By Stefanikha69

  28. synchronization cv avr with proteus • Running ISIS Proteus • FINISH... Created by. DwisnantoPutro, Manado, September 2012 Published By Stefanikha69

  29. 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

  30. TASK BUATLAH project dengan system menyalakan led hanya pada PORTC.0, PORTC.2, PORTC.4, DAN PORTC.6 .PORT Yang lainnya MATI Published By Stefanikha69

  31. 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

  32. 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

  33. TASK BUATLAH project dengan system menyalakan led hanya pada PORTC.2, PORTC.7, PORTC.6 dan PORTC.1. PORT Yang lainnya MATI. Published By Stefanikha69