UNABLE TO CONNECT VIA RS-232 TO AN OPENIMU300RI EVK. PN:8350-3311-01

Hi:

recently I have acquired an OPENIMU300RI. I am evaluating the possibility to measure the pitch/yaw/roll angles of the nacelle of a Wind Turbine.

I have connected it to an external power supply (13V, 0.5A). I have imported examples from ACEINNA extension (Visual Studio code) and uploaded to the sensor with no errors. Everything seems to work properly.

I have connected the RS-232 output port to a db9 RS-232 (male)-USB cable and it has been impossible to detect the IMU unit. I have used the .exe pyton server (Server_Win32 1.0.5.exe). Ths RS-232 to USB cable includes a driver and the computer detects properly the COM port.

I have tried in different computers (one with Windows 7 and another one with Windows 10). And was impossible to connect.

WIN 7:

This is the error message:

unnamed.png

meanwhile in WIN10 the software does not give an error (but the app gets frozen testing port COM1).

I have tried changing the baud rates etc and always I see the same error. Also I have tried to change the USB port, update drivers etc.

The DB9 to USB wire I use is (https://www.ebay.es/itm/Cable-Adaptador-De-Usb-A-Puerto-Serie-Db9-Rs-232-0-8-m-USB-Conversor-Adapter-232/351583039053?hash=item51dbfb6e4d:g:fsMAAOSw8f9b4UEb)

Thanks in advance.

for 300RI which similar with our MTLT, so pls refer to below topic in MTLT region:
https://forum.aceinna.com/topic/40/pc-cannot-detect-rs232/5

after connection well, use NAV-VIEW to connect it:
https://navview.blob.core.windows.net/web-resources/NAVVIEWV356.zip

@cek

Thanks for the soon reply.

Connection wires were provided by Aceinna, I have open the RS232 one and seems to be properly connected:

IMG_20190717_091650.jpg

Thanks.

David

Hi:

I have swapped blue and white wires.

Still does not work, same error using pyton driver. NAV_VIEW also is not able to detect the IMU,

Thanks.

@david

OPENIMU300RI / Mtlt305D are always used in vehicles such as cars and tractors via CAN interface, so the RS-232 messages are QUIET by default.

Nav-view software can help you configure unit to send messages via RS-232 interface:

  1. Connec unit and PC with a RS-232 to USB cable.
  2. Open Nav-view, it can scan all available COM ports and try some usual baudrate, then connect unit automatically. If the bottom of GUI become green, it means Nav-view has connected with unit successfully, rather, if it is red as below picture, it means hasn't connected. You can try to replug usb port or re-open Nav-view.
  3. After the unit connect with Nav-view successfully, you can configure the output rate in configuration sheet.
    1563374775318.jpg

If the unit can't connect with Nav-view:

  1. Could you please tell me which sample code or application bin you downloaded to unit, it is better to provide a screenshot.
  2. Could you please try to receive messages via CAN? Unit outputs messages all the time. So we can make sure the unit is still alive after you upload bin/firmware last time.

Thanks.

@ysong

Thanks for the quick response. Unfortunately I have tried to connect using NAV_VIEW in automatic mode and in manual mode. No response at all.

I have to units, an EVK and a standard 300RI (without the evaluation Kit). Today I have tried to connect the standard 300RI unit with the same results. No connection.

I think my problem is more related with software? But i have tried in two different computers and in both cases the pyton executable (pyton server.exe) was not able to connect to any of the two units. In WIN7 64-bit I receive a message from the app but in W10 the app says that is trying to connect to the specific port but never connects. No error messages.

Maybe there is a problem with the wire provided ? The 6 pin one that connects to the RS-232/CAN. As i have been able to connect via JT2 and upload software to the unit successfully. Seems that the problem could be between the unit and the computer.

Are there any tests that I can do using a Digital Multimeter to ensure that the 6pin connector/RS-232 is working properly?

Thanks

David

pls show your HW connection pic and SW status pic what you do

@david i think it is still connection problems, pls check 2 points again:

  1. line:
    9f45bf03-9a7c-469b-861b-5d274e606f8b-image.png
  2. system device management found it yet:
    cba6d218-3f7e-44f5-b965-1c39fa80b2e6-image.png

how about your status now?

Thanks for the response. I am busy with other tasks and haven´t time to continue with the IMU unit.
I will check if there the wire connections are correct, by checking with a digital multimeter the RS-232 pins and the 6-pin connector. I will check for electrical continuity.

When I connect the device to my computer, in the devide management I always see that something is connected. Furthermore when I connect the IMU, the pyton.exe looks properly in the COM ports where the IMU is connected.

Thanks. I´ll let you know.

@david

This is being a nightmare, I have checked for continuity between 6pin conector and DB9 pins and was OK.

Please see the next picture: I have build and then upload a project (imported example). Its OK. isnt it?

IMG_20190720_220934 (1).jpg

After that I disconnect all wires (except external DC) and connect the 6 pin -rs232 to my rs232 to usb cable. I connect, the device is properly recognized (the computer beeps). And again the same problem. Neither NAV-VIEW nor pyton detects the IMU sensor.

I am getting crazy with this sensor.

Thanks

David

  1. your device is OpenIMU300RI, if flashed the FW or App for 300ZA, or it will be not working.
    so you need flash back to 300RI firm ware by ST-LINK under below steps:
    9a8bbcb1-f3c2-41eb-930c-9df663d171df-image.png
    bin file: 5020-3309-01_OpenIMU300RI_1.0.24.bin
  2. currently only NAV-VIEW support RI now, so pls try to connect it by below steps:
    31b60dbe-e20a-4ec6-a403-ac094189a743-image.png
    3, 300RI send out the CAN message, it will send the messages: acceleration and gyro and slop angle information(pitch, roll), related format can refer to user manual of MTLT305D

Found the problem. The RS-232 to USB conversor wire was broken or did not work properly.
I have used a computer with a standard RS-232 port and the software works properly.

Thanks to all for your support.

We have tested our MTLT305D directly connected to a PC and was working. We have a data logger CANedge2 and tested both channels are working since we managed to power it up and a USB connected to the CH2 was powered by it. Now my query is how to configure the MTLT305D to connect to this data logger? Can anybody help me on this please.

Thanks.

@JimmyEG you mentioned "We have a data logger CANedge2 and tested both channels are working ", already connected, right? so not understand your request.
pls complement:

  1. which protocol data logger supported?
  2. how to connected on HW in your side? it is better to show your connection style by pic
  3. CAN protocol you used, right? not RS232 connection.
  4. after connection well, use NAV-VIEW to configure MTLT: DOWNLOAD
  5. refer to MTLT user manual: link
Log in to reply