Connecting Memosens to arduino (II)

I have seen the previous thread about the memosens & arduino communication (posted about 3 years ago),no solution there , so i decided to ask again.

i am trying to connect a memosens ph probe from endress+hauser via serial to usb interface (ft232rl). i am reading the packets with putty, and obviously there is nothing tangible , but i have communication :slight_smile: . what I managed to gather is that the baudrate of the memosens is 9600 (3.1 - 3.5 V, up to 100 m), but that's all.
see below what i have tried so far.
any ideas on how to tackle this issue?

Try printing the values as hex

i tried to convert a string:

˙@š á° ú üßŕ üńţqxŕđŔÜ<¸Ü˙ ř° ćŔ PP}ńü@ŕ aüôĘ1ář@4Ŕěŕ ŕ< ĐÄâĺ!ř° ázp PŕT ŕ đđ őóöňřőřÜřńŔÂô ó@ ţŔü@ ĐPŕ0ň !đňüúńńţţ˙Ď

cb 99 40 c5 a1 20 c3 a1 c2 b0 20 c3 ba 20 c3 bc c3 9f c5 95 20 c3 bc c5 84 c5 a3 71 78 c5 95 c4 91 c5 94 c3 9c 3c c2 b8 c3 9c cb 99 20 c5 99 c2 b0 c2 a0 c4 87 c5 94 20 50 50 7d c5 84 c3 bc 40 c5 95 20 61 c3 bc c3 b4 c4 98 31 c3 a1 c5 99 60 40 34 c5 94 c4 9b c5 95 20 c5 95 3c 20 c4 90 c3 84 c3 a2 c4 ba 21 c5 99 c2 b0 c2 a0 c3 a1 7a 70 20 50 c5 95 54 20 c5 95 c2 a0 c4 91 c4 91 c2 a0 20 c5 91 c3 b3 c3 b6 c5 88 c5 99 c5 91 c5 99 c3 9c c5 99 60 c5 84 c5 94 c3 82 c3 b4 20 c3 b3 40 20 c5 a3 c5 94 c3 bc 40 c2 a0 c4 90 50 c5 95 30 c5 88 20 21 c4 91 c5 88 c3 bc c3 ba c5 84 c5 84 c5 a3 c5 a3 cb 99 c4 8e 0d 0a

maybe it is possible from "translation" function from putty?

What does the datasheet for the device tell you?

That's encouraging.

Try using CoolTerm instead. It can display hex code directly

the problem with memosense is that i don't find any concrete info, just bits and pieces. the data sheet is just for the sensor/controller not for the memosense protocol it self,if i look for memosense protocol , i find just superficial stuff
.
(CPS71D http://www.merteh.lv/eh/pdf/TI00245CEN.PDF)

i will try with CoolTerm in a minute.

If you don't have any info about the protocol, you could try stripping off those MSBs and see if the message makes any more sense.

a step forward with CoolTerm :slight_smile: i can see individual strings :slight_smile: i will try striping them, and come back with an update.
If you have any further suggestions, please post them. Thank you for your input so far :slight_smile :slight_smile:

this FF FC FE FF ... combinations look like start or end marker.

Have you asked the vendor for a datasheet or protocol specification? the manufacturer? Mr Google?

i tried all memosens vendors/manufacturers (knick,hamilton,endress and wtw ; Memosens – Die ideale Lösung in der Analysenmesstechnik ) they either don't know or don't want to say. google is useless in this case.
the pic is communication settings with which i was able to receive some data.

i will update as long as i discover something new.

image

Hi,I am interseted too.If someone have any informations.please share
Thanks

so I think I have reached a conclusion. give up on memosens completely.
I tried with an old,inaccurate sensor with temperature and ph readings (4 wires),just for fun.
(see photos)

in combination with a mVoltmeter, i think it wil work

So you gave up?
I made it working with arduino... Kinda
I sniffed the comm (RS485).. I am able to pool the sensor for mV and temperature the only thing that I cannot get to work is the init of a different sensor
The measuring device and the probe exchange alot of info and in the end the measuring device sends an init that is specific to the probe and then the measuring device repeats the pooling message and the orobe answers...
And I think tge correct settings for the serial port are 8 bits 2 stop bits and even parity. And befire you send anything you need to pull the lin low for 1120us.. I think this is the start of message.
What puzzles me.. How does the measuring device calculate what kind of data it needs to send to "wake up" the sensor..
On one sensor I pull the line low for 1120us and then send 0x01,0x1a,0x04,0x00,0x1f,0x1b,0xa4,0xbf,0x25
The last four bytes are probe specific. The other probe that I have has the last four byte different (0xa9,0xe9,0x40,0x77)
You need to do this one time
Then you just pull the line low for 1120us and send 0x01,0x01,0x01,0x00,0x01
And you get replies.

Sorry for waking up this topic. According to your share, it seems that it is possible to use usb / rs485 to get the data of the Memosens sensors of Endress hauser.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.