So I bought one of these
PSN50 power sensor modules pretty cheaply off ebay. I thought there was PC software you could use with it but apparently the software is only used for calibration and retails for like $3K.
The unit is supposed to connect to a sitemaster or whatever unit to measure power. As a result Anritsu won't tell me how to talk to it (fair enough I suppose).
Before I put it back on ebay I thought I'd play with it to see if I could make it work.
lsusb gives me this which looks promising (see the AT command interface)
Bus 004 Device 002: ID 0b5b:ffc8
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0b5b
idProduct 0xffc8
bcdDevice 0.00
iManufacturer 1 Anritsu Company
iProduct 2 PSN50 Power Sensor
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 67
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 0
CDC Header:
bcdCDC 1.10
CDC ACM:
bmCapabilities 0x02
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
CDC Call Management:
bmCapabilities 0x00
bDataInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0001
Self Powered
Even better - I found there is a device at /dev/serial/by-id/usb-Anritsu_Company_PSN50_Power_Sensor-if00
So I poked some commands at it but whatever I send I get a response of 'BAD CMD'
The fact that is responds seem like good new but does anybody have any ideas what it might be expecting?
I tried *IDN?, ATZ (see if AT commands might work), help, ? 'read' and a bunch of other stuff.
Thanks,
Tom Biskupic