1 / 11

전기전자회로실험 7 조 김경학 박찬수 양병익 전영진

Kwangwoon Univ. AC/DC converter & LED spectrum. 전기전자회로실험 7 조 김경학 박찬수 양병익 전영진. Table of Contents. Executive Summary 1) Final result Detail Explain Block Diagram Hardware Software. I. Executive Summary. 1) Final result. AC->DC 변환장치를 제작 5v 출력단자 2 개

tybalt
Download Presentation

전기전자회로실험 7 조 김경학 박찬수 양병익 전영진

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Kwangwoon Univ AC/DC converter & LED spectrum 전기전자회로실험 7조 김경학 박찬수 양병익 전영진

  2. Table of Contents • Executive Summary • 1) Final result • Detail Explain • Block Diagram • Hardware • Software

  3. I. Executive Summary 1) Final result • AC->DC 변환장치를 제작5v 출력단자 2개 • LED+포토센서의 계획에서 MCU의 포트확장 문제로 수정포트확장에 따른 전류계산과 제어가 현재 지식수준으로는어려웠음->LED스팩트럼을 통해 전광판 효과 구현 • 최종적으로 목표한 A/DC변환기 구현+전광판구현성공

  4. A/DC Converter ATTiny2313 LED Spetrum II. Detail Explain 1) Block Diagram 전체적인 작품의 구성

  5. II. Detail Explain 2) Hardware • ATTiny2313 , 고휘도 LED , 8Mhz x-tal • 23:1AC 변압기브릿지 다이오드퓨즈캐패시터 • USB 커넥터

  6. II. Detail Explain 2) Hardware

  7. II. Detail Explain 2) Hardware A/DC 컨버터 회로도

  8. II. Detail Explain 2) Hardware -LED스펙트럼 회로도 이 회로도를 바탕으로 Sw-200대신 X-tal을 사용함

  9. II. Detail Explain 3) Software (Algorithm) #include <tiny2313.h> #include <delay.h> unsigned char i=0; unsigned char j; //출력되는 폰트 unsigned char flash data1[50] ={0xC3,0xBD,0xBD,0xBD,0xBD,0xC3,0xFF,0xFF,0xFF,0x1,0xEF,0xEF,0xFF,0x81,0xFD,0xFD,0xFD,0xFD,0xFD,0xB5,0xB7,0xB7,0xB7,0x1,0xFF,0xDF,0x58,0x57,0x57,0x57,0xD8,0xDF,0xFF,0xFF,0x80,0xF7,0xF7,0xFF,0xFD,0xFB,0xF7,0x8F,0xF7,0xFB,0xFD,0xFF,0xFF,0x1,0xEF,0xFF}; unsigned char flash data2[50] ={0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x01,0x0D,0x0D,0x0D,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x09,0x06,0x06,0x09,0x0F,0x0F,0x0F,0x0F,0x07,0x07,0x07,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x00,0x06,0x06,0x00,0x0F,0x0F}; // LED 지연시간 조절 마이크로초 단위 #define DEYAY 2000

  10. II. Detail Explain 3) Software (Algorithm) // 1글자당 반복해서 뿌려주는 횟수 #define TIME 80 void main(void) { // LED 제어 포트 DDRB = 0xff; DDRD = 0xff; while(1) { for(j=0;j<TIME;j++) { for(i=0; i<50; i++) { PORTB = data1[i]; PORTD = data2[i]; delay_us(DEYAY); } } } }

  11. Thank you!

More Related