USB in python

Tino Wildenhain tino at wildenhain.de
Tue Jan 27 23:43:00 CET 2009


Hi,

Astan Chee wrote:
> 
> Diez B. Roggisch wrote:
>>>     
>>
>> If all you need is on-off - why can't you just use a switch?
>>
>>
>>   
> Because I want to control the on-off the device using a computer and 
> write software for it (which I am confident I can do if I had references 
> to how the wrappers to said interface).

What I'm using is dallas 1wire stuff to do such things.
The dongle (which is available as USB too) connects
to the host and you have a lib with bindings even to python
for it: http://www.owfs.org/

The other end is just a bus with a telephone wire...

The most interesting part might be temperature sensors but
there are a lot of GPIO chips, electronic resistors, A/D converters
etc. available. Most of the stuff can be even ordered as sample
from dallas/maxim.

Regards
Tino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20090127/563b6b05/attachment.bin>


More information about the Python-list mailing list