Hello all,<br><br>Thank you for your emails.<br><br>1) eToys: <br>It would be very nice to have support for Analog Input in eToys. <br><br>You could use my code -<br><br>See<br><a href="http://dev.laptop.org/git?p=projects/measure;a=blob_plain;f=audioGrab.py;hb=HEAD">
http://dev.laptop.org/git?p=projects/measure;a=blob_plain;f=audioGrab.py;hb=HEAD</a><br>(getting samples)<br><br>and<br><a href="http://dev.laptop.org/git?p=projects/measure;a=blob_plain;f=buttons.py;hb=HEAD">http://dev.laptop.org/git?p=projects/measure;a=blob_plain;f=buttons.py;hb=HEAD
</a><br>(toggling between AC/DC modes and controlling bias voltage etc.)<br><br>Or I could easily provide you with a class that you could use. I could make functions in that class that could simply return to you the required values. For example there could be a function that you could call to return avg voltage or rms voltage, select between ac/dc modes, set bias_on, set bias_off.....
<br><br>Let me know if I can help in any way.<br><br>I have opened the following ticket . See here - <a href="http://dev.laptop.org/ticket/2800">http://dev.laptop.org/ticket/2800</a><br>I have not assigned the ticket to any one nor set a time line for it as of now. Please feel free to set those.
<br><br><br>2) Output Analog/Digital:<br>The USB is an interesting idea as I had discussed with Mitch. I could simply make a board using a USB to parallel kind of a chip. I will be getting down to doing something similar shortly.
<br>Anybody would suggest to explore audio out for a similar purpose ?<br><br><br>3) Other ideas for sensor input :<br>Mitch and Wad had suggested regarding exploring some basic medical applications using the Analog Input port. For example maybe be able to measure pulse rate ...
<br>I am quite excited about these ideas and plan to think about things to do on these lines too. Any initial suggestions ?<br><br><br><br>regards,<br>Arjun<br><br><br><br><div><span class="gmail_quote">
On 8/11/07, <b class="gmail_sendername">
Mitch Bradley</b> <<a href="mailto:wmb@laptop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">wmb@laptop.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hal Murray wrote:
<br>>> - some parallel port (or similar) should be made available, for<br>>> children to play with in physics. I remember playing with a PC<br>>> parallel port with some simple software to turn leds on and off. When
<br>>> you are a kid, being able to send commands to projects you create is<br>>> great (think about modern legos, but using simpler stuff like leds,<br>>> motors, etc) : it translate the "virtual part" ie the software you
<br>>> create on the computer to the "real world" where you make leds blinks<br>>> in sequence, or a motor move.<br>>><br>> ...<br>> There are USB connectors.<br>><br>> ...<br>> USB to printer port adapters are also available. I've never played with one.
<br>> Prices are under $40.<br>><br>><br>> There are also things like this with 24 GPIO lines.<br>> USBIO24R<br>> <a href="http://www.elexol.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.elexol.com/</a><br>> US distributor:
<a href="http://www.orteches.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.orteches.com/</a> $75<br>> ...<br>><br>> There is also the microphone input and audio output for A/D and D/A. I think
<br>> the XO hardware supports a DC coupled mode.
<br>><br>> We should work on a collection of hacks to demonstrate how they work and a<br>> list of which ones are known to work.<br>><br><br>OLCP just had a summer intern, Arjun Sarwal, who developed some low-cost
<br>gadgets to plug into the mic port - temperature sensor, intrusion<br>detector, etc. He plans to document them and set up a framework for<br>documenting other similar hacks.<br><br>We also talked about an OLPC digital gadget prototyping dongle with a
<br>USB-equipped microcontroller like those available from, for example,<br>Atmel. Those chips cost a dollar or two and Arjun can get all the other<br>parts really inexpensively in India where he lives.<br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Arjun Sarwal<br>One Laptop Per Child<br><a href="mailto:arjun@laptop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arjun@laptop.org</a>