Film-Tech Cinema Systems
Film-Tech Forum ARCHIVE


  
my profile | my password | search | faq & rules | forum home
  next oldest topic   next newest topic
» Film-Tech Forum ARCHIVE   » Operations   » Digital Cinema Forum   » DoReMi Serial and Arduino (Page 1)

 
This topic comprises 2 pages: 1  2 
 
Author Topic: DoReMi Serial and Arduino
Max M. Fuhlendorf
Film Handler

Posts: 12
From: São Caetano do Sul, SP, Brazil
Registered: Jun 2011


 - posted 08-15-2018 09:01 PM      Profile for Max M. Fuhlendorf   Email Max M. Fuhlendorf   Send New Private Message       Edit/Delete Post 
Hello.

I work in a theatre with manual light switches, and want to automate them. There is no budget for professional equipment, so I thought I could try my hand using automation cues from the server (an old Doremi DCP-2k4) and an arduino with dimmers/relays to control the lights.

I was thinking of using the GPO lines to control the arduino board, but the manual says it requires a Dolphin card, which is not installed. The manual says nothing of the motherboard serial RS232 port, does it work?

I'd love to hear your opinions.

 |  IP: Logged

Marcel Birgelen
Film God

Posts: 3357
From: Maastricht, Limburg, Netherlands
Registered: Feb 2012


 - posted 08-15-2018 11:45 PM      Profile for Marcel Birgelen   Email Marcel Birgelen   Send New Private Message       Edit/Delete Post 
If there's no Dolphin board installed, how exactly do you connect the projector to the DCP-2K4?

The Serial implementation is extremely straight forward and it's only one-way communication.

First you add a new serial device in the CineLister software, where you specify the serial port (usually just one, unless you connect USB to Serial devices), speed, data bits, stop bits, parity, etc.

You also specify the Message Type, which can be either a fixed length or one with an end-of-message delimeter like the end-of-line character.

Once you've configured the device, you can send simple, ASCII encoded messages over serial to it in any automation cue.

So, if you connect an Arduino to it, you simply open the port at the correct settings with the correct speed and you can implement a simple Serial.read() loop to fetch the input and parse commands you defined yourself.

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 08-16-2018 05:05 AM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
There are many Ethernet-Relay boards available on the D.I.Y. market.
Of course, RS232 with an Arduino is possible as well.

However, all Classic DCP2000/2K4 servers with Built-In MediaBlocks and and thus Dolphin 1.0/1.2 do have their own GPIOs on a DVI-connector. It's very easy to attach relays and switches to it. It may be, though, that your Doremi has been converted to a ShowVault with an IMB in the projector - then the Dolphin card is gone, and you may use the GPIOs on the IMB (dual RJ45 connectors). The use of both is well documented in the Doremi field installer manuals.

Maybe you can show us a picture of the rear end of your Doremi. The DVI/GPIO connector is located above the dual HD-SDI connectors. It looks like a DVI port, but it's just the connector, the pinout is completely different from DVI.

- Carsten

 |  IP: Logged

Dennis Benjamin
Phenomenal Film Handler

Posts: 1445
From: Denton, MD
Registered: Feb 2002


 - posted 08-16-2018 05:44 AM      Profile for Dennis Benjamin   Author's Homepage   Email Dennis Benjamin   Send New Private Message       Edit/Delete Post 
quote: Carsten Kurz
Maybe you can show us a picture of the rear end of your Doremi.
My teenage self just wants to laugh at this. [Wink]

 |  IP: Logged

Dave Macaulay
Film God

Posts: 2321
From: Toronto, Canada
Registered: Apr 2001


 - posted 08-16-2018 06:02 AM      Profile for Dave Macaulay   Email Dave Macaulay   Send New Private Message       Edit/Delete Post 
Yes, serial works. You create a serial device in device manager, the port settings are there. Then you create macros that send text to the device.
I assume you have a server that the media block has been removed from? They should either have the Dolphin card - with GPIO connector - or a PCIe connector for an IMB in a projector. You do need one or the other of these media block options to get video on screen.
I have avoided using GPIO because a Jnior is easier in most applications. Serial is useful for the occasional thing that wants it.

 |  IP: Logged

Max M. Fuhlendorf
Film Handler

Posts: 12
From: São Caetano do Sul, SP, Brazil
Registered: Jun 2011


 - posted 08-18-2018 05:36 PM      Profile for Max M. Fuhlendorf   Email Max M. Fuhlendorf   Send New Private Message       Edit/Delete Post 
Yes! You were all right [Big Grin] , the IMB is installed in the Barco with a PCIe connector to it. I didn't recognize the connector at first:
 -
 -

And what you guys said about the serial comms is just what I wanted to know, that you can send serial commands via the RS232 port. It is not well documented in tha paper manual I have here, I just downloaded a PDF copy. I will tinker with this and if/when I get around to actually building it, I will post some pictures here.

Thanks guys for all the help <3

 |  IP: Logged

Stephan Shelley
Jedi Master Film Handler

Posts: 854
From: castro valley, CA, usa
Registered: Nov 2014


 - posted 08-18-2018 06:09 PM      Profile for Stephan Shelley   Email Stephan Shelley   Send New Private Message       Edit/Delete Post 
You can also use the GPO on the IMB to do it like you originally planed.

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 08-18-2018 08:32 PM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
There are 4 inputs and 4 outputs on the IMB, each on an RJ45 socket (GPI/GPO). They are optoisolated, so you don't risc much on the precious IMB. The ShowVault field installer manual has circuit diagrams and basic schematics on how to use them. You can also buy cheap relay boards from ebay (those dedicated to Arduino or Raspberry PI projects), so you can get started for just a few bucks with some dumb on/off relays.

- Carsten

 |  IP: Logged

Marcel Birgelen
Film God

Posts: 3357
From: Maastricht, Limburg, Netherlands
Registered: Feb 2012


 - posted 08-19-2018 03:28 AM      Profile for Marcel Birgelen   Email Marcel Birgelen   Send New Private Message       Edit/Delete Post 
You should also refer to the manual of the Doremi ShowVault and not the DCP-2K4.

This machine might have started as a DCP-2K4, but it's technically now a ShowVault.

In there, you'll also find the pinout of the GPIO ports in the manual of the IMB.

 |  IP: Logged

Pete Naples
Phenomenal Film Handler

Posts: 1565
From: Dunfermline, Scotland
Registered: Feb 2001


 - posted 08-19-2018 10:42 AM      Profile for Pete Naples   Email Pete Naples   Send New Private Message       Edit/Delete Post 
If you do use the GPIO on the IMB, and it doesn't work. Don't necessarily blame yourself.

There are some out there with components missing which prevent the ports working. A colleague found this out after scratching his head for a long time on one job.
Presumably so few people use GPIO form the IMB nowadays that Dolby have never bothered with a Field Bulletin or recall.

 |  IP: Logged

Gordon McLeod
Film God

Posts: 9532
From: Toronto Ontario Canada
Registered: Jun 99


 - posted 08-19-2018 12:48 PM      Profile for Gordon McLeod   Email Gordon McLeod   Send New Private Message       Edit/Delete Post 
If entering serial commands do it in hex not asci as the carriage return that they have doesnt always work

 |  IP: Logged

Marcel Birgelen
Film God

Posts: 3357
From: Maastricht, Limburg, Netherlands
Registered: Feb 2012


 - posted 08-19-2018 04:26 PM      Profile for Marcel Birgelen   Email Marcel Birgelen   Send New Private Message       Edit/Delete Post 
I usually put the carriage return in the message format. That usually works, even with ASCII messages.

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 08-19-2018 07:38 PM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
It's very easy to test the ports for function with an Ethernet cable cut into two halves, and a basic multimeter. The built-in GPOs can very easily be addressed using the macro editor. If, for some reason, they shouldn't work, serial is your next step.

- Carsten

 |  IP: Logged

Max M. Fuhlendorf
Film Handler

Posts: 12
From: São Caetano do Sul, SP, Brazil
Registered: Jun 2011


 - posted 01-29-2019 08:44 AM      Profile for Max M. Fuhlendorf   Email Max M. Fuhlendorf   Send New Private Message       Edit/Delete Post 
quote: Carsten Kurz
It's very easy to test the ports for function with an Ethernet cable cut into two halves, and a basic multimeter. The built-in GPOs can very easily be addressed using the macro editor. If, for some reason, they shouldn't work, serial is your next step.

- Carsten

Thanks, I already did that, and I have all the components I'll need: the IMB board is working perfectly. One question: if I use the GPO outputs to drive a common 5V relay directly, can I just connect it or do I need to add some resistors in series?

 |  IP: Logged

Carsten Kurz
Film God

Posts: 4340
From: Cologne, NRW, Germany
Registered: Aug 2009


 - posted 01-29-2019 09:13 AM      Profile for Carsten Kurz   Email Carsten Kurz   Send New Private Message       Edit/Delete Post 
You should probably not drive a 'simple' relay directly. Even if the IMB itself is protected through the optocoupler, it may blow the secondary component of it, and the GPO may become disfunctional. Use at least a flyback diode.
There are many cheap relay boards available on ebay and amazon for Arduinos, Raspberry PI, etc,, and most of them offer optocoupler or at least transistor input stages. Use one of these. Very often, they can be bought for less than a single basic relay costs locally.

https://www.ebay.com/itm/5V-1-2-4-6-8-Channel-Relay-Board-Module-Optoco upler-LED-for-Arduino-PiC-ARM-AVR/401237960337?hash=item5d6ba56691:m:mzkfWblEtqpHZfTceI9Bh9A:rk:1:pf:0

The IMS1000 manual has GPIO circuits that will help you (from page 290):

https://www.mteworld.com/content/IMS1000_User_Manual_002949_v1_4.pdf

It shows direct connection of a basic relay coil as a GPO example and gives tech specs, but I would still avoid to do it that way. The circuit diagram also shows self-resetting fuses for every GPO, but, still...
Just buy one of those boards and play safe.

Many Maker shops will sell these boards in your country as well, I guess, at slightly higher price, but then, shipping is usually faster than from China.

You can continue to use these boards even if at some time you may choose to switch from direct GPO to e.g. serial with an ARDUINO inbetween.

- Carsten

 |  IP: Logged



All times are Central (GMT -6:00)
This topic comprises 2 pages: 1  2 
 
   Close Topic    Move Topic    Delete Topic    next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:



Powered by Infopop Corporation
UBB.classicTM 6.3.1.2

The Film-Tech Forums are designed for various members related to the cinema industry to express their opinions, viewpoints and testimonials on various products, services and events based upon speculation, personal knowledge and factual information through use, therefore all views represented here allow no liability upon the publishers of this web site and the owners of said views assume no liability for any ill will resulting from these postings. The posts made here are for educational as well as entertainment purposes and as such anyone viewing this portion of the website must accept these views as statements of the author of that opinion and agrees to release the authors from any and all liability.

© 1999-2020 Film-Tech Cinema Systems, LLC. All rights reserved.