arunavanag
Posts: 4
Joined: Tue Feb 21, 2017 8:35 am

interfacing rpi 3 with a e84 module

Wed Feb 22, 2017 9:25 am

Hello,

My Rpi (rpi 3 model b) is installed with raspbian and ros indigo. I have an E84 connector that performs optical communication. It is connected through a 25 pin connector, which I have interfaced with the RPI through GPIO pins. I have an external power source as I need 24V to drive my E84 module. I don't know if I should use the Raspberry power pin. I am attaching the timing diagram and Pin details of my E84. Could I drive my E84 using RPI, if yes how to program this given the timing diagram. (Planning to use C++).

I need 8 bits IN/OUT message. I can provide more details if required. Any help or input is highly appreciated.
Attachments
Pin Details.png
Pin Details E84
Pin Details.png (30.8 KiB) Viewed 1316 times
Transmission Timing.png
Transmission Timing.png (42.43 KiB) Viewed 1316 times

ghp
Posts: 1498
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany
Contact: Website

Re: interfacing rpi 3 with a e84 module

Wed Feb 22, 2017 7:24 pm

Hello,
a quick browse through the net provided some datasheet of E84-modules. Timing most possibly is not a problem, but electrical interfacing could require additional circuitry.
Provide (a link to ) the datasheet of the device in order to provide more help.
Regards,
Gerhard

arunavanag
Posts: 4
Joined: Tue Feb 21, 2017 8:35 am

Re: interfacing rpi 3 with a e84 module

Thu Feb 23, 2017 1:38 am

ghp wrote:Hello,
a quick browse through the net provided some datasheet of E84-modules. Timing most possibly is not a problem, but electrical interfacing could require additional circuitry.
Provide (a link to ) the datasheet of the device in order to provide more help.
Regards,
Gerhard
Hello Gerhard,

Thanks for your response. Here is the manual : http://sentekeurope.com/docs/technical/ ... Manual.pdf

I am using DMJ-HB1-Z50.

ghp
Posts: 1498
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany
Contact: Website

Re: interfacing rpi 3 with a e84 module

Thu Feb 23, 2017 6:48 am

What I understand from the data sheet is:
- the power supply for the device is 24V, so be careful with the connections from/to raspberry in order not to destroy the pi.
- the inputs of the device (output for the pi) can be handled with an uln2803 driver.
- the outputs of the device (input for the pi) most possibly can be handled using pullup resistors to 3.3V. (Check the voltage you get, in the datasheet a residual voltage of 1.8V is mentioned which could result to not recognize zeroes by the pi.)
- timings are in millisecond range, when you write the code in python this is no problem.

- if you have basic understanding of electronics, then this should not be a problem (but why do you ask then ?). Otherwise look for a local expert for support, especially for the construction of the interface hardware.

Hope this helps,
Gerhard

arunavanag
Posts: 4
Joined: Tue Feb 21, 2017 8:35 am

Re: interfacing rpi 3 with a e84 module

Thu Feb 23, 2017 7:47 am

ghp wrote:What I understand from the data sheet is:
- the power supply for the device is 24V, so be careful with the connections from/to raspberry in order not to destroy the pi.
- the inputs of the device (output for the pi) can be handled with an uln2803 driver.
- the outputs of the device (input for the pi) most possibly can be handled using pullup resistors to 3.3V. (Check the voltage you get, in the datasheet a residual voltage of 1.8V is mentioned which could result to not recognize zeroes by the pi.)
- timings are in millisecond range, when you write the code in python this is no problem.

- if you have basic understanding of electronics, then this should not be a problem (but why do you ask then ?). Otherwise look for a local expert for support, especially for the construction of the interface hardware.

Hope this helps,
Gerhard
Thanks for the specifics of the hardware. I haven't really programmed an E84 before, so quite a new device for me. The hardware should not be a problem, I can have it interfaced. But then how can i have it programmed for such a timing diagram. Could you send me any link as a sample program, which can accomplish such a timing diagram, and I can transmit and receive the 8 inputs as required?

I might be asking a very naive question, but as I mentioned quite new to it, so kindly excuse me.

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: interfacing rpi 3 with a e84 module

Thu Feb 23, 2017 8:06 am

arunavanag wrote:Hello,

My Rpi (rpi 3 model b) is installed with raspbian and ros indigo. I have an E84 connector that performs optical communication. It is connected through a 25 pin connector, which I have interfaced with the RPI through GPIO pins. I have an external power source as I need 24V to drive my E84 module. I don't know if I should use the Raspberry power pin. I am attaching the timing diagram and Pin details of my E84. Could I drive my E84 using RPI, if yes how to program this given the timing diagram. (Planning to use C++).

I need 8 bits IN/OUT message. I can provide more details if required. Any help or input is highly appreciated.
Hi,
I deleted your other duplicate posts concerning this in other sub-forums. Please don't duplicate posts - keep it to one thread.
Thanks
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

ghp
Posts: 1498
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany
Contact: Website

Re: interfacing rpi 3 with a e84 module

Thu Feb 23, 2017 8:29 am

Hello,
the datasheet is not very verbose. What I understand is that there is just a 'place data on input and some time later these will show up on output'-pattern. The GO signal is just an beam interrupted'-signal (?).
The other signals are not explained (or did I miss something ?).
There is an internal error buffer mentioned (ferromagnetic, really really strange), but no clue how to read this. Ask the manufacturer of this device for more details (and give results here for other interested people).
Regards,
Gerhard

arunavanag
Posts: 4
Joined: Tue Feb 21, 2017 8:35 am

Re: interfacing rpi 3 with a e84 module

Thu Feb 23, 2017 8:42 am

ghp wrote:Hello,
the datasheet is not very verbose. What I understand is that there is just a 'place data on input and some time later these will show up on output'-pattern. The GO signal is just a beam interrupted'-signal (?).
The other signals are not explained (or did I miss something ?).
There is an internal error buffer mentioned (ferromagnetic, really really strange), but no clue how to read this. Ask the manufacturer of this device for more details (and give results here for other interested people).
Regards,
Gerhard
Hello Gerhard,

This is where some more information could be found out if you have an access, "SEMI E84-1109 - Specification for Enhanced Carrier Handoff Parallel I/O Interface". I apologize I can't really share this document as it is not available as open source pdf.

If I have any update on my end I will definitely post here. I am just concerned how to program that timing sequence using the pi. My preferred language is C++.

Return to “Interfacing (DSI, CSI, I2C, etc.)”