christianlykke9 / Beomote

Bang & Olufsen Remote Library for Arduino
36 stars 15 forks source link

Use as power link receiver #7

Open pignoniG opened 3 years ago

pignoniG commented 3 years ago

Hi, this is not much of an issue but rather a note for other users if they are interested.

For a small project I wanted to integrate a web radio receiver with the FM radio selection of a beocenter. Basically I'm broadcasting a web radio in fm and I'm changing the "channel" being streamed by changing the channel on the beocenter, sort of an FM radio simulator.

Out of the box your code is "almost" capable of receiving data over the power link bus, (connecting the Arduino to one of the active speakers outputs on the beocenter), the timing and structure is almost identical, what changes, I think, is the length of the commands (which on the power link usually is 3x8 bits) and the fact that the address is divided in three (recipient sender and structure of the message).

I have the code up and running with some modification, but it's quite messy. I will try to clean it up and make it reusable, if I do so I'm wandering if it's something you wish to integrate in your repository and add support to power link, or if I should just make a different branch that concentrates on this "wired" communication.

Anyway, your code was extremely helpful and saved me a lot of work, many thanks!

davidlittle18 commented 3 years ago

Hi, this is not much of an issue but rather a note for other users if they are interested.

For a small project I wanted to integrate a web radio receiver with the FM radio selection of a beocenter. Basically I'm broadcasting a web radio in fm and I'm changing the "channel" being streamed by changing the channel on the beocenter, sort of an FM radio simulator.

Out of the box your code is "almost" capable of receiving data over the power link bus, (connecting the Arduino to one of the active speakers outputs on the beocenter), the timing and structure is almost identical, what changes, I think, is the length of the commands (which on the power link usually is 3x8 bits) and the fact that the address is divided in three (recipient sender and structure of the message).

I have the code up and running with some modification, but it's quite messy. I will try to clean it up and make it reusable, if I do so I'm wandering if it's something you wish to integrate in your repository and add support to power link, or if I should just make a different branch that concentrates on this "wired" communication.

Anyway, your code was extremely helpful and saved me a lot of work, many thanks!

I'd love to know more about this. are you able to explain what you did to me? Thanks,!