<?xml version="1.0" encoding="UTF-8"?>
<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/"
	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/"
	>

<channel>
	<title>Explorations through ITP &#187; Tool-Device</title>
	<atom:link href="http://klaweht.com/blog/category/physical-comp/tool-device/feed/" rel="self" type="application/rss+xml" />
	<link>http://klaweht.com/blog</link>
	<description>Yet another blog to be designed...</description>
	<lastBuildDate>Fri, 13 Jul 2007 03:10:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Midterm</title>
		<link>http://klaweht.com/blog/2005/10/26/midterm/</link>
		<comments>http://klaweht.com/blog/2005/10/26/midterm/#comments</comments>
		<pubDate>Wed, 26 Oct 2005 10:46:54 +0000</pubDate>
		<dc:creator>ilteris</dc:creator>
				<category><![CDATA[Tool-Device]]></category>

		<guid isPermaLink="false">http://klaweht.com/blog/?p=21</guid>
		<description><![CDATA[
We have been working on this with David for the last week day and the night. We built our own homemade switches, built a nice layout for the LEDs, wire up at least 100 wires to the board and tried to code it. Well it is working %20 percent is all I can say for [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="DSC05958.jpg" src="http://itp.nyu.edu/~ik501/blog/archives/DSC05958.jpg" width="640" height="480" /></p>
<p>We have been working on this with David for the last week day and the night. We built our own homemade switches, built a nice layout for the LEDs, wire up at least 100 wires to the board and tried to code it. Well it is working %20 percent is all I can say for tomorrow, I am still satisfied and want to finish this though. It was just not enough time literally. The current board has two chips one of which is a shift register basically try to run the LEDs as outputs.</p>
<p><img alt="DSC05960.jpg" src="http://itp.nyu.edu/~ik501/blog/archives/DSC05960.jpg" width="640" height="480" /></p>
<p>According to other people&#8217;s experiences shift registers look not a bright solution at all, actually since starting of this project I can say I understand better now what in Tom&#8217;s book on the Chapter 14. It has been a great experience for me, I did take my lesson not to joke with LEDs more than 5 at first hand don&#8217;t try to mass product 25 custom switches it can take longer than you think, too much soldering causes temporary blindness. </p>
<p><img alt="DSC05964.jpg" src="http://itp.nyu.edu/~ik501/blog/archives/DSC05964.jpg" width="640" height="480" /></p>
<p><img alt="DSC05965.jpg" src="http://itp.nyu.edu/~ik501/blog/archives/DSC05965.jpg" width="640" height="480" /></p>
]]></content:encoded>
			<wfw:commentRss>http://klaweht.com/blog/2005/10/26/midterm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>progress</title>
		<link>http://klaweht.com/blog/2005/10/23/progress/</link>
		<comments>http://klaweht.com/blog/2005/10/23/progress/#comments</comments>
		<pubDate>Mon, 24 Oct 2005 07:07:12 +0000</pubDate>
		<dc:creator>ilteris</dc:creator>
				<category><![CDATA[Tool-Device]]></category>

		<guid isPermaLink="false">http://klaweht.com/blog/?p=19</guid>
		<description><![CDATA[Ok, we are on the final phase of the project in terms of deadline :) It is supposed to be finished until Wednesday. So What do we have right now? Actually we can say, me and David started building whole stuff again from the stratch only we have quite a good experience in our heads [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, we are on the final phase of the project in terms of deadline :) It is supposed to be finished until Wednesday. So What do we have right now? Actually we can say, me and David started building whole stuff again from the stratch only we have quite a good experience in our heads about controlling multiple LEDs and stuff.</p>
<p>The images are blurry but you can get the idea overall. The objective is to build 25 LEDs and 25 switches on bottom of those switches, the LEDs are controlled through shift registers, we were thinking to do the same with the switches as well, though Jeff Gray gave me a great tip to use with switches. It is called Ladder something, basically you hook up the switches with the resistors and make sure they are in series with each other, an d when some switch is 1 state you can get the resistance until to it and compare its value with the sum of the resistance and you can get which switch it is,  it is supposed to be in Tom&#8217;s book as well. </p>
<p>The LEDs are going to sit on the plexiglass hopefully :) Check the pictures out!</p>
<p><img alt="IMG_3517-1.jpg" src="http://itp.nyu.edu/~ik501/blog/archives/IMG_3517-1.jpg" width="320" height="240" /></p>
<p><img alt="IMG_3519.jpg" src="http://itp.nyu.edu/~ik501/blog/archives/IMG_3519.jpg" width="320" height="240" /></p>
<p><img alt="IMG_3520.jpg" src="http://itp.nyu.edu/~ik501/blog/archives/IMG_3520.jpg" width="320" height="240" /></p>
<p><img alt="IMG_3521.jpg" src="http://itp.nyu.edu/~ik501/blog/archives/IMG_3521.jpg" width="320" height="240" /></p>
<p><img alt="IMG_3522.jpg" src="http://itp.nyu.edu/~ik501/blog/archives/IMG_3522.jpg" width="320" height="240" /></p>
]]></content:encoded>
			<wfw:commentRss>http://klaweht.com/blog/2005/10/23/progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TileToy</title>
		<link>http://klaweht.com/blog/2005/10/12/tiletoy/</link>
		<comments>http://klaweht.com/blog/2005/10/12/tiletoy/#comments</comments>
		<pubDate>Wed, 12 Oct 2005 11:24:45 +0000</pubDate>
		<dc:creator>ilteris</dc:creator>
				<category><![CDATA[Tool-Device]]></category>

		<guid isPermaLink="false">http://klaweht.com/blog/?p=15</guid>
		<description><![CDATA[Actually without forgetting I have came up with this project from Finland. It looks like what I am looking for in terms of aeshtetic sense of the LEDs, if you dig further you will see that this project is a really nice game of which you can build shapes with your TileToy.
I have emailed the [...]]]></description>
			<content:encoded><![CDATA[<p>Actually without forgetting I have came up with <a href="http://tiletoy.blogspot.com/">this</a> project from Finland. It looks like what I am looking for in terms of aeshtetic sense of the LEDs, if you dig further you will see that this project is a really nice game of which you can build shapes with your TileToy.</p>
<p>I have emailed the Tuomo and learnt the spefics of the project, it seems they are going to publish the code and the schematics in the near future as he stated, also he gave me a tip controlling and programming 8&#215;8 LED system. It  is basically a <a href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1339">MAX7219 LED display driver</a>, I have just got the samples today, I need to dig this more, if I can figure out this proto sample code :sigh:</p>
<p>Oh one more thing, I really want this project to be a nice finished job so that I am thinking to order this LED display system as well from <a href="http://www.nexusmachines.com/Products/displays/bxxcdm.htm">Nexus Machines</a>, UK. We will see, to make the code work is the first step.</p>
]]></content:encoded>
			<wfw:commentRss>http://klaweht.com/blog/2005/10/12/tiletoy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solo Test Buggy Code</title>
		<link>http://klaweht.com/blog/2005/10/12/solo-test-buggy-code/</link>
		<comments>http://klaweht.com/blog/2005/10/12/solo-test-buggy-code/#comments</comments>
		<pubDate>Wed, 12 Oct 2005 10:07:03 +0000</pubDate>
		<dc:creator>ilteris</dc:creator>
				<category><![CDATA[Tool-Device]]></category>

		<guid isPermaLink="false">http://klaweht.com/blog/?p=14</guid>
		<description><![CDATA[It has been harder than I thought.  This whole debugging period is really stealing so much time off of me.
I have prepared a pseudo code of what we should do before going into the PicBasic Pro here you can see it:
onPress switch
checkit
if(1)
if on
    get the value stored in a variable (this [...]]]></description>
			<content:encoded><![CDATA[<p>It has been harder than I thought.  This whole debugging period is really stealing so much time off of me.<br />
I have prepared a pseudo code of what we should do before going into the PicBasic Pro here you can see it:</p>
<p>onPress switch<br />
checkit<br />
if(1)<br />
if on<br />
    get the value stored in a variable (this is going to be the value of the first led)<br />
    check one row up/down/right/left is on or off state<br />
     if on </p>
<p>             check one row up/down/right/left is on or off state<br />
             get the value stored in a variable (this is going to be the value of the second led)<br />
             if on<br />
                    break;<br />
             if off<br />
                    check those variables are in a proper horizontal or a vertical axis at all.<br />
                    if true<br />
                        get the pin of the LED that can be pressed and store in a variable.<br />
                    if false<br />
                        break;</p>
<p>           if off<br />
                    break;<br />
      if off<br />
            break;<br />
if(2)<br />
      if on<br />
           break;<br />
      if off<br />
            get the pin value from the global variable and light it and turn off the previous ones.</p>
<p>Here is the code I have for the proto type we are trying to prepare with David today.  Basically It was supposed to be a working example of a 9 LED series, which are in a plus shape position, I have managed to make it work on the first move which is the middle is empty and you force your piece to go jump over the one below the middle, with your two switch. When I tried to extend the code for the second movement, it didn&#8217;t work out. I need to ask question regarding this. </p>
<blockquote><p>
TRISB = %11111111 &#8216;To keep all the PORTB as an input<br />
TRISC=  %00000000 &#8216;Same sense, PORTC is set to output.<br />
TRISD = %11110000 </p>
<p>state var word &#8216;State variable is there to be the flag.</p>
<p>  PORTC = %11111011<br />
  PORTD = %11111111<br />
main:   </p>
<p> &#8216;if switch bottom is pressed<br />
if PORTB.0 then<br />
&#8216;put a flag that it is pressed with the state variable<br />
state = 1<br />
endif<br />
&#8216;  the middle button is pressed and our state is 1<br />
IF PORTB.2 and state == 1 THEN<br />
&#8216; do readfirst subroutine<br />
GOsub readFirst<br />
        else </p>
<p>      IF PORTB.3 and state == 2 then<br />
            state=3<br />
            endif<br />
            if portb.1 and state == 3 then<br />
             gosub readSecond<br />
            endif<br />
    endif<br />
goto main</p>
<p>readFirst:<br />
&#8216;check if middle led is turned off</p>
<p>IF PORTC.2 == 0   then<br />
&#8216;if it is turned off then make the bottom led and the<br />
one above it turned off<br />
low PORTD.0<br />
low PORTC.3<br />
high PORTC.2<br />
&#8216;problem here, should I set the others led again to<br />
high, because<br />
&#8216;they were high in the setup??<br />
HIGH PORTC.0<br />
HIGH PORTC.1<br />
&#8216;change our state to 2 in case not to worry about this<br />
statement again<br />
state=2<br />
endif<br />
return<br />
  &#8216;this subroutine is making one of my leds going to 0 state, I suspect it is just processing its if statement        &#8216;above and making this sub work and thus leaving my LED in that position.</p>
<p>    readSecond:<br />
    if portc.1 == 0 then<br />
    low portc.3<br />
    low portc.2<br />
    high portc.1<br />
    state=3<br />
   endif<br />
return</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://klaweht.com/blog/2005/10/12/solo-test-buggy-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tool Device Project &#8211; SoloTest</title>
		<link>http://klaweht.com/blog/2005/10/12/tool-device-project-solotest/</link>
		<comments>http://klaweht.com/blog/2005/10/12/tool-device-project-solotest/#comments</comments>
		<pubDate>Wed, 12 Oct 2005 09:52:57 +0000</pubDate>
		<dc:creator>ilteris</dc:creator>
				<category><![CDATA[Tool-Device]]></category>

		<guid isPermaLink="false">http://klaweht.com/blog/?p=13</guid>
		<description><![CDATA[Hey, It has been a while since I updated the site, so I am directly diving in. Last week on Tuesday I was exploring some projects and brainstorming what I could do with this device project, I have finally came up with the idea of building a soloTest that I happened to play when I [...]]]></description>
			<content:encoded><![CDATA[<p>Hey, It has been a while since I updated the site, so I am directly diving in. Last week on Tuesday I was exploring some projects and brainstorming what I could do with this device project, I have finally came up with the idea of building a soloTest that I happened to play when I was a child.</p>
<p>Basically the game consists of 32 holes on a circular plane that are on a plus grid and all the holes have their  stone piece except the one in the middle. So what you should do to start the game is simple,  just jump over one of the stones over another and put it on the piece-less hole and take the one that is jumped over. The objective is to do this action until you have the least stone as you can. </p>
<p>I prepared a brief project file about it, you can download it <a href="http://itp.nyu.edu/~ik501/blog/archives/pcomp_proto.pdf">here</a>(300kb, pdf) if you are interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://klaweht.com/blog/2005/10/12/tool-device-project-solotest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

