[time-nuts] Temperature (environmental) sensors
Hal Murray
hmurray at megapathdsl.net
Thu Jan 5 15:59:20 EST 2017
jimlux at earthlink.net said:
> I'm kind of curious about their "UI".. hold CapsLock? how does this device
> manifest itself to the host computer? I saw a mention of HID, so it is
> emulating a keyboard?
I have a couple of the non-Gold versions. Plastic with a push button. They
have one sensor in the USB blob and a second sensor on a 3ft cable. There is
Linux code that lets you grab a reading when you want.
2017/01/05 12:40:03
Temperature (internal) 76.21F 24.56C
Temperature (external) 72.39F 22.44C
Yes, it's HID. I don't know anything about that area. The Linux code is
big/ugly (my opinion) enough that I didn't just extract the few lines of code
to stuff into my code but called their run-from-the-shell package. It's open
source so it shouldn't be too hard to figure out how it works.
Dec 27 04:02:54 deb kernel: [3857654.032036] usb 3-3: new low-speed USB
device number 6 using ohci_hcd
Dec 27 04:02:55 deb kernel: [3857654.246845] usb 3-3: New USB device found,
idVendor=0c45, idProduct=7401
Dec 27 04:02:55 deb kernel: [3857654.246854] usb 3-3: New USB device strings:
Mfr=1, Product=2, SerialNumber=0
Dec 27 04:02:55 deb kernel: [3857654.246861] usb 3-3: Product:
TEMPer2_M12_V1.3
Dec 27 04:02:55 deb kernel: [3857654.246867] usb 3-3: Manufacturer: RDing
Dec 27 04:02:55 deb kernel: [3857654.258488] input: RDing TEMPer2_M12_V1.3 as
/devices/pci0000:00/0000:00:03.1/usb3/3-3/3-3:1.0/input/input7
Dec 27 04:02:55 deb kernel: [3857654.259140] generic-usb 0003:0C45:7401.0007:
input,hidraw0: USB HID v1.10 Keyboard [RDing TEMPer2_M12_V1.3] on
usb-0000:00:03.1-3/input0
Dec 27 04:02:55 deb kernel: [3857654.266134] generic-usb 0003:0C45:7401.0008:
hiddev0,hidraw1: USB HID v1.10 Device [RDing TEMPer2_M12_V1.3] on
usb-0000:00:03.1-3/input1
The blurb for the Gold version said LM75. I haven't taken the cover off a
non Gold version.
--
These are my opinions. I hate spam.
More information about the time-nuts
mailing list