![]() |
|
Tài trợ cho PIC Vietnam |
Trao đổi ngoài luồng Các loại vi điều khiển khác, tản mạn của các anh chàng và cô nàng kỹ thuật ... |
![]() |
|
Ðiều Chỉnh | Xếp Bài |
|
![]() |
#1 |
Đệ tử 5 túi
|
sai rồi anh F ơi
các loại remote TV,... ngoại trừ đầu đĩa.dều dùng kỹ thuật mã hóa Manchester ,bạn có thể dể dàng dọc dược mã bằng cách dùng vi dk ,PIC chẳng hạn.
đọc kỹ cái này nhé,nó hướng dẫn khá chi tiết RC5 TRANSMISSION PROTOCOL To ensure immunity to interference from other IR sources such as the sun, lamps and IR sound trans-missions (to headphones), bi-phase encoding (also called Manchester encoding) is used for RC5 code words. As shown in figure 2 each bi-phase encoded bit is a symbol comprising two logic levels with a tran-sition in the middle. As shown in figure 3, the bi-phase code words modu-late a 36 kHz carrier, before being transmitted via the IR LED. Since the repetition period of the 36 kHz car-rier is 27.778 us and the duty factor is 25 %, the car-rier pulse duration is 6.944 us. Because the high part of each bit of the RC5 code word contains 32 carrier pulses, 1 bit period is 64 x 27.778 us = 1.778 ms. A complete RC5 code word contains 14 bits, so it takes 24.889 ms to transmit. Each 14 bit RC5 code word consists of: § a field bit (F) which denotes command codes 0 to 63 or 64 to 127 § a control bit (C) which toggles after each key re-lease and initiates a new transmission § five system address bits for selecting one of 32 possible systems § six command bits representing one of the 128 possible RC5 commands SOFTWARE Main loop (see figure 4) After initialisation of the hardware, the four scan-lines (port pins P1.0-3) are pulled low and the LPC76x is forced into power down mode. If one of the 16 keys is pressed a keyboard interrupt will be generated and the micro will wake up from power down mode. The main program checks for a valid key hit. Next, the control bit (C) of the system byte is set or reset. After that, a routine is called for sending out the key info as an RC5 code word. Fi-nally power down mode is entered again, waiting to wake up at the next keyboard or watchdog interrupt.
__________________
Mạch - remote điều khiển từ xa qua RF 30m ,300m ,500m,1000m,... (đã test ) ,loại công suất lớn , loại cực nhỏ .... , rẻ ,giao hàng nhanh chóng toàn quốc (3 ngày), thâm niên 3 năm mua bán mạch RF 09 8485.bảy bảy.11 bán linh kiện ,MCU ARM , kit , dụng cụ , mạch www.nhattaoonline.com Hỗ trợ kỹ thuật đầy đủ. Tài liệu đầy đủ. |
![]() |
![]() |
![]() |
#2 |
Đệ tử 5 túi
|
à quên
tui dã làm rồi nhưng trên 89,ko phải trên pic ,nếu bạn muốn làm ,tui cho mã nguồn & chemas
![]()
__________________
Mạch - remote điều khiển từ xa qua RF 30m ,300m ,500m,1000m,... (đã test ) ,loại công suất lớn , loại cực nhỏ .... , rẻ ,giao hàng nhanh chóng toàn quốc (3 ngày), thâm niên 3 năm mua bán mạch RF 09 8485.bảy bảy.11 bán linh kiện ,MCU ARM , kit , dụng cụ , mạch www.nhattaoonline.com Hỗ trợ kỹ thuật đầy đủ. Tài liệu đầy đủ. |
![]() |
![]() |
![]() |
#3 | |
Đệ tử 2 túi
Tham gia ngày: Aug 2006
Bài gửi: 42
: |
![]() Trích:
Như vậy diễn đàn Pic sẽ ngày càng phát triển vì những ứng dụng cho 89 thì nhiều vô kể. thay đổi nội dung bởi: spirit, 10-10-2006 lúc 11:45 AM. |
|
![]() |
![]() |
![]() |
Ðiều Chỉnh | |
Xếp Bài | |
|
|
![]() |
||||
Ðề tài | Người gửi | Chuyên mục | Trả lời | Bài mới |
Moi bat dau hoc PIC va vi dieu khien thi hoc nhu the nao | hut.edu.vn | Cơ bản về vi điều khiển và PIC | 21 | 27-11-2010 04:23 PM |
Tim mua mach dieu khien Microstep cho Bipolar step | Vo Hoang SOn | Tìm mua sản phẩm | 3 | 12-10-2008 11:03 PM |
Bac nao kinh nghiem dieu khien toc do dong co khong dong bo ba pha xin giup dum | hanhluckyly | Cơ cấu chấp hành (Actuator) | 5 | 15-08-2008 05:31 PM |
dieu khien adc trong pic16f77a | smile | Cơ bản về vi điều khiển và PIC | 2 | 15-01-2007 02:00 PM |
Tim mua mach dieu khien DC/AC SERVO Driver | Vo Hoang SOn | Tìm mua sản phẩm | 0 | 13-08-2005 11:40 AM |