Sign in   |  Join   |  Help
Click here to change your Beoworld Account Details

Raspberry PI as media center steered by Beolink 4

rated by 0 users
Not Answered This post has 0 verified answers | 9 Replies | 5 Followers

Alsfeld
Top 500 Contributor
63 Posts
OFFLINE
Founder
Alsfeld posted on Sun, Sep 1 2013 8:27 PM

I am using a Raspberry PI with RaspBMC (http://www.raspbmc.com/) as media center with XBMC controlled by my Beolink 4.

(1) In order to realize this solution, I am using a TSOP7000 miniature infrared receiver of 455kHz (http://darisusgmbh.de/shop/product_info.php/products_id/34359/language/de)

(2) I followed the instructions on http://forum.stmlabs.com/showthread.php?tid=5549 Step 3 to Step 5.

(3) Unfortunately I had some difficulties with the Beolink 4, since not all selected keys trained worked in the beginning. In these cases I exchanged the recorded codes and used the codes from the document "Beo4" on page http://lirc.sourceforge.net/remotes/bang&olufsen/.

All Replies

MJBeo
Top 500 Contributor
Netherlands
207 Posts
OFFLINE
Gold Member
MJBeo replied on Fri, Sep 6 2013 5:08 PM
Cool! Will this work with beolink 1000? And this IR receiver is only 3€?

I will try this, thanks

Beosystem 5500 + Playmaker MKI + RL60.2 / MCL2 A + RL35      BV7-32 MKIII + Raspberry Pi3 + Lintronic -238 + MCL2P & CX50 / Cona     4 link rooms with MCL2 A / MCL2 A/V + MCL2P  + CX100 / CX50 / Grundig 210a     Various Vintage restore objects

Rivenflush
Top 200 Contributor
Gothenburg
333 Posts
OFFLINE
Bronze Member

This looks cool!

Is XBMC running smoothly? What skin do you use (Aeon?)?

What model of the Raspberry PI do you have (A or B)?

 

Br

Martin

My B&O products: Beosound 9000, Beosound 2300, Beosound Century, Beolab 8000, Beolab 6000, Beolab 4000 x2, Beolab 3500, Beolab 2000, Beolab 10, Beolink Active x2, Beotime, Beo5 x2, Beo4, A9 keyring x2, LC2 dimmer x6 and growing....

Beobuddy
Top 25 Contributor
Utrecht, The Netherlands
3,239 Posts
OFFLINE
Founder

I have the B version and it works very slow. I've tried several XMBC images, but stopped experimenting due to the amount of irritation.

For the record, I stream video from a NAS.

Alsfeld
Top 500 Contributor
63 Posts
OFFLINE
Founder

@MJBeo

Yes, you only need the TSOP7000 IR receiver for ~3 Euros and some cable to connect it to GPIO.
It should work with the beolink 1000, too.
I only recorded the most important keys, see attached lircd.conf file. For more complicated tasks I anyway use a keyboard.

@Rivenflush

It's running OK for accessing and streaming video, music and picture files from NAS (Synology) in my case. Live TV via HDHomeRun Internet Tuner + NAS + DVBLink runs perfectly, too. But normally I use my NAS as video recorder and watch it later via raspberry on my TV.

Originally I used the default skin "Confluence", but I changed to "Quartz" and overclocked my Raspbmc to increase the performance. I am using Raspberry Model B.

Alsfeld
Top 500 Contributor
63 Posts
OFFLINE
Founder

I had some problems with the TSOP7000, not reacting always to my Beolink 4 (like loose contact). The TSOP4838 (for 38 kHz) which I connected via PUC to my Beovision 9, on the other hand worked smooth form the beginning. After added a capacitor C1 - 4.7µF, a diode D1 - 1N4148 and a resistor R1 - 4k7 like this:

+-----------------------+ 3                                  | /|   3

|                     + +----------+-------------------+-----|< |-o VS

|                       |          | +                 |     | \|

|      ______________   |        -----                 |    D1(1N4148)

|     /                 |        -----                | |

|    (                  |          |                  | |

|     \______________ - +----------+-------o GND      | |

|                       | 2     C1(4.7µF)    2         |

|                       |                              |

|               data -> +------------------------------+----------o OUT

+-----------------------+ 1                          R1(4k7)        1

 

The TSOP700 works smooth and reliable with the Beolink 4(see http://www.lirc.org/receivers.html, too).

But still I have two questions:

1)     Is there somebody who can explain, why I need an C1 and R1 for the TSOP7000 to work smooth but not for the TSOP4838?

2)     On http://lirc.sourceforge.net/remotes/bang&olufsen/ you find a lirc.conf file for the Beolink 4. I used the old one, with the following format per Key:

          name KEY_UP

              200    3125     200    3125     200   15625

              200    3125     200    6250     200    6250

              200    6250     200    6250     200    6250

              200    6250     200    6250     200    6250

              200    6250     200    6250     200    6250

              200    9375     200    6250     200    6250

              200    6250     200    3125     200   12500

              200

 

The “new” format (somebody changed the file on 01-May-2014)

 

    name KEY_UP

          KEY_0                    3125                      #  Was: 200

          KEY_0                    3125                      #  Was: 200

          KEY_0                    6250                      #  Was: 200

          KEY_0                    6250                      #  Was: 200

          KEY_0                    6250                      #  Was: 200

          KEY_0                    9375                      #  Was: 200

          KEY_0                    6250                      #  Was: 200

          KEY_0                     #  Was: 200

Does not work on my Raspberry PI setup. In case somebody is looking for the old file, I have downloaded and can provided it.

 

 

Alex
Not Ranked
Essex
51 Posts
OFFLINE
Bronze Member
Alex replied on Sun, Apr 5 2015 12:06 PM

for my Avant 55" i use a MINIX X7 system,

They are a great media system android based and also has its own version of XMBC which runs really smoothly

also B&O have the PUC to control it so controlling it via the B&O remote was easy!

tournedos
Top 10 Contributor
Finland
7,226 Posts
OFFLINE
Gold Member
Moderator

Alsfeld:
1)     Is there somebody who can explain, why I need an C1 and R1 for the TSOP7000 to work smooth but not for the TSOP4838?

These 3-pin IR receiver ICs are quite sensitive components. The C and R are there to filter & suppress power supply interference. Even if you didn't find the *38 to necessarily need them, it probably works more reliably and is more sensitive with them.

The last time I looked into the "Beo 4" entry in LIRC repositories some years ago, the config file was far from complete and seemed to have been captured with unstable and/or incorrect timing parameters so it didn't need many additional uncertainties to start working erratically. I ended up recapturing it completely from scratch. Unfortunately I don't think I have it left anywhere anymore, since I later abandoned LIRC completely and wrote my own receiver on an Arduino.

Now that my main TV is a Sony, I don't need any direct IR control at all since the RPi + OSMC -combo is controlled directly via HDMI CEC. Unfortunately that also means I need to live with the crappy Sony remote.

--mika

boetter
Not Ranked
1 Posts
OFFLINE
Bronze Member

Sounds lile a fantastic solution! I am ready to buy a Minix for my Beocenter 1, but unable to find any info on B&O compability anywhere. Can you help? Maybe a step-by-step guide on how to set it up?

Purup
Not Ranked
2 Posts
OFFLINE
Bronze Member
Purup replied on Mon, Jun 12 2017 12:47 PM

Hello,

I'm all new to this forum and the Raspberry PI and now my mind is set on controlling some LEDs with my Beolink4.

So far, I have setup a Raspberry Pi Zero with LIRC and connected a TSOP7000 as per your diagram above. By running "mode2 -d /dev/lirc0", I get lot of output when pressing the remote. It looks like:

space 12
space 6056
space 6266
space 75
space 113
space 6072
space 125
space 24
space 2979
space 191
space 12325
...and so on - lots off spaces, very few pulses. Does this looks right? (Occasionally I get output even when I don't press the remote too, mostly spaces between 1 - 25)

I have used irrecord to create the lircd.conf file, but examining the file pulse/space data looks very irregular - not anywhere as neat as your examples above. I have also copy/pasted your KEY_UP values into the lircd.conf file. Regardless, using irw I am not able to detect any button presses.

Any suggestions as to where the problem is would be much appreciated!

Also, if I could have the lircd.conf file you had success using, that would be great. My email is mads@purup.com

Thanks!

 

 

Page 1 of 1 (10 items) | RSS