Your Universal Remote Control Center
RemoteCentral.com
Custom Installers' Lounge Forum - View Post
Previous section Next section Previous page Next page Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Page 1 of 2
Topic:
NEC Plazma RS232 control with Crestron!
This thread has 15 replies. Displaying all posts.
Post 1 made on Sunday December 18, 2005 at 17:30
CentrumInstlr
Lurking Member
Joined:
Posts:
December 2005
6
Hello All,

Having some issues getting the NEC RS232 control to function with the Crestron system. Have a TPS-4500 touch panel, and a PRO2 controler. Have all the program in place for the touch panel to have on and off buttons on the NEC Plazma monitors (61 and 42 inch) have as NEC stated to "cross-over" the 232 cable to the comm port. (2-3, 3-2, 4-6, 6-4, 5-5, 7-8, 8-7 for pin outs from unit to unit) I can see the program which I've uploaded into the PRO2 my program for control and can select to view that comm port leaving the Crestron equip and see what command string the NEC manual calls for leaving the Crestron. Only thing, the NEC asks for the protocal settings to be as HEX, I don't exactly know how to change the output ports of the Crestron to HEX?

Any suggestions..?

Thanks for reading,
Gary
If it was easy, Someone else would be doing it!
Post 2 made on Sunday December 18, 2005 at 18:14
Glackowitz
RC Moderator
Joined:
Posts:
May 2002
3,793
Gary, There is a crestron forum on yahoo. You will have a better chance of getting it answered there

[Link: groups.yahoo.com]

There is a few modules in the database fro the NEC as well, I think there is one in simpl windows too
There's no worse feeling than that millisecond you're sure you are going to die after leaning your chair back a little too far.
OP | Post 3 made on Sunday December 18, 2005 at 18:28
CentrumInstlr
Lurking Member
Joined:
Posts:
December 2005
6
Thanks, will give them a shot too, when the owner of the forum gives my regristration application some attention! Or what ever to allow me to post.
Tks.
If it was easy, Someone else would be doing it!
Post 4 made on Sunday December 18, 2005 at 18:40
cma
Super Member
Joined:
Posts:
August 2003
3,044
You wouldn't change the settings at all. The strings to the plasma need to be sent in Hex as apposed to decimal or ascii. An example of an Ascii string might be something like.. send_string, "'POWER ON'" An example of a Hex string might be send_string,"$0A,$FF,$3D,$0A" The Hex commands that you need to send should be laid out in the NEC rs-232 protocol document.
OP | Post 5 made on Sunday December 18, 2005 at 18:48
CentrumInstlr
Lurking Member
Joined:
Posts:
December 2005
6
On December 18, 2005 at 18:40, cma said...
You wouldn't change the settings at all. The strings
to the plasma need to be sent in Hex as apposed
to decimal or ascii. An example of an Ascii string
might be something like.. send_string, "'POWER
ON'" An example of a Hex string might be send_string,"$0A,$FF,$3D,$0A"
The Hex commands that you need to send should
be laid out in the NEC rs-232 protocol document.

I have put those very commands from the NEC RS232 protocol documentation into the Crestron string to be sent to the NEC. Something like 90H40H80HDLS (I'm not at work this moment and thats about all I can remember for the moment but it has a couple more sets of three charicter sets missing)
Thanks
If it was easy, Someone else would be doing it!
Post 6 made on Sunday December 18, 2005 at 18:54
GotGame
Super Member
Joined:
Posts:
February 2002
4,022
If you are programming in Simple windows, go over to the HELP section and look up the serial I/O, which I assume you are using. You have to make sure you enter the correct setting in the bottom of the serial I/O to send HEX. I am not going to give you the answer here.
I have not done a NEC in a while, but I remember only three wires, RX/TX and ground. NExt, make sure you have the Com baud rate and other settings correct in the configuration manager.
I may be schizophrenic, but at least I have each other.
OP | Post 7 made on Sunday December 18, 2005 at 18:57
CentrumInstlr
Lurking Member
Joined:
Posts:
December 2005
6
Will give it a try first thing in the AM,

Thanks,
Gary
If it was easy, Someone else would be doing it!
Post 8 made on Sunday December 18, 2005 at 19:51
Shoe
Founding Member
Joined:
Posts:
August 2001
1,385
There is a Crestron Module for NEC plasma but I don't recall the cable being crossover type. It's been about three years maybe four. I'll look in my laptop tommorow and check back.
OP | Post 9 made on Sunday December 18, 2005 at 19:58
CentrumInstlr
Lurking Member
Joined:
Posts:
December 2005
6
On December 18, 2005 at 19:51, Shoe said...
There is a Crestron Module for NEC plasma but
I don't recall the cable being crossover type.
It's been about three years maybe four. I'll look
in my laptop tommorow and check back.

The mfg manual states that, so that was what I went on. Thanks for checking.
Gary
If it was easy, Someone else would be doing it!
Post 10 made on Sunday December 18, 2005 at 21:08
Tony Golden
Founding Member
Joined:
Posts:
August 2001
654
Your membership request was approved *four minutes* after you submitted it, on a Sunday evening no less -- I think that was pretty good "attention"!


On December 18, 2005 at 18:28, CentrumInstlr said...
Thanks, will give them a shot too, when the owner
of the forum gives my regristration application
some attention! Or what ever to allow me to post.

Tks.
Post 11 made on Sunday December 18, 2005 at 21:11
DavidatAVX
Founding Member
Joined:
Posts:
August 2001
440
Tony you are slacking! I guess the southern slow pace is to blame! LOL!
Post 12 made on Sunday December 18, 2005 at 22:26
NSP01
Advanced Member
Joined:
Posts:
March 2005
834
Try this string for Power On with Crestron
\x9F\x80\x60\x4E\x00\xCD
That is from The Pioneer PDP6100 and Elite PRO1410HD.
You can download the full command list (well commomly used commands) at
[Link: pioneerelectronics.com]
The PRO1410 commands should work just fine.
John
They call me the "Thread Killer". Just watch!
Post 13 made on Monday December 19, 2005 at 07:50
Tony Golden
Founding Member
Joined:
Posts:
August 2001
654
Very funny, Dave -- maybe you're right :-)

On December 18, 2005 at 21:11, DavidatAVX said...
Tony you are slacking! I guess the southern slow
pace is to blame! LOL!
Post 14 made on Monday December 19, 2005 at 08:19
simoneales
Select Member
Joined:
Posts:
May 2005
1,782
On December 18, 2005 at 18:54, GotGame said...
I have not done a NEC in a while, but I remember
only three wires, RX/TX and ground. NExt, make
sure you have the Com baud rate and other settings
correct in the configuration manager.

I connect Nec plasma's to Crestron on a weekly basis and i can tell you that the configuration for wiring is 5 wire X-over.

2-3, 3-2, 5-5, 7-8, 8-7.

If your ever unsure if X-over cabling is required or if it is straight through do the following.

Make sure both end devices have the DB-9 connector plugged in and both devices are powered up

Grab multimeter and switch it to under 20v DC

Black probe to pin 5, red probe to pin 2, you should read negative voltage between 6 and 9 volts typically.

swap the red probe to pin 3 and you should also read a similar negative voltage.

If one of the readings was either positive or not showing voltage then switch pins 2 and 3 at one end and re-measure.

If you require a 5 or 7 wire configuration and pins 2 and 3 are crossed, then all other pairs will also be crossed and vice versa.

Also remember as a rule of thumb that if you only require 3 wire configuration, it still won't do any harm to have 5 or 7 wires connected so long as all pairs are wired the same way (crossed or straight through).

Be carefull to make sure that both ends are plugged in and powered up because if you only have one end plugged in, you will read a voltage leading you to believe that you need to swap the pins when in fact, that might not be the case.

You can get the odd case where you also need to short some pins on a connector but that is rare and what i have said above will get you through the vast majority of testing for correct connection.



Hope this helps someone.

Simon.

Last edited by simoneales on December 19, 2005 08:26.
I guarantee I'll tell you the truth and I guarantee I'll tell you what you need to know but I can't guarantee that I'll be telling you anything you want to hear.
Post 15 made on Monday December 19, 2005 at 08:32
Audible Solutionns
Super Member
Joined:
Posts:
March 2004
3,246
I don't care that your manual says you need a crossover cable. I do care where it says it's RX$, TX$, GND and if necessary, RTS and CTS lines will be found on its db9.

Then I care about where the control system says its pins for RX$, TX$ GND, RTS and CTS are found. Then you will discover if you need a crossover or straight through cable.

Next I'd pay attention to the com port settings.

Finally I'd hook my computer to the NEC directly and fire the strings from the sequence keys in Viewport/setup. You will want a null modem adaptor just in case you do step on incorrectly. Once you can communicate from Viewport ( which is a teminal emulation program. If you don't like Viewport, try HyperTerminal ) I'g go back to Crestron and try again. Rather then test the entire program, try sending basic commands such as power on and power off. Easiest way to do this without rewriting the program is to use Test Manager. Call up the TX$ and RX$ signal names you defined in the program ( ie, NEC_TX$ and NEC_RX$ ) and double click on that signal. You can then type in the string directly. See if that works. If not try it with the null modem in place and type in the string values.

Before you begin debugging a program I like to debug the wiring and serial logic. With some pieces you need to establish communciations and I like to this before debugging the program. If you have you IR wired out of phase or you serial connected to pin 3 when it should be pin 2 you will have an issue no amount of debugging the program will solve. If you are doing a lot of seral control a serial cable tester will save lots of time. Otherwise the advice above is well founded and I'd heed it were I in your shoes. Measuring TX$ and RX$ to GND will tell you which is TX$.

Alan
"This is a Christian Country,Charlie,founded on Christian values...when you can't put a nativiy scene in front fire house at Christmas time in Nacogdoches Township, something's gone terribly wrong"
Page 1 of 2


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse