Difference between revisions of "Ryde remote controls"

From BATC Wiki
Jump to navigation Jump to search
(Created page with "The Ryde DATV receiver is designed to work with an Infrared remote control handset. ===InfraRed sensor=== A Infrared sensor is needed and can be one salvaged from an old con...")
 
 
(52 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
The Ryde DATV receiver is designed to work with an Infrared remote control handset.
 
The Ryde DATV receiver is designed to work with an Infrared remote control handset.
  
===InfraRed sensor===
+
===Infrared sensor===
  
A Infrared sensor is needed and can be one salvaged from an old consumer electronic part or purchased new - typical example is https://uk.farnell.com/vishay/tsop2438/ir-receiver-45m-0-12mw-m2-side/dp/4913097
+
A Infrared sensor is needed on the receiver and can be one salvaged from an old consumer electronic part or purchased new - typical example is https://uk.farnell.com/vishay/tsop2438/ir-receiver-45m-0-12mw-m2-side/dp/4913097
  
  The sensor is connected directly to pin x of the RPi GPIO port.
+
[[File:Infrared-Sensors.jpg|200px]]
 +
 
 +
These sensors are 3 legged devices with +ve ground and output. The +ve should be connected to a 3.3v supply via a suitable resistor (typically 100 ohms) and the output is connected directly to pin 11 of the RPi GPIO port.
 +
 
 +
====5 volt devices====
 +
 
 +
Older devices may need to be used on a +5v supply and must be fitted with a resistor to ground on the high impedance output to reduce the voltage to 3.3v for the Rpi GPIO port. 
 +
 
 +
Connect 5v to the device and use an oscilloscope to measure the voltage on the output - connect a 47K resistor to ground and check the level drops to 3.3v - if not adjust the resistor value to suit.
 +
 
 +
===Remote control Handsets===
 +
 
 +
The following remotes are already programmed in to the standard firmware.  The numbers refer to their position in the Ryde ssh console menu.
 +
 
 +
* 1  Virgin Media remote
 +
* 2  Nebula DigiTV DVB-T USB receiver
 +
* 3  Ebay DVB-T / DVB-S combo box
 +
* 4  LG 42 inch TV
 +
* 5  LG Blu-Ray Player BP530R
 +
* 6  LG Blu-Ray Player BP620
 +
* 7  Samsung 32 inch TV
 +
* 8  Elekta Bravo TV
 +
* 9  WDTV Live Media Player
 +
* 10 Hauppauge MediaMVP Network Media Player
 +
* 11 Hauppauge USB PVR (ex-digilite?)
 +
* 12 Technosat TS-1 Satellite Receiver
 +
* 13 Technosat TS-3500 Satellite Receiver
 +
* 14 Digi-Wav £2 F2100 Universal Remote
 +
* 15 Octagon SF8008 Sat RX Remote
 +
* 16 Freesat V7 Combo
 +
* 17 RTL-SDR Basic Remote
 +
* 18 AverMedia PC Card Tuner
 +
* 19 German AEG DVD Player
 +
* 20 German Opticum HD AX150 labelled G-RCU-023
 +
* 21 Pheonix Satellite Receiver
 +
* 22 Classic labelled IRC83079
 +
* 23 Tesco 18.5 inch TV Model LCD 19-229
 +
* 24 Anonymous LED TV
 +
* 25 Fortech Star Sat RX
 +
* 26 CMTronic
 +
* 27 Technotrend TT Connect
 +
* 28 Philips RC 4492/01B TV
 +
* 29 MP3 Player
 +
* 30 Dreambox URC39931RJ0-06 TV
 +
* 31 Humax RM-F04 PVR
 +
* 32 Xtrend KT1252-XHY TV
 +
* 33 Salora TV or DVD?
 +
* 34 StreamZap PC Remote
 +
* 35 Sky Remote
 +
* 36 Toshiba CT-8541
 +
* 37 GT Media
 +
* 38 Strong SRT5434 Box
 +
* 39 Old Virgin Media
 +
* 40 Scott DVD
 +
* 41 Sagem Set Top Box
 +
* 42 Altech UEC Vast TV
 +
* 43 Marantz RTC002CD
 +
* 44 K0QIT
 +
 
 +
Photos of these remotes are on this page: [[Ryde Remote Photos]].  Note that Panasonic Remote Controls do not appear to work.
 +
 
 +
You can select the remote control by SSH in to the Ryde main menu > 3 Select the Remote Control Type.
 +
 
 +
===Using a custom remote control===
 +
 
 +
The Ryde receiver can be customised to use another suitable remote control - note not all remote controls will work.  Panasonic and Comag remotes do seem to ne incompatible.
 +
 
 +
You can program the Ryde to use a different type of remote:
 +
 
 +
First SSH into the Ryde and type menu.  Then go to option 6 IR Check.  This takes you to the command line. 
 +
 
 +
Next, press the following buttons on your remote control and note the code displayed against each button pressed. 
 +
 
 +
You will need to create a new file "my_remote.yaml" that has the following format (use spaces, not tabs):
 +
---
 +
name: My Remote Name
 +
driver: rc-5
 +
buttons:
 +
    POWER:  0x0d
 +
    UP:    0x16
 +
    DOWN:  0x17
 +
    LEFT:  0x18
 +
    RIGHT:  0x19
 +
    SELECT: 0x1a
 +
    BACK:  0x14
 +
    MENU:  0x15
 +
    MUTE:  0x20
 +
    VOL+:  0x21
 +
    VOL-:  0x22
 +
    CHAN+:  0x23
 +
    CHAN-:  0x24
 +
    ZERO:  0x00
 +
    ONE:    0x01
 +
    TWO:    0x02
 +
    THREE:  0x03
 +
    FOUR:  0x04
 +
    FIVE:  0x05
 +
    SIX:    0x06
 +
    SEVEN:  0x07
 +
    EIGHT:  0x08
 +
    NINE:  0x09
 +
 
 +
Do not worry if your remote does not have number buttons.  Menu, Up, Down, Left, Right and Select are sufficient to get started.  Just delete the lines for the buttons that you don't have.
 +
 
 +
====Remote Control IR Protocols====
 +
 
 +
You also need to set the protocol that the remote uses in this file - you can see the protocol in the brackets when you press a key:
 +
 
 +
Testing events. Please, press CTRL-C to abort.
 +
9801.580057: lirc protocol(rc5): scancode = 0x5
 +
9801.580077: event type EV_MSC(0x04): scancode = 0x05
 +
9801.580077: event type EV_SYN(0x00).
 +
 
 +
So in this example, the protocol is rc-5 and the code to enter in the file is 0x05.
 +
 
 +
The following protocols have been observed, although the protocol name to be saved in the file can be different from the exact reported protocol:
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Reported Protocol !! Text for file
 +
|-
 +
| nec || nec
 +
|-
 +
| necx || nec
 +
|-
 +
| nec32 || ''Not Supported''
 +
|-
 +
| rc5 || rc-5
 +
|-
 +
| rc6_0 || rc-6
 +
|-
 +
| ? || jvc
 +
|-
 +
| ? || sony
 +
|-
 +
| ? || sanyo
 +
|-
 +
| ? || rc-5-sz
 +
|-
 +
| ? || lirc
 +
|-
 +
| ? || sharp
 +
|-
 +
| ? || mce_kbd
 +
|-
 +
| ? || xmp
 +
|-
 +
| ? || imon
 +
|}
 +
 
 +
You should save the file with a name such as my_remote.yaml in the /home/pi/RydeHandsets/definitions folder.
 +
 
 +
You then need to amend the file:
 +
 
 +
/home/pi/ryde/config.yaml
 +
 
 +
and enter the handset filename (without the .yaml) so that section of the file looks like:
 +
 
 +
ir:
 +
    repeatFirst: 200
 +
    repeatDelay: 100
 +
    repeatReset: 400
 +
    libraryPath: /home/pi/RydeHandsets/definitions
 +
    handsets:
 +
        - my_remote
 +
 +
gpio:
 +
 
 +
Once you have edited and saved both files, you can press ctrl-c to exit the remote control code monitor screen, and then type menu to return to the menu and then start the receiver.  Test your remote.
 +
 
 +
If it all works, please post details of your remote and its codes on the BATC Forum here [https://forum.batc.org.uk/viewtopic.php?f=130&t=6759 BATC Forum Ryde Remote Controls].  The software team can then add the remote to the main build so that it is available to all users.
 +
 
 +
===Selecting the on-screen Display===
 +
 
 +
Software version 202012250 introduced "received frequency" and "SR" to the OSD.  You can add another remote control key to toggle the OSD on or off.  The entry to add to the remote control configuration file is of the form:
 +
    OSDTOG: 0x1e1b
 +
This can be inserted after the entry for NINE.  Clearly, you should substitute the code for the button that you want to use on your remote.  If you publish details of this new button on the Forum, it will be added to the reomte library and thus not over-written during the next software update.

Latest revision as of 16:36, 5 June 2022

The Ryde DATV receiver is designed to work with an Infrared remote control handset.

Infrared sensor

A Infrared sensor is needed on the receiver and can be one salvaged from an old consumer electronic part or purchased new - typical example is https://uk.farnell.com/vishay/tsop2438/ir-receiver-45m-0-12mw-m2-side/dp/4913097

Infrared-Sensors.jpg

These sensors are 3 legged devices with +ve ground and output. The +ve should be connected to a 3.3v supply via a suitable resistor (typically 100 ohms) and the output is connected directly to pin 11 of the RPi GPIO port.

5 volt devices

Older devices may need to be used on a +5v supply and must be fitted with a resistor to ground on the high impedance output to reduce the voltage to 3.3v for the Rpi GPIO port.

Connect 5v to the device and use an oscilloscope to measure the voltage on the output - connect a 47K resistor to ground and check the level drops to 3.3v - if not adjust the resistor value to suit.

Remote control Handsets

The following remotes are already programmed in to the standard firmware. The numbers refer to their position in the Ryde ssh console menu.

  • 1 Virgin Media remote
  • 2 Nebula DigiTV DVB-T USB receiver
  • 3 Ebay DVB-T / DVB-S combo box
  • 4 LG 42 inch TV
  • 5 LG Blu-Ray Player BP530R
  • 6 LG Blu-Ray Player BP620
  • 7 Samsung 32 inch TV
  • 8 Elekta Bravo TV
  • 9 WDTV Live Media Player
  • 10 Hauppauge MediaMVP Network Media Player
  • 11 Hauppauge USB PVR (ex-digilite?)
  • 12 Technosat TS-1 Satellite Receiver
  • 13 Technosat TS-3500 Satellite Receiver
  • 14 Digi-Wav £2 F2100 Universal Remote
  • 15 Octagon SF8008 Sat RX Remote
  • 16 Freesat V7 Combo
  • 17 RTL-SDR Basic Remote
  • 18 AverMedia PC Card Tuner
  • 19 German AEG DVD Player
  • 20 German Opticum HD AX150 labelled G-RCU-023
  • 21 Pheonix Satellite Receiver
  • 22 Classic labelled IRC83079
  • 23 Tesco 18.5 inch TV Model LCD 19-229
  • 24 Anonymous LED TV
  • 25 Fortech Star Sat RX
  • 26 CMTronic
  • 27 Technotrend TT Connect
  • 28 Philips RC 4492/01B TV
  • 29 MP3 Player
  • 30 Dreambox URC39931RJ0-06 TV
  • 31 Humax RM-F04 PVR
  • 32 Xtrend KT1252-XHY TV
  • 33 Salora TV or DVD?
  • 34 StreamZap PC Remote
  • 35 Sky Remote
  • 36 Toshiba CT-8541
  • 37 GT Media
  • 38 Strong SRT5434 Box
  • 39 Old Virgin Media
  • 40 Scott DVD
  • 41 Sagem Set Top Box
  • 42 Altech UEC Vast TV
  • 43 Marantz RTC002CD
  • 44 K0QIT

Photos of these remotes are on this page: Ryde Remote Photos. Note that Panasonic Remote Controls do not appear to work.

You can select the remote control by SSH in to the Ryde main menu > 3 Select the Remote Control Type.

Using a custom remote control

The Ryde receiver can be customised to use another suitable remote control - note not all remote controls will work. Panasonic and Comag remotes do seem to ne incompatible.

You can program the Ryde to use a different type of remote:

First SSH into the Ryde and type menu. Then go to option 6 IR Check. This takes you to the command line.

Next, press the following buttons on your remote control and note the code displayed against each button pressed.

You will need to create a new file "my_remote.yaml" that has the following format (use spaces, not tabs):

---
name: My Remote Name
driver: rc-5
buttons:
    POWER:  0x0d
    UP:     0x16
    DOWN:   0x17
    LEFT:   0x18
    RIGHT:  0x19
    SELECT: 0x1a
    BACK:   0x14
    MENU:   0x15
    MUTE:   0x20
    VOL+:   0x21
    VOL-:   0x22
    CHAN+:  0x23
    CHAN-:  0x24
    ZERO:   0x00
    ONE:    0x01
    TWO:    0x02
    THREE:  0x03
    FOUR:   0x04
    FIVE:   0x05
    SIX:    0x06
    SEVEN:  0x07
    EIGHT:  0x08
    NINE:   0x09

Do not worry if your remote does not have number buttons. Menu, Up, Down, Left, Right and Select are sufficient to get started. Just delete the lines for the buttons that you don't have.

Remote Control IR Protocols

You also need to set the protocol that the remote uses in this file - you can see the protocol in the brackets when you press a key:

Testing events. Please, press CTRL-C to abort.
9801.580057: lirc protocol(rc5): scancode = 0x5
9801.580077: event type EV_MSC(0x04): scancode = 0x05
9801.580077: event type EV_SYN(0x00).

So in this example, the protocol is rc-5 and the code to enter in the file is 0x05.

The following protocols have been observed, although the protocol name to be saved in the file can be different from the exact reported protocol:

Reported Protocol Text for file
nec nec
necx nec
nec32 Not Supported
rc5 rc-5
rc6_0 rc-6
? jvc
? sony
? sanyo
? rc-5-sz
? lirc
? sharp
? mce_kbd
? xmp
? imon

You should save the file with a name such as my_remote.yaml in the /home/pi/RydeHandsets/definitions folder.

You then need to amend the file:

/home/pi/ryde/config.yaml

and enter the handset filename (without the .yaml) so that section of the file looks like:

ir:
    repeatFirst: 200
    repeatDelay: 100
    repeatReset: 400
    libraryPath: /home/pi/RydeHandsets/definitions
    handsets:
        - my_remote

gpio:

Once you have edited and saved both files, you can press ctrl-c to exit the remote control code monitor screen, and then type menu to return to the menu and then start the receiver. Test your remote.

If it all works, please post details of your remote and its codes on the BATC Forum here BATC Forum Ryde Remote Controls. The software team can then add the remote to the main build so that it is available to all users.

Selecting the on-screen Display

Software version 202012250 introduced "received frequency" and "SR" to the OSD. You can add another remote control key to toggle the OSD on or off. The entry to add to the remote control configuration file is of the form:

    OSDTOG: 0x1e1b

This can be inserted after the entry for NINE. Clearly, you should substitute the code for the button that you want to use on your remote. If you publish details of this new button on the Forum, it will be added to the reomte library and thus not over-written during the next software update.