Some people got success in Arduindo using an older mobile cable which works as USB/Serial converters.<br>So you can read and write data as a serial port using pyserial.<br><br><div class="gmail_quote">On Tue, Jan 27, 2009 at 8:31 AM, Lie Ryan <span dir="ltr"><<a href="mailto:lie.1296@gmail.com">lie.1296@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Mon, 26 Jan 2009 11:08:48 -0600, Unknown wrote:<br>
<br>
> On 2009-01-26, Lie Ryan <<a href="mailto:lie.1296@gmail.com">lie.1296@gmail.com</a>> wrote:<br>
><br>
>> How about (a crazy idea) using the audio jack out? (DISCLAIMER: Little<br>
>> Hardware Experience). High pitched sound (or anything in sound-ology<br>
>> that means high voltage) means the device is on and low pitched sound<br>
>> off.<br>
><br>
> 1) Pitch has nothing to do with voltage. A high-pitch sound<br>
> and a low pitch sound can have the exact same voltage.<br>
><br>
> 2) The OP's device requires quite a bit of power. There is<br>
> almost no power available from the line-out jack, and the voltage is<br>
> limited to about 1V. If his sound card has a power-amp (none do<br>
> these days), he might be able to get a usable amount of power.<br>
><br>
>> The device will need an additional transistor to separate low voltage<br>
>> from the high voltage.<br>
><br>
> He'll need more than a transistor. He needs a power supply, some sort<br>
> of rectifier/detector, and a comparitor. It would be more interesting to<br>
> use notch filters to detect different frequencies so that you could have<br>
> multiple output "bits".<br>
<br>
</div>>From the little I know on electronics, a simple, single transistor would<br>
(almost) immediately switch from on-to-off-to-on depending on the voltage<br>
of the control pin (I think it was the middle pin). I was suggesting this<br>
simplistic hack because as far as I comprehend the OP's need, he only<br>
need on-off switch instead of a complex multiple output bits.<br>
<div class="Ih2E3d"><br>
>> I don't know how much power can be pulled from jack out,<br>
><br>
> Almost none, and what's there is very low voltage.<br>
<br>
</div>That's why the power is taken from USB port.<br>
<div class="Ih2E3d"><br>
>> but for a home brewn device it is still feasible to draw power from USB<br>
>> and signal from jack out.<br>
><br>
> It would probably be easier to buy a USB-parallel port chip. Then he's<br>
> got power from the USB bus and something like 14 parallel I/O pins he<br>
> can control. Alternatively A USB-serial chip will provide 2 outputs and<br>
> 4 inputs.<br>
<br>
</div>The idea was made on the basis that a USB microcontroller is not used.<br>
Getting power from USB should be much easier than getting data while the<br>
jack out can provide simple on-off signal.<br>
<div><div></div><div class="Wj3C7c"><br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Msc. Muriel de Souza Godoi<br>Computation Department<br>State University of Maringá<br>Brazil<br>