Opticon 2001 - vendor id

88 views
Skip to first unread message

John B

unread,
Jan 25, 2019, 12:06:49 PM1/25/19
to DroidScript
Connection returns NULL. (usb = app.CreateUSBSerial(9600,8,1,0 ) )

Do you know if this device should be recognised by usb serial ?

lsusb gives the following

Bus 001 Device 005: ID 065a:0009 Optoelectronics Co., Ltd NLV-1001 (serial mode) / OPN-2001 [Opticon]

John


BareK

unread,
Jan 25, 2019, 8:40:06 PM1/25/19
to DroidScript
I read somewhere that this device does not offer serial communication protocol but Java apis are available.
You may have to create a Java plugin.
But I may be wrong, as I don't really know this product.

John B

unread,
Jan 26, 2019, 1:46:32 AM1/26/19
to DroidScript
Thanks for the information.

I have written a Python application for Linux that interrogates the OPN 2001/2002 devices. I use the 'serial' library to do this. Currently the vendor supplies Windows based software to read data out of the devices via USB.

My aim was to convert my Linux application to run on a tablet/phone/chromebook.

To work with the OTG for android devices I think that a Y-OTG with addition power is required. Without this - the led on the front of the OPN does not light up.




Dave

unread,
Feb 5, 2019, 1:40:27 PM2/5/19
to DroidScript
If you plug the device into a windows machine and go to the system/drivers section of control panel, do you see a VID and PID listed?

If so what are they?

John B

unread,
Feb 5, 2019, 4:05:40 PM2/5/19
to DroidScript
The VID/PID are listed in the document (line 7635/6/7)

In Windows I get 065a and 0009 ( same as lsusb in Linux).  I double checked this by putting the USB Host Controller App on my host.  This identifies the VID/PID as per Windows/Linux.  This last test indicates that the physical link is okay.

I have searched through Apps on the host just in case something else had grabbed the permissions.  Nothing obvious.

My next step is to find another host device to try this on.


Dave

unread,
Feb 6, 2019, 7:56:04 AM2/6/19
to DroidScript
I've added the Opticon vendor ID to the next release of DS so you can give it a go with the next version

(some sort of release is due today or tomorrow)
Reply all
Reply to author
Forward
0 new messages