<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>potentiometer &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/potentiometer/</link>
	<description>Feed of posts on WordPress.com tagged "potentiometer"</description>
	<pubDate>Wed, 10 Feb 2010 13:11:10 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[ProtoDeck - MIDIBOX based controller]]></title>
<link>http://hackaday.com/2010/01/14/protodeck-midibox-based-controller/</link>
<pubDate>Thu, 14 Jan 2010 13:12:10 +0000</pubDate>
<dc:creator>Jakob Griffith</dc:creator>
<guid>http://hackaday.com/2010/01/14/protodeck-midibox-based-controller/</guid>
<description><![CDATA[[Julien] let us know about his ProtoDeck. A MIDIBOX based controller for Ableton Live using a Big Ma]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone size-full wp-image-20728" title="Thats a lot of nuts...er...leds!" src="http://hackadaycom.wordpress.com/files/2010/01/iphone.jpg" alt="" width="453" height="385" /></p>
<p>[Julien] let us know about his <a href="http://www.julienbayle.net/diy/protodeck/">ProtoDeck</a>. A MIDIBOX based controller for Ableton Live using a Big Max for live patch interface.</p>
<p>One thing that we have seen is <a href="http://hackaday.com/2007/05/23/mb-6582-diy-c64-based-midi-synth/">less and less hacks</a> for are <a href="http://www.midibox.org/dokuwiki/doku.php?id=what_is_a_midibox">MIDIbox projects</a>. It is no wonder, considering now a days we have <a href="http://www.amazingtechproducts.com/content/korgs-kaossilator-portable-touch-screen-synth">touch screen</a> and multiple other interfaces and sound creation tools &#8211; MIDI almost seems like a dying art.</p>
<p>The ProtoDeck uses 87 pots, 90 buttons, and 81 RGB LEDs all controlled by 2 PIC 18F4620s. [Julien] says his main goals where to have lots of color and buttons. We think he succeeded.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Arduinome with many pots]]></title>
<link>http://hackaday.com/2010/01/12/arduinome-with-many-pots/</link>
<pubDate>Tue, 12 Jan 2010 12:35:40 +0000</pubDate>
<dc:creator>Mike Szczys</dc:creator>
<guid>http://hackaday.com/2010/01/12/arduinome-with-many-pots/</guid>
<description><![CDATA[[Aggaz] added 16 potentiometers to his Arduinome.The Arduinome is a monome clone based around the Ar]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone size-full wp-image-20647" title="multi-pot-arduinome" src="http://hackadaycom.wordpress.com/files/2010/01/multi-pot-arduinome.jpg" alt="" width="470" height="274" /></p>
<p>[Aggaz] <a href="http://elettrofonesi.blogspot.com/2009/11/arduinome-x16adc-mod.html">added 16 potentiometers to his Arduinome</a>.The <a href="http://bricktable.wordpress.com/30/">Arduinome</a> is a <a href="http://hackaday.com/2006/04/22/mf2006-monome/">monome</a> clone based around the Arduino as a microprocessor. We seen some <a href="http://hackaday.com/2008/08/13/rgb-monome-clone/">Arduinome builds</a> in the past but [Aggaz's] work augments the physical interface.</p>
<p>Potentiometers used in circuit bending allow for <a href="http://hackaday.com/2009/09/29/noise-box-synth-lays-down-some-beats/">manipulation of the sounds coming out of the circuits</a>. In this case the pots are connected to the microcontroller instead of the sound generation circuitry which means you can do whatever you want with them depending on how creative you are with the code. So far he&#8217;s just starting to get the new set of interfaces to play nicely over the serial connection. This could end up being quite popular as it only requires the addition of a multiplexer IC, the potentiometers, and the knobs.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Project - Muscular Bio Stimulator]]></title>
<link>http://myninjaway.wordpress.com/2010/01/07/project-muscular-bio-stimulator/</link>
<pubDate>Thu, 07 Jan 2010 20:26:03 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid>http://myninjaway.wordpress.com/2010/01/07/project-muscular-bio-stimulator/</guid>
<description><![CDATA[View Circuit Diagram Working Of The Circuit IC1 generates 150µSec. pulses at about 80Hz frequency. Q]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><a href="http://myninjaway.wordpress.com/files/2010/01/biosimulator.gif" target="_blank">View Circuit Diagram</a></p>
<p><strong>Working Of The Circuit</strong></p>
<p>IC1 generates 150µSec. pulses at about 80Hz frequency. Q1 acts as a buffer and Q2 inverts the polarity of the pulses and drives the Transformer. The amplitude of the output pulses is set by P1 and approximately displayed by the brightness of LED  D1. D2 protects Q2 against high <a title="Voltage" rel="wikipedia" href="http://en.wikipedia.org/wiki/Voltage" target="_blank">voltage</a> peaks generated by T1 inductance during switching.</p>
<p><strong>Components Used</strong></p>
<blockquote><p>P1______________4K7  Linear Potentiometer</p>
<p>R1____________180K   1/4W Resistor<br />
R2______________1K8  1/4W Resistor (see Notes)<br />
R3______________2K2  1/4W Resistor<br />
R4____________100R   1/4W Resistor</p>
<p>C1____________100nF  63V Polyester Capacitor<br />
C2____________100µF  25V Electrolytic Capacitor</p>
<p>D1______________LED  Red 5mm.<br />
D2___________1N4007  1000V 1A Diode</p>
<p>Q1,Q2_________BC327  45V 800mA <a title="Bipolar junction transistor" rel="wikipedia" href="http://en.wikipedia.org/wiki/Bipolar_junction_transistor" target="_blank">PNP</a> Transistors</p>
<p>IC1____________7555 or TS555CN CMos Timer <a title="Integrated circuit" rel="wikipedia" href="http://en.wikipedia.org/wiki/Integrated_circuit" target="_blank">IC</a></p>
<p>T1_____________220V Primary, 12V Secondary 1.2VA Mains Transformer</p>
<p>SW1____________SPST Switch (Ganged with P1)</p>
<p>B1_____________3V Battery (two 1.5V AA or AAA cells in series etc.)</p></blockquote>
<p><strong>Notes</strong></p>
<p>T1 is a small mains transformer 220 to 12V @ 100 or 150mA. It must be reverse connected i.e. the 12V secondary winding across Q2 Collector and negative ground, and the 220V <a title="Transformer" rel="wikipedia" href="http://en.wikipedia.org/wiki/Transformer" target="_blank">primary winding</a> to output electrodes.</p>
<p>Output voltage is about 60V positive and 150V negative but output current is so small that there is no <a title="Electric shock" rel="wikipedia" href="http://en.wikipedia.org/wiki/Electric_shock" target="_blank">electric-shock</a> danger.</p>
<p>In any case P1 should be operated by the &#8220;patient&#8221;, starting with the knob fully counter-clockwise, then rotating it slowly clockwise until the LED starts to illuminate. Stop rotating the knob when a light itch sensation is perceived.</p>
<p>Best knob position is usually near the center of its range.</p>
<p>In some cases a greater pulse duration can be more effective in cellulite treatment. Try changing R2 to 5K6 or 10K maximum: stronger pulses will be easily perceived and the LED will shine more brightly.</p>
<p>Electrodes can be obtained by small metal plates connected to the output of the circuit via usual electric wire and can be taped to the skin. In some cases, moistening them with little water has proven useful.</p>
<p>SW1 should be ganged to P1 to avoid abrupt voltage peaks on the &#8220;patient&#8217;s&#8221; body at switch-on, but a stand alone <a title="Switch" rel="wikipedia" href="http://en.wikipedia.org/wiki/Switch" target="_blank">SPST switch</a> will work quite well, provided you remember to set P1 knob fully counter-clockwise at switch-on.</p>
<p>Current drawing of this circuit is about 1mA @ 3V <a title="Direct current" rel="wikipedia" href="http://en.wikipedia.org/wiki/Direct_current" target="_blank">DC</a> .</p>
<p>Some commercial sets have four, six or eight output electrodes.</p>
<p>To obtain this you can retain the part of the circuit comprising IC1, R1, R2, C1, C2, SW1 and B1.</p>
<p>Other parts in the diagram (i.e. P1, R3, R4, D1, D2, Q2 &#38; T1) can be doubled, trebled or quadrupled.</p>
<p>Added <a title="Potentiometer" rel="wikipedia" href="http://en.wikipedia.org/wiki/Potentiometer" target="_blank">potentiometers</a> and R3 series <a title="Resistor" rel="wikipedia" href="http://en.wikipedia.org/wiki/Resistor" target="_blank">resistors</a> must be wired in <a title="Series and parallel circuits" rel="wikipedia" href="http://en.wikipedia.org/wiki/Series_and_parallel_circuits" target="_blank">parallel</a> and all connected across Emitter of Q1 and positive supply.</p>
<p>Commercial sets have frequently a built-in 30 minutes timer. For this purpose you can use the Timed Beeper.</p>
<div class="zemanta-pixie" style="margin-top:10px;height:15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/2bdcf909-09d4-491d-9003-ebe5286859b5/"><br />
</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Project - Audio Wattmeter]]></title>
<link>http://myninjaway.wordpress.com/2010/01/07/project-audio-wattmeter/</link>
<pubDate>Thu, 07 Jan 2010 13:45:33 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid>http://myninjaway.wordpress.com/2010/01/07/project-audio-wattmeter/</guid>
<description><![CDATA[View Circuit Diagram Here&#8217;s an easy way to measure an amplifier&#8217;s output power without t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><a href="http://myninjaway.wordpress.com/files/2010/01/audio-wattmeter.png" target="_blank">View Circuit Diagram</a></p>
<p>Here&#8217;s an easy way to measure an <a title="Amplifier" rel="wikipedia" href="http://en.wikipedia.org/wiki/Amplifier" target="_blank">amplifier</a>&#8217;s output <a title="Power (physics)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Power_%28physics%29" target="_blank">power</a> without trying to convert <a title="Voltage" rel="wikipedia" href="http://en.wikipedia.org/wiki/Voltage" target="_blank">voltage</a> to power measurements. <a title="Resistor" rel="wikipedia" href="http://en.wikipedia.org/wiki/Resistor" target="_blank">Resistor</a> R1 provides the load for your amplifier and should be rated at least twice the maximum amplifier power output; for example, if your amp puts out 25 watts, R1 should be rated at least 50 watts. The meter scale must be hand calibrated, and will take some time and effort, but once done it&#8217;s done for good. Remove the scale cover from meter M1 and borrow an <a title="Alternating current" rel="wikipedia" href="http://en.wikipedia.org/wiki/Alternating_current" target="_blank">AC</a> variable <a title="Autotransformer" rel="wikipedia" href="http://en.wikipedia.org/wiki/Autotransformer" target="_blank">auto-transformer</a>, or connect a 1000 Hz signal generator to the amplifier output. Connect the output of the auto-transformer (or amplifier) to binding posts BP1 and BP2, and connect an AC <a title="Voltmeter" rel="wikipedia" href="http://en.wikipedia.org/wiki/Voltmeter" target="_blank">voltmeter</a> (VOM) across the binding posts. Set R2 to off &#8211; full counter-clockwise if correctly wired. Adjust the auto-transformer (or amplifier) output until the AC meter indicates 20 V rms &#8211; the voltage for 50 watts across 8 ohms. Adjust <a title="Potentiometer" rel="wikipedia" href="http://en.wikipedia.org/wiki/Potentiometer" target="_blank">potentiometer</a> R2 for a full scale indication on meter M1. Seal R2&#8217;s shaft with a drop of Glyptol or nail polish. Reduce the voltage across the binding posts in accordance with the table shown and mark the meter scale accordingly.</p>
<p><strong>Parts List For An Audio <a title="Wattmeter" rel="wikipedia" href="http://en.wikipedia.org/wiki/Wattmeter" target="_blank">Wattmeter</a></strong></p>
<p><strong>BP1, BP2</strong> &#8211; Insulated binding posts</p>
<p><strong>C1, C2</strong> &#8211; 100 uF, 50 VDC</p>
<p><strong>D1, D2, D3, D4</strong> &#8211; Diode, HEP-134</p>
<p><strong>M1</strong> &#8211; 0.1 mA <a title="Direct current" rel="wikipedia" href="http://en.wikipedia.org/wiki/Direct_current" target="_blank">DC</a> Meter</p>
<p><strong>R1</strong> &#8211; 8 ohm, 100 watt resistor, see text</p>
<p><strong>R2</strong> &#8211; 1500 ohm linear taper potentiometer</p>
<p><img class="aligncenter size-full wp-image-133" title="7a0d" src="http://myninjaway.wordpress.com/files/2010/01/7a0d.png" alt="" width="180" height="273" /></p>
<div class="zemanta-pixie" style="margin-top:10px;height:15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/a9b6820b-41d6-4aa7-9b46-ab996dfbfb40/"><br />
</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tech tip of the day...Scratchy Pots...Electronics]]></title>
<link>http://hotcrowd.wordpress.com/2009/12/20/tech-tip-of-the-day-scratchy-pots-electronics/</link>
<pubDate>Sun, 20 Dec 2009 17:52:03 +0000</pubDate>
<dc:creator>hotcrowd</dc:creator>
<guid>http://hotcrowd.wordpress.com/2009/12/20/tech-tip-of-the-day-scratchy-pots-electronics/</guid>
<description><![CDATA[Got a scratchy potentiometer/knob control on your guitar amp, stereo, 2-way radio, etc., then check ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Got a scratchy potentiometer/knob control on your guitar amp, stereo, 2-way radio, etc., then check out this site I found below.</p>
<p><a href="http://www.thegearpage.net/board/archive/index.php/t-13956.html">scratchy pots</a></p>
<p>and for more tips and tech on all gear.<br />
<a href="http://www.thegearpage.net/board/index.php">thegearpage.net</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[capitolo 2 (mattina a melee island)]]></title>
<link>http://iosonolagommatulacolla.wordpress.com/2009/12/16/capitolo-2-mattina-a-melee-island/</link>
<pubDate>Wed, 16 Dec 2009 15:43:47 +0000</pubDate>
<dc:creator>crispian</dc:creator>
<guid>http://iosonolagommatulacolla.wordpress.com/2009/12/16/capitolo-2-mattina-a-melee-island/</guid>
<description><![CDATA[A new chapter! we tried some new simple interactions this morning. First of all we used this code in]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A new chapter!</p>
<p>we tried some new simple interactions this morning.</p>
<p>First of all we used this code</p>
<pre class="brush: plain;">int value = 0;
void setup() {
Serial.begin(9600);
&#60;pre&#62;}&#60;/pre&#62;
//sets a signal on arduino's serial port?
void loop () {
value += 1; //values constantly plus one
Serial.println(value, DEC); // graphic visualization of the function
delay (5); //function delay, a number every 5 millisecond
}</pre>
<p>Using the serial number and giving the command &#8220;println&#8221; is useful. The program records its outputs and clicking on the export button on the arduino program we&#8217;ll have a window with a numeric representation of every output. You can use it to check your program and to see if everything is going how is supposed to be.</p>
<p>After that we worked again on some basics with the leds.</p>
<pre class="brush: plain;">
//in order to get a simulation of an analogic output
//i must use a pwm pin
int ledPin =  3;    // LED connected to digital pin 3
int ledVal = 5;  //defines brightness
// The setup() method runs once, when the sketch starts
void setup()   {
 // initialize the digital pin as an output:
 pinMode(ledPin, OUTPUT);
}
void loop()  {
for  (int x=0; x&#60;255; x++) { //defines x,fix a limit and establish that is gonna grow up
 analogWrite(ledPin, x); // pin brightness is gonna grow up
 delay(5); //imposta ritmo //with this rithm
}
for (int x=255; x&#62;0; x--) { //same as before but descendent
 analogWrite(ledPin,x);
 delay(5);
}
}
</pre>
<p><img class="alignnone" title="pulsazione dolce" src="http://img262.imageshack.us/img262/1705/pulsazionedolce.jpg" alt="" width="412" height="309" /></p>
<p>In this case we got a led which light grows up and diminish slowly in a loop. The code is quite clear. The only important thing is to be connected to a <em>pwm</em> pin cause it&#8217;s simulates an analogic output, so it can have a modulation instead of a 0/1 output (digital output). In Arduino 2009 the pwm pins are 3,5,6,9,10,11.</p>
<p>We actually started from a simpler example with only light growing up, the code is basically the same</p>
<pre class="brush: plain;">
int ledPin =  3;    // LED connected to digital pin 3
int ledVal = 5;  //defines brightness
// The setup() method runs once, when the sketch starts
void setup()   {
 // initialize the digital pin as an output:
 pinMode(ledPin, OUTPUT);
}
void loop()  {
for  (int x=0; x&#60;255; x++) { //defines x,fix a limit and establish that is gonna grow up
 analogWrite(ledPin, x); // pin brightness is gonna grow up
 delay(5); //imposta ritmo //with this rithm
}
}
</pre>
<p>Another variation of the code, with the same effect, is</p>
<pre class="brush: plain;">//use a pwm pin
int ledPin =  3;    // LED connected to digital pin 3
int ledVal = 5;  //brigthness
int direction = 1 ; //variable, defines flow direction
// The setup() method runs once, when the sketch starts
void setup()   {
 // initialize the digital pin as an output:
 pinMode(ledPin, OUTPUT);
}
void loop()  {
for  (int x=0; x&#60;255; x++) { //defines x with a limit and a growing up
 if(direction==1) { //when direction is +1
 analogWrite(ledPin,x);//then light will have a growing x value from 0 to 255
}
if(direction==-1) { // if direction is -1
 analogWrite(ledPin, 255-x); //light will diminish
}
delay(5); //general delay
}
direction *=-1; //every time direction (1) gets moltipled for -1. When is +1 it becomes -1, at the next cycle -1 will become again+1
}
</pre>
<p>After that we worked with a potentiometer</p>
<p><img class="alignnone" title="potentiometer" src="http://www.jobike.it/Public/data/maxpoz/200992314528_Potentiometer.jpg" alt="" width="307" height="360" /></p>
<p>Basically is just an analogic switch, so that we don&#8217;t have only an on/off output but also every output between those two (the scale goes from 0 to 1023).<br />
It must be connected to the 5 volt pin, to the grund and to a 10k resistor (as you can see it has 3 plugs). Here is the code</p>
<pre class="brush: plain;">
int sensorPin=2;  //output sensor
int sensorValue=0;
void setup () {
Serial.begin(9600);} //recall Arduino serial port
void loop (){
sensorValue = analogRead (sensorPin); //defines sensorvalue
int ledFadeValue = map(sensorValue, 0, 1023, 0, 255); //defines that the 0-1023 transistor range will be now converted in 0-255
analogWrite (11, ledFadeValue); //turns on the led
Serial.println(sensorValue, DEC); //digital output
delay(20); //rithm
}</pre>
<p><img class="alignnone" title="potenziometro base" src="http://img138.imageshack.us/img138/4433/potenziometrobase.jpg" alt="" width="451" height="338" /></p>
<p>So in here we just have a potentiometer that regulates a led. Now a variation</p>
<pre class="brush: plain;">int sensorPin=2;
int sensorValue=0;
void setup(){
Serial.begin(9600); //recall Arduino serial
}
void loop (){
sensorValue = analogRead (sensorPin);
int ledFadeValue = map(sensorValue, 0, 1023, 0, 255); // 0-1023 is used as 0-255
analogWrite (11, ledFadeValue); // pin will turn on and off
int ledFadeValue2 = map(sensorValue, 0, 1023, 255, 0); // in here we do the opposite, potentiomter 0
//corresponds to led 255 and so on
analogWrite (10, ledFadeValue2); // pin will turn off and on
Serial.println(sensorValue, DEC); //digital output visual
delay(20);
}

So we learned that with the &#60;em&#62;map&#60;/em&#62; option we can translate a range of values to another one. If we would have liked only to pass from a medium brigthness to a high one (not maximum still) the command would have been
[code]int ledFadeValue = map(sensorValue, 0, 1023, 123, 200);</pre>
<p>I took a video of this</p>
<p><span style='text-align:center; display: block;'><br />
<object type="application/x-shockwave-flash" width="400" height="300" data="http://www.vimeo.com/moogaloop.swf?clip_id=8219822&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=8219822&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" /></object><br />
</span></p>
<p>We were done with the potentometer then and we started using a simple push-button.</p>
<pre class="brush: plain;">int buttonPin =2;  //button input
int ledPin=13; //output
int buttonState = 0;
void setup() {
 pinMode(ledPin,OUTPUT);
 pinMode(buttonPin,INPUT);  //button will be an input
}
void loop(){
 buttonState=digitalRead(buttonPin); //button state
 if(buttonState==HIGH){ //if the state is HIGH (pressed)
  digitalWrite(ledPin,HIGH); //turn LED on:
 } else{
 digitalWrite(ledPin,LOW);
&#60;pre&#62;
&#60;pre&#62; // turn LED off:&#60;/pre&#62;
&#60;/pre&#62;
}

&#60;img class=&#34;alignnone&#34; title=&#34;pulsante con buzzo&#34; src=&#34;http://img138.imageshack.us/img138/8623/pulsanteconbuzzo.jpg&#34; alt=&#34;&#34; width=&#34;448&#34; height=&#34;335&#34; /&#62;

I think that looks simple. If you keep the button pushed it will turn on the led (a buzz in this case). Now a little variation
[code]int buttonPin =2; //button input
int ledPin=13; //pin output
int buttonState = 0;
int redpin =5; //second pin output
void setup() {
 pinMode(ledPin,OUTPUT);
 pinMode (redpin,OUTPUT);
 pinMode(buttonPin,INPUT);
}
void loop(){
 buttonState=digitalRead(buttonPin); //defines button state
 if(buttonState==HIGH){ //if is pressed
 digitalWrite(ledPin,HIGH);//turn LED on
digitalWrite(redpin,LOW); //and the other one off
 }
 else{
 digitalWrite(ledPin,LOW);// turn LED off
digitalWrite(redpin,HIGH); //and the other one on
 }
}</pre>
</pre>
<p>Se there is a led always on and when you push the button it will turn off with a new one that will be turn off as long as you keep pushed. Another step further</p>
<pre class="brush: plain;">int old_val=0; //this variable stores the previous value of &#34;val&#34;
int state=0;
void setup(){
 pinMode(LED,OUTPUT); // tell arduino LED is on output
 pinMode(BUTTON, INPUT); //and Button is on input
}
void loop() {
 val=digitalRead(BUTTON); //read input value and store it
 if ((val==HIGH)&#38;&#38;(old_val==LOW)){ //check if there was a transition
 state=1-state; //changes state's value
 delay(10);
 }
 old_val=val; //val is now old,let's store it
 if (state==1){
 digitalWrite (LED,HIGH); //turn led on
 }else{
 digitalWrite(LED,LOW);
 }
}</pre>
<p>So that every time you push the button the led will change its state without having to keep pushed. One push it turns on, another one and goes off again.</p>
<p><span style='text-align:center; display: block;'><br />
<object type="application/x-shockwave-flash" width="400" height="300" data="http://www.vimeo.com/moogaloop.swf?clip_id=8220166&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=8220166&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" /></object><br />
</span></p>
<p>That's pretty much all the code we wrote. We tried some soldering (unfortunately I don't have a video of my first try). I guess I'm not really good ad it but<br />
that's not the part that goes "public", i hope it won't be a huge problem. I took some pics but I didn't have a good camera, I hope I'll post a good one for the end of the week</p>
<p>That one is a buzzo beater, is an i/o device whichs makes a quite disturbing noise if on. We tried it with almost every function i mentioned before just to see how it responses.<br />
After that the day was practically over, we just went home with "some" homework to do, works that I'll post later.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Kursi dengan penggerak elektrik]]></title>
<link>http://dvanhlast.wordpress.com/2009/12/14/kursi-dengan-penggerak-elektrik/</link>
<pubDate>Mon, 14 Dec 2009 07:31:12 +0000</pubDate>
<dc:creator>dvanhlast</dc:creator>
<guid>http://dvanhlast.wordpress.com/2009/12/14/kursi-dengan-penggerak-elektrik/</guid>
<description><![CDATA[Author : SOETIKNO, YUDHI Perkembangan teknologi elektronika yang begitu cepat semakin membantu kehid]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Author : SOETIKNO, YUDHI</p>
<p>Perkembangan teknologi elektronika yang begitu cepat semakin membantu kehidupan sehari-hari, dimana dalam kemajuan jaman sekarang ini menuntut semuanya berjalan serba cepat dan otomatis. Adanya model kursi elektrik ini dapat digunakan untuk keperluan kerja di perkantoran karena pengguna dapat menyesuaikan posisi duduk saat bekerja dengan hanya menekan tombol-tombol yang tersedia untuk menyesuaikan posisi duduknya. Metode yang digunakan adalah cara kerja dongkrak sebagai alat bantu menaik-turunkan bantalan kursi, rangkaian transmisi roda gigi untuk menaik? turunkan punggung kursi, rangkaian driver untuk menerima sinyal dari mikrokontroler dan menggerakkan motor, sensor ketinggian memakai potentiometer geser dan sensor derajat menggunakan potentiometer putar. IC mikro yang dipakai adalah ATMEGA 8 dan driver yang digunakan adalah rangkaian h-bridge Dengan metode yang telah dilakukan menghasilkan batas maksimum kenaikan bantalan kursi 4 cm, beban maksimum pada bantalan kursi sebesar 200 kg dan untuk punggung kursi sebesar + 47 kg. Waktu yang dibutuhkan untuk menaikkan bantalan kursi adalah 34 detik dan untuk menurunkan kursi adalah 32 detik.</p>
<p>Keyword : chair, microprossesor, jack, gear wheel, transistor, potentiometer</p>
<p>Sumber : http://repository.petra.ac.id/2444/</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[DIY mood lamp looks store-bought]]></title>
<link>http://hackaday.com/2009/11/17/diy-mood-lamp-looks-store-bought/</link>
<pubDate>Tue, 17 Nov 2009 21:13:30 +0000</pubDate>
<dc:creator>Mike Szczys</dc:creator>
<guid>http://hackaday.com/2009/11/17/diy-mood-lamp-looks-store-bought/</guid>
<description><![CDATA[[NeZoomie] built an RGB mood lamp as his first electronics project. He certainly hit it out of the p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone size-full wp-image-18479" title="rgb-arduino-mood-lamp" src="http://hackadaycom.wordpress.com/files/2009/11/rgb-arduino-mood-lamp.jpg" alt="" width="470" height="314" /></p>
<p>[NeZoomie] <a href="http://nezoomie.wordpress.com/2009/11/17/arduino-rgb-mood-lamp-touch-tiltable-potentiometers/">built an RGB mood lamp</a> as his first electronics project. He certainly hit it out of the park with this one, ending up with a design so clean it could be a commercial product. The controller is an Arduino board (further proof that this is a fantastic entry-level platform) that interfaces with 8 RGB LEDs. He&#8217;s built an enclosure out of thick polypropylene that does a great job of diffusing the light and adding a stylish look. The control system features a <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9074">rotary potentiometer from SparkFun</a> and what he calls a tilt-potentiometer of his own design after <a href="http://hackaday.com/2009/08/28/push-potentiometer-from-spares/">drawing inspiration from Hack a Day</a>.</p>
<p>Blinky things are fun and that&#8217;s why <a href="http://hackaday.com/2008/12/22/cast-concrete-rgb-lamp/">we see</a> a lot of <a href="http://hackaday.com/2008/06/25/toms-rgb-mood-lamp/">mood lamps</a> around here. Take a look at the video after the break and if you&#8217;ve got the parts, give this one a try!</p>
<p><!--more--><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/m6urXlhzcnE&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/m6urXlhzcnE&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Flee market booty 11/15/09]]></title>
<link>http://blackheartindustries.com/2009/11/15/flee-market-booty-111509/</link>
<pubDate>Mon, 16 Nov 2009 00:30:37 +0000</pubDate>
<dc:creator>blackheartindustries</dc:creator>
<guid>http://blackheartindustries.com/2009/11/15/flee-market-booty-111509/</guid>
<description><![CDATA[Flee market booty 11/15/09, originally uploaded by Black Heart Industries. Not too much today. Got s]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div style="text-align:left;padding:3px;"><a title="photo sharing" href="http://www.flickr.com/photos/blackheartindustries/4107672180/"><img class="aligncenter" style="border:2px solid #000000;" src="http://farm3.static.flickr.com/2666/4107672180_c0d41660f3.jpg" alt="" width="450" height="338" /></a></p>
<p><span style="font-size:.8em;margin-top:0;"><a href="http://www.flickr.com/photos/blackheartindustries/4107672180/">Flee market booty 11/15/09</a>, originally uploaded by <a href="http://www.flickr.com/people/blackheartindustries/">Black Heart Industries</a>.</span></div>
<p>Not too much today. Got some old switches and some high quality switches by Cutler-Hammer, aerospace controls division. The most interesting item is that thing that looks like a clock. It&#8217;s a ten turn, 20K ohm potentiometer, made by Bourns inc. I&#8217;ve never seen this kind before. A real class act.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Getting Started with Stepping Motors using the Saia Samotronic 101 Unipolar Driver]]></title>
<link>http://montanatiff.wordpress.com/2009/09/15/getting-started-with-stepping-motors-using-the-saia-samotronic-101-unipolar-driver/</link>
<pubDate>Wed, 16 Sep 2009 04:12:07 +0000</pubDate>
<dc:creator>montanatiff</dc:creator>
<guid>http://montanatiff.wordpress.com/2009/09/15/getting-started-with-stepping-motors-using-the-saia-samotronic-101-unipolar-driver/</guid>
<description><![CDATA[Introduction: A stepper motor is a permanent magnet synchronous motor that requires the magnetic fie]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><table border="0" cellspacing="0" cellpadding="2" width="421">
<tbody>
<tr>
<td width="2" valign="top"></td>
<td width="409">
<table border="0" cellspacing="0" cellpadding="3" width="99%">
<tbody>
<tr>
<td colspan="2" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="421">
<tbody>
<tr>
<td width="2" valign="top"><img src="http://www.ledex.com/img/fill.gif" alt="" width="2" height="2" /></td>
<td width="409"><span><strong>Introduction: </strong> A <a title="Saia Motors" href="http://www.saia-motor-usa.com/design-tools/samotronic-101.html">stepper motor</a> is a permanent magnet synchronous motor that requires the magnetic field to be electronically switched through an external control circuit. This is easily accomplished by utilizing the Samotronic driver board.</span></td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="210">
<tbody>
<tr>
<td colspan="2" height="3" valign="bottom"></td>
</tr>
<tr>
<td width="2" height="15"><img src="http://www.ledex.com/img/fill.gif" alt="" width="2" height="2" /></td>
<td height="15" valign="bottom"><span>Quick start up procedure:</span></td>
</tr>
</tbody>
</table>
<p>1. Please unpack the PCB in an electrostatic discharge (ESD) free environment.</p>
<p>2. Connect a unipolar stepper motor to the 6 pin, MTA100-receptacle, terminal (B).</p>
<p>3. Ensure the configuration settings of the DIP-switch (C) are as shown in the figure below.</p>
<p>4. Adjust the step frequency to the minimum setting by rotating the potentiometer (D) about 10 times in the counter clockwise direction.</p>
<p>5. Choose a regulated power supply and adjust the voltage that matches the stepper motor&#8217;s required input. For example, a 12v motor would require you to adjust the power supply to 12v DC. Do not apply a voltage to the driver board that exceeds 24v DC.</p>
<p>6. Be careful of the polarity and connect the power supply wires to terminal (A), positive (+) to pin 7 and negative or GND (-) to pin 1.</p>
<p>7. Turn the power supply on and the motor will begin to move.</td>
</tr>
<tr>
<td colspan="2" valign="top"><img src="http://www.ledex.com/imgp/Samotronic_101-1.jpg" alt="" /></td>
</tr>
<tr>
<td colspan="2" valign="top"><img src="http://www.ledex.com/imgp/Samotronic_101-2.jpg" alt="" /></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p><img src="/DOCUME%7E1/KATHYK%7E1/LOCALS%7E1/Temp/moz-screenshot.png" alt="" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Push potentiometer from spares]]></title>
<link>http://hackaday.com/2009/08/28/push-potentiometer-from-spares/</link>
<pubDate>Fri, 28 Aug 2009 13:28:31 +0000</pubDate>
<dc:creator>Caleb Kraft</dc:creator>
<guid>http://hackaday.com/2009/08/28/push-potentiometer-from-spares/</guid>
<description><![CDATA[In an effort to simplify his interface, [danwagoner] cobbled together this push potentiometer. It ut]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone size-full wp-image-14056" title="ppot" src="http://hackadaycom.wordpress.com/files/2009/08/ppot.jpg" alt="ppot" width="470" height="353" /></p>
<p>In an effort to simplify his interface, [danwagoner] cobbled together this <a href="http://www.flickr.com/photos/danwagoner/3863936966/in/photostream/">push potentiometer</a>. It utilizes a potentiometer mounted directly above a push button with a spring mounted around it. This way the user has only one item to deal with. They can twist the knob and press down on it to push the button.  We love seeing people come up with ways of creating their own items instead of buying something. This was fairly inventive and reminds us of the <a href="http://hackaday.com/2009/01/29/led-push-buttons/">LED buttons</a> we saw back in January. Great job [danwagoner].</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Humanoid Robot + Homebrew Waldo = Big Smiles]]></title>
<link>http://hackaday.com/2009/08/24/humanoid-robot-homebrew-waldo-big-smiles/</link>
<pubDate>Mon, 24 Aug 2009 13:47:22 +0000</pubDate>
<dc:creator>Phil Burgess</dc:creator>
<guid>http://hackaday.com/2009/08/24/humanoid-robot-homebrew-waldo-big-smiles/</guid>
<description><![CDATA[Robot enthusiast [Vitalijus Rodnovas] built this rig to allow a humanoid robot to mimic his own body]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/WCTvggKuPvU&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/WCTvggKuPvU&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p>Robot enthusiast [Vitalijus Rodnovas] built this rig to allow a humanoid robot to mimic his own body movements in real time. [Rodonovas] refers to his man-machine interface as a “master-slave suit,” but elsewhere this is often called a <em>waldo</em> after a prescient 1942 [Robert Heinlein] novella. This <a href="http://blog.elektronika.lt/robotai/humanoidas/">project page</a> is slight on details and is mostly written in his native Lithuanian, but the pictures speak volumes, and with a little help from Google Translate we can learn the essential facts: The robot itself is a commercially-available kit, the <a href="http://www.kondo-robot.com/product/khr-1hv.html">Kondo KHR-1HV</a> from Japan. The custom-built harness uses a collection of surplus Soviet-era military potentiometers (acquired on eBay) to read the positions of his elbows and shoulders, then an ATmega8-based interface board translates these readings into motion commands sent to the robot’s onboard controller. Some additional notes and code can be found on the <a href="http://robosavvy.com/forum/viewtopic.php?t=3768">RoboSavvy Forum</a>.</p>
<p>Does it work? Just watch. His grin as the video progresses is infectious!</p>
<p>Hack a Day has <a href="http://hackaday.com/2008/11/21/robot-mimic/">previously covered other Waldos</a>, but this latest deserves style points for its lightweight simplicity.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The truth on BOSS CE-2 Made in Taiwan internal potentiometer.]]></title>
<link>http://ontheroadtoyourass.wordpress.com/2009/07/27/the-truth-on-boss-ce-2-made-in-taiwan-internal-potentiometer/</link>
<pubDate>Mon, 27 Jul 2009 14:20:14 +0000</pubDate>
<dc:creator>foot</dc:creator>
<guid>http://ontheroadtoyourass.wordpress.com/2009/07/27/the-truth-on-boss-ce-2-made-in-taiwan-internal-potentiometer/</guid>
<description><![CDATA[Hi, as many of you knows, there are some review &#8220;out there&#8221; about the internal trim pot ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hi,</p>
<p>as many of you knows, there are some review &#8220;out there&#8221; about the internal trim pot of the Taiwan version of Boss Ce-2 pedal.</p>
<p>Basically, people say that turning this trim pot you can get the Ce-2 Made in Japan sound, because the PCB is the same.<br />
I&#8217;ve made this video just to show you that, in my opinion, is just another DEEP control. For me the difference in sound can be reduced turning this pot, between MIJ vs MIT.</p>
<p>But I think that there always will be a minor sound difference between the two pedals. (I mean that MIJ is the best)</p>
<p>Another point is that MIT have higher input impedance so it is more hard for this pedal to go clipping than the MIJ version, specially if you have strong input coming in.<br />
Here&#8217;s the video</p>
<pre><code><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/jnBJoHlVvhw&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/jnBJoHlVvhw&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Arduino: Control a DC motor with potentiometer and multiple power supplies]]></title>
<link>http://luckylarry.wordpress.com/2009/07/17/arduino-control-a-dc-motor-with-potentiometer-and-multiple-power-supplies/</link>
<pubDate>Fri, 17 Jul 2009 20:16:49 +0000</pubDate>
<dc:creator>luckylarry</dc:creator>
<guid>http://luckylarry.wordpress.com/2009/07/17/arduino-control-a-dc-motor-with-potentiometer-and-multiple-power-supplies/</guid>
<description><![CDATA[A quick circuit showing how to control the speed of a DC motor with a potentiometer with your Arduin]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A quick circuit showing how to control the speed of a DC motor with a potentiometer with your Arduino board. Also shows how to use a TIP120 transistor to allow the Arduino control a larger power supply.</p>
<p>More here: <a rel="bookmark" href="http://luckylarry.co.uk/2009/07/arduino-control-a-dc-motor-with-potentiometer-and-multiple-power-supplies/">Arduino: Control a DC motor with potentiometer and multiple power supplies</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[El MuCo: Custom JankoTUne (KidTunes) Post-Evisceration Construction]]></title>
<link>http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/</link>
<pubDate>Mon, 13 Jul 2009 14:37:27 +0000</pubDate>
<dc:creator>scacinto</dc:creator>
<guid>http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/</guid>
<description><![CDATA[Once the PC Picture Phone and the KidTUnes were eviscerated and frankensteined back together in a ma]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Once the PC Picture Phone and the KidTUnes were eviscerated and frankensteined back together in a manner more aesthetically pleasing to both eye and ear, it was time to re-house the KidTunes.  The aesthetic of painted toy plastic is nauseating to both Scacinto and Kane so a plexiglass housing with stainless (when possible) hardware was decided upon to both provide working functionality and &#8220;playability.&#8221;  Additionally, we decided that we didn&#8217;t want the re-housed instrument to cover any of the modification or original circuitry, so plexi was the natural choice.</p>
<p>Here are a few pics of the guts of the two instruments, both completely torn from their original housings.</p>
<div id="attachment_570" class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-570" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0974/"><img class="size-thumbnail wp-image-570" title="Guts" src="http://scacinto.wordpress.com/files/2009/07/img_09741.jpg?w=150" alt="Guts" width="150" height="112" /></a><p class="wp-caption-text">Guts</p></div>
<div id="attachment_556" class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-556" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0975/"><img class="size-thumbnail wp-image-556" title="Splayed-out PC Picture Phone" src="http://scacinto.wordpress.com/files/2009/07/img_0975.jpg?w=150" alt="Splayed-out PC Picture Phone" width="150" height="112" /></a><p class="wp-caption-text">Splayed-out PC Picture Phone</p></div>
<div id="attachment_557" class="wp-caption alignnone" style="width: 122px"><a rel="attachment wp-att-557" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0976/"><img class="size-thumbnail wp-image-557" title="Splayed-out PC Picture Phone 2" src="http://scacinto.wordpress.com/files/2009/07/img_0976.jpg?w=112" alt="Splayed-out PC Picture Phone 2" width="112" height="150" /></a><p class="wp-caption-text">Splayed-out PC Picture Phone 2</p></div>
<div id="attachment_558" class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-558" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0977/"><img class="size-thumbnail wp-image-558" title="Splayed-out PC Picture Phone 3" src="http://scacinto.wordpress.com/files/2009/07/img_0977.jpg?w=150" alt="Splayed-out PC Picture Phone 3" width="150" height="112" /></a><p class="wp-caption-text">Splayed-out PC Picture Phone 3</p></div>
<p>Here follows the construction of the JankoTUne instrument.  For the project we picked up three pieces of plexiglass (about 12 x 14&#8221;), a scoring tool, a few bags of 1&#8221; and 1.5&#8221; screws with nuts and washers, and two carriage bolts for the touch controls with two nuts and two washers apiece (so connections can be made simply by clamping the wire between the washers.)  Additional tools included a pair of snips, a drill with a number of different sized bits, a piece of scrap lumber, and some MuCo Majicke.  The snips are useful for just about everything from cutting molded plastic housings to metal screws and tiny annoying bits that keep your potentiometer from laying flush against the plexiglass.</p>
<p>This first picture shows the keyboard/main circuit which has been mounted onto the plexiglass with three 1&#8221; screws with 1/2&#8221; 6-32 spacers (1&#8221; spacers we cut in half with the snips.)  In the front, we used two 1&#8221; screws with spacers as supports only as there were not mounting holes on the front of the circuit board and we didn&#8217;t want to risk drilling them from scratch.  The holes at the back of the board did have to be bored-out a little for the screws to fit without risking cracks.</p>
<div id="attachment_559" class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-559" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0979/"><img class="size-thumbnail wp-image-559" title="KidTunes Main Board Mounted" src="http://scacinto.wordpress.com/files/2009/07/img_0979.jpg?w=150" alt="KidTunes Main Board Mounted" width="150" height="112" /></a><p class="wp-caption-text">KidTunes Main Board Mounted</p></div>
<div id="attachment_560" class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-560" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0980/"><img class="size-thumbnail wp-image-560" title="KidTunes Main Board Mounted 2" src="http://scacinto.wordpress.com/files/2009/07/img_0980.jpg?w=150" alt="KidTunes Main Board Mounted 2" width="150" height="112" /></a><p class="wp-caption-text">KidTunes Main Board Mounted 2</p></div>
<p>Next we mounted the switch circuit using the same method as the main board.  The drill bit size for this sort of thing should be, as with other projects, just slightly smaller than the size of the screw.</p>
<div id="attachment_562" class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-562" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0982/"><img class="size-thumbnail wp-image-562" title="KidTunes Switches Mounted" src="http://scacinto.wordpress.com/files/2009/07/img_0982.jpg?w=150" alt="KidTunes Switches Mounted" width="150" height="112" /></a><p class="wp-caption-text">KidTunes Switches Mounted</p></div>
<p>Here is the back of the board showing the first two mounted circuit boards.</p>
<div id="attachment_563" class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-563" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0984/"><img class="size-thumbnail wp-image-563" title="KidTunes Underneath" src="http://scacinto.wordpress.com/files/2009/07/img_0984.jpg?w=150" alt="KidTunes Underneath" width="150" height="112" /></a><p class="wp-caption-text">KidTunes Underneath</p></div>
<p>This shot shows Kane fitting on the potentiometer onto the control panel.  The control panel piece of plexiglass was from the same piece of plexi as the main body.  We scored the glass 3-5 times and it snapped easy-peasy and clean.  The control panel is mounted on with 1.5&#8221; screws and 1&#8221; spacers with nuts.</p>
<div id="attachment_564" class="wp-caption alignnone" style="width: 122px"><a rel="attachment wp-att-564" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0985/"><img class="size-thumbnail wp-image-564" title="KidTunes Mounting Component Panel" src="http://scacinto.wordpress.com/files/2009/07/img_0985.jpg?w=112" alt="KidTunes Mounting Component Panel" width="112" height="150" /></a><p class="wp-caption-text">KidTunes Mounting Component Panel</p></div>
<div id="attachment_565" class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-565" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0986/"><img class="size-thumbnail wp-image-565" title="KidTunes Mounted Component Panel" src="http://scacinto.wordpress.com/files/2009/07/img_0986.jpg?w=150" alt="KidTunes Mounted Component Panel" width="150" height="112" /></a><p class="wp-caption-text">KidTunes Mounted Component Panel</p></div>
<p>Here is the finished control panel with potentiometer, two switches for stacatto and legato (sustain), two 1/8&#8221; audio jacks for connecting a speaker and running audio out to a mixer/computer, and the two carriage bolts in the foreground which act as touch controls so we don&#8217;t have to fidget with the actual board as much.  The touch controls are really reactive and vary much more than simply touching the wire connections.  Touching the top versus the side, and even moving around the surface all changes the resulting sound.</p>
<div id="attachment_566" class="wp-caption alignnone" style="width: 122px"><a rel="attachment wp-att-566" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0988/"><img class="size-thumbnail wp-image-566" title="KidTunes Mounted Component Panel 2" src="http://scacinto.wordpress.com/files/2009/07/img_0988.jpg?w=112" alt="KidTunes Mounted Component Panel 2" width="112" height="150" /></a><p class="wp-caption-text">KidTunes Mounted Component Panel 2</p></div>
<div id="attachment_567" class="wp-caption alignnone" style="width: 122px"><a rel="attachment wp-att-567" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0989/"><img class="size-thumbnail wp-image-567" title="KidTunes Mounted Component Panel 3" src="http://scacinto.wordpress.com/files/2009/07/img_0989.jpg?w=112" alt="KidTunes Mounted Component Panel 3" width="112" height="150" /></a><p class="wp-caption-text">KidTunes Mounted Component Panel 3</p></div>
<p>(Kane says: just to give a bit of info on what all the doodads are going to do (from left to right, top to bottom), 1) a megapot which replaced the timing resistor, 2) two mini-jacks for speakers, lines-out, whathaveyou, 3) switches to turn on and off &#8220;sustain&#8221; mode and &#8220;staccato&#8221; mode, and 4) two customs touch nodes&#8211;aka, the jTouch©, just to get all proprietary and jCapitalist on you&#8211;which add extra tastiness to the sound.)</p>
<p>Showing off&#8230;</p>
<div id="attachment_568" class="wp-caption alignnone" style="width: 122px"><a rel="attachment wp-att-568" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0990/"><img class="size-thumbnail wp-image-568" title="Scacinto with the almost-finished JankoTUne" src="http://scacinto.wordpress.com/files/2009/07/img_0990.jpg?w=112" alt="Scacinto with the almost-finished JankoTUne" width="112" height="150" /></a><p class="wp-caption-text">Scacinto with the almost-finished JankoTUne</p></div>
<div id="attachment_571" class="wp-caption alignnone" style="width: 122px"><a rel="attachment wp-att-571" href="http://scacinto.wordpress.com/2009/07/13/el-muco-custom-jankotune-kidtunes-post-evisceration-construction/img_0993/"><img class="size-thumbnail wp-image-571" title="JankoTUne Almost Complete" src="http://scacinto.wordpress.com/files/2009/07/img_09931.jpg?w=112" alt="JankoTUne Almost Complete" width="112" height="150" /></a><p class="wp-caption-text">JankoTUne Almost Complete</p></div>
<p>And now follows a few words of caution for anyone who would attempt a project like this.  First, protective eyewear is your friend.  Working with drills and plexiglass eventually = flying shards of sharp nastiness.  Second, when working the plexiglass, especially smaller pieces which are more likely to snap/crackle/pop, be sure that you support the entire piece of plexi when you are working with it to reduce chance of breakage.  When drilling plexi, use the smallest bit possible and lay the plexi flat on a piece of scrap wood, or two pieces (supporting either side of the drill hole.)  When the bit is too big, the plexi can get caught and chunk or break off around the drill hole.  Go easy on the pressure and high on the speed of the drill &#8212; too much pressure and the plexi will a) crack, or b) the bit can gouge chunks out of the board (on the backside of the drill direction.)  As always, patience is a virtue.  Take your time, measure twice, drill once.*</p>
<p>*All of this advice is true and sound: we didn&#8217;t take any of it and injury, breakage and sadness abounded!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[My first true bend]]></title>
<link>http://lagowski.wordpress.com/2009/06/16/my-first-true-bend/</link>
<pubDate>Tue, 16 Jun 2009 22:18:41 +0000</pubDate>
<dc:creator>lagowski</dc:creator>
<guid>http://lagowski.wordpress.com/2009/06/16/my-first-true-bend/</guid>
<description><![CDATA[Doctoring the Weasel &#8211; or how my first experiment with a potentiometer and crocodile clips wen]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.facebook.com/video/video.php?v=111747334873&#38;ref=nf">Doctoring the Weasel</a> &#8211; or how my first experiment with a potentiometer and crocodile clips went.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dags att söka anslag!]]></title>
<link>http://tanjabergkvist.wordpress.com/2009/06/04/dags-att-soka-anslag/</link>
<pubDate>Thu, 04 Jun 2009 20:47:23 +0000</pubDate>
<dc:creator>Tanja Bergkvist</dc:creator>
<guid>http://tanjabergkvist.wordpress.com/2009/06/04/dags-att-soka-anslag/</guid>
<description><![CDATA[Nu är det snart dags att söka postdoc från VR. Som ni alla vet gjorde jag min förra ansökan via SVD ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Nu är det snart dags</strong> att söka postdoc från VR. Som ni alla vet gjorde jag min förra ansökan<strong><a href="http://www.svd.se/opinion/brannpunkt/artikel_2531501.svd"> via SVD </a></strong>eftersom jag utgick ifrån att VR:s ledamöter läser denna tidning. Jag fick som bekant <strong><a href="http://www.svd.se/opinion/brannpunkt/artikel_2563587.svd">svar</a> </strong>, och fick tillfälle att <strong><a href="http://www.svd.se/opinion/brannpunkt/artikel_2621083.svd">förklara läget</a></strong>, men efter det har jag inte fått något besked i ärendet. Jag tänkte därför satsa på  den nya omgången utlysningar nu, och ämnet tänkte jag skulle vara <strong>&#8220;Min blogg ur ett genusperspektiv&#8221;</strong>. Bloggar är ju senaste trenden och läses av många, så jag utgår ifrån att VR:s ledmöter läser min ansökan här så att jag inte behöver använda papper och bidra till miljöförstöringen och den globala uppvärmningen nu när koldioxidhalten redan överstiger det församlade genusetablissemangets IQ.</p>
<div id="attachment_1245" class="wp-caption alignleft" style="width: 235px"><img class="size-medium wp-image-1245" title="min-arbetsplats2" src="http://tanjabergkvist.wordpress.com/files/2009/06/min-arbetsplats21.jpg?w=225" alt="Min arbetsplats på institutionen" width="225" height="300" /><p class="wp-caption-text">Min arbetsplats på institutionen</p></div>
<p>Denna gången ska jag vässa min ansökan med en nyinköpt knivslipare från Clas Ohlsson och dessutom köpa in ett extra kullager för lägsta möjliga friktionsförlust mot meningsmotståndarna för min blogg behöver verkligen granskas. Jag hoppas inte den hamnat i SÄPOs register utan att de meddelat mig, för i så fall gör de sig skyldiga till <strong>den tredje härskartekniken: undanhållande av information! </strong>Och jag behöver denna information till min blogg-genuspostdoc. Tanjas blogg ur ett genusperspektiv är nämligen det nya framtidsämnet &#8211; både tvärvetenskapligt och allomfattande. Jag gör inte anspråk på annat än att tillhandahålla den Yttersta Sanningen om Allt, där Allt utgör komplementmängden till tomma intet och där tomma intet utgörs av allt genusvetenskapligt svammel, skriftligt såväl som muntligt framfört, från 70-talet och framåt. Eftersom detta är exkluderat ur definitionen är det extra intressant att granska bloggen ur ett genusperspektiv eftersom detta då måste läggas på ovanifrån &#8211; på ca 20 kilometers höjd från Matematiska institutionen &#8211; min arbetsplats och andra hem i världen, och med en ännu okänd graders vinkel så att genusperspektivet inte reflekteras tillbaka upp genom hålet i ozonlagret och försvinner för alltid. <strong>Detta kräver experimentell utrustning som kostar 20 miljoner,</strong> men vad är väl denna struntsumma när vi talar om en äkta genusgranskning!? Vari ligger då den största utmaningen? För er som inte fattat så är alltså projektbeskrivningen påbörjad sedan länge. Enligt <strong><a href="http://en.wikipedia.org/wiki/Uncertainty_principle">Heisenbergs osäkerhetsprincip</a></strong> kan man som bekant inte samtidigt med godtycklig precision bestämma <strong>min bloggs position q </strong>och <strong>dess rörelsemängd p</strong>, eller låt oss säga hastighet eftersom röreslemängden ju är produkten av massan och hastigheten, även om massfrågan är intressant eftersom den handlar om hur tung min blogg egentligen är.</p>
<div id="attachment_1239" class="wp-caption alignleft" style="width: 134px"><img class="size-full wp-image-1239" title="potentiometer" src="http://tanjabergkvist.wordpress.com/files/2009/06/potentiometer.jpg" alt="Det reglerbara motståndet i min dator" width="124" height="124" /><p class="wp-caption-text">Det reglerbara genusmotståndet i min dator</p></div>
<p><strong>Exakt var befinner sig bloggen då,</strong> om vi känner till den hastighet med vilken genuskritiken kablas ut? Det kan man alltså inte veta av rent principiella skäl enligt kvantmekanikens fundamenta. Däremot kan man ge en ungefärlig uppskattning av läget, och denna uppskattning (tack!) kommer huvudsakligen från de svenska medborgarna, som alltså inte vill ha genusperspektivet på min blogg, utan snarare vill att bloggen ska avfärda det med hjälp av en fiberoptisk kabel med inbyggd reflektor i mitt bredband som jag ordnat med min tekniska kompetens. Det var för att gräva ut kablarna och fixa detta som jag var förbi min favoritaffär Clas Ohlsson för lämpligt utrustning. Den som är intresserad bör inhandla ett stetoskop, en mp3-spelare, en skruvmejsel, små glaskulor, en skärbräda i smält plast, en pyrograf, en brödrost, en röd picknikfilt och en printer &#8211; allt detta får plats i Clas Ohlssons egen ihopfällbara ryggsäck i trä så oroa er inte för transportfrågan. Jag kan av säkerhetsskäl inte gå in på hur ni genom att använda detta kan fixa till ert bredband men en teknisk användarmanual ligger på den krypterade containern på mitt USB-minne som jag klistat fast på mig själv med Clas Ohlssons dubbelhäftande tejp och kan tas fram vid behov.<strong> Jag har även lagt in en virtuell potentiometer,</strong> alltså en reglerbar resistor i den krypterade partitionen av hårddisken, som effektivt hindrar genusvansinnet från att ta sig fram, och som bekant beräknas detta motstånd som kvoten mellan spänningen och strömmen i enlighet med Ohms lag.</p>
<p><strong>Hur granskar man då min blogg ur ett genusperspektiv </strong>när detta reflekteras bort i kablarna, inte låter sig pådyvlas ovanifrån pga ozonhålet, inte kan lägesbestämmas i det ögonblick ett nytt genuskritiskt inlägg dyker upp, och samtidigt har ett inbyggt motstånd och, vilket jag glömde att nämna, en strömförande spole som ger den genusfrälste besökaren en elektrisk stöt likt den man får av en strömförande perkulator som brygger det ovetande morgonkaffet. Och det är också en utmaning här, även om den ligger aningen i periferin: har morgonkaffet ett medvetande, i synnerhet ett genusmedvetande, och finns det gradskillnader av medvetande? Är min blogg medveten om sin egen existens, och är den då medveten om <strong>den utvidgade självdeklaration vad gäller genusperspektivet</strong> som den måste skriva under för att inte vara illegal?</p>
<div id="attachment_1240" class="wp-caption alignleft" style="width: 128px"><img class="size-full wp-image-1240" title="plattkondensator" src="http://tanjabergkvist.wordpress.com/files/2009/06/plattkondensator.jpg" alt="Plattkondensatorn" width="118" height="87" /><p class="wp-caption-text">Plattkondensatorn med ett lagrat genusperspektiv som ska urladdas på Patriarkatet</p></div>
<p><strong>Jag vill också införa några </strong><strong>helt nya och </strong><strong>banbrytande begrepp i min forskning, </strong>till de viktigaste hör: <strong>&#8220;Genuskapacitans&#8221;</strong>, men istället för att avse förmågan att lagra elektrisk laddning ska denna kapacitans ange förmågan att <strong>lagra genusperspektiv </strong>i en godtycklig komponent och i detta syfte måste jag konstruera en <strong>genuskondensator</strong>, en sorts plattkondensator där den relativa permittiviteten för materialet mellan plattorna helst ska var oändlig för att öka kapacitansen. Denna kondensator ska sedan <strong>kortslutas och urladdas på Patriarkatet.</strong> Möjligtvis kan denna del av mitt forskningsprojekt ses som en delmängd av det kreativa flödet på Konstfack. Och apropå flöden så vill jag även införa det nya begreppet <strong>&#8220;Genusflödesintegral&#8221;</strong> &#8211; med denna som verktyg<strong> </strong>integreras alla genusperspektiv<strong> </strong>med hjälp av en liten modifiering av <strong><a href="http://sv.wikipedia.org/wiki/Navier-Stokes_ekvationer">Navier-Stokes ekvationer, </a></strong>något som<strong> förvisso raserar</strong> hela den matematiska fysikens giltighet vad gäller övriga och mer triviala tillämpningar inom strömningsmekanik, men som på sikt trots allt leder till en sammansmältning av genusämnet och resten av alla andra vetenskaper, åtminstone ytligt sett för den oinsatte och hydrostatiske betraktaren vars hjärnsubstans alltså befinner sig i evig vila. Hur detta är kopplat till min blogg återstår att se, men jag inser nu att min projektbeskrivning börjar bli lite för lång, så jag får fortsätta den på ett nästa blogginlägg! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div id="attachment_1242" class="wp-caption aligncenter" style="width: 315px"><img class="size-medium wp-image-1242" title="min-disputation" src="http://tanjabergkvist.wordpress.com/files/2009/06/min-disputation1.jpg?w=300" alt="Jag har ett nytt banbrytande forskningsprojekt på gång! " width="305" height="228" /><p class="wp-caption-text">Jag har ett nytt banbrytande forskningsprojekt på gång! Här ger jag en kortfattad presentation.  </p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Messwandler für Potentiometer und  Linearpotentiometer]]></title>
<link>http://waycon.wordpress.com/2009/05/18/messwandler-fur-potentiometer-und-linearpotentiometer/</link>
<pubDate>Mon, 18 May 2009 08:43:29 +0000</pubDate>
<dc:creator>vmarcus</dc:creator>
<guid>http://waycon.wordpress.com/2009/05/18/messwandler-fur-potentiometer-und-linearpotentiometer/</guid>
<description><![CDATA[• Wandelt Potentiometersignale in 0&#8230;10 V oder 4&#8230;20 mA • Eingang: Potentiometer 1&#8230;1]]></description>
<content:encoded><![CDATA[• Wandelt Potentiometersignale in 0&#8230;10 V oder 4&#8230;20 mA • Eingang: Potentiometer 1&#8230;1]]></content:encoded>
</item>
<item>
<title><![CDATA[We have movement]]></title>
<link>http://automatedchaos.wordpress.com/2009/05/04/we-have-movement/</link>
<pubDate>Mon, 04 May 2009 14:49:05 +0000</pubDate>
<dc:creator>forcestruck</dc:creator>
<guid>http://automatedchaos.wordpress.com/2009/05/04/we-have-movement/</guid>
<description><![CDATA[I didn&#8217;t want it to come to this! After many attempts to get the printer to go forward on its ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I didn&#8217;t want it to come to this! After many attempts to get the printer to go forward on its own accord (many resulting in ruining the control board and having to buy a new printer) i have brought out the secret weapon &#8211; <a href="http://www.arduino.cc/" target="_blank">ARDUINO</a>.  I also bought a heavily geared down DC motor from <a href="http://www.active-robots.co.uk/tamiya-72004-worm-gearbox-kit-p-1854.html" target="_blank">Tamiya</a>. These factors combined result in some serious direct to everything progress!</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/5wtbv5bZzUY&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/5wtbv5bZzUY&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p>The video shows the printer stepping forwards at a pace set by the Resistance registered by a potentiometer. Later on the potentiometer will be very important in tweaking the printer so it outputs correctly. The DC motor has more than enough power to move the printer.</p>
<p>Circuit:</p>
<p><img class="alignnone size-full wp-image-255" title="p1020053" src="http://automatedchaos.wordpress.com/files/2009/05/p1020053.jpg" alt="p1020053" width="459" height="345" /></p>
<p>The black and red wires go directly to the dc motor. The power is switched using a simple transistor.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Arduino: Potentiometer- und LED-Test]]></title>
<link>http://netzwelten.wordpress.com/2009/03/24/arduino-potentiometer-und-led-test/</link>
<pubDate>Tue, 24 Mar 2009 17:57:08 +0000</pubDate>
<dc:creator>netzwelten</dc:creator>
<guid>http://netzwelten.wordpress.com/2009/03/24/arduino-potentiometer-und-led-test/</guid>
<description><![CDATA[Homepage moved to: www.netzwelten.net Arduino: Potentiometer- und LED-Test]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Homepage moved to: <a href="http://www.netzwelten.net">www.netzwelten.net</a></p>
<p><a href="http://www.netzwelten.net/?p=285">Arduino: Potentiometer- und LED-Test</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Parts: DS1801 SPI audio volume potentiometer]]></title>
<link>http://hackaday.com/2009/03/16/parts-ds1801-spi-audio-volume-potentiometer/</link>
<pubDate>Mon, 16 Mar 2009 15:30:41 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid>http://hackaday.com/2009/03/16/parts-ds1801-spi-audio-volume-potentiometer/</guid>
<description><![CDATA[Dallas/Maxim&#8217;s DS1801 is an audio volume potentiometer with a simple SPI interface. This chip ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignnone size-full wp-image-8518" title="ds1801" src="http://hackadaycom.wordpress.com/files/2009/02/ds1801.jpg" alt="ds1801" width="450" height="314" /></p>
<p>Dallas/Maxim&#8217;s <a href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2777">DS1801</a> is an audio volume <a href="http://en.wikipedia.org/wiki/Potentiometer">potentiometer </a>with a simple <a href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus">SPI</a> interface. This chip has two channels of volume control that might be useful in a DIY audio project. We previously looked at the <a href="http://hackaday.com/2009/02/16/parts-i2c-audio-volume-potentiometer-ds1807/">DS1807</a>, a similar part with an I2C interface. This week we&#8217;ll show you how to use the SPI version.</p>
<p><!--more--><strong><a href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2777">DS1801</a> SPI digital audio volume potentiometer (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?lang=en&#38;site=US&#38;keywords=ds1801&#38;x=0&#38;y=0">Digikey search</a>, <a href="http://octopart.com/search?q=ds1801">Octopart search</a>, $6.50). <a href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2777">Datasheet</a> (PDF).</strong></p>
<table border="0">
<tbody>
<tr>
<td><strong>Bus Pirate</strong></td>
<td><strong>DS1801 (pin #)</strong></td>
</tr>
<tr>
<td>GND</td>
<td>GND (1)</td>
</tr>
<tr>
<td>AUX</td>
<td>RST (3)</td>
</tr>
<tr>
<td>GND</td>
<td>ZCEN (4)</td>
</tr>
<tr>
<td>GND</td>
<td>AGND (11)</td>
</tr>
<tr>
<td>MOSI</td>
<td>D (12)</td>
</tr>
<tr>
<td>Clock</td>
<td>CLK (13)</td>
</tr>
<tr>
<td>+3.3volts</td>
<td>VCC (14)</td>
</tr>
</tbody>
</table>
<p>We connected the DS1801 to our <a href="http://hackaday.com/the-bus-pirate-universal-serial-interface/">Bus Pirate universal serial interface tool</a> as shown in the table. We used the Bus Pirate to demonstrate this chip, but the same basic procedures apply to any microcontroller. The DS1801 power requirements are flexible, it works at either 3.3volts or 5volts, we used a 3.3volt supply.</p>
<p>The DS1801 has an SPI interface. The data output pin can be used to cascade multiple DS1801s. We used the Bus Pirate&#8217;s SPI mode with default options to interface this chip.</p>
<p><strong><img class="alignnone size-full wp-image-9058" title="1801-spi" src="http://hackadaycom.wordpress.com/files/2009/03/1801-spi.png" alt="1801-spi" width="450" height="163" /></strong></p>
<p>The DS1801 SPI protocol is described in figure (a) on page 4 of the datasheet (shown above). Note that the SPI enable signal, called RST on the DS1801, is actually opposite standard notation. Data input is active when RST is high, and inactive when it&#8217;s low.</p>
<p>Each DS1801 has two audio potentiometers with 64 steps of volume control. 0 is full volume, 63 is the lowest volume, position 64 is mute. Setting the volume is really simple; just raise the RST signal, clock in the volume level for each potentiometer, and lower RST to enact the new settings.</p>
<blockquote><p>SPI&#62;A 64 64 a<br />
AUX HIGH <strong>&#60;&#8211;RST pin high</strong><br />
WRITE: 0&#215;40 <strong>&#60;&#8211;mute setting channel 0</strong><br />
WRITE: 0&#215;40 <strong>&#60;&#8211;mute setting channel 1</strong><br />
AUX LOW <strong>&#60;&#8211;RST pin low</strong><br />
SPI&#62;</p></blockquote>
<p>Here, we set both potentiometers to mute (64). First, raise the RST pin to 3.3volts (capital &#8216;A&#8217;, <a href="http://www.w3.org/TR/CSS2/text.html#caps-prop">silly CSS</a>). Next, write the mute setting for each (64 64). Finally, lower the RST pin to enact the new settings (small &#8216;a&#8217;).</p>
<blockquote><p>SPI&#62;A 0 0 a<br />
AUX HIGH<br />
WRITE: 0&#215;00<br />
WRITE: 0&#215;00<br />
AUX LOW<br />
SPI&#62;</p></blockquote>
<p>Now we change both potentiometers to full volume by writing a 0 to each. The sets a resistance level of 0, or 100% of the input volume.</p>
<blockquote><p>SPI&#62;A 0 64 a<br />
AUX HIGH<br />
WRITE: 0&#215;00<br />
WRITE: 0&#215;40<br />
AUX LOW<br />
SPI&#62;</p></blockquote>
<p>Finally, we set a different volume levels on each potentiometer. Pot 0 is at full volume (0), pot 1 is muted (64).</p>
<p>Like this post? Check out the <a href="http://hackaday.com/category/parts/">parts posts</a> you may have missed. Want to request a part post? Please leave your suggestions in the comments.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Photoresistor (cont.)]]></title>
<link>http://zklapow.wordpress.com/2009/02/16/photoresistor-cont/</link>
<pubDate>Tue, 17 Feb 2009 04:07:12 +0000</pubDate>
<dc:creator>zklapow</dc:creator>
<guid>http://zklapow.wordpress.com/2009/02/16/photoresistor-cont/</guid>
<description><![CDATA[If you have not read my first photoresistor post, please click here to do so.&nbsp; After I finished]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you have not read my first photoresistor post, please click <a href="http://zklapow.wordpress.com/2009/02/15/photoresistor/" target="_self">here</a> to do so.&#160;</p>
<p>After I finished up on my photo-resistor stuff last night I was thinking, there is so much more potential for stuff than just that little white to black color background. So I decided I would make and RGB color mixer.</p>
<p>I grabbed 2 more photo-resistor and hooked them up as voltage dividers with 4.7K ohm resistors ( I didn&#8217;t have any 5k). I made a quick edit to my photoresistor app to make it read analog pins 3, 4, and 5 and assign them to blue green and red, respectively. The edit looks like this (the full app is available for download <a href="http://www.mediafire.com/?3vnjomzgbyz" target="_blank">here</a>):</p>
<p style="padding-left:30px;">&#160;&#160;background(theBackground);</p>
<p style="padding-left:30px;">&#160;&#160;val1= arduino.analogRead(5);</p>
<p style="padding-left:30px;">&#160;&#160;val2= arduino.analogRead(4);</p>
<p style="padding-left:30px;">&#160;&#160;val3= arduino.analogRead(3);</p>
<p style="padding-left:30px;">&#160;&#160;theBackground= color(val1, val2, val3);</p>
<p>Where val1 is red val2 is green and val3 is blue.</p>
<p>This is the final result:</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/_uXXE8FO8i8&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/_uXXE8FO8i8&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p>Feedback is not only welcome but much&#160;appreciated. I&#8217;m thinking of making some kind of project out of this I&#8217;m just not sure what yet. If you have any ideas please leave a comment.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
