<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8083792</id><updated>2011-04-21T19:28:32.991-07:00</updated><title type='text'>The Itchy and Scratchy Show</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8083792.post-109445942523214054</id><published>2004-09-06T01:27:00.000-07:00</published><updated>2004-09-06T01:35:40.193-07:00</updated><title type='text'>We're late</title><content type='html'>Got the motor circuit running with the PWM... works very well. Change to a more powerful motor - the P9000 from DickSmith that have a voltage range from 3V to 12V. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The next step is to get the photo interrupter working, build Itchy's body and also to get a IR transmiter and receiver to work. This past week has been a nitemare... 3 assignments, 1 lab test, thesis work and itchy, to work on!!! We are way behind time and we have to triple our workload from this week on...&lt;br /&gt;&lt;br /&gt;Sleepless nite, here i come...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083792-109445942523214054?l=itchynscratchy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/109445942523214054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083792&amp;postID=109445942523214054' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109445942523214054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109445942523214054'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/2004/09/were-late.html' title='We&apos;re late'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8083792.post-109391212517499101</id><published>2004-08-30T17:27:00.000-07:00</published><updated>2004-08-30T17:28:45.173-07:00</updated><title type='text'>My circuit now...</title><content type='html'>This is how my circuit looks like as of 31/08/2004 (with motor circuit). MERDEKA!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www-personal.monash.edu.au/~cstan9/newcircuit.jpg"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083792-109391212517499101?l=itchynscratchy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/109391212517499101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083792&amp;postID=109391212517499101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109391212517499101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109391212517499101'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/2004/08/my-circuit-now.html' title='My circuit now...'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8083792.post-109379973062611841</id><published>2004-08-29T10:14:00.000-07:00</published><updated>2004-08-29T10:17:44.266-07:00</updated><title type='text'>YES!!! WHY DIDN'T I THINK OF THAT!</title><content type='html'>While i was writing my previous post, i never knew i forgot to try the CASE STATEMENT! And i said i tried everything! NO NO!!! CASE STATEMENT WORKS!!! HAHAHA, i got a super PWM working for me... going up or down whenever i want it to! WOOHOO! Tomorrow got to go to Uni and collect the motor circuit! And one more thing... Liverpool SUCKS!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083792-109379973062611841?l=itchynscratchy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/109379973062611841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083792&amp;postID=109379973062611841' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109379973062611841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109379973062611841'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/2004/08/yes-why-didnt-i-think-of-that.html' title='YES!!! WHY DIDN&apos;T I THINK OF THAT!'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8083792.post-109378903623468469</id><published>2004-08-29T07:14:00.000-07:00</published><updated>2004-08-29T10:13:50.693-07:00</updated><title type='text'>I give up...</title><content type='html'>I tried everything that i know of. Creating new functions, using for loops, if conditions! The best i can do is to make the PWM modulate upwards with the keyboard all the way up to 5V or modulate downwards all the way to 0V but not both with the same program! Going to ask my lecturer tomorrow. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083792-109378903623468469?l=itchynscratchy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/109378903623468469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083792&amp;postID=109378903623468469' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109378903623468469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109378903623468469'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/2004/08/i-give-up.html' title='I give up...'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8083792.post-109359451578746886</id><published>2004-08-27T01:13:00.000-07:00</published><updated>2004-08-27T01:15:44.506-07:00</updated><title type='text'>Modulate pulse with with input from keyboard.</title><content type='html'>Figuring out how to modulate the pulse with via pressing keys from the board. For example: press "U" to modulate up and "D" to modulate down. Spent the whole day in the lab trying to figure it out! Anybody with ideas email tanchunsian@yahoo.com.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083792-109359451578746886?l=itchynscratchy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/109359451578746886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083792&amp;postID=109359451578746886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109359451578746886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109359451578746886'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/2004/08/modulate-pulse-with-with-input-from.html' title='Modulate pulse with with input from keyboard.'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8083792.post-109351407081265717</id><published>2004-08-26T02:50:00.000-07:00</published><updated>2004-08-26T02:54:30.813-07:00</updated><title type='text'>Modulate My Pulse Width</title><content type='html'>The pulse width modulator is the next thing to play with. Pulse with modulators allow you to work with the length of the pulse width, changing the pulse width to suit the function. &lt;br /&gt;&lt;br /&gt;In this case, the voltage regulator reduces the 9V battery to 5V. The multimeter connected across the PWM (CCP1 and CCP2) pin and ground should be 5V. My aim it to write a program so that 50% of the pulse width gets modulated... which gives us about 2.5V...&lt;br /&gt;&lt;br /&gt;Create a new function out of main...&lt;br /&gt;&lt;br /&gt;void init_PWM()&lt;br /&gt;{&lt;br /&gt;	TMR2IE=0; //disable the timer2 interrupt. Don't need it. (I think)&lt;br /&gt;	PR2=124; //40KHz&lt;br /&gt;	CCP1CON=0x0c; //PWM mode&lt;br /&gt;	CCP2CON=0x0c;  //PWM mode&lt;br /&gt;	CCPR1L=62; //50% duty cycle&lt;br /&gt;	CCPR2L=62; //50% duty cycle&lt;br /&gt;	TRISC &amp;= 0xF9; //make pin 12 and 13 outputs by setting their TRISC bits lo&lt;br /&gt;	T2CON=4; //pre and postscale for timer 2 =1 and turn on timer 2&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www-personal.monash.edu.au/~cstan9/pwm.jpg"&gt;&lt;br /&gt;EUREKA!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083792-109351407081265717?l=itchynscratchy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/109351407081265717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083792&amp;postID=109351407081265717' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109351407081265717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109351407081265717'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/2004/08/modulate-my-pulse-width.html' title='Modulate My Pulse Width'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8083792.post-109351372703288177</id><published>2004-08-20T02:47:00.000-07:00</published><updated>2004-08-26T02:50:32.273-07:00</updated><title type='text'>BLINK BABY BLINK!!!</title><content type='html'>The next step is to get the PIC to talk to you. The way is to write a program that enables one of the pins to be set as the output, thus enabling you to connect and LED to it. If the circuit works and the connection is correct and the program it correct, the LED MUST blink!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www-personal.monash.edu.au/~cstan9/led.jpg"&gt;&lt;br /&gt;I hear YOU!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083792-109351372703288177?l=itchynscratchy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/109351372703288177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083792&amp;postID=109351372703288177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109351372703288177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109351372703288177'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/2004/08/blink-baby-blink.html' title='BLINK BABY BLINK!!!'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8083792.post-109351161730477858</id><published>2004-08-10T01:06:00.000-07:00</published><updated>2004-08-26T02:42:50.530-07:00</updated><title type='text'>Fix up the PIC (the brain of Itchy)</title><content type='html'>WE have to get the components to assemble the brains of Itchy.&lt;br /&gt;&lt;br /&gt;The entire circuit would be mounted on 2 breadboards: consisting of..&lt;br /&gt;1) Voltage regulator circuit (to lower the voltage of a 9V battery to 5V)&lt;br /&gt;2) Reset circuit (To reset the state of the PIC)&lt;br /&gt;3) MAX232 (an RS232 interface between the processor and the PC)&lt;br /&gt;4) PIC&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www-personal.monash.edu.au/~cstan9/circuit.jpg"&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083792-109351161730477858?l=itchynscratchy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/109351161730477858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083792&amp;postID=109351161730477858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109351161730477858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109351161730477858'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/2004/08/fix-up-pic-brain-of-itchy.html' title='Fix up the PIC (the brain of Itchy)'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8083792.post-109351115097613079</id><published>2004-08-08T05:01:00.000-07:00</published><updated>2004-08-26T02:49:50.960-07:00</updated><title type='text'>The Challenge</title><content type='html'>The mouse of Monash!&lt;br /&gt;&lt;br /&gt;Creating a robot mouse that has the ability to navigate through a 5 level maze by itself, while escaping from the evil Robot Cat.&lt;br /&gt;&lt;br /&gt;The 5 levels:&lt;br /&gt;Normal maze, inverted maze, open space (with balls stacked up to form a pyramid), normal (tougher) maze and finally the spiral.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www-personal.monash.edu.au/~cstan9/themaze2.jpg"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The only way to victory is to get to the top of the SPIRAL. Defeat means that the Robot cat bumps into you, or it gets to the top of the spiral first before you do!&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www-personal.monash.edu.au/~cstan9/themaze.jpg"&gt;&lt;br /&gt;Me and Ming Ee at the Maze&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083792-109351115097613079?l=itchynscratchy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itchynscratchy.blogspot.com/feeds/109351115097613079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083792&amp;postID=109351115097613079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109351115097613079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083792/posts/default/109351115097613079'/><link rel='alternate' type='text/html' href='http://itchynscratchy.blogspot.com/2004/08/challenge.html' title='The Challenge'/><author><name>Tan Chun Sian</name><uri>http://www.blogger.com/profile/13141730297724135567</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://www-personal.monash.edu.au/~cstan9/me.jpg'/></author><thr:total>0</thr:total></entry></feed>
