[clug] Linux compatible external Thermometer
Brian
brians at en.com.au
Tue Feb 23 15:11:16 MST 2010
For a more general solution consider the Bus Pirate PCB
Prebuilt PCB connects USB to a range of serial buses
* 1-Wire
* I2C
* SPI
* JTAG
* Asynchronous serial
* MIDI
* PC keyboard
* 2- and 3-wire libraries with bitwise pin control
See:
http://hackaday.com/the-bus-pirate-universal-serial-interface/
Available at littlebird electronics Sydney:
http://www.littlebirdelectronics.com/products/bus-pirate
Brian
Peter Barker wrote:
> On Tue, 23 Feb 2010, Paul wrote:
>
>>> I enjoy using various cheap USB devices for this. Easy to get working.
>>> http://cgi.ebay.com.au/Laptop-PC-USB-Thermometer-Measure-Temperature-Data-Log_W0QQitemZ330388178644QQcmdZViewItemQQptZAU_Components?hash=item4cecab86d4
>>>
>
>> So how do you read the device data? is it in the /proc filesys?
>
> I'm led to believe it changes per-device. Multiple devices are sold
> with identical packaging and branding....
>
> Those I have heard of:
> - use libusb to get the data using temper-1.0
> - read from the device you get at /dev/ttyUSBx
> - read from the keyboard device which is presented(!)
> - I have actually seen this one in action. Linux conveniently
> connected it to the console for me, so the shell was continually
> attempting to execute, "32.0", "32.5" - that sort of thing :-)
> - you should probably consider that security-wise when plugging
> random USB devices into your machine :-)
>
>> thanks
>
> Yours,
More information about the linux
mailing list