<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Isti's Blog</title>
	
	<link>http://www.xistix.com/blog</link>
	<description>Tutorials, examples, 42</description>
	<lastBuildDate>Tue, 22 Sep 2009 16:07:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/IstisBlog" /><feedburner:info uri="istisblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Adding Menu</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/mS7ehSpKeQs/</link>
		<comments>http://www.xistix.com/blog/2009/09/22/adding-menu/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 16:07:52 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[xISTIx HSP Controller]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=483</guid>
		<description><![CDATA[I did not change the HW since the last post. I updated the SW by implementing a simple menu:
// include the library code:
 #include &#60;LiquidCrystal.h&#62;

 const int numRows = 2;
 const int numCols = 16;

 const int lcdBackLightPin = 12;
 const int upButtonPin = 6;
 const int downButtonPin = 5;
 const int setButtonPin = 4;
 [...]]]></description>
			<content:encoded><![CDATA[<p>I did not change the HW since the last post. I updated the SW by implementing a simple menu:</p>
<pre>// include the library code:
 #include &lt;LiquidCrystal.h&gt;

 const int numRows = 2;
 const int numCols = 16;

 const int lcdBackLightPin = 12;
 const int upButtonPin = 6;
 const int downButtonPin = 5;
 const int setButtonPin = 4;
 const int resetButtonPin = 3;

 char* mainMenu[]={"start", "delay", "test"};
 int mainMenuIndex = 0;
 int mainMenuNextItem = 1;
 int mainMenuItemNum = 3;
 boolean menuUpdate = false;

 // initialize the library with the numbers of the interface pins
 LiquidCrystal lcd(13, 11, 10, 9, 8, 7);

 void setup() {
 // set up the LCD's number of rows and columns:
 lcd.begin(numRows, numCols);
 lcd.clear();
 lcd.setCursor(0, 0);
 lcd.print("&gt;");
 lcd.setCursor(2, 0);
 lcd.print(mainMenu[mainMenuIndex]);
 lcd.setCursor(2, 1);
 lcd.print(mainMenu[mainMenuNextItem]);
 digitalWrite(lcdBackLightPin, HIGH);

 pinMode(lcdBackLightPin, OUTPUT);
 pinMode(upButtonPin, INPUT);
 pinMode(downButtonPin, INPUT);
 pinMode(setButtonPin, INPUT);
 pinMode(resetButtonPin, INPUT);

 }

 void loop() {
 if(digitalRead(upButtonPin))
 {
 mainMenuIndex++;
 if(mainMenuIndex &gt;= mainMenuItemNum)
 {
 mainMenuIndex = 0;
 }  
 mainMenuNextItem++;
 if(mainMenuNextItem &gt;= mainMenuItemNum)
 {
 mainMenuNextItem = 0;
 }
 menuUpdate = true;
 }
 else if(digitalRead(downButtonPin))
 {
 mainMenuIndex--;
 if(mainMenuIndex &lt; 0)
 {
 mainMenuIndex = mainMenuItemNum - 1;
 }  
 mainMenuNextItem--;
 if(mainMenuNextItem &lt; 0)
 {
 mainMenuNextItem = mainMenuItemNum - 1;
 }
 menuUpdate = true;
 }

 if(menuUpdate)
 {   
 lcd.clear();
 lcd.setCursor(0, 0);
 lcd.print("&gt;");
 lcd.setCursor(2, 0);
 lcd.print(mainMenu[mainMenuIndex]);
 lcd.print(" &lt;");
 lcd.setCursor(2, 1);
 lcd.print(mainMenu[mainMenuNextItem]);
 menuUpdate = false;
 delay(300);
 }

 }</pre>
<p>You can download the file from here: <a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/xISTIxHSPC.pde">xISTIxHSPC</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/tDQsDesNbhFS3Soo1_ReioiIs4E/0/da"><img src="http://feedads.g.doubleclick.net/~a/tDQsDesNbhFS3Soo1_ReioiIs4E/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/tDQsDesNbhFS3Soo1_ReioiIs4E/1/da"><img src="http://feedads.g.doubleclick.net/~a/tDQsDesNbhFS3Soo1_ReioiIs4E/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/mS7ehSpKeQs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/22/adding-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/09/22/adding-menu/</feedburner:origLink></item>
		<item>
		<title>Buttons ready</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/V9xeozfZoqs/</link>
		<comments>http://www.xistix.com/blog/2009/09/21/buttons-ready/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 06:07:48 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[xISTIx HSP Controller]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=478</guid>
		<description><![CDATA[Yesterday I had a little time to go on with my high speed photo controller project. I added three more buttons. The circuits are exactly the same as for the first button. Here is a picture:
As you can see, I put every button connector two a new column. This way it was easy to wire [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I had a little time to go on with my high speed photo controller project. I added three more buttons. The <a href="http://www.xistix.com/blog/2009/08/16/start-planning-push-buttons/">circuits</a> are exactly the same as for the <a href="http://www.xistix.com/blog/2009/09/04/first-button/">first button</a>. Here is a picture:</p>
<div id="attachment_476" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/buttons_assembled.jpg"><img class="size-medium wp-image-476" title="buttons_assembled" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/buttons_assembled-300x225.jpg" alt="Buttons assemled" width="300" height="225" /></a><p class="wp-caption-text">Buttons assembled</p></div>
<p>As you can see, I put every button connector two a new column. This way it was easy to wire them and I needed to make cuts only between the connector pins. I also changed the code of the controller:</p>
<pre>// include the library code:
 #include &lt;LiquidCrystal.h&gt;

 const int numRows = 2;
 const int numCols = 16;

 const int lcdBackLightPin = 12;
 const int upButtonPin = 6;
 const int downButtonPin = 5;
 const int setButtonPin = 4;
 const int resetButtonPin = 3;

 // initialize the library with the numbers of the interface pins
 LiquidCrystal lcd(13, 11, 10, 9, 8, 7);

 void setup() {
 // set up the LCD's number of rows and columns:
 lcd.begin(numRows, numCols);
 lcd.clear();
 lcd.setCursor(5, 1);
 lcd.print("XistiX");
 digitalWrite(lcdBackLightPin, HIGH);

 pinMode(lcdBackLightPin, OUTPUT);
 pinMode(upButtonPin, INPUT);
 pinMode(downButtonPin, INPUT);
 pinMode(setButtonPin, INPUT);
 pinMode(resetButtonPin, INPUT);
 }

 void loop() {
 if(digitalRead(upButtonPin))
 {
 lcd.setCursor(0, 0);
 lcd.print("UP Button");
 }
 else if(digitalRead(downButtonPin))
 {
 lcd.setCursor(0, 0);
 lcd.print("DOWN Button");
 }
 else if(digitalRead(setButtonPin))
 {
 lcd.setCursor(0, 0);
 lcd.print("SET Button");
 }
 else if(digitalRead(resetButtonPin)</pre>
<div id=":64">
<pre>)</pre>
<pre> {</pre>
<pre> lcd.setCursor(0, 0);</pre>
<pre> lcd.print("RESET Button");</pre>
<pre> }</pre>
<pre> else</pre>
<pre> {</pre>
<pre> lcd.setCursor(0, 0);</pre>
<pre> lcd.print("            ");</pre>
<pre> }</pre>
<pre> }</pre>
</div>
<p>It prints to the screen which button is pressed. When you check the source you will notice that buttons actually has a priority order and you can&#8217;t press two more than one button at the same time. I used an if else if structure. I will change this later. It is simply so because it was the easiest to test the buttons and update the screen.</p>
<p>You can download the code as a file from here: <a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/xISTIx_Buttons.pde">xISTIx_Buttons</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/KEg9qkBhe_74M2VzcW8twTjwy4A/0/da"><img src="http://feedads.g.doubleclick.net/~a/KEg9qkBhe_74M2VzcW8twTjwy4A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/KEg9qkBhe_74M2VzcW8twTjwy4A/1/da"><img src="http://feedads.g.doubleclick.net/~a/KEg9qkBhe_74M2VzcW8twTjwy4A/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/V9xeozfZoqs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/21/buttons-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/09/21/buttons-ready/</feedburner:origLink></item>
		<item>
		<title>Drop on Drop</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/0MN8VB63rQQ/</link>
		<comments>http://www.xistix.com/blog/2009/09/08/drop-on-drop/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 11:14:57 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=469</guid>
		<description><![CDATA[Yesterday I experimented with drop collisions. I got some interesting photos:
]]></description>
			<content:encoded><![CDATA[<p>Yesterday I experimented with drop collisions. I got some interesting photos:</p>

<a href='http://www.xistix.com/blog/2009/09/08/drop-on-drop/floweronyellow/' title='FlowerOnYellow'><img width="150" height="150" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/FlowerOnYellow-150x150.jpg" class="attachment-thumbnail" alt="Flower" title="FlowerOnYellow" /></a>
<a href='http://www.xistix.com/blog/2009/09/08/drop-on-drop/plate/' title='Plate'><img width="150" height="150" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/Plate-150x150.jpg" class="attachment-thumbnail" alt="Falling Plate" title="Plate" /></a>
<a href='http://www.xistix.com/blog/2009/09/08/drop-on-drop/redfloweronyellow/' title='RedFlowerOnYellow'><img width="150" height="150" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/RedFlowerOnYellow-150x150.jpg" class="attachment-thumbnail" alt="Another Flower" title="RedFlowerOnYellow" /></a>
<a href='http://www.xistix.com/blog/2009/09/08/drop-on-drop/splashonsplash/' title='SplashOnSplash'><img width="150" height="150" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/SplashOnSplash-150x150.jpg" class="attachment-thumbnail" alt="Splash on Splash" title="SplashOnSplash" /></a>
<a href='http://www.xistix.com/blog/2009/09/08/drop-on-drop/splashontop/' title='SplashOnTop'><img width="150" height="150" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/SplashOnTop-150x150.jpg" class="attachment-thumbnail" alt="Splash on Top" title="SplashOnTop" /></a>


<p><a href="http://feedads.g.doubleclick.net/~a/fGrXdqOZfoUYZLELTbXk_MZ26_g/0/da"><img src="http://feedads.g.doubleclick.net/~a/fGrXdqOZfoUYZLELTbXk_MZ26_g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/fGrXdqOZfoUYZLELTbXk_MZ26_g/1/da"><img src="http://feedads.g.doubleclick.net/~a/fGrXdqOZfoUYZLELTbXk_MZ26_g/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/0MN8VB63rQQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/08/drop-on-drop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/09/08/drop-on-drop/</feedburner:origLink></item>
		<item>
		<title>Photos</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/lJD9ieE8auY/</link>
		<comments>http://www.xistix.com/blog/2009/09/06/photos/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 06:31:22 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=463</guid>
		<description><![CDATA[Two new photos with the old controller:
]]></description>
			<content:encoded><![CDATA[<p>Two new photos with the old controller:</p>

<a href='http://www.xistix.com/blog/2009/09/06/photos/reddragon/' title='RedDragon'><img width="150" height="150" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/RedDragon-150x150.jpg" class="attachment-thumbnail" alt="Red Dragon" title="RedDragon" /></a>
<a href='http://www.xistix.com/blog/2009/09/06/photos/ufo/' title='Ufo'><img width="150" height="150" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/Ufo-150x150.jpg" class="attachment-thumbnail" alt="Ufo" title="Ufo" /></a>


<p><a href="http://feedads.g.doubleclick.net/~a/Vn4aOaEIuBhGCazQsuN1cl0yol4/0/da"><img src="http://feedads.g.doubleclick.net/~a/Vn4aOaEIuBhGCazQsuN1cl0yol4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Vn4aOaEIuBhGCazQsuN1cl0yol4/1/da"><img src="http://feedads.g.doubleclick.net/~a/Vn4aOaEIuBhGCazQsuN1cl0yol4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/lJD9ieE8auY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/06/photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/09/06/photos/</feedburner:origLink></item>
		<item>
		<title>First Button</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/3jnguT37UjA/</link>
		<comments>http://www.xistix.com/blog/2009/09/04/first-button/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 19:16:26 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[xISTIx HSP Controller]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=458</guid>
		<description><![CDATA[I have built the circuit of the first push button. I have not made any changes to the original plan. Here is the picture:
I have put a two pin connector to a stripe and made a cut between the pins. then I connected one pin (the upper one in the picture) via a 10 kohm [...]]]></description>
			<content:encoded><![CDATA[<p>I have built the circuit of the first push button. I have not made any changes to the original plan. Here is the picture:</p>
<div id="attachment_460" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/Button.JPG"><img class="size-medium wp-image-460" title="Button" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/Button-300x225.jpg" alt="Push button circuit" width="300" height="225" /></a><p class="wp-caption-text">Push button circuit</p></div>
<p>I have put a two pin connector to a stripe and made a cut between the pins. then I connected one pin (the upper one in the picture) via a 10 kohm resistor to the ground. The same pin is also connected to pin 6 of the arduino.  The other pin is connected to 5v via a 500 ohm resistor. The push button shorts the two pins.</p>
<p>I have modified the LCD test program a bit. Now the LCD background light is on when the push button is pressed. It is just for testing purposes. Later I will change this.</p>
<p>Here is the code: <a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/HelloWorldLCDButton.pde">HelloWorldLCDButton</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/1R3uF4ZxiabRhEGeFQc-bamr15s/0/da"><img src="http://feedads.g.doubleclick.net/~a/1R3uF4ZxiabRhEGeFQc-bamr15s/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/1R3uF4ZxiabRhEGeFQc-bamr15s/1/da"><img src="http://feedads.g.doubleclick.net/~a/1R3uF4ZxiabRhEGeFQc-bamr15s/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/3jnguT37UjA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/04/first-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/09/04/first-button/</feedburner:origLink></item>
		<item>
		<title>LCD Ready</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/x1ZDUaVNBvo/</link>
		<comments>http://www.xistix.com/blog/2009/09/03/lcd-ready/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 06:54:25 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[xISTIx HSP Controller]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=452</guid>
		<description><![CDATA[Yesterday I promised to post the pictures of the ready made LCD circuit. Here they are:
And here is the final design:
I also promised to upload the LCD test program:
// include the library code:
 #include &#60;LiquidCrystal.h&#62;

 const int numRows = 2;
 const int numCols = 16;

 const int lcdBackLightPin = 12;

 // initialize the library with [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I promised to post the pictures of the ready made LCD circuit. Here they are:</p>
<div id="attachment_450" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_circuit_ready.jpg"><img class="size-medium wp-image-450" title="LCD_circuit_ready" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_circuit_ready-300x225.jpg" alt="LCD circuit ready" width="300" height="225" /></a><p class="wp-caption-text">LCD circuit ready</p></div>
<div id="attachment_449" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_hello.jpg"><img class="size-medium wp-image-449" title="LCD_hello" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_hello-300x225.jpg" alt="Hello World!" width="300" height="225" /></a><p class="wp-caption-text">Hello World!</p></div>
<p>And here is the final design:</p>
<div id="attachment_451" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_final.png"><img class="size-medium wp-image-451" title="LCD_final" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_final-300x225.png" alt="Final LCD circuit design" width="300" height="225" /></a><p class="wp-caption-text">Final LCD circuit design</p></div>
<p>I also promised to upload the LCD test program:</p>
<pre>// include the library code:
 #include &lt;LiquidCrystal.h&gt;

 const int numRows = 2;
 const int numCols = 16;

 const int lcdBackLightPin = 12;

 // initialize the library with the numbers of the interface pins
 LiquidCrystal lcd(13, 11, 10, 9, 8, 7);

 void setup() {
 // set up the LCD's number of rows and columns:
 lcd.begin(numRows, numCols);
 lcd.clear();
 lcd.setCursor(2, 0);
 lcd.print("Hello World!");

 pinMode(lcdBackLightPin, OUTPUT);
 }

 void loop() {
 digitalWrite(lcdBackLightPin, HIGH);
 lcd.setCursor(5, 1);
 lcd.print("xISTIx");
 delay(500);
 digitalWrite(lcdBackLightPin, LOW);
 lcd.setCursor(5, 1);
 lcd.print("XistiX");
 delay(500);
 }</pre>
<p>Source file is here: <a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/xISTIx_Hello_LCD.pde">xISTIx_Hello_LCD</a></p>
<p>My source file is based on this example: <a href="http://arduino.cc/en/Tutorial/LiquidCrystal">http://arduino.cc/en/Tutorial/LiquidCrystal</a></p>
<p>I just simplified the loop and changed the pin numbers according to my circuit. I also added the control for the LCD back light on pin 12.</p>
<p>Finally a comment for Linux 64 bit users. If you use the arduino package I have <a href="http://www.xistix.com/blog/2009/09/02/arduino-and-64-bit-linux/">suggested earlier</a>, you might face some compilation problem. It is because the LCD library is old in that package. I simply downloaded the arduino017 32 bit Linux software from the official arduino site and copied the LCD library from there. It works fine.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/hfPvM6BEW5nI8D64Ec2l5ZtBgUg/0/da"><img src="http://feedads.g.doubleclick.net/~a/hfPvM6BEW5nI8D64Ec2l5ZtBgUg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/hfPvM6BEW5nI8D64Ec2l5ZtBgUg/1/da"><img src="http://feedads.g.doubleclick.net/~a/hfPvM6BEW5nI8D64Ec2l5ZtBgUg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/x1ZDUaVNBvo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/03/lcd-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/09/03/lcd-ready/</feedburner:origLink></item>
		<item>
		<title>xISTIx LCD</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/pu_k9X5Tfho/</link>
		<comments>http://www.xistix.com/blog/2009/09/03/xistix-lcd/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 09:30:49 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[xISTIx HSP Controller]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=445</guid>
		<description><![CDATA[I built the circuit of the former LCD related post. I still had to make a minor correction. With 450 ohm resistor the back light was too dim. I changed the resistor to 100 ohm and it is OK now. Probably it would work without any resistor, but I will keep it this way.
I took [...]]]></description>
			<content:encoded><![CDATA[<p>I built the circuit of the former LCD related post. I still had to make a minor correction. With 450 ohm resistor the back light was too dim. I changed the resistor to 100 ohm and it is OK now. Probably it would work without any resistor, but I will keep it this way.</p>
<p>I took some pictures, but I do not have the possibility to upload them right now. They are on my phone and I do not have the USB cable with me. I know, I know it has bluetooth connection but after 5 minutes searching for the damn bluetooth activation on my WinXP office laptop I gave up. So pictures will come in the next post. I will also post the source code for the LCD test.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/5-QwuiIEv0t0Sysh8JD__Fg7lOo/0/da"><img src="http://feedads.g.doubleclick.net/~a/5-QwuiIEv0t0Sysh8JD__Fg7lOo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5-QwuiIEv0t0Sysh8JD__Fg7lOo/1/da"><img src="http://feedads.g.doubleclick.net/~a/5-QwuiIEv0t0Sysh8JD__Fg7lOo/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/pu_k9X5Tfho" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/03/xistix-lcd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/09/03/xistix-lcd/</feedburner:origLink></item>
		<item>
		<title>Arduino and 64 bit Linux</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/uE0wsgmjiTs/</link>
		<comments>http://www.xistix.com/blog/2009/09/02/arduino-and-64-bit-linux/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 08:13:11 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[Linux tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[microcontroller]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=443</guid>
		<description><![CDATA[Until yesterday I could not use the Arduino environment on my 64 bit Linux environment. I tried lots of things to fix it without success. While digging the net I have found this:
http://blog.makezine.com/archive/2009/07/arduino_on_64-bit_linux.html
Cooooool! It works fine with my Seeeduino which is basically an Arduino Diecimila. Unfortunately it does not support my Arduino Duemilanove boards. The [...]]]></description>
			<content:encoded><![CDATA[<p>Until yesterday I could not use the Arduino environment on my 64 bit Linux environment. I tried lots of things to fix it without success. While digging the net I have found this:</p>
<p><a href="http://blog.makezine.com/archive/2009/07/arduino_on_64-bit_linux.html" target="_blank">http://blog.makezine.com/archive/2009/07/arduino_on_64-bit_linux.html</a></p>
<p>Cooooool! It works fine with my Seeeduino which is basically an Arduino Diecimila. Unfortunately it does not support my Arduino Duemilanove boards. The <span>ATmega328 chips are not supported by the avrdude config. If someone knows how to do that I would be glad to hear it.</span></p>
<p><span><br />
</span></p>

<p><a href="http://feedads.g.doubleclick.net/~a/CArVLtszN4KkB4OyzgW8L_Z6P9M/0/da"><img src="http://feedads.g.doubleclick.net/~a/CArVLtszN4KkB4OyzgW8L_Z6P9M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/CArVLtszN4KkB4OyzgW8L_Z6P9M/1/da"><img src="http://feedads.g.doubleclick.net/~a/CArVLtszN4KkB4OyzgW8L_Z6P9M/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/uE0wsgmjiTs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/02/arduino-and-64-bit-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/09/02/arduino-and-64-bit-linux/</feedburner:origLink></item>
		<item>
		<title>Building the LCD circuit</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/Bwhk2C1htDY/</link>
		<comments>http://www.xistix.com/blog/2009/09/01/building-the-lcd-circuit/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 07:55:04 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[xISTIx HSP Controller]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=436</guid>
		<description><![CDATA[I have started to build the LCD circuit. I have made some changes to the original plan:
I have changed the connection of the contrast potentiometer. Now it is between the ground and 5V. The R/W pin of the LCD is now connected to the ground and not controlled by the Arduino. This way we can [...]]]></description>
			<content:encoded><![CDATA[<p>I have started to build the LCD circuit. I have made some changes to the original plan:</p>
<div id="attachment_440" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_new.png"><img class="size-medium wp-image-440" title="LCD_new" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_new-300x225.png" alt="Modified LCD circuit" width="300" height="225" /></a><p class="wp-caption-text">Modified LCD circuit</p></div>
<p>I have changed the connection of the contrast potentiometer. Now it is between the ground and 5V. The R/W pin of the LCD is now connected to the ground and not controlled by the Arduino. This way we can save one pin. I use the saved pin 12 to control the LCD back light.</p>
<p>Here is the current state of the wiring. It is not ready yet. I use a 10 pin socket where I will connect the LCD with a ribbon cable. The connection of the socket is almost ready. Only the contrast line is missing from the potentiometer. I will add two pins for connecting the back light of the LCD with a jumper wire. That is also missing.</p>
<div id="attachment_438" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_wires.jpg"><img class="size-medium wp-image-438" title="LCD_wires" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_wires-300x225.jpg" alt="Wiring the LCD socket" width="300" height="225" /></a><p class="wp-caption-text">Wiring the LCD socket</p></div>
<div id="attachment_437" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_wires_solder.jpg"><img class="size-medium wp-image-437" title="LCD_wires_solder" src="http://www.xistix.com/blog/wp-content/uploads/2009/09/LCD_wires_solder-300x225.jpg" alt="Soldering" width="300" height="225" /></a><p class="wp-caption-text">Soldering</p></div>

<p><a href="http://feedads.g.doubleclick.net/~a/VDck46MNl1iY3vtoYFPgmR0DlZM/0/da"><img src="http://feedads.g.doubleclick.net/~a/VDck46MNl1iY3vtoYFPgmR0DlZM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/VDck46MNl1iY3vtoYFPgmR0DlZM/1/da"><img src="http://feedads.g.doubleclick.net/~a/VDck46MNl1iY3vtoYFPgmR0DlZM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/Bwhk2C1htDY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/09/01/building-the-lcd-circuit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/09/01/building-the-lcd-circuit/</feedburner:origLink></item>
		<item>
		<title>Let’s Weld!</title>
		<link>http://feedproxy.google.com/~r/IstisBlog/~3/EMn5v6lI4w0/</link>
		<comments>http://www.xistix.com/blog/2009/08/31/lets-weld/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 07:46:41 +0000</pubDate>
		<dc:creator>Isti</dc:creator>
				<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[xISTIx HSP Controller]]></category>

		<guid isPermaLink="false">http://www.xistix.com/blog/?p=427</guid>
		<description><![CDATA[Now, I&#8217;m more or less ready with the plans. Let&#8217;s have some fun and do some soldering. As I planned earlier I will use a stripboard for this project. I will make a shield for the Seeeduino so I can easily remove it later if I want. Since the original connectors on the Arduino design [...]]]></description>
			<content:encoded><![CDATA[<p>Now, I&#8217;m more or less ready with the plans. Let&#8217;s have some fun and do some soldering. As I planned earlier I will use a stripboard for this project. I will make a shield for the Seeeduino so I can easily remove it later if I want. Since the original connectors on the Arduino design are at non standard place first I have to solder an extra connector onto the Seeeduino. Fortunately Seeeduino provides place for extra sockets, which are at standard place so I do not need to make a custom PCB. I will use this kinds of connectors:</p>
<div id="attachment_428" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/08/connectors.JPG"><img class="size-medium wp-image-428" title="connectors" src="http://www.xistix.com/blog/wp-content/uploads/2009/08/connectors-300x177.jpg" alt="connectors" width="300" height="177" /></a><p class="wp-caption-text">connectors</p></div>
<p>My local shop did not have connectors with 8 legs, so I used two 4 legs.</p>
<p>Here is the Seeeduino with its extra connector:</p>
<div id="attachment_429" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/08/seeeduino_extra_pins.JPG"><img class="size-medium wp-image-429" title="seeeduino_extra_pins" src="http://www.xistix.com/blog/wp-content/uploads/2009/08/seeeduino_extra_pins-300x208.jpg" alt="Seeeduino with extra connector" width="300" height="208" /></a><p class="wp-caption-text">Seeeduino with extra connector</p></div>
<p>As you can see now I have duplicate connector for the upper digital I/O pins (lower right in the picture). The upper connector is the new one and it is at standard place. After soldering I inserted pins to the connectors in order to find the right place on the stripboard where I soldered them. I tried to place it where the USB and power connectors of the Seeeduino are at the border of the stripboard. So when I will build the thing to a box I can access them directly from outside.</p>
<div id="attachment_430" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/08/soldered_pins.JPG"><img class="size-medium wp-image-430" title="soldered_pins" src="http://www.xistix.com/blog/wp-content/uploads/2009/08/soldered_pins-300x216.jpg" alt="soldered pins" width="300" height="216" /></a><p class="wp-caption-text">soldered pins</p></div>
<p>Now I can simply plug my Seeeduino to the board:</p>
<div id="attachment_431" class="wp-caption alignnone" style="width: 310px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/08/seeeduino_on_shield.JPG"><img class="size-medium wp-image-431" title="seeeduino_on_shield" src="http://www.xistix.com/blog/wp-content/uploads/2009/08/seeeduino_on_shield-300x224.jpg" alt="Seeeduino plugged to the shield" width="300" height="224" /></a><p class="wp-caption-text">Seeeduino plugged to the shield</p></div>
<p>Finally I marked the places on the stripboard where I have to make cuts. I used a permanent marker:</p>
<div id="attachment_432" class="wp-caption alignnone" style="width: 281px"><a href="http://www.xistix.com/blog/wp-content/uploads/2009/08/cuts_noted_on_stripboard.JPG"><img class="size-medium wp-image-432" title="cuts_noted_on_stripboard" src="http://www.xistix.com/blog/wp-content/uploads/2009/08/cuts_noted_on_stripboard-271x300.jpg" alt="Cuts noted" width="271" height="300" /></a><p class="wp-caption-text">Cuts noted</p></div>
<p><em>After posting this I just found there is a little mistake. I marked a line for cut which is not necessary. It is your homework to find it</em> <img src='http://www.xistix.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Next I will go on with the LCD circuit. I will use  10 and 2 pin sockets and ribbon cable to connect the LCD.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/aasGkscsE5k8hGrJoQMlF8AIGZo/0/da"><img src="http://feedads.g.doubleclick.net/~a/aasGkscsE5k8hGrJoQMlF8AIGZo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/aasGkscsE5k8hGrJoQMlF8AIGZo/1/da"><img src="http://feedads.g.doubleclick.net/~a/aasGkscsE5k8hGrJoQMlF8AIGZo/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/IstisBlog/~4/EMn5v6lI4w0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.xistix.com/blog/2009/08/31/lets-weld/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.xistix.com/blog/2009/08/31/lets-weld/</feedburner:origLink></item>
	</channel>
</rss>
