Author Topic: Dianemo S - Control 3D functions on LG TV via Serial  (Read 6533 times)

fibres

  • Guru
  • ****
  • Posts: 306
    • View Profile
    • LinuxMCE 08.10 RC Mirror.
Dianemo S - Control 3D functions on LG TV via Serial
« on: July 24, 2012, 01:38:34 am »
Hi Guys

I have sucesfully setup my LG tv via serial and can control nicely through Dianemo.

However I am unable to turn 3d mode on and off.

Idealy it would be great if I could set a atttribute of the Side by Side 3d mkv files I have on my system and when I play them have it autimatically send the command to the TV to turn it into the required 3d mode.

However a simple button on the Video remote on an orbiter to select the modes would do.

The manual for my TV gives me the commands to change into these modes. I just dont know how to go about putting everything else into place.

Regards

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Dianemo S - Control 3D functions on LG TV via Serial
« Reply #1 on: July 24, 2012, 02:47:23 pm »
Hi Guys

I have sucesfully setup my LG tv via serial and can control nicely through Dianemo.

However I am unable to turn 3d mode on and off.

Idealy it would be great if I could set a atttribute of the Side by Side 3d mkv files I have on my system and when I play them have it autimatically send the command to the TV to turn it into the required 3d mode.

However a simple button on the Video remote on an orbiter to select the modes would do.

The manual for my TV gives me the commands to change into these modes. I just dont know how to go about putting everything else into place.

Regards

Hi Fibres,

Let me know what LG model you have and the code(s) in question I'll look at how we could integrate at least basic control of the 3D mode for this and other similar TV's.

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

fibres

  • Guru
  • ****
  • Posts: 306
    • View Profile
    • LinuxMCE 08.10 RC Mirror.
Re: Dianemo S - Control 3D functions on LG TV via Serial
« Reply #2 on: July 24, 2012, 06:28:57 pm »
Hi Andrew

I am on the fly at the second but ill post the details when I get back. Would be great if we can do this!

Regards

fibres

  • Guru
  • ****
  • Posts: 306
    • View Profile
    • LinuxMCE 08.10 RC Mirror.
Re: Dianemo S - Control 3D functions on LG TV via Serial
« Reply #3 on: July 24, 2012, 08:47:13 pm »
Hi Andrew

The TV is a LG 55LW450U

I am currently using the Generic LG RS232 ucase proto template which is controlling the on/off of the tv fine.

I dont know about other functions as not used them.

The following is from the LG manual.

25. 3D(Command: x t) (only 3D models)
►►To change 3D mode for TV.
Data Structure
Data01 00 : 3D On
01 : 3D Off
02 : 3D to 2D
03 : 2D to 3D
Data02 00 : Top and Bottom
01 : Side by Side
02 : Check Board
03 : Frame Sequential
Data03 00 : Right to Left
01 : Left to Right
Data04 3D Effect(3D Depth) : Min : 00 ~ Max : 14
(*transmit by Hexadecimal code)
*If data1 is 00(3D On), data4 has no meaning.
*If data1 is 01(3D off) or 02(3D to 2D), data2, data3 and
data4 have no meaning.
*If data1 is 03(2D to 3D), data2 and data3 have no
meaning.
Transmission
  • [t][ ][Set ID][ ][Data01][ ][Data02]

[ ][Data03][ ][Data04][Cr]
Ack [t][ ][OK][Data01][Data02][Data03][Data04]
[t][ ][NG][Data01]



The  main function needed is to turn on 3d mode with option of top/bottom or side/side. And obviously also to turn 3d mode off.

So 3 buttons.

Regards

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Dianemo S - Control 3D functions on LG TV via Serial
« Reply #4 on: July 24, 2012, 09:04:57 pm »
Hi Andrew

The TV is a LG 55LW450U

I am currently using the Generic LG RS232 ucase proto template which is controlling the on/off of the tv fine.

I dont know about other functions as not used them.

The following is from the LG manual.

25. 3D(Command: x t) (only 3D models)
►►To change 3D mode for TV.
Data Structure
Data01 00 : 3D On
01 : 3D Off
02 : 3D to 2D
03 : 2D to 3D
Data02 00 : Top and Bottom
01 : Side by Side
02 : Check Board
03 : Frame Sequential
Data03 00 : Right to Left
01 : Left to Right
Data04 3D Effect(3D Depth) : Min : 00 ~ Max : 14
(*transmit by Hexadecimal code)
*If data1 is 00(3D On), data4 has no meaning.
*If data1 is 01(3D off) or 02(3D to 2D), data2, data3 and
data4 have no meaning.
*If data1 is 03(2D to 3D), data2 and data3 have no
meaning.
Transmission
  • [t][ ][Set ID][ ][Data01][ ][Data02]

[ ][Data03][ ][Data04][Cr]
Ack [t][ ][OK][Data01][Data02][Data03][Data04]
[t][ ][NG][Data01]



The  main function needed is to turn on 3d mode with option of top/bottom or side/side. And obviously also to turn 3d mode off.

So 3 buttons.

Regards


OK thanks. I wonder if those commands, outside of 3d on/of//, are pretty standard to 3d eneblaed TV's?

andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

fibres

  • Guru
  • ****
  • Posts: 306
    • View Profile
    • LinuxMCE 08.10 RC Mirror.
Re: Dianemo S - Control 3D functions on LG TV via Serial
« Reply #5 on: July 24, 2012, 10:27:08 pm »
Not sure.

I would expect them to be specific to LG. Though im not familiar with other tv's control codes used so not really basing that on anything other than my own sense of overinflated ego!

Regards

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Dianemo S - Control 3D functions on LG TV via Serial
« Reply #6 on: July 25, 2012, 02:05:59 am »
Not sure.

I would expect them to be specific to LG. Though im not familiar with other tv's control codes used so not really basing that on anything other than my own sense of overinflated ego!

Regards

I meant I wonder if the the principle of controlling those aspects of the 3d setup on TV's is broadly common... otherwise it will mean a specific screen will be needed for each TV. Some research is required... anyone have a view or knowledge on this?

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Dianemo S - Control 3D functions on LG TV via Serial
« Reply #7 on: July 25, 2012, 04:04:37 am »
My panasonic vierra has similar types of settings, it's in use right now but I recall it that it has options for side by side and frame sequential settings, can't recall about checkerboard or top bottom.

J.

fibres

  • Guru
  • ****
  • Posts: 306
    • View Profile
    • LinuxMCE 08.10 RC Mirror.
Re: Dianemo S - Control 3D functions on LG TV via Serial
« Reply #8 on: July 25, 2012, 12:15:55 pm »
Hi

I think the 3d modes are standard between all makes.

With side by side and top/bottom being most common, especially for use when coming from a non dedicated 3d source. Side by side and top/bottom can be played on a standard player as it is simply a 1080 picture split down the middle which gives 2 pictures. To the player this is a normal 1080 video. When played you see 2 pictures on screen until the 3d mode is selected whichcauses the tv play it as a 3d video and shows each image alternatively!

The other 2 types I have not come across as yet. I'll look more into this and report back!

Regards

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Dianemo S - Control 3D functions on LG TV via Serial
« Reply #9 on: July 25, 2012, 05:02:32 pm »
Hi

I think the 3d modes are standard between all makes.

With side by side and top/bottom being most common, especially for use when coming from a non dedicated 3d source. Side by side and top/bottom can be played on a standard player as it is simply a 1080 picture split down the middle which gives 2 pictures. To the player this is a normal 1080 video. When played you see 2 pictures on screen until the 3d mode is selected whichcauses the tv play it as a 3d video and shows each image alternatively!

The other 2 types I have not come across as yet. I'll look more into this and report back!

Regards

It's not important to know what the functions do but that they are at least somewhat standardised or have a high commonality... and it sounds like they do which is encouraging!

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk