<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br class="webkit-block-placeholder"></div><div>I am unlikely to write software for that chip unless I have a use for it.  But a firmware supporting it sounds useful.  Firmata is an Arduino library, so the easiest route would probably make a dedicated firmware for that chip then use the Firmata to handle the communications.</div><div><br class="webkit-block-placeholder"></div><div>.hc</div><br><div><div>On Mar 5, 2008, at 4:43 AM, nick burge wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">  <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="558172609-05032008">I got my AD206 chip as a free sample from analog devices </span></font></div> <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="558172609-05032008"><a href="http://www.analog.com/commerce/index.html">http://www.analog.com/commerce/index.html</a></span></font></div> <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="558172609-05032008">It would be great to have support within Firmata for SPI - (serial peripheral interface) allowing control over this digital potentiometer or other devices and sensors that work with that protocol when connected to an arduino. </span></font></div> <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="558172609-05032008">Could it possibly work to simply copy sections of the code from the arduino tutorial into the firmata firmware , first the definitions, then the void setup section and then the write_pot(0,0) command to control the device into the loop section.? As you can tell I have little idea how to do this.</span></font></div> <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="558172609-05032008">Nick.</span></font></div><font face="Arial" color="#0000ff" size="2"></font><br> <div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> Hans-Christoph Steiner [<a href="mailto:hans@eds.org">mailto:hans@eds.org</a>] <br><b>Sent:</b> 04 March 2008 14:39<br><b>To:</b> nick burge<br><b>Cc:</b> 'Pd List'<br><b>Subject:</b> Re: [PD] Pduino and the AD5206 digital potentiometer<br></font><br></div> <div></div> <div><br class="webkit-block-placeholder"></div> <div>It would be possible to add support to Firmata for this, but it's not currently there. I don't have any of these chips, any volunteers? Patches welcome :D</div> <div><br class="webkit-block-placeholder"></div> <div>.hc</div><br> <div> <div>On Feb 26, 2008, at 8:54 AM, nick burge wrote:</div><br class="Apple-interchange-newline"> <blockquote type="cite">  <div>  <div><span class="553015117-25022008"><font face="Arial"><font size="2"><span class="988034707-26022008">Dear PD list. </span>I would like to be able to   control the AD5206 chip (a 6 channel digital potentiometer) from within the   <span class="988034707-26022008">P</span>duino object<span class="988034707-26022008"> written by Hans-Christoph Steiner</span>. The idea   comes from one of the tutorial exercises in the C++ arduino   program.</font></font></span></div>  <div><span class="553015117-25022008"><font face="Arial" size="2"><a title="blocked::http://www.arduino.cc/en/Tutorial/SPIDigitalPot" href="http://www.arduino.cc/en/Tutorial/SPIDigitalPot">http://www.arduino.cc/en/Tutorial/SPIDigitalPot</a></font></span></div>  <div><span class="553015117-25022008"><font face="Arial" size="2">Is this relatively   simple to do<span class="988034707-26022008">,</span> or simply impossible<span class="988034707-26022008">?</span> The aim in the long run is to be able to be   able to calibrate 6 force sensors remotely using the digital potentiometers   for an art installation project.</font></span></div>  <div><span class="553015117-25022008"><font face="Arial" size="2">I have got the   <span class="988034707-26022008">above mentioned </span>tutorial project up and   running succesfully using the arduino program, and I am also able to get   Pduino communicating with the arduino quite happily<span class="988034707-26022008"> on my Windows Vista system</span>, but I would   imagine to have control over the the <span class="988034707-26022008">digital   </span>potentiometer device from within PD would require a revision to the   <span class="988034707-26022008">Firmata </span>firmware would it not? I would   be most grateful for a clue.</font></span></div>  <div><span class="553015117-25022008"><font face="Arial" size="2"></font></span></div>  <div><span class="553015117-25022008"><font face="Arial" size="2">thank you for your   attention, sincerely, Nick Burge.</font></span></div></div>  <div style="MARGIN: 0px">_______________________________________________</div>  <div style="MARGIN: 0px"><a href="mailto:PD-list@iem.at">PD-list@iem.at</a>   mailing list</div>  <div style="MARGIN: 0px">UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></div></blockquote></div><br> <div><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2"><br class="Apple-interchange-newline"> <div><br class="khtml-block-placeholder"></div> <div>----------------------------------------------------------------------------</div> <div><br class="khtml-block-placeholder"></div> <div>All information should be free. - the hacker ethic</div> <div><br class="khtml-block-placeholder"></div> <div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></div><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br style="font-family: Tahoma; "></div><div>----------------------------------------------------------------------------<br style="font-family: Tahoma; "></div><div><br class="khtml-block-placeholder"></div><div>Man has survived hitherto because he was too ignorant to know how to realize his wishes.  Now that he can realize them, he must either change them, or perish.    -William Carlos Williams</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>