Presentation is loading. Please wait.

Presentation is loading. Please wait.

Prototyping with PIC Microcontroller Third day: Communications 2009/02/13 Youmin Kim Digital Media Lab.

Similar presentations


Presentation on theme: "Prototyping with PIC Microcontroller Third day: Communications 2009/02/13 Youmin Kim Digital Media Lab."— Presentation transcript:

1 Prototyping with PIC Microcontroller Third day: Communications 2009/02/13 Youmin Kim (ym_kim@icu.ac.kr)ym_kim@icu.ac.kr Digital Media Lab

2 Serial Communication UART IrDA USB Bluetooth RS232 MAX232

3 MAX232

4 PIC LED OSC Adaptor7805 12V5V MAX232

5 . Socket-12V Adapter 가 꽂힌다.. 7805-12v 전압을 5v 로 떨어뜨린다.. OSC- 클럭을 발생시킨 다.. PIC- 마이크로 컨트롤러.. LED-Light Emissive Diode.. MAX232-MAXIM 社 의 232Chip Serial Cable 을 통해 PC 로 전송

6 CASE 1: IPTV Remote

7 Bluetooth module PIC #1 PIC #2

8 CASE 2: PEER (ETRI Wearable) Database Controller Off-line data managing Bluetooth Comm. Viewer (Flash GUI) Controller Bluetooth Comm. WBSuDevices Viewer (Flash GUI) Controller Bluetooth Comm. Viewer application Controller Bluetooth Comm. BT comm. Apps’ database

9

10 Ideation: Automatic, but Digital Lamp

11 PIC LED Power Clock CDS MAX232PC

12 A Port / ADC Port oscillator B Port C Port UART 좌측 상단부터 1 번 핀 동그란 마크가 있음 Master Clear

13 Circuit schematic PIC16F73 CLK LED VCC (5V) 1 8 9 10 28 (RB7) 20 10K resister 350Ω resister 19 CDS VCC (5V) 2 (AN0) 10K resister MAX 232 (RX, RC7)18 (TX, RC6)17 PC RX TX

14 Set_adc_channel() 함수로 지정된 ADC 포트의 값 을 읽어서 리턴한다. ADC 로 설정된 포트 중 어느 곳에서 값을 읽어 올 것인지를 결정

15 In the PC application, received values (e.g. 100, 123, …) if received_value < 128: the program shows “Light On!” else: the program shows “Light Off!”

16 Prototyping on Universal PCB & PC application (c#)

17 How to PC application in c#?

18 Question?

19 Assignment 3: Studio project suggestion


Download ppt "Prototyping with PIC Microcontroller Third day: Communications 2009/02/13 Youmin Kim Digital Media Lab."

Similar presentations


Ads by Google