cyborg5 / IRLib

An Arduino library for encoding and decoding infrared remote signals
Other
213 stars 76 forks source link

Feature request: Implement B&O protocol #2

Closed Ion3 closed 6 years ago

Ion3 commented 10 years ago

Is it possible to implement the Bang & Olufsen protocol based on this project?

https://github.com/christianlykke9/Beomote

cyborg5 commented 10 years ago

When I get a chance I will check it out.

From: Ion3 [mailto:notifications@github.com] Sent: Friday, January 31, 2014 5:15 AM To: cyborg5/IRLib Subject: [IRLib] Feature request: Implement B&O protocol (#2)

Is it possible to implement the Bang & Olufsen protocol based on this project?

https://github.com/christianlykke9/Beomote

— Reply to this email directly or view it on GitHub https://github.com/cyborg5/IRLib/issues/2 . https://github.com/notifications/beacon/3612858__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNjY5NjA3MywiZGF0YSI6eyJpZCI6MjQ2NjcyNjV9fQ==--dbca666e7f43cf5c9b8189194ffbe4877aff358f.gif

Ion3 commented 10 years ago

Thank you! That would be great! :-)

cyborg5 commented 10 years ago

I did find some reference material for Bang and Olufsen protocol. One of the problems is that they use a 455 kHz carrier frequency which requires specialized hardware. Also most universal remotes cannot handle frequencies like that. Unless I had some expensive equipment I would not be able to test the code. Have you been able to use the code that you sent me the GitHub link? Do you have the receiver this required for that code? Also note that the code you showed me if only for decoding and not for sending. I don't know if I could generate a 455 kHz carrier directly using Arduino hardware. You might have to use a custom-built oscillator. Some of my Google searches suggested that the frequency is very particular and that their equipment actually uses crystal control modulators. On the other hand some high-end universal remotes like Logitech Harmony supposedly can learn and send such signals. I did find a reference that explains the protocol. If I get a chance I will try to put together some code and send it to you. Let me know if you have the ability to test it.

From: Ion3 [mailto:notifications@github.com] Sent: Friday, January 31, 2014 11:22 AM To: cyborg5/IRLib Cc: Chris Young Subject: Re: [IRLib] Feature request: Implement B&O protocol (#2)

Thank you! That would be great! :-)

— Reply to this email directly or view it on GitHub https://github.com/cyborg5/IRLib/issues/2#issuecomment-33808378 . https://github.com/notifications/beacon/3612858__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNjcxODE0MCwiZGF0YSI6eyJpZCI6MjQ2NjcyNjV9fQ==--bc820210e68b3d15aa4d0006a7f352c49e87c5d1.gif

Ion3 commented 10 years ago

Hi Chris,

I have some B&O equipment here and also an Arduino for testing. I would start building your recommended IR-circuit (http://www.analysir.com/blog/2013/11/22/constant-current-infrared-led-circuit/) and could test your code. As I understand you need a special receiver to receive the 455 kHz signals. I hope for transmission a normal IR-diode will do. If you have a purchase recommendation, please let me know.

The commands for the beomote are listed here, if I understand the code correct. (https://github.com/christianlykke9/Beomote/blob/master/Commands.h) In this code they are only used for receiving data, I hope they can also be used for sending.

Please let me know how to assist you!

Greetings, Timo

Ion3 commented 10 years ago

Does this post help?

http://forum.arduino.cc/index.php?PHPSESSID=tplhqbb32i0q7lha1vgqb1hmm7&topic=64692.msg1059061#msg1059061