<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16609" name=GENERATOR></HEAD>
<BODY 
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<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&nbsp;or other&nbsp;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&nbsp;write_pot(0,0) 
command&nbsp;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 
[mailto:hans@eds.org] <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></BODY></HTML>