طراح

زندگی یعنی پژوهش و فهمیدن چیز جدید (پروفسور حسابی)

زندگی یعنی پژوهش و فهمیدن چیز جدید (پروفسور حسابی)

طراح

شاکری لیسانس کنترل - دانشگاه خراسان
designer2100@outlook.com
اینستاگرام:
designer2013.blogsky@
تلگرام:
Abolfazl_shakeri@



کاری کنیم که کتابخانی یک امر رایج بشود



این کتاب را بخوانید



این کتاب را بخوانید



این کتاب را بخوانید



این کتاب را بخوانید





















خواندن کدهای ریموت مادون قرمز سونی - read Sony IR remote code - AVR

The SIRC protocol uses a pulse width encoding of the bits. The pulse representing a logical "1" is a 1.2ms long burst of the 40kHz carrier, while the burst width for a logical "0" is 0.6ms long. All bursts are separated by a 0.6ms long space .interval. The recommended carrier duty-cycle is 1/4 or 1/3

The picture above shows a typical pulse train of the SIRC protocol. With this protocol the LSB is transmitted first. The start burst is always 2.4ms wide, followed by a standard space of 0.6ms. Apart from signalling the start of a SIRC message this start burst is also used to adjust the gain of the IR receiver. Then the 7-bit Command is transmitted, followed by the 5-bit Device address. In this case Address 1 and Command 19 is transmitted

Commands are repeated every 45ms(measured from start to start) for as long as the key on the remote control is held down

The table below lists some messages sent by Sony remote controls in the 12-bit protocol. This list is by no means meant to be complete, as the assignment of functions is probably quite dynamic

Address Device
1 TV
2 VCR 1
3 VCR 2
6 Laser Disc Unit
12 Surround Sound
16 Cassette deck / Tuner
17 CD Player
18 Equalizer
 

Command Function
0 Digit key 1
1 Digit key 2
2 Digit key 3
3 Digit key 4
4 Digit key 5
5 Digit key 6
6 Digit key 7
7 Digit key 8
8 Digit key 9
9 Digit key 0
16 Channel +
17 Channel -
18 Volume +
19 Volume -
20 Mute
21 Power
22 Reset
23 Audio Mode
24 Contrast +
25 Contrast -
26 Colour +
27 Colour -
30 Brightness +
31 Brightness -
38 Balance Left
39 Balance Right
47 Standby

مرجع: http://www.sbprojects.com/knowledge/ir/sirc.php

دانلود برنامه نوشته شده برای atmel studio

  • ابوالفضل شاکری

نظرات  (۰)

هیچ نظری هنوز ثبت نشده است

ارسال نظر

ارسال نظر آزاد است، اما اگر قبلا در بیان ثبت نام کرده اید می توانید ابتدا وارد شوید.
شما میتوانید از این تگهای html استفاده کنید:
<b> یا <strong>، <em> یا <i>، <u>، <strike> یا <s>، <sup>، <sub>، <blockquote>، <code>، <pre>، <hr>، <br>، <p>، <a href="" title="">، <span style="">، <div align="">
تجدید کد امنیتی