It is currently 05 Aug 2020, 06:12




 Page 1 of 1 [ 11 posts ] 
Author Message
 Post subject: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 01:45 
True fan
True fan
User avatar

Joined: 13 Aug 2018, 03:18
Posts: 375
Has thanked: 79 times
Been thanked: 84 times
I recently acquired two industrial players and I've built a cable to talk to them. I thought I would document the process here:

1. Buy a male DB15 connector and a female DB9 connector.
From DB15 to DB9 connect:
  • GND-GND
  • TXD-RXD
  • RXD-TXD
  • DTR-CTS,CD,DTR,DSR
Pioneer sold this as Pioneer Cable # CC-13. PacParts still has at least some variant of this available for order, but it is of course quadruple the cost of making one.

2. Buy USB to RS-232C converter. I believe I purchased mine at RadioShack long ago. Mine was made by Prolific.

3. If you don't have Linux running somewhere, install it on VirtualBox. I used Debian 9. After the OS is done installing, go to Devices -> USB and select your USB/serial converter.

4. Ensure your player is set to 4800 baud. On most players (all?) this is controlled by dip switch two on the back. It should be off for 4800 (up position).

5. ls /dev should show ttyUSB0. You can begin communication with stty. For example stty 4800 < /dev/ttyUSB0; echo -e "OP\r" > /dev/ttyUSB0 should open the door.

6. If you want something a little more robust, install minicom. Start with minicom -s and go to device (A) and set to /dev/ttyUSB0. Go to serial port setup (E) and change speed to 4800. Disable hardware flow control. Save setup as dfl.

I'm currently writing a library to make it easier to interact with these players. Controlling these players through software is pretty cool and can be useful. For example, it is possible to disable repeat play which is pretty annoying on these players, set the player into test mode, change background from blue to black, play at half speed, get your player's hardware revision number, etc.

Next up is to buy the barcode software Pioneer made to see if barcodes can be created from the more useful commands.


Attachments:
Hello_LDDB.jpg
Hello_LDDB.jpg [ 100.3 KiB | Viewed 604 times ]
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 03:40 
Jedi Master
Jedi Master
User avatar

Joined: 03 May 2004, 19:05
Posts: 6570
Location: United States
Has thanked: 334 times
Been thanked: 278 times
While I have no use for this I thank you for taking the time to post it.
It's pretty interesting and I'm sure others will try something with it.
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 12:14 
Hardcore fan
Hardcore fan
User avatar

Joined: 01 Feb 2018, 02:41
Posts: 1450
Location: Finland
Has thanked: 59 times
Been thanked: 133 times
My old PC actually has an on-board RS232 socket :o I wonder how that'd work.
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 13:36 
Advanced fan
Advanced fan
User avatar

Joined: 02 Aug 2019, 02:29
Posts: 575
Location: Australia
Has thanked: 30 times
Been thanked: 51 times
takeshi666 wrote:
My old PC actually has an on-board RS232 socket :o I wonder how that'd work.


It should work if it's a serial port.
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 13:45 
Jedi Knight
Jedi Knight
User avatar

Joined: 14 Jan 2010, 09:44
Posts: 4483
Location: United States
Has thanked: 283 times
Been thanked: 414 times
All old PCs have serial ports and they are pretty much all the same. Even if your machine doesn’t have serial the OS still has all the underpinnings so a USB adaptor and it’s drivers are the most you’d need for Windows.
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 18:40 
Absolute fan
Absolute fan
User avatar

Joined: 02 Apr 2006, 21:20
Posts: 1778
Location: United States
Has thanked: 14 times
Been thanked: 33 times
I was thinking of trying to get an old mac but it might be easier to get an old PC. just wished I kept mine since I knew it as it was my family's.
_________________
INSTAGRAM | Poetry Blog | youtube
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 19:03 
Hardcore fan
Hardcore fan
User avatar

Joined: 23 Jun 2017, 01:55
Posts: 1453
Location: United States
Has thanked: 506 times
Been thanked: 164 times
I keep an old laptop around just for that RS232 port.
_________________
My collection. If it's not anime, it's probably available for sale or trade.
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 22:33 
Jedi Knight
Jedi Knight
User avatar

Joined: 14 Jan 2010, 09:44
Posts: 4483
Location: United States
Has thanked: 283 times
Been thanked: 414 times
I have a USB serial adaptor thing I got from Best Buy. I only use it to interface with the Megasquirt (DIY ECU) in my Miata. It worked with my MacBook in both Windows 7 and OSX so I think the 3rd party has this licked now.

At work I may be using a dozen serial devices at once all going into multiple serial hubs and USB adaptors. It’s really quite a common standard to interface industrial stuff where fads are mostly ignored and working standards are used until the last moment. We still run Windows 2000 because why the hell not when nothing could be more obvious than the fact that it works (20 years nearly) in that occupation; running non-networked test gear for example.

I think it would be cool to run this kind of thing on the simplest machine possible, no fans, 286 maybe. Commodore tools would be cool to see, Amiga or earlier even.
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 23:06 
True fan
True fan
User avatar

Joined: 13 Aug 2018, 03:18
Posts: 375
Has thanked: 79 times
Been thanked: 84 times
It would be cool to create a bluetooth to RS-232 device to plug into the back of the player so your smartphone could function as a Level III remote control. Or to set certain settings on player power up.
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 05 Aug 2019, 23:18 
Advanced fan
Advanced fan
User avatar

Joined: 02 Aug 2019, 02:29
Posts: 575
Location: Australia
Has thanked: 30 times
Been thanked: 51 times
cplusplus wrote:
It would be cool to create a bluetooth to RS-232 device to plug into the back of the player so your smartphone could function as a Level III remote control. Or to set certain settings on player power up.


Might be doable but I'm not a coder so I wouldn't know.
There's a guy that has made an adapter (OGX360) to run Xbox 360 wireless controllers through original Xbox controller ports. The programming even emulates the Steel Battalion controller (yes, that large expensive mech controller) by using 360 chatpad keys for the special buttons.

The adapter uses Arduino Pro Micro boards.

Original Xbox controller ports are essentially USB but using proprietary plug/socket. I say essentially because there's one extra wire there that USB doesn't need.
Offline
 Profile  
 
 Post subject: Re: Serial Communication with CLD-V Industrial Players
PostPosted: 06 Aug 2019, 15:55 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 2981
Location: Tokyo
Has thanked: 114 times
Been thanked: 338 times
gypsy wrote:
I keep an old laptop around just for that RS232 port.


Been using this for years at work, to take control of network devices (Cisco, Arista, etc.) on location via the CONSOLE ports.
Just needs a DB9-RJ45 adapter that usually comes with the devices.

https://www.trendnet.com/support/support-detail.asp?prod=265_TU-S9

Julien
_________________
LDDb on Facebook!
HLD-X0/X9 | LG-1 RFD-1 MSC-4000 | Lumagen 2144
DHS-8.8 | Oppo 205 | SL-1200G
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 11 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: