<?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-8583855244151207183</id><updated>2012-01-31T01:21:07.462+05:30</updated><category term='pharming. phishing'/><category term='facebook'/><category term='router'/><category term='unsecure'/><category term='robotics circuits'/><category term='Final Year Project'/><category term='JAVA Robotics'/><category term='OpenCV'/><category term='Image Processing'/><category term='BATTERY'/><category term='robot mech design'/><category term='hacking'/><category term='Robot Locomotion Mechanisms'/><category term='malicious router'/><category term='PIC16f877A Tutorials'/><category term='blogger tweak'/><category term='fabrication tutorials'/><category term='robotic&apos;s contests'/><category term='web designing'/><category term='SENSORS'/><category term='pic microcontroller programming tutorials'/><category term='pcb design'/><category term='TechFests'/><category term='my robos'/><category term='flyportnet'/><category term='MikroC Tutorials'/><category term='JAVA Programming'/><category term='Internet Controlled Robot'/><category term='openpicus'/><category term='how to tutorial&apos;s ?'/><title type='text'>Robotics for you !!</title><subtitle type='html'>In this site  you will find stuff about basic autonomous robotics using PIC microcontrollers ,motor driver Circuits ,PIC 16877A Projects ,Embedded C tutorials using MikroC compiler ,And Internet controlled Telerobot Blogger hacks .</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>66</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-865586199433755909</id><published>2012-01-30T22:43:00.007+05:30</published><updated>2012-01-31T00:54:26.802+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='unsecure'/><category scheme='http://www.blogger.com/atom/ns#' term='pharming. phishing'/><category scheme='http://www.blogger.com/atom/ns#' term='router'/><category scheme='http://www.blogger.com/atom/ns#' term='flyportnet'/><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='openpicus'/><category scheme='http://www.blogger.com/atom/ns#' term='malicious router'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>How to hack facebook ? - An implementation tutorial !</title><content type='html'>Hi guys,&lt;br /&gt;I haven't made a post in a long time. I guess its time for me to bounce back in the blogging arena. The latest gadget I have built is a device to hack Facebook users who connect to some random un secure internet. This device has some serious limitations but none the less cool and works on carefully social engineered situations. This type of attack is called &lt;span style="font-weight: bold;"&gt;"Pharming"&lt;/span&gt; . Its different from Phishing since the user is not tricked into clicking a bogus URL. The video below demonstrates the mock attack that we carried out at my home !&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://www.youtube.com/embed/JCJq2jUBKdk" allowfullscreen="" frameborder="0" height="315" width="560"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;br style="font-weight: bold;"&gt;&lt;br /&gt;Pharming (pronounced “farming”) defined by Symantec Inc is “A form of online fraud, very similar to its cousin phishing.  Pharmers rely upon the same bogus Web sites and theft of confidential information to perpetrate online scams, but are more difficult to detect in many ways because they are not reliant upon the victim accepting a “bait” message. Instead of relying completely on users clicking on an enticing link in fake email messages, pharming instead re-directs victims to the bogus Web site even if they type the right Web address of their bank or other online service into their Web browser.”&lt;br /&gt;&lt;br /&gt;The hardware platform I used is from &lt;a href="http://www.openpicus.com/"&gt;OpenPicus&lt;/a&gt; and I made use of their &lt;a href="http://www.openpicus.com/site/technology/products"&gt;Flyport module&lt;/a&gt; with a USB nest.&lt;br /&gt;Below are the links to presentation and source code. I will explain more in the next post.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.google.com/open?id=0BxxBc_7NxhhVYzM5MDdmYmUtY2E0Ni00MzlkLWIzOTAtNGM4NTQ3OGVhMmRl"&gt;Project Presentation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.google.com/open?id=0BxxBc_7NxhhVNTA0ZjkyNmUtNDg3Yy00OThhLWFlYzUtNzBjOTkzYTE3ODQy"&gt;Source Code&lt;/a&gt;&lt;br style="font-weight: bold;"&gt;&lt;br style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;Disclaimer: This post is to expose the serious vulnerability of the systems in place and for educational purpose only, I can't be held liable for any damage or losses caused to persons who are using this type of attack based on my design and idea.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-865586199433755909?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/865586199433755909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=865586199433755909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/865586199433755909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/865586199433755909'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2012/01/how-hack-facebook-unsecure-router.html' title='How to hack facebook ? - An implementation tutorial !'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/JCJq2jUBKdk/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-8548261397752944630</id><published>2010-04-13T10:57:00.004+05:30</published><updated>2010-04-13T11:08:55.709+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Programming'/><title type='text'>Adding Security Certificate to JVM to handle SecurityCertificateError</title><content type='html'>Handling SecurityCertificateError exception in JAVA by adding security certificate using Keytools&lt;br /&gt;&lt;br /&gt;To add the security certificate for https URL the following steps needs to be followed&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Take a backup of cacerts file in the following directory (This can be your default JRE directory also) C:\Program Files\IBM\SDP70\runtimes\base_v6\java\jre\lib\security\&lt;/li&gt;&lt;li&gt;Save the security certificate in some location for ex c:\certificate.cer&lt;/li&gt;&lt;li&gt; Go to Run type cmd&lt;/li&gt;&lt;li&gt;Execute CD C:\Program Files\IBM\SDP70\runtimes\base_v6\java\jre\bin (This is the location of the JRE WebSphere uses, in other environments please navigate to the JRE BIN the application uses)&lt;/li&gt;&lt;li&gt;Then execute the following command&lt;/li&gt;&lt;/ul&gt;             (SYNTAX Keytool –keystore – import – file -alias&lt;&gt; )&lt;br /&gt;&lt;br /&gt;        Command&lt;br /&gt;keytool -keystore "C:\Program Files\IBM\SDP70\runtimes\base_v6\java\jre         \lib\security\cacerts" -import -file c:\certificate.cer -alias https://your-url.net&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;It will ask for a password , enter changeit&lt;/li&gt;&lt;li&gt;The security certificate will be added for the JRE&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Now you can access the URL or access the webservice in the URL.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-8548261397752944630?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/8548261397752944630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=8548261397752944630' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8548261397752944630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8548261397752944630'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/04/adding-security-certificate-jvm.html' title='Adding Security Certificate to JVM to handle SecurityCertificateError'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-6698067368519841119</id><published>2010-04-02T00:52:00.004+05:30</published><updated>2010-04-02T18:13:42.915+05:30</updated><title type='text'>Fire bug - An invaluble tool for debugging</title><content type='html'>If you have been into web programming, you will know its hard to develop front screens than to write the backend business classes. Also debugging Java Script is also a head headache. Fire Bug is a plugin for firefox that saves valuble time in web application development. It has nice features like inspecting the html elements, it shows the CSS applied. You can also see the Java Script.&lt;br /&gt;&lt;br /&gt;You can also view POST headers that are sent to the server. One more interesting feature is you can edit the HTML in the browser and see it work.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_RsJambWnXfM/S7XmcdNXmzI/AAAAAAAABic/N9IETxEGd3g/s1600/firebug-splash.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 194px;" src="http://4.bp.blogspot.com/_RsJambWnXfM/S7XmcdNXmzI/AAAAAAAABic/N9IETxEGd3g/s320/firebug-splash.jpg" alt="" id="BLOGGER_PHOTO_ID_5455519900180650802" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The above picture is a snap shot of the Firebug tool. You cant use it in IE , one close too that is a substitue for it in IE is &lt;a href="http://www.fiddler2.com/"&gt;Fiddler&lt;/a&gt; , but it no where comes close to Firebug in terms of the richness of features.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-6698067368519841119?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/6698067368519841119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=6698067368519841119' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6698067368519841119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6698067368519841119'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/04/fire-bug-invaluble-tool-for-debugging.html' title='Fire bug - An invaluble tool for debugging'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_RsJambWnXfM/S7XmcdNXmzI/AAAAAAAABic/N9IETxEGd3g/s72-c/firebug-splash.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-6368625817878286713</id><published>2010-04-02T00:33:00.004+05:30</published><updated>2010-04-02T00:50:11.660+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Programming'/><title type='text'>Setting JAVA HOME through Command Line in Windows</title><content type='html'>Hi all,&lt;br /&gt;If you are working on some old windows machines and want to  set JAVA_HOME and PATH environment variables follow the steps.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Start  --&gt; Run--&gt;CMD ..&lt;/span&gt; In the command prompt first type&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;echo %JAVA_HOME% &lt;/span&gt;, if the JAVA_HOME variable is already set the path  will be printed.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;eg: c:/Program Files/java1.6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;else  %JAVA_HOME%&lt;/span&gt; will be printed.&lt;br /&gt;&lt;br /&gt;You can set &lt;span style="font-weight: bold;"&gt;JAVA_HOME&lt;/span&gt; by typing&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SET  JAVA_HOME = c:/Program Files/Java &lt;/span&gt;(The path where your JRE or JDK is  installed)&lt;br /&gt;&lt;br /&gt;Then you can set the bin path by typing&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SET  PATH = %PATH%;%JAVA_HOME%\bin&lt;/span&gt; what you are doing here is appending the  existing set PATH's with &lt;span style="font-weight: bold;"&gt;JAVA_HOME/bin&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;You can also directly set  the path to the JAVA Bin directory instead of the above steps like&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SET  PATH  = %PATH%;c:/Program Files/JAVA/bin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then if you want to  view the set path you can type &lt;span style="font-weight: bold;"&gt;echo %PATH%&lt;/span&gt; ..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-6368625817878286713?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/6368625817878286713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=6368625817878286713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6368625817878286713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6368625817878286713'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/04/setting-java-home-through-command-line.html' title='Setting JAVA HOME through Command Line in Windows'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-6658252971052706894</id><published>2010-03-31T00:15:00.003+05:30</published><updated>2010-03-31T01:39:04.026+05:30</updated><title type='text'>Beachfront Vacation Living for Non-Millionaires</title><content type='html'>Fractional ownership is gaining popularity these days . The &lt;a href="http://www.nationalnewstoday.com/" target="_blank"&gt;National News Today&lt;/a&gt; has covered the scenario. They have discussed the knick knacks of this type of ownership. The three main rules that they emphasize is&lt;br /&gt;&lt;br /&gt;A) Understand the rules of occupancy and the usage schedule-&lt;br /&gt;B) Review the rules for selling your fractional sale-&lt;br /&gt;C) Understand how the property is to be managed-&lt;br /&gt;&lt;br /&gt;Though Emerald Isle, NC is not a place for an ideal &lt;a href="http://www.nationalnewstoday.com/money-and-investing/top-3-buying-tips-for-purchasing-fractional-ownership-of-real-estate-vacation-homes-at-the-beach.php" target="_blank"&gt;Beachfront vacation home&lt;/a&gt;. If Water Everywhere, Plentiful Beaches, Family Atmosphere and affordability  are important to you, this is your kind of place. Most vacation destinations along the East Coast are very commercial.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.nationalnewstoday.com/family-and-relationships/why-choose-emerald-isle-for-your-family-vacation-homes-timeshare-and-vacation-rentals.php" target="_blank"&gt;Emerald Island vacation home&lt;/a&gt; is ideally suited for people to buy vacation homes with fractional ownership without ever having to take the risk  for investing the whole lot of your hard earned money. The &lt;a href="http://www.nationalnewstoday.com/home-and-garden/the-perfect-north-carolina-family-vacation-homes-beach-homes-fractional-ownership-timeshare.php" target="_blank"&gt;fractional ownership real estate&lt;/a&gt; is really a boon for the middle class people to fulfill the dream of owning a vacation home in the beachside. Considering all the points and a great place like NC its a good deal overall.&lt;br /&gt;&lt;br /&gt;There is one more thing you should consider. The Green Revolution is here, whether we like it or not. Yes, we all know deep down that we need to do our part to make the planet a better place and to make sure that future generations have the same opportunities as we have had. So which is better for our planet………. 10 vacation houses that are built and sit empty for 47 weeks a year, or 1 perfect vacation house that is used for 50 weeks a year?&lt;br /&gt;&lt;div&gt;&lt;span style=";font-family:Verdana;font-size:9pt;"  &gt;&lt;strong&gt;&lt;a href="http://www.loudlaunch.com/"&gt;LoudLaunch&lt;/a&gt;&lt;/strong&gt; - Compensating bloggers for their unbiased opinions, reviews, and analysis.&lt;/span&gt;&lt;/div&gt;&lt;div style="display: none; visibility: hidden;"&gt;&lt;img src="http://www.loudlaunch.com/track.ashx?PostID=30430" alt="" /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-6658252971052706894?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/6658252971052706894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=6658252971052706894' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6658252971052706894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6658252971052706894'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/03/beachfront-vacation-living-for-non.html' title='Beachfront Vacation Living for Non-Millionaires'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-2319282835151107346</id><published>2010-03-31T00:13:00.002+05:30</published><updated>2010-03-31T01:17:24.563+05:30</updated><title type='text'>Everything you need to know about organic apples</title><content type='html'>The coming fall its apple harvest season . These days agriculture is taken over by artificial fertilizers, insecticides and pesticides. The &lt;a href="http://www.blogger.com/www.nationalnewstoday.com" target="_blank"&gt;National News Today&lt;/a&gt; has featured a farmer who does organic farming using natural methods.The &lt;a href="http://www.nationalnewstoday.com/health-and-fitness/eco-farmer-samples-farm-fresh-direct-honeycrisp-apples-and-faq-about-organic-farming-by-paul-madden.php" target="_blank"&gt;farm direct organic apples&lt;/a&gt; are sold by them in person in Seattle. They give away free samples of their farm grown harvest. The farmer Paul Madden is obviously a lover of apples. This is evident from this article &lt;a href="http://www.nationalnewstoday.com/health-and-fitness/organic-family-farmer-risks-more-to-bring-you-healthy-fruit-of-the-month-farm-direct-by-paul-madden.php" target="_blank"&gt;organic fruit of the month&lt;/a&gt;. He cares so much about them he says "I just want you to understand how much I care about the apples I feed to my children and your children."&lt;br /&gt;&lt;br /&gt;He has a large 50 acre farm where he produces &lt;a href="http://www.nationalnewstoday.com/health-and-fitness/washington-organic-apples-%E2%80%93-healthy-fresh-gourmet-gifts-direct-from-eco-family-farms-by-paul-madden.php" target="_blank"&gt;Washington organic apples&lt;/a&gt; . Washington takes advantage of the arid climate and plentiful sunshine needed for the best organic apples. The arid climate results in fewer insect and disease issues. They are on the banks of the Columbia River and the cool, clear water of the mid-Columbia is used for the irrigation of my orchard. His orchard has been organic since 1990 and has been in my family for 99 years. So he obviously produces the best apples in USA .&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=";font-family:Verdana;font-size:9pt;"  &gt;&lt;strong&gt;&lt;a href="http://www.loudlaunch.com/"&gt;LoudLaunch&lt;/a&gt;&lt;/strong&gt; - Compensating bloggers for their unbiased opinions, reviews, and analysis.&lt;/span&gt;&lt;/div&gt;&lt;div style="display: none; visibility: hidden;"&gt;&lt;img src="http://www.loudlaunch.com/track.ashx?PostID=30429" alt="" /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-2319282835151107346?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/2319282835151107346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=2319282835151107346' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2319282835151107346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2319282835151107346'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/03/everything-you-need-to-know-about.html' title='Everything you need to know about organic apples'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5025639714923964669</id><published>2010-03-30T00:49:00.003+05:30</published><updated>2010-03-30T01:18:16.706+05:30</updated><title type='text'>New Adventures and Favorite Destinations</title><content type='html'>&lt;a href="http://www.breezes.com/" target="_blank"&gt;Breezes Resorts&lt;/a&gt; is one of the exclusive resorts in Jamaica . Perhaps its the best place to enjoy the warm summer weather. If you have been frozen by last years harsh winter and looking for a nice package to get some sun tan and warm yourself, you should consider &lt;a href="http://www.breezes.com/" target="_blank"&gt;all inclusive vacation packages&lt;/a&gt; given by them.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.breezes.com/resorts/runaway-bay/" target="_blank"&gt;Runaway Bay Jamaica&lt;/a&gt; conveniently located just about an hour away from the city of Montego Bay, Breezes Runaway Bay Resort &amp;amp; Golf Club is one of the world’s truly great escapes. You can go for a Carmaran ride in the crystal blue Caribbean sea. They also have video assisted golf and tennis court where you can enhance your skills&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.breezes.com/destinations/jamaica/" target="_blank"&gt;Negril Jamaica&lt;/a&gt; is located between rugged mountains and sun drenched beaches, emrald jungles and blue Caribbean waters, the island of Jamaica is both a study in contrasts and a living lesson in geography. You should definitely take a vacation here to chill off from your hectic schedule this summer.&lt;br /&gt;&lt;br /&gt;This is really the finest place to enjoy your honeymoon. The beaches are creating more romantic mood to you and your partner. Breezes.com offers all inclusive vacation packages for you. So you can enjoy a lot in lowest cost. These all inclusive vacation packages from breezes.com included deluxe accommodations, all meals &amp;amp; snacks, unlimited premium beverages, land &amp;amp; water sports and many more. These are available in your budget. You can enjoy and play at Runaway Bay Jamaica. Surely you will get more entertaining moment in Breezes Resorts. Everything from Breezes.com is fantastic a fabulous. If you looking for wedding in Breezes resort, they can arrange everything for you. You will get new experience in breezes resorts. So simply book the breezes resorts for your vacation in Negril Jamaica. And enjoy a lot.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=";font-family:Verdana;font-size:9pt;"  &gt;&lt;strong&gt;&lt;a href="http://www.loudlaunch.com/"&gt;LoudLaunch&lt;/a&gt;&lt;/strong&gt; - Compensating bloggers for their unbiased opinions, reviews, and analysis.&lt;/span&gt;&lt;/div&gt;&lt;div style="display: none; visibility: hidden;"&gt;&lt;img src="http://www.loudlaunch.com/track.ashx?PostID=30420" alt="" /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5025639714923964669?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5025639714923964669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5025639714923964669' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5025639714923964669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5025639714923964669'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/03/new-adventures-and-favorite.html' title='New Adventures and Favorite Destinations'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5090262906001109675</id><published>2010-03-30T00:05:00.000+05:30</published><updated>2010-04-02T00:07:23.175+05:30</updated><title type='text'>Online Disclosure Policy</title><content type='html'>&lt;i&gt;This blog is a personal blog written and edited  by me without bias or influence from others. While this blog accepts  forms of                      cash advertising, sponsorship, paid insertions or  other forms of compensation, it does not publish in a way that is  contrary to                      my personal integrity.  The compensation received  will never influence the content, topics or posts made in this blog.                      I am free to reject posts that I do not agree with  or approve. My writing represents the truth and I do not write about  items                      that I do not personally support.  This blog does  not contain any content that might present a conflict of interest but it  does follow                      international ethical guidelines and best practices  for the internet and online advertising.                     &lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5090262906001109675?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5090262906001109675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5090262906001109675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5090262906001109675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5090262906001109675'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/03/online-disclosure-policy.html' title='Online Disclosure Policy'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-2182049879214445727</id><published>2010-02-28T18:23:00.000+05:30</published><updated>2010-04-02T18:25:20.615+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Programming'/><title type='text'>JAVA Jokes - The fun side of JAVA</title><content type='html'>Too much of JAVA technical stuff , now here is a collection of some JAVA jokes that caught my eye..&lt;br /&gt;&lt;br /&gt;---------&lt;br /&gt;9:00 AM&lt;br /&gt;Project manager: ” Where is Joe?”&lt;br /&gt;Java programmer A: ” You know he is always lazy loadded.”&lt;br /&gt;&lt;br /&gt;1:00 PM:&lt;br /&gt;Project manager: ” Where is Joe??”&lt;br /&gt;Java programmer B: ” He is in passive mode.”&lt;br /&gt;&lt;br /&gt;5:30 PM:&lt;br /&gt;Project manager: ” Could I see Joe in rest of my life ?????”&lt;br /&gt;Java programmer C: “Never, he has been garbage collected.”&lt;br /&gt;&lt;br /&gt;————&lt;br /&gt;&lt;br /&gt;Why did the Integer drown?&lt;br /&gt;Cos he couldn’t Float!&lt;br /&gt;&lt;br /&gt;————&lt;br /&gt;&lt;br /&gt;Q: Why did the Java Chicken cross the road?&lt;br /&gt;A: He didn’t, he was just referred to on the other side.&lt;br /&gt;&lt;br /&gt;————&lt;br /&gt;&lt;br /&gt;yo mama’s so fat… she get an ArrayOutOfBoundException!&lt;br /&gt;yo mama’s so poor… she does garbage collection for a living!&lt;br /&gt;yo mama’s so ugly… her java.lang.reflect took down the mirror site!&lt;br /&gt;&lt;br /&gt;————&lt;br /&gt;&lt;br /&gt;Two ints and a Float in a bar. They spot an attractive Double on her own. The first int walks up to her. “Hey, baby”, he says, “my VM or yours”. She slaps him and he walks back dejected.&lt;br /&gt;&lt;br /&gt;The second int walks over. “Hey, cute-stuff, can I cook you Beans for breakfast”. After a quick slapping, he too walks back.&lt;br /&gt;&lt;br /&gt;The Float then ambles over casually. “Were those two primitive types bothering you?”, he remarks.&lt;br /&gt;&lt;br /&gt;“Yes. I’m so glad you’re here”, she says. “They just had no Class!”&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-2182049879214445727?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/2182049879214445727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=2182049879214445727' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2182049879214445727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2182049879214445727'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/04/java-jokes-fun-side-of-java.html' title='JAVA Jokes - The fun side of JAVA'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-6279693134296072105</id><published>2010-02-15T17:31:00.000+05:30</published><updated>2010-04-02T17:33:00.912+05:30</updated><title type='text'>Buy and Sell Ipod to become richer!!</title><content type='html'>&lt;p&gt;Australia’s Commonwealth bank uses the comparative price of iPod  Nano’s, as an index, to compare global currencies and purchasing power  across countries. In the results of their latest survey, Brazil is the  costliest place to buy an iPod and India comes second. The  cheapest  iPod can be bought in Canada followed by Hong-Kong.&lt;/p&gt; &lt;p&gt;Suddenly, iPod arbitrage sounds like a good business plan. Buy them  in Hong-Kong and sell them in Brazil &lt;img src="https://ch1blogs.cognizant.com/blogs/109113/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley" /&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-6279693134296072105?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/6279693134296072105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=6279693134296072105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6279693134296072105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6279693134296072105'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/02/buy-and-sell-ipod-to-become-richer.html' title='Buy and Sell Ipod to become richer!!'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-4477740687042993948</id><published>2010-02-02T16:53:00.001+05:30</published><updated>2010-04-02T18:16:32.794+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Programming'/><title type='text'>YAHOO Pipes</title><content type='html'>Yahoo has come up with yet another Web 2.0 gizmo. This one is called Yahoo Pipes. Its like Unix  pipes applied to the web! &lt;p&gt;It goes like this .. anybody with a Yahoo ID can define a “pipe”. A  pipe at its most basic form, picks data from “X” source and applies “Y”  transform over it and finally provides “Z” output. Here, X could be  anything ranging from an RSS/ATOM feed, any URL emiting JSON or XML  content (even plain HTML works, I think ..), or it could be user input. Y  implies a transform like applying a filter on the data, searching on  Yahoo, Google or Flickr etc and Z is the final output you get. The best  part is you can do all this “piping” using Yahoo’s web-visual editor  (see the pic below), without knowing a thing about XML,HTML,RSS,whatever  …&lt;/p&gt; &lt;p&gt;I created a Pipe just for kicks .. its at href="http://pipes.yahoo.com/pipes/pipe.info?_id=jnZ0iPYa3BGXuH3I6kjTQA"&lt;/p&gt; &lt;p&gt;This pipe consumes the RSS feed from digg.com’s technology section  and extracts all posts that have the keyword “Google” in it. Simple, but  cute ! &lt;img src="https://ch1blogs.cognizant.com/blogs/109113/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley" /&gt;&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RsJambWnXfM/S7XW99UCKoI/AAAAAAAABiM/kJe7jzknYO8/s1600/Yahoo-Pipes.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_RsJambWnXfM/S7XW99UCKoI/AAAAAAAABiM/kJe7jzknYO8/s320/Yahoo-Pipes.JPG" alt="" id="BLOGGER_PHOTO_ID_5455502883548179074" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-4477740687042993948?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/4477740687042993948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=4477740687042993948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4477740687042993948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4477740687042993948'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/02/yahoo-pipes.html' title='YAHOO Pipes'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_RsJambWnXfM/S7XW99UCKoI/AAAAAAAABiM/kJe7jzknYO8/s72-c/Yahoo-Pipes.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-136944334077485328</id><published>2010-01-28T16:48:00.001+05:30</published><updated>2010-04-02T18:17:16.608+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Programming'/><title type='text'>Accessing Webservices from PHP</title><content type='html'>Normally, most of the current windows products provides webservice for many of its functionalities.  Particularly the sharepoint 2007 server, has lot of webservice that external applications can use it.&lt;br /&gt;&lt;br /&gt;Again, accessing those webservices through .NET is pretty easy with its built in function. But, to access it through languages like PHP, requires some analysis, particularly for those who are doing it for first time.&lt;br /&gt;The nusoap.php is a populat choice to access the webservice via Php.&lt;br /&gt;&lt;br /&gt;It can be downloaded from the following sourceforge URL.&lt;br /&gt;&lt;br /&gt;href="http://sourceforge.net/project/showfiles.php?group_id=57663&lt;br /&gt;&lt;br /&gt;Here is the code snippet to access it&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt; require_once( '/nusoap.php');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;$client = new soapclient('http://ctsgvcchannel1/_vti_bin/SearchWebService.asmx',false,$proxyhost, $proxyport, $proxyusername, $proxypassword);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;$client-&gt;setcredentials($username,$password);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;$err = $client-&gt;getError();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;if ($err) {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;echo '&lt;h2&gt;Constructor error&lt;/h2&gt;&lt;pre&gt;' . $err . '&lt;/pre&gt;';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;// Doc/lit parameters get wrapped&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;$param = array('strKeyWord' =&gt; 'java','pageLength'=&gt;(int)'5');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;$result = $client-&gt;call('SimpleSearch', $param, '', 'http://tempuri.org/SimpleSearch', false, true);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;// Check for a fault&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;if ($client-&gt;fault) {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;echo '&lt;h2&gt;Fault&lt;/h2&gt;&lt;pre&gt;';&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;print_r($result);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;echo '&lt;/span&gt;&lt;/pre&gt;';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;} else {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;// Check for errors&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;$err = $client-&gt;getError();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;if ($err) {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;// Display the error&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;echo '&lt;h2&gt;Error&lt;/h2&gt;&lt;pre&gt;' . $err . '&lt;/pre&gt;';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;} else {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;// Display the result&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;echo '&lt;h2&gt;Result&lt;/h2&gt;&lt;pre&gt;';&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;print_r($result);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;echo '&lt;/span&gt;&lt;/pre&gt;';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;echo '&lt;h2&gt;Request&lt;/h2&gt;&lt;pre&gt;' . htmlspecialchars($client-&gt;request, ENT_QUOTES) . '&lt;/pre&gt;';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;echo '&lt;h2&gt;Response&lt;/h2&gt;&lt;pre&gt;' . htmlspecialchars($client-&gt;response, ENT_QUOTES) . '&lt;/pre&gt;';&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-136944334077485328?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/136944334077485328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=136944334077485328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/136944334077485328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/136944334077485328'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/01/accessing-webservices-from-php.html' title='Accessing Webservices from PHP'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-1125639646190059089</id><published>2010-01-23T16:26:00.001+05:30</published><updated>2010-04-02T16:46:36.293+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Programming'/><title type='text'>Web Services - How does it work and where to use ?</title><content type='html'>Web Service has been the new buzz word in the past few years. In this post we will explore the basic elements of it and where it can be applied.&lt;br /&gt;&lt;br /&gt;Consider this scenario a JAVA application running in a server and has an access to a stock price data base, where the recent stock prices are updated and you have a  stand alone .NET stand alone application running in your computer from which you want to access the stock prices and display it in your computer. Remember you cannot be provided access to their database. So what is the solution ???&lt;br /&gt;&lt;br /&gt;You face 2 problems&lt;br /&gt;&lt;ul&gt;&lt;li&gt;You dont have access to their database&lt;/li&gt;&lt;li&gt;The application that has access to the database is totally a different platform&lt;/li&gt;&lt;/ul&gt;How do you overcome such a situation? .. The answer is &lt;span style="font-weight: bold;"&gt;webservice&lt;/span&gt;.&lt;br /&gt;If the a JAVA method that could fetch the data is exposed to the outside world that listens to the incoming requests and sends back the requested data that would be perfect isn't it?..&lt;br /&gt;&lt;br /&gt;WebService uses HTTP protocol to send the request and response in SOAP (Simple Object Access Protocol) format.&lt;br /&gt;&lt;br /&gt;There should be a contract to access the webservice this is provided by WSDL -Web Services Definition Language, it is also a XML file containing the method names and their return types and lot more. To learn more about webservice visit &lt;a href="http://en.wikipedia.org/wiki/Web_service"&gt;this page.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-1125639646190059089?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/1125639646190059089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=1125639646190059089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1125639646190059089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1125639646190059089'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/01/web-services-where-to-use.html' title='Web Services - How does it work and where to use ?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5612662315254286500</id><published>2010-01-15T00:32:00.000+05:30</published><updated>2010-04-02T00:33:43.257+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Programming'/><title type='text'>Know the core libraries in Java</title><content type='html'>Java differs from other languages in that the number of classes and interfaces in its standard libraries is very large.Beginners to Java should take note that very many common tasks have already been implemented in the libraries. The most widely used packages are probably java.lang, java.util, java.sql, and java.io.&lt;br /&gt;&lt;br /&gt;As well, the libraries&lt;br /&gt;&lt;br /&gt;    * are built by experts&lt;br /&gt;    * generally improve their performance over time&lt;br /&gt;    * are widely used, and form defacto standards&lt;br /&gt;&lt;br /&gt;Implementing something which already exists in the libraries is probably wasted effort.Significant changes and additions to the standard libraries occur in each major release, and it pays to keep current. For example, the 1.4 release of the JDK includes regular expressions, assertions, logging services, and more, in its list of new features. The Java 5 release has several major new features, including generics, an enhanced for loop, enums, autoboxing, and metdata. The Java 6 release has no new language features, and is not as dramatic as the 1.5, but it still has some interesting new features, such as scripting, the JConsole monitoring tool, and various Swing improvements.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5612662315254286500?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5612662315254286500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5612662315254286500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5612662315254286500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5612662315254286500'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/01/know-core-libraries-in-java.html' title='Know the core libraries in Java'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-2456650539772725731</id><published>2010-01-10T00:20:00.000+05:30</published><updated>2010-04-02T00:26:02.467+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Programming'/><title type='text'></title><content type='html'>You can compare String objects in a variety of ways, and the results are often different. The correctness of your result depends largely on what type of comparison you need. Common comparison techniques include the following:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Compare with the == operator.&lt;/li&gt;&lt;li&gt;Compare with a String object’s equals method.&lt;/li&gt;&lt;li&gt;Compare with a String object’s compareTo method.&lt;/li&gt;&lt;li&gt;Compare with a Collator object.&lt;/li&gt;&lt;li&gt;Comparing with the == Operator&lt;/li&gt;&lt;/ul&gt;The == operator works on String object references. If two String variables point to the same object in memory, the comparison returns a true result. Otherwise, the comparison returns false, regardless whether the text has the same character values. The == operator does not compare actual char data. Without this clarification, you might be surprised that the following code snippet prints The strings are unequal.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;String name1 = “Michèle”;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;String name2 = new String(”Michèle”);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;if (name1 == name2) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;System.out.println(”The strings are equal.”);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;} else {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;System.out.println(”The strings are unequal.”);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Java platform creates an internal pool for string literals and constants. String literals and constants that have the exact same char values and length will exist exactly once in the pool. Comparisons of String literals and constants with the same char values will always be equal.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Comparing with the equals Method&lt;/span&gt;&lt;br /&gt;The equals method compares the actual char content of two strings. This method returns true when two String objects hold char data with the same values. This code sample prints The strings are equal.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;String name1 = “Michèle”;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;String name2 = new String(”Michèle”);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;if (name1.equals(name2) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;System.out.println(”The strings are equal.”);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;} else {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;System.out.println(”The strings are unequal.”);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Comparing with the compareTo Method&lt;/span&gt;&lt;br /&gt;The compareTo method compares char values similarly to the equals method. Additionally, the method returns a negative integer if its own String object precedes the argument string. It returns zero if the strings are equal. It returns a positive integer if the object follows the argument string. The compareTo, method says that cat precedes hat. The most important information to understand about this comparison is that the method compares the char values literally. It determines that the value of ‘c’ in cat has a numeric value less than the ‘h’ in hat.&lt;br /&gt;String w1 = “cat”;&lt;br /&gt;String w2 = “hat”;&lt;br /&gt;int comparison = w1.compareTo(w2);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-2456650539772725731?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/2456650539772725731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=2456650539772725731' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2456650539772725731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2456650539772725731'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/01/you-can-compare-string-objects-in.html' title=''/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-1419114778719067607</id><published>2010-01-05T00:19:00.001+05:30</published><updated>2010-04-02T00:20:30.353+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Robotics'/><title type='text'>How to get time information in java.sql.Date?</title><content type='html'>The answser is you cannot.&lt;br /&gt;java.sql.Date does not store/retrieve any information related to time.&lt;br /&gt;&lt;br /&gt;So, how do you solve the problem of saving the date with time in your database?&lt;br /&gt;&lt;br /&gt;Simple… use java.sql.Timestamp. There are methods in java.sql.PreparedStatement and java.sql.Statement to set the timestamp.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-1419114778719067607?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/1419114778719067607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=1419114778719067607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1419114778719067607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1419114778719067607'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/01/how-to-get-time-information-in.html' title='How to get time information in java.sql.Date?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5048645193308765916</id><published>2010-01-03T00:15:00.002+05:30</published><updated>2010-01-03T00:14:50.624+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='how to tutorial&apos;s ?'/><category scheme='http://www.blogger.com/atom/ns#' term='MikroC Tutorials'/><title type='text'>PIC Microcontroller Programming Tutorials - Part 1</title><content type='html'>See the basics of using MikroC compiler and Oshonsoft PIC simulator.&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/c5SsN5RzAPE&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/c5SsN5RzAPE&amp;amp;hl=en_US&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Proceed to the &lt;a href="http://roboticsforyou.blogspot.com/2010/01/pic-microcontroller-programming_02.html"&gt;next part &gt;&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5048645193308765916?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5048645193308765916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5048645193308765916' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5048645193308765916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5048645193308765916'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/01/pic-microcontroller-programming.html' title='PIC Microcontroller Programming Tutorials - Part 1'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-459572562879074415</id><published>2010-01-02T23:56:00.004+05:30</published><updated>2010-01-03T00:11:56.110+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='how to tutorial&apos;s ?'/><category scheme='http://www.blogger.com/atom/ns#' term='MikroC Tutorials'/><title type='text'>PIC Microcontroller Programming Tutorials - Part 2</title><content type='html'>Learn how to simulate the code..&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/yjv0FDbwU5Y&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/yjv0FDbwU5Y&amp;amp;hl=en_US&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;a href="http://roboticsforyou.blogspot.com/2010/01/pic-microcontroller-programming.html"&gt;Previous Tutorial&lt;/a&gt;&lt;br/&gt;&lt;br /&gt; &lt;a href="http://roboticsforyou.blogspot.com/2010/01/pic16f84a-pic16f7877a-if-loop-mikroc.html"&gt;Next Tutorial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-459572562879074415?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/459572562879074415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=459572562879074415' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/459572562879074415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/459572562879074415'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/01/pic-microcontroller-programming_02.html' title='PIC Microcontroller Programming Tutorials - Part 2'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-3002396319103983557</id><published>2010-01-02T23:55:00.001+05:30</published><updated>2010-01-03T00:13:19.862+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='how to tutorial&apos;s ?'/><category scheme='http://www.blogger.com/atom/ns#' term='MikroC Tutorials'/><title type='text'>PIC Microcontroller Programming Tutorials - Part 3</title><content type='html'>Learn how to read an input from the pin and use it to control LED&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/HBkbDJGybzk&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/HBkbDJGybzk&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://roboticsforyou.blogspot.com/2010/01/pic-microcontroller-programming_02.html"&gt;Previous Tutorial&lt;/a&gt; &lt;br/&gt;&lt;br /&gt;&lt;a href="http://roboticsforyou.blogspot.com/2010/01/mikroc-for-loop-pic16f877a-pic16f84a.html"&gt;Next Tutorial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-3002396319103983557?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/3002396319103983557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=3002396319103983557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/3002396319103983557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/3002396319103983557'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/01/pic16f84a-pic16f7877a-if-loop-mikroc.html' title='PIC Microcontroller Programming Tutorials - Part 3'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-4183621307685245481</id><published>2010-01-01T00:02:00.001+05:30</published><updated>2010-01-03T00:14:25.876+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='how to tutorial&apos;s ?'/><category scheme='http://www.blogger.com/atom/ns#' term='MikroC Tutorials'/><title type='text'>PIC Microcontroller Programming Tutorials - Part 4</title><content type='html'>How to use for loop in MikroC compiler&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/qIWYvThmYXA&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/qIWYvThmYXA&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://roboticsforyou.blogspot.com/2010/01/pic16f84a-pic16f7877a-if-loop-mikroc.html"&gt;Previous Tutorial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-4183621307685245481?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/4183621307685245481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=4183621307685245481' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4183621307685245481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4183621307685245481'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2010/01/mikroc-for-loop-pic16f877a-pic16f84a.html' title='PIC Microcontroller Programming Tutorials - Part 4'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-2211990855636498237</id><published>2009-12-10T01:31:00.000+05:30</published><updated>2010-03-30T01:32:11.551+05:30</updated><title type='text'>Disclosure Policy</title><content type='html'>This blog is a personal blog written and edited by me. This blog accepts forms of cash advertising, sponsorship, paid insertions or other forms of compensation.&lt;br /&gt;&lt;br /&gt; This blog abides by word of mouth marketing standards. We believe in honesty of relationship, opinion and identity. The compensation received may influence the advertising content, topics or posts made in this blog. That content, advertising space or post will be clearly identified as paid or sponsored content.&lt;br /&gt;&lt;br /&gt; The owner(s) of this blog is compensated to provide opinion on products, services, websites and various other topics. Even though the owner(s) of this blog receives compensation for our posts or advertisements, we always give our honest opinions, findings, beliefs, or experiences on those topics or products. The views and opinions expressed on this blog are purely the bloggers' own. Any product claim, statistic, quote or other representation about a product or service should be verified with the manufacturer, provider or party in question.&lt;br /&gt;&lt;br /&gt; This blog does not contain any content which might present a conflict of interest.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-2211990855636498237?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/2211990855636498237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=2211990855636498237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2211990855636498237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2211990855636498237'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2009/12/disclosure-policy.html' title='Disclosure Policy'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-7501774106964582196</id><published>2009-03-30T01:40:00.001+05:30</published><updated>2010-03-30T01:44:26.235+05:30</updated><title type='text'>The ruling attendant steams before the infinite disguise.</title><content type='html'>The ruling attendant steams before the infinite disguise.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-7501774106964582196?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/7501774106964582196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=7501774106964582196' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7501774106964582196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7501774106964582196'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2009/03/ruling-attendant-steams-before-infinite.html' title='The ruling attendant steams before the infinite disguise.'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-9171063989678925449</id><published>2009-01-15T00:30:00.003+05:30</published><updated>2009-01-15T00:44:29.127+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='how to tutorial&apos;s ?'/><title type='text'>All LED Blinking Program RA4 not Blinking solution .</title><content type='html'>&lt;a href="http://roboticsforyou.blogspot.com/2009/01/pic-tutorial-16f877-porta-led-blinking.html"&gt;Previous Tutorial&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you execute the previous program it will work fine except that RA4 wont blink .A quick search showed me that I need to make some extra register configurations with &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;ADCON&lt;/span&gt;1 and &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;COMCON&lt;/span&gt; registers .&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;ADCON&lt;/span&gt;1 = 0x06 makes all the pins of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;PORTA&lt;/span&gt; as Digital .&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;COMCON&lt;/span&gt;=0x07 disables the comparators&lt;br /&gt;&lt;br /&gt;So the rectified program is below .&lt;br /&gt;void main (){&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;ADCON&lt;/span&gt;1 =0x06 ;    // Changes &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;PORTA&lt;/span&gt; to digital&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;CMCON&lt;/span&gt; = 0x07 ;    // Disable analog comparators&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;PORTA&lt;/span&gt; = 0x00 ;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;PORTB&lt;/span&gt; = 0X00 ;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;PORTC&lt;/span&gt; = 0X00 ;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;PORTD&lt;/span&gt; = 0X00 ;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;PORTE&lt;/span&gt; = 0X00 ;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;TRISA&lt;/span&gt; = 0x00 ;    // Configure &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;PORTA&lt;/span&gt; as output&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;TRISB&lt;/span&gt; = 0X00 ;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;TRISC&lt;/span&gt; = 0X00 ;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;TRISD&lt;/span&gt; = 0X00 ;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;TRISE&lt;/span&gt; = 0X00 ;&lt;br /&gt;&lt;br /&gt;while(1){&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;PORTA&lt;/span&gt; = 0&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;XFF&lt;/span&gt; ;&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;PORTB&lt;/span&gt; = 0&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;XFF&lt;/span&gt; ;&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;PORTC&lt;/span&gt; = 0&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;XFF&lt;/span&gt; ;&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;PORTD&lt;/span&gt; = 0&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;XFF&lt;/span&gt; ;&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;PORTE&lt;/span&gt; = 0&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;Xff&lt;/span&gt; ;&lt;br /&gt;     Delay_ms(500) ;&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;PORTA&lt;/span&gt; = 0X00 ;&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;PORTB&lt;/span&gt; = 0X00 ;&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;PORTC&lt;/span&gt; = 0X00 ;&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_32"&gt;PORTD&lt;/span&gt; = 0X00 ;&lt;br /&gt;     &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_33"&gt;PORTE&lt;/span&gt; = 0X00 ;&lt;br /&gt;     Delay_ms(500) ;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;Now all this is rectified .The &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_34"&gt;LED's&lt;/span&gt; should blink fine .If you think so you are fooled for the second time .Even this program wont make RA4 blink .&lt;span style="font-weight: bold;"&gt;You need to pull RA4 high in order to make it blink .&lt;/span&gt;I am sure you will run into this problem if you are using &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_35"&gt;PORTA&lt;/span&gt; .Hope my post helped you .Please leave your &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_36"&gt;valuable&lt;/span&gt; comments if you like my blog and a link back if you find it worthy .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-9171063989678925449?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/9171063989678925449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=9171063989678925449' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/9171063989678925449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/9171063989678925449'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2009/01/ra4-not-blinking-led-program-porta.html' title='All LED Blinking Program RA4 not Blinking solution .'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-4221371195957151548</id><published>2009-01-15T00:11:00.008+05:30</published><updated>2009-01-15T00:44:36.907+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='how to tutorial&apos;s ?'/><category scheme='http://www.blogger.com/atom/ns#' term='MikroC Tutorials'/><title type='text'>PIC16F877 All Led Blinking Program</title><content type='html'>Have you ever tried the Hello World of Embedded programming ,well I am talking about the LED Blinking program .Well if you have worked with PIC microcontrollers most probably it must have been your first program . My guess is you must have tried it in any 1 one of the pins .(I am talking all this assuming that you are either using PIC16F877,PIC16F877A or PIC16F874A they are all pretty much the same ) .&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Only today when I was testing the PIC16f877/877A/874A Development board that I developed I was stuck up with a peculiar problem .I was trying LED blinking program in all the ports simultaneously .And everything worked fine except for RA4 .The LED connected to it didnt blink .It is the 6th pin and remember it iis an ADC outcast :P .Well being in PORTA where the rest of the pins have a inbuilt ADC this pin doesnt have one so I consider it as so .But it serves as a Vref to the comparator .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I wrote this simple program to make all the led's blink in My dev board .&lt;br /&gt;&lt;br /&gt;void main (){&lt;br /&gt;PORTA = 0;                  // Initialize PORTA&lt;br /&gt;PORTB = 0X00 ;&lt;br /&gt;PORTC = 0X00 ;&lt;br /&gt;PORTD = 0X00 ;&lt;br /&gt;PORTE = 0X00 ;&lt;br /&gt;TRISA = 0x00;                  // Configure PORTA as output&lt;br /&gt;TRISB = 0X00 ;&lt;br /&gt;TRISC = 0X00 ;&lt;br /&gt;TRISD = 0X00 ;&lt;br /&gt;TRISE = 0X00 ;&lt;br /&gt;&lt;br /&gt;while(1){&lt;br /&gt;      PORTA = 0XFF ;&lt;br /&gt;      PORTB = 0XFF ;&lt;br /&gt;      PORTC = 0XFF ;&lt;br /&gt;      PORTD = 0XFF ;&lt;br /&gt;      PORTE = 0Xff ;&lt;br /&gt;      Delay_ms(500) ;&lt;br /&gt;      PORTA = 0X00 ;&lt;br /&gt;      PORTB = 0X00 ;&lt;br /&gt;      PORTC = 0X00 ;&lt;br /&gt;      PORTD = 0X00 ;&lt;br /&gt;      PORTE = 0X00 ;&lt;br /&gt;      Delay_ms(500) ;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you think this will work , you are in for a surprise .Check out the next post for the answer .&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: right;"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2009/01/ra4-not-blinking-led-program-porta.html"&gt;Next Tutorial&gt;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-4221371195957151548?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/4221371195957151548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=4221371195957151548' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4221371195957151548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4221371195957151548'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2009/01/pic-tutorial-16f877-porta-led-blinking.html' title='PIC16F877 All Led Blinking Program'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-7285355914432408220</id><published>2009-01-14T10:48:00.004+05:30</published><updated>2009-01-14T11:29:26.068+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Robotics'/><title type='text'>My Transition From C to JAVA</title><content type='html'>Hello Readers &lt;div&gt;When I was in college and underwent a course in OOPS c++ and JAVA ,I wondered why do we need this horrible OOPS when easily solve most of the problems using C . And ofcourse the lecturer who handled OOPS was no good .It made my learning experience worse .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;But only after I entered my company and took up the JAVA course I found how easy JAVA is and moreover Eclipse makes programming feel like a cool breeze . The ctrl+space code auto generation feature is awesome which programmers will love .But there are some downsides in JAVA as well .Which I found out after some programming experience .You can't play with the memory in JAVA ie there is no such thing as pointers in JAVA .So when it comes to applications where you have to play with the memory you face a down side .But you have something called as Native Method support in JAVA , where you can write a method implementation in some other programming for a JAVA interface .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So explore JAVA and build applications with ease .&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-7285355914432408220?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/7285355914432408220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=7285355914432408220' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7285355914432408220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7285355914432408220'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2009/01/java-native-methods-robotics.html' title='My Transition From C to JAVA'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-1655432889261887535</id><published>2009-01-02T19:43:00.000+05:30</published><updated>2009-01-02T20:59:52.885+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='TechFests'/><title type='text'>MIT Chrompets Annual Techfest -Asymptote</title><content type='html'>MIT Chrompet for the first time is conducting a Intercollegeite techfest in a big level .&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" href="http://asymptote.in/"&gt;ASYMPTOTE&lt;/a&gt; -- (Jan 9 - 11)&lt;br /&gt;&lt;br /&gt;It doesn't contain any robotics event as such .But there are lots of technical and management events .&lt;br /&gt;&lt;br /&gt;One of my all time favorite event is the Soap Box Derby Car competition its conducted under the name Drag Race .Where in you have to build a model car without any propulsion system .It has to race down the slope under the influence of gravity and reach the finish line .The one that reaches the finish line fastest is the winner .&lt;br /&gt;&lt;br /&gt;I remember my days in the 2 nd year of college when I participated in this event .This is one event where you can get hands on experience in mechanical Engineering .So do participate in it and enjoy building the car .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-1655432889261887535?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/1655432889261887535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=1655432889261887535' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1655432889261887535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1655432889261887535'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/12/asymptote-mit-chennai-annual-tech-fest.html' title='MIT Chrompets Annual Techfest -Asymptote'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-824858053857550591</id><published>2009-01-02T16:55:00.000+05:30</published><updated>2009-01-02T21:00:53.715+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='MikroC Tutorials'/><title type='text'>MikroC Code for reading and writing data into EEPROM</title><content type='html'>&lt;a href="http://roboticsforyou.blogspot.com/2008/12/eeprom-pic16f877a-mikroc-tutorials.html"&gt;&lt;---Previous Tutorial&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is an example program showing how to read and write into EEPROM ,This program first writes 0x80 into the address 0x00 and the reads and displays it in portb .&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;unsigned short data = 0x80,address=0x00;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;void main() {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;PORTB = 0x00;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;TRISB = 0x00;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;EEprom_Write(address,data);      //writes 0x80 into the location 0x00&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Delay_ms(20);      //insert 20 ms delay between every read and write cycle&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;PORTB = Eeprom_Read(address);    //reads the data from 0x00 and send it to portb&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Delay_ms(500);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-824858053857550591?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/824858053857550591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=824858053857550591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/824858053857550591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/824858053857550591'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/12/mikroc-eeprom-tutorial-programming-read.html' title='MikroC Code for reading and writing data into EEPROM'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-570210223361914685</id><published>2008-12-28T18:48:00.004+05:30</published><updated>2008-12-28T19:09:44.680+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='TechFests'/><title type='text'>Kurukshetra CEG's Annual TechFest (21 st - 24 th january)</title><content type='html'>Kurukshetra is an Annual Tech Fest of College Of Engineering Guindy (CEG) ..Its a part of Anna University Chennai .Its one of the  premier institutes in India .The best part there are prizes worth 10 million waiting to be bagged .&lt;br /&gt;&lt;a href="http://www.kurukshetra.org.in/"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Kurukshetra &lt;/span&gt;&lt;/a&gt;(21 st - 24 th january)&lt;br /&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Designer's Quest&lt;/li&gt;&lt;li&gt;The Road Not Taken&lt;/li&gt;&lt;li&gt;Robotics - Line Follower&lt;/li&gt;&lt;li&gt;Robo Soccer&lt;/li&gt;&lt;/ul&gt;These are the four robotics event in kurukshetra 09 .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Robo Soccer&lt;/span&gt; is the easiest among these events and perfect for newbies .&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Robotics - Line Follower&lt;/span&gt; lies in the intermediate category .&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Road Not Taken&lt;/span&gt; is based on image processing .Which is somewhat advanced .&lt;br /&gt;&lt;br /&gt;There is also a special event for showing your creativity &lt;span style="font-weight: bold;"&gt;"Designer's Quest"&lt;/span&gt; . Where imagination is the limit .So participate in kurukshetra and win grand prizes .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-570210223361914685?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/570210223361914685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=570210223361914685' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/570210223361914685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/570210223361914685'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/12/kuruksherta-college-techfest-january.html' title='Kurukshetra CEG&apos;s Annual TechFest (21 st - 24 th january)'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-2313332637477497077</id><published>2008-12-28T10:16:00.001+05:30</published><updated>2009-01-02T14:24:49.635+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenCV'/><category scheme='http://www.blogger.com/atom/ns#' term='Image Processing'/><title type='text'>Creating simple image using INTEL'S OPENCV</title><content type='html'>Hi Everyone&lt;br /&gt;In future there are going to be no robots without a vision system .Computer vision is going to be a main and integral part of future robots .Even at present there are lots of robots using image processing to navigate and identify objects .&lt;br /&gt;&lt;br /&gt;Now to explore this science MATLAB is a very good tool .But for real time applications and applications that are fast MATLAB is no good .MATLAB consumes a lot of your computers resources .&lt;br /&gt;&lt;br /&gt;Now here I found a neat blog for tutorials on openCV . &lt;a href="http://myopencv.blogspot.com/"&gt;myopencv&lt;/a&gt; has tutorials at beginner levels .&lt;br /&gt;Here I have tweaked one of his code to create an image with black and white striped pattern .Do look at the site for more information .Here is the source code for generating black and white striped pattern .&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;#include "cv.h"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;#include "highgui.h"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;#include "stdio.h"&lt;/span&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;   /*Creates an image size 600 by 600 ,IPL_DEPTH _8U&lt;br /&gt;    means each data Element has a pixel depth 8 bits&lt;br /&gt;    1 means one channel*/&lt;br /&gt;  &lt;span style="color: rgb(255, 102, 102);"&gt;IplImage *img = cvCreateImage(cvSize(600, 600), IPL_DEPTH_8U, 1);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  int i, j,k,l;&lt;br /&gt;  uchar *data;&lt;br /&gt;  data = (uchar *) img-&gt;imageData;//pointer to the Image data&lt;br /&gt;      /*consider a 2d array here, we go to the first horizontal line&lt;br /&gt;      process it and then we go to the next horizontal line.&lt;br /&gt;      The above for loop goes to the next line after a line is processed*/&lt;br /&gt;      for (i = 0; i &lt; (img-&gt;width); i++)&lt;br /&gt;      {/*This for goes length wise(means it works horizontally on the Image.*/&lt;br /&gt;          for (j = 0; j &lt; (img-&gt;height); j++)&lt;br /&gt;          {&lt;br /&gt;              for(k=0;k&lt;5;k++){ one="255”" style="color: rgb(255, 0, 0);"&gt;data[i * (img-&gt;widthStep) + j * (img-&gt;nChannels)] = 255;&lt;br /&gt;              j++ ;&lt;br /&gt;              }&lt;br /&gt;              /*else assign zero, image should not contain garbage values it&lt;br /&gt;              is always good to force assignment*/&lt;br /&gt;              for(k=0;k&lt;5;k++){ style="color: rgb(255, 102, 102);"&gt; data[i * (img-&gt;widthStep) + j * (img-&gt;nChannels)] = 0;&lt;br /&gt;                      j++ ;&lt;br /&gt;                   &lt;br /&gt;                }&lt;br /&gt;          }&lt;br /&gt;      }&lt;br /&gt;  /*This function creates an image with name ‘image’*/&lt;br /&gt; &lt;span style="color: rgb(255, 102, 102);"&gt; cvNamedWindow("image", CV_WINDOW_AUTOSIZE); &lt;/span&gt;&lt;br /&gt;  //showing the image&lt;br /&gt;  &lt;span style="color: rgb(255, 102, 102);"&gt;cvShowImage("image", img);&lt;/span&gt;&lt;br /&gt;  /*saving the image parameters name with Extension*/&lt;br /&gt;  &lt;span style="color: rgb(255, 102, 102);"&gt;cvSaveImage("testimg for_prog.jpg", img);&lt;/span&gt;&lt;br /&gt;  //wait for any key and Exit&lt;br /&gt; &lt;span style="color: rgb(255, 102, 102);"&gt; cvWaitKey(0);&lt;/span&gt;&lt;br /&gt;  //release img&lt;br /&gt;  &lt;span style="color: rgb(255, 102, 102);"&gt;cvReleaseImage(&amp;amp;img);&lt;/span&gt;&lt;br /&gt;  //destroy the window&lt;br /&gt; &lt;span style="color: rgb(255, 102, 102);"&gt; cvDestroyWindow("image"&lt;/span&gt;);&lt;br /&gt;  return (0);&lt;br /&gt;}&lt;br /&gt;The important lines ,I have highlighted in red .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_RsJambWnXfM/SV3UcD2jvKI/AAAAAAAAAXQ/PIrptJvL508/s1600-h/testimg+for_prog.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 320px;" src="http://3.bp.blogspot.com/_RsJambWnXfM/SV3UcD2jvKI/AAAAAAAAAXQ/PIrptJvL508/s320/testimg+for_prog.jpg" alt="" id="BLOGGER_PHOTO_ID_5286615116138396834" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-2313332637477497077?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/2313332637477497077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=2313332637477497077' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2313332637477497077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2313332637477497077'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/12/image-processing-using-opencv-tutorial.html' title='Creating simple image using INTEL&apos;S OPENCV'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_RsJambWnXfM/SV3UcD2jvKI/AAAAAAAAAXQ/PIrptJvL508/s72-c/testimg+for_prog.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-6605015864766622684</id><published>2008-12-14T15:51:00.000+05:30</published><updated>2008-12-28T16:38:58.366+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='MikroC Tutorials'/><title type='text'>PIC16F877A EEPROM Tutorials</title><content type='html'>There is a inbuilt EEPROM in most of the PIC microcontroller series .PIC16F877A has 256 bytes of EEPROM inside it .So you can use it to store data that you might need on a permanent basis and you can read it back from it .The picture below shows the representation of the memory in the EEPROM .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_RsJambWnXfM/SVdXHqQssVI/AAAAAAAAAXI/z7sl3JdcSAc/s1600-h/pic16f877a_eeprom.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 226px;" src="http://4.bp.blogspot.com/_RsJambWnXfM/SVdXHqQssVI/AAAAAAAAAXI/z7sl3JdcSAc/s320/pic16f877a_eeprom.JPG" alt="" id="BLOGGER_PHOTO_ID_5284788476857594194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For instance in the above picture I have entered 0x01 in the location 0x88 .&lt;br /&gt;0x01 is the data and 0x88 is the address where the data is stored .I guess you&lt;br /&gt;got the system .&lt;br /&gt;&lt;br /&gt;Now let is look at the mikroc specifics of the EEPROM library .There are two functions in this library to accomplish the task&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Eeprom_Read &lt;/li&gt;&lt;li&gt;Eeprom_Write&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Eeprom_Read function returns an integer  and takes a parameter of the address from which the data has to be fetched .The following is the syntax .&lt;p&gt;&lt;b&gt;unsigned short&lt;/b&gt; Eeprom_Read(&lt;b&gt;unsigned int&lt;/b&gt; address);&lt;/p&gt;&lt;p&gt;Eeprom_Write takes two parameters the first one is the address and the second one is the data .The syntax is given below .&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;void&lt;/b&gt; Eeprom_Write(&lt;b&gt;unsigned int&lt;/b&gt; address, &lt;b&gt;unsigned short&lt;/b&gt;  data);&lt;/p&gt;&lt;p&gt;You can use these two functions to read and write data from the pic EEPROM .I will show you the actual working code in the next post .&lt;/p&gt;&lt;p style="text-align: right;"&gt;Next Post ----&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-6605015864766622684?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/6605015864766622684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=6605015864766622684' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6605015864766622684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6605015864766622684'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/12/eeprom-pic16f877a-mikroc-tutorials.html' title='PIC16F877A EEPROM Tutorials'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_RsJambWnXfM/SVdXHqQssVI/AAAAAAAAAXI/z7sl3JdcSAc/s72-c/pic16f877a_eeprom.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-4162639215347304944</id><published>2008-12-13T12:28:00.002+05:30</published><updated>2009-01-12T00:45:56.358+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='MikroC Tutorials'/><title type='text'>mikroc program pulse width modulation</title><content type='html'>&lt;a href="http://roboticsforyou.blogspot.com/2008/12/ccp-pic16f877a-mikroc-code-tutorials.html"&gt;&lt;---Previous Tutorial&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now lets see how to write a code using the mikroc compiler to control the pwm module .&lt;br /&gt;For your convenience MikroC provides PWM library and there are 4 functions present in&lt;br /&gt;&lt;ul style="color: rgb(0, 0, 153);"&gt;&lt;li&gt;Pwm_Init &lt;/li&gt;&lt;li&gt;Pwm_Change_Duty &lt;/li&gt;&lt;li&gt;Pwm_Start &lt;/li&gt;&lt;li&gt;Pwm_Stop &lt;/li&gt;&lt;/ul&gt;The &lt;span style="color: rgb(51, 51, 255);"&gt;pwm_init&lt;/span&gt; takes a arguement of frequency in hertz&lt;br /&gt;&lt;p&gt;To Initialize a PWM module at 5KHz do this :Pwm_Init(5000);&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Pwm_Start and Pwm_Stop &lt;/span&gt;are self explanatory I guess .These functions doesnt take any arguements .&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Pwm_Change_Duty&lt;/span&gt; Changes &lt;acronym title="Pulse-width modulation"&gt;PWM&lt;/acronym&gt; duty ratio.  Parameter &lt;code&gt;duty&lt;/code&gt; takes values from 0 to 255, where 0 is 0%, 127 is  50%, and 255 is 100% duty ratio. Other specific values for duty ratio can be  calculated as &lt;code&gt;(Percent*255)/100&lt;/code&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Take a look at the following simple program&lt;br /&gt;&lt;/p&gt;&lt;p style="color: rgb(255, 0, 0);"&gt;void main (){&lt;br /&gt;portb = 0x00  ;           //clear portb&lt;br /&gt;TRISB = 0xFF ;         //Set PortB as input&lt;br /&gt;PORTC = 0x00;        // clear PORTC &lt;br /&gt;TRISC = 0;                // PORTC is output&lt;br /&gt;Pwm1_Init(5000);  // Initialize PWM modulen set frequency as 5000&lt;br /&gt;Pwm1_Start();         //Start the pwm module&lt;br /&gt;while(1){&lt;br /&gt;    if (portb==0x80)                 //if rc7 is high&lt;br /&gt;    Pwm_Change_Duty(127); //set the duty cycle as 50%&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This program creates a pwm on pin17 of PIC16F877A .&lt;/p&gt;&lt;p&gt;Hope you found this tutorial useful .If you have any doubts about the program .Leave a comment .&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-4162639215347304944?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/4162639215347304944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=4162639215347304944' title='62 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4162639215347304944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4162639215347304944'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/12/mikroc-program-pulse-width-modulation.html' title='mikroc program pulse width modulation'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>62</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-1406494782671109538</id><published>2008-12-12T11:10:00.006+05:30</published><updated>2008-12-28T14:25:25.271+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PIC16f877A Tutorials'/><title type='text'>CCP Module in PIC16F877A -- Tutorial</title><content type='html'>&lt;a href="http://roboticsforyou.blogspot.com/2008/12/pwm-pulse-width-modulation-tutorials.html"&gt;&lt;--Previous Tutorial&lt;/a&gt;                                                                                                    &lt;a href="http://roboticsforyou.blogspot.com/2008/12/mikroc-program-pulse-width-modulation.html"&gt;Next Tutorial---&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In this post I will cover about the PWM module present in the pic microcontroller .I will cover it using PIC16F877A but it can be applied to any pic with a CCP module .&lt;br /&gt;&lt;br /&gt;What's CCP module ?&lt;br /&gt;&lt;br /&gt;CCP-- Capture Compare Pulse Width Module&lt;br /&gt;&lt;br /&gt;Capture - The contents of the 16 bit timer,upon detecting an n th rising or falling edge, is&lt;br /&gt;                 written to internal registers .&lt;br /&gt;Compare - Generate an interrupt, or change on output pin, when Timer 1 matches a pre-set&lt;br /&gt;                 comparison value .&lt;br /&gt;PWM - Create a re-configurable steady duty cycle square wave output at a user set frequency.&lt;br /&gt;&lt;br /&gt;For more information see this &lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/ccpwm.pdf"&gt;MicroChip&lt;/a&gt; pdf .&lt;br /&gt;&lt;br /&gt;For now I am not going to cover the capture and compare modules .Lets see about the pwm module . You have 2 channels in PIC16F877A  to accomplish the task .&lt;br /&gt;Its present in pins&lt;br /&gt;&lt;br /&gt;16 --- RC1 ---- CCP2&lt;br /&gt;17 --- RC2 ---- CCP1&lt;br /&gt;As you notice there are two channels present in the pic .This is ideal for robots with two wheel differential drive .You can achieve smooth turns acceleration if you use these two pins intelligently .Now let us see how to program the pwm using mikroc in the next tutorial .&lt;br /&gt;&lt;br /&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/12/pwm-pulse-width-modulation-tutorials.html"&gt;&lt;--Previous Tutorial&lt;/a&gt;                                                                                                    &lt;a href="http://roboticsforyou.blogspot.com/2008/12/mikroc-program-pulse-width-modulation.html"&gt;Next Tutorial---&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-1406494782671109538?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/1406494782671109538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=1406494782671109538' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1406494782671109538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1406494782671109538'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/12/ccp-pic16f877a-mikroc-code-tutorials.html' title='CCP Module in PIC16F877A -- Tutorial'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-8600046989013503863</id><published>2008-12-11T10:33:00.004+05:30</published><updated>2008-12-28T14:22:59.494+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='how to tutorial&apos;s ?'/><category scheme='http://www.blogger.com/atom/ns#' term='robotics circuits'/><title type='text'>pwm pulse width modulation tutorials</title><content type='html'>There are a number of occasions where you might need Pulse Width Modulation for regulating power to a number of devices .It could be your Motor or even a lighting device .Let me explain&lt;br /&gt;PWM first .&lt;br /&gt;&lt;br /&gt;It is the variation of duty cycle from 0 to 100 % .To put it in a smiple way&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; "Pulse width modulation is the process of switching the power to            a device on and off at a given frequency, with varying on and off times."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following picture will give you a clear idea about it&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_RsJambWnXfM/SVcNLOP60qI/AAAAAAAAAWw/WzFFAV1AGuw/s1600-h/pulse_width_modulation.gif"&gt;&lt;img style="cursor: pointer; width: 320px; height: 212px;" src="http://4.bp.blogspot.com/_RsJambWnXfM/SVcNLOP60qI/AAAAAAAAAWw/WzFFAV1AGuw/s320/pulse_width_modulation.gif" alt="" id="BLOGGER_PHOTO_ID_5284707174197154466" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It shows three different PWM's of 10% , 50% and 90% .&lt;br /&gt;Notice: 100 % would become constant DC .&lt;br /&gt;&lt;br /&gt;For instance take 10% duty cycle .You switch on the power for 10% of the time and switch it off for the remaining 90 % of the time .&lt;br /&gt;&lt;br /&gt;Let me give you a practical example .Take a wave of frequency 1KHZ =1000 HZ .The time period of one wave as you know is 1millisecond .So a wave of 10% duty cycle will remain switched on for .1 millisecond&lt;br /&gt;50%  for .5 ms and so on .&lt;br /&gt;&lt;br /&gt;You could achieve PWM by simple circuits like using a 555 timer .But the best part is you have built in pwm modules in PIC16f877A .Using which you can modulate the wave .For applications like motor control you can acheive smooth acceleration using these pwm modules present in the PIC .I will tell you about the coding and pic specifics in the next post .&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: right;"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/12/ccp-pic16f877a-mikroc-code-tutorials.html"&gt;next Tutorial --&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-8600046989013503863?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/8600046989013503863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=8600046989013503863' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8600046989013503863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8600046989013503863'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/12/pwm-pulse-width-modulation-tutorials.html' title='pwm pulse width modulation tutorials'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_RsJambWnXfM/SVcNLOP60qI/AAAAAAAAAWw/WzFFAV1AGuw/s72-c/pulse_width_modulation.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-6656270055265440935</id><published>2008-12-09T18:03:00.000+05:30</published><updated>2008-12-27T23:27:05.100+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Final Year Project'/><title type='text'>Lead Acid battery Choosing For Final Year Project</title><content type='html'>Batteries are an integral part of robot design, as important as the frame, motor, and electronic brain. Batteries come in all sizes and shapes .So, an appropriate choice has to be made depending on the application .If the application demands high current and longer period of operation lead acid battery is a good choice. Although Lithium ion battery would be a ideal choice for our project it is very costly when compared with lead acid battery .Since our design can carry heavy weights we decided to use lead acid battery for its cheap availability even though it is heavy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-6656270055265440935?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/6656270055265440935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=6656270055265440935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6656270055265440935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6656270055265440935'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/10/lead-acid-battery-choosing-for-final.html' title='Lead Acid battery Choosing For Final Year Project'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5571450655089518270</id><published>2008-12-09T17:59:00.000+05:30</published><updated>2008-12-27T23:26:46.016+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='BATTERY'/><title type='text'>Lead acid Battery Types Usage</title><content type='html'>LEAD-ACID BATTERY&lt;br /&gt;&lt;br /&gt;Lead Acid batteries were developed in the late 1800s, and were the first commercially practical batteries. They remain popular because they are easy and inexpensive to manufacture. Rechargeable lead-acid batteries have been available since the 1950s and have become the most widely used type of batteries today.&lt;br /&gt;&lt;br /&gt;There are three main types of lead acid batteries.&lt;br /&gt;&lt;br /&gt;Wet Cell (flooded)&lt;br /&gt;&lt;br /&gt;Gel Cell,Absorbed&lt;br /&gt;&lt;br /&gt;Glass Mat (AGM).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Gel Cell and the AGM batteries are specialty batteries that typically cost twice as much as a premium wet cell. However they store very well and do not tend to sulphate or degrade as easily or as easily as wet cell. There is little chance of a hydrogen gas explosion or corrosion when using these batteries. Gel Cell batteries, which are best used in very deep cycle applications, still are being sold but AGM batteries are typically better. In most cases AGM batteries will give greater life span and greater cycle life than a wet cell battery.Why I choose Lead Acid for my project ,I've written in my next post .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5571450655089518270?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5571450655089518270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5571450655089518270' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5571450655089518270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5571450655089518270'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/10/lead-acid-battery-types-usage.html' title='Lead acid Battery Types Usage'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-1658814321420478344</id><published>2008-11-28T16:39:00.000+05:30</published><updated>2008-12-27T23:23:39.898+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet Controlled Robot'/><category scheme='http://www.blogger.com/atom/ns#' term='Final Year Project'/><category scheme='http://www.blogger.com/atom/ns#' term='robot mech design'/><category scheme='http://www.blogger.com/atom/ns#' term='my robos'/><title type='text'>Tracked Robot Fabrication tutorials</title><content type='html'>&lt;div style="text-align: justify;"&gt;The following parts were fabricated for the constructions of the robot .They are explained one by one below.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;div style="text-align: justify;"&gt;WHEELS&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;The wheels used in the construction of robot were machine moulded plastic wheels with hollow space inside. The diameter of the wheel is 61 mm and the width of the wheel is 20 mm.&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RsJambWnXfM/SOin0eyevUI/AAAAAAAAAQ0/kG3qs2nFfc8/s1600-h/internet_controlled_+telerobot_final_year_project_wheels.jpg"&gt;&lt;img src="http://2.bp.blogspot.com/_RsJambWnXfM/SOin0eyevUI/AAAAAAAAAQ0/kG3qs2nFfc8/s320/internet_controlled_+telerobot_final_year_project_wheels.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253633485387513154" style="cursor: pointer; " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;BELTS&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The belts that we have used are reinforced rubber belts .Some of the remarkable characteristics are wearing resistant, high strength, waterproof, heat resistance, crack resistance, aging resistance and longer use life.  &lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The ball bearings that support the rear wheels need to be housed in a housing that could support the ball bearings and it also provides adjustable facility so that the slack that occurs in the belt over a period of time can be adjusted .It also facilitates the easy removal of the belt are loosening it.&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RsJambWnXfM/SOin0f6uO4I/AAAAAAAAAQs/KCKcODr2PmM/s1600-h/internet_controlled_+telerobot_final_year_project_belt.jpg"&gt;&lt;img src="http://2.bp.blogspot.com/_RsJambWnXfM/SOin0f6uO4I/AAAAAAAAAQs/KCKcODr2PmM/s320/internet_controlled_+telerobot_final_year_project_belt.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253633485690518402" style="cursor: pointer; " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;REAR WHEEL SHAFT&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The shaft shown  freely inside the ball bearing providing smooth motion .One end is threaded to connect the encoder wheel and the other end is connected to the wheel. &lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_RsJambWnXfM/SOin05XVL2I/AAAAAAAAAQ8/qilTij3IRbw/s1600-h/internet_Rear_wheel_+shaft_final_year_project_belt.jpg"&gt;&lt;img src="http://3.bp.blogspot.com/_RsJambWnXfM/SOin05XVL2I/AAAAAAAAAQ8/qilTij3IRbw/s320/internet_Rear_wheel_+shaft_final_year_project_belt.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253633492521398114" style="cursor: pointer; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;BALL BEARING HOUSING &lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;The ball bearings that support the rear wheels need to be housed in a housing that could support the ball bearings and it also provides adjustable facility so that the slack that occurs in the belt over a period of time can be adjusted .It also facilitates the easy removal of the belt are loosening it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_RsJambWnXfM/SOin0e1z35I/AAAAAAAAAQk/xRJwafFPWA8/s1600-h/internet_controlled_+telerobot_final_year_project_bearing_+housing.jpg"&gt;&lt;img src="http://3.bp.blogspot.com/_RsJambWnXfM/SOin0e1z35I/AAAAAAAAAQk/xRJwafFPWA8/s320/internet_controlled_+telerobot_final_year_project_bearing_+housing.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253633485401481106" style="cursor: pointer; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;PROVISION FOR SLACK adjustment&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span lang="EN-GB"&gt;As the rubber belt slacks due to temperature variation and ageing a slot was milled in the robot’s body for slack adjustment which ensures that the belt stays taut at all times.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RsJambWnXfM/SOiocLKWMVI/AAAAAAAAARE/HtMGbjOgL2o/s1600-h/final_year_project_bearing_+housing_slack_adjustment.jpg"&gt;&lt;img src="http://1.bp.blogspot.com/_RsJambWnXfM/SOiocLKWMVI/AAAAAAAAARE/HtMGbjOgL2o/s320/final_year_project_bearing_+housing_slack_adjustment.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253634167313674578" style="cursor: pointer; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-1658814321420478344?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/1658814321420478344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=1658814321420478344' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1658814321420478344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1658814321420478344'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/10/tracked-robot-fabrication-tutorials.html' title='Tracked Robot Fabrication tutorials'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_RsJambWnXfM/SOin0eyevUI/AAAAAAAAAQ0/kG3qs2nFfc8/s72-c/internet_controlled_+telerobot_final_year_project_wheels.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5463440075179311881</id><published>2008-11-27T12:43:00.000+05:30</published><updated>2008-12-27T23:22:45.686+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Final Year Project'/><category scheme='http://www.blogger.com/atom/ns#' term='robot mech design'/><category scheme='http://www.blogger.com/atom/ns#' term='my robos'/><title type='text'>Final Year Project Robot design</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Final Year Tracked Robot Sketch Up Drawing &lt;/span&gt;&lt;/div&gt;&lt;div&gt;Google sketch up is a very useful tool for drawing fine and detailed drawings of your robots .Its easy to use as well Below is the 3d view of my final year project .&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Isometric View&lt;/span&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_RsJambWnXfM/SOifDokSnTI/AAAAAAAAAQU/w5v56rsFq9M/s1600-h/internet_controlled_+telerobot_final_year_project_design.jpg"&gt;&lt;img src="http://3.bp.blogspot.com/_RsJambWnXfM/SOifDokSnTI/AAAAAAAAAQU/w5v56rsFq9M/s320/internet_controlled_+telerobot_final_year_project_design.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253623850105740594" style="cursor: pointer; " /&gt;&lt;/a&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Side View&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RsJambWnXfM/SOifDln57GI/AAAAAAAAAQc/tY3l4IBiMBU/s1600-h/internet_controlled_+telerobot_final_year_project_side_view.jpg"&gt;&lt;img src="http://2.bp.blogspot.com/_RsJambWnXfM/SOifDln57GI/AAAAAAAAAQc/tY3l4IBiMBU/s320/internet_controlled_+telerobot_final_year_project_side_view.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253623849315593314" style="cursor: pointer; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;The real picture of my robot ..&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RsJambWnXfM/SOhs2aF-UaI/AAAAAAAAAQM/1EVxtBeqN1U/s1600-h/internet_controlled_+telerobot_photo.jpg"&gt;&lt;img src="http://2.bp.blogspot.com/_RsJambWnXfM/SOhs2aF-UaI/AAAAAAAAAQM/1EVxtBeqN1U/s320/internet_controlled_+telerobot_photo.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253568647300796834" style="cursor: pointer; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The body frame was made of aluminium sheet and the wheels are plastic and the belts are rubber belts .I've written about the construction in the following posts .&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5463440075179311881?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5463440075179311881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5463440075179311881' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5463440075179311881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5463440075179311881'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/09/final-year-project-robot-design.html' title='Final Year Project Robot design'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_RsJambWnXfM/SOifDokSnTI/AAAAAAAAAQU/w5v56rsFq9M/s72-c/internet_controlled_+telerobot_final_year_project_design.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5072124062318926723</id><published>2008-11-26T11:58:00.000+05:30</published><updated>2008-12-27T23:23:15.147+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet Controlled Robot'/><category scheme='http://www.blogger.com/atom/ns#' term='Final Year Project'/><category scheme='http://www.blogger.com/atom/ns#' term='my robos'/><title type='text'>Internet Controlled Telerobot Using Flat File System</title><content type='html'>&lt;div style="text-align: justify;"&gt;Hi Readers &lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;I've worked on a project "&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;INTERNET CONTROLLED TELE- ROBOT USING FLAT FILE SYSTEM&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;while in college and published my research work as a paper .I've deceided to give my paper to you people so that you could use it in your work and benefit from it .&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;My project is still online and you can login here and see the working .How ever the robot isnot connected to the computer .You can just get to know the layout and working code .&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a href="http://automaton.110mb.com/"&gt;TELE ROBOT LOGIN&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;UserName:demo&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Password:demo&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Heres the &lt;a href="http://robonics.co.in/docs/INTERNET%20CONTROLLED%20TELE%20ROBOT%20USING%20FLAT%20FILE%20SYSTEM.doc"&gt;word document&lt;/a&gt; of my paper  .You can modify it as you like .&lt;/div&gt;&lt;div style="text-align: justify;"&gt;I am willing to give you the code on special request .&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The Abstract and Introduction are given below .&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Abstract - Our method aims at using the web browser for transferring the commands from the remote client operator to the robot’s control desk through a server which eliminates the need for costly equipments, complicated software’s and also consumes only a low bandwidth which is an added advantage .And moreover it provides security and eliminates the tedious process of IP address identification and verification used in the conventional methods of teleoperation through the internet. The main improvement that we would like to highlight is eliminating the need for installing client side software’s since the whole process can be done using the web browser ,through which the operator has real-time access to the robot .&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;  &lt;p class="MsoNormal"&gt;INTRODUCTION&lt;/p&gt;&lt;p class="MsoNormal"&gt;Today many robotic applications demand teleoperation. The current methods are mainly developed around wireless protocols which involve high cost equipments and can transmit only through a limited distance or by using complex software’s in the client end which consumes a large chunk of the bandwidth. The security concern of the process also becomes a huge question mark in these methods. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;So in order to eliminate the installation of software in the client end and to avoid the direct connection of the clients we need a server in between as some sort a meeting and a communicating point from where the operator and the robot can put and get the data .An php server was used for the purpose because of the ease of scripting and also its open source .And using this scripting a login interface was added as a first security measure. &lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5072124062318926723?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5072124062318926723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5072124062318926723' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5072124062318926723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5072124062318926723'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/09/internet-controlled-telerobot-flat-file.html' title='Internet Controlled Telerobot Using Flat File System'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-4835317576290632853</id><published>2008-11-25T11:33:00.000+05:30</published><updated>2008-12-27T23:17:33.705+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Robot Locomotion Mechanisms'/><title type='text'>Robot Locomotion Mechanisms And Natural Movements</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Locomotion Mechanisms&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;Hello everyone ,It has been very long since I posted in this blog .I have been busy with my new job and training .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;I am going to write about different locomotion mechanisms.So far I've worked mainly with wheeled robots and a few legged robots.There are other types of motions like (Given below )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Flow in a Channel&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Crawl&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Sliding&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Running&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Jumping&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Walking&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_RsJambWnXfM/SOhYG1naG4I/AAAAAAAAAP0/ZMGIfE-bd30/s1600-h/robot_locomotion_robotics_for_you_types.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_RsJambWnXfM/SOhYG1naG4I/AAAAAAAAAP0/ZMGIfE-bd30/s320/robot_locomotion_robotics_for_you_types.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253545839822510978" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Click one the image for an enlarged view&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;One interesting locomotion that I found is the human walking.It is approximately equivalent to rolling polygon.with sides equal in length to the span of the step.You can see a detailed picture below .&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RsJambWnXfM/SOhcjwPf_hI/AAAAAAAAAP8/PVzLPllsFBY/s1600-h/robot_locomotion_human_locomotion_robotics_for_you.jpg"&gt;&lt;img src="http://1.bp.blogspot.com/_RsJambWnXfM/SOhcjwPf_hI/AAAAAAAAAP8/PVzLPllsFBY/s320/robot_locomotion_human_locomotion_robotics_for_you.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253550734642773522" style="cursor: pointer; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The side of the polygon equals the span of the step.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-4835317576290632853?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/4835317576290632853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=4835317576290632853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4835317576290632853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4835317576290632853'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/09/robot-locomotion-mechanisms-natural.html' title='Robot Locomotion Mechanisms And Natural Movements'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_RsJambWnXfM/SOhYG1naG4I/AAAAAAAAAP0/ZMGIfE-bd30/s72-c/robot_locomotion_robotics_for_you_types.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-457274262228625131</id><published>2008-11-10T16:32:00.000+05:30</published><updated>2009-01-02T20:17:39.238+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='my robos'/><title type='text'>Sex with robots ....IS it possible ?</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Ever Imagined marrying a robot in the future ?&lt;/span&gt;&lt;br /&gt;Levy the artificial-intelligence researcher  thinks that legal marriages between &lt;span style="font-weight: bold;"&gt;homo&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;Robo&lt;/span&gt; is possible by mid century .It was pretty shocking to me when I first read it .But Levy says that with the advances in computing, the day may not be too far away .&lt;br /&gt;&lt;br /&gt;So Who know we may be having &lt;span style="font-weight: bold;"&gt;ROBOT Girl friends  &lt;/span&gt;in the next 50 years .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.sciam.com//media/inline/340D6912-0FFD-B7A9-77E1838593E6AF81_1.jpg"&gt;&lt;img style="cursor: pointer; width: 320px;" src="http://www.sciam.com//media/inline/340D6912-0FFD-B7A9-77E1838593E6AF81_1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Read these two articles from Scientific American&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" href="http://www.sciam.com/article.cfm?id=not-tonight-dear-i-have-to-reboot&amp;amp;page=1"&gt; Not Tonight, Dear, I Have to Reboot&lt;/a&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" href="http://www.sciam.com/article.cfm?id=humans-marrying-robots"&gt;Humans Marrying Robots? A Q&amp;amp;A with David Levy&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-457274262228625131?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/457274262228625131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=457274262228625131' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/457274262228625131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/457274262228625131'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/03/robot-sex-toy-marriage-pic16f877a.html' title='Sex with robots ....IS it possible ?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-6859510060338979551</id><published>2008-11-10T16:28:00.000+05:30</published><updated>2009-01-02T20:18:12.547+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='robotic&apos;s contests'/><title type='text'>Who won ROBOCON 2008 ?</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Nirma Wins ROBOCON 2008 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Nirma Institute Of Technology, Ahmedabad has won Robocon India 2008 after beating MIT, Pune in the finals!&lt;br /&gt;&lt;br /&gt;SEMI FINALISTS&lt;br /&gt;&lt;br /&gt;Indian Institute of Technology, Delhi.&lt;br /&gt;&lt;br /&gt;Nirma Institute Of Technology, Ahmedabad.&lt;br /&gt;&lt;br /&gt;Maharashtra Institute Of Technology, Pune.&lt;br /&gt;&lt;br /&gt;Vishwakarma Institute of Technology, Pune.&lt;br /&gt;&lt;br /&gt;FINALISTS&lt;br /&gt;&lt;br /&gt;Nirma Institute Of Technology, Ahmedabad.&lt;br /&gt;&lt;br /&gt;Maharashtra Institute Of Technology, Pune.&lt;br /&gt;&lt;br /&gt;And the winner was: Nirma Institute Of Technology, Ahmedabad.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://naiveindian.wordpress.com/2008/03/09/nirma-institute-of-technology-wins-robocon-india-2008/"&gt;read more ............&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-6859510060338979551?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/6859510060338979551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=6859510060338979551' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6859510060338979551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6859510060338979551'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/03/robocon-2008-winner-robot-mikroc-pic.html' title='Who won ROBOCON 2008 ?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-4325430280875417630</id><published>2008-11-09T17:42:00.001+05:30</published><updated>2008-10-11T12:29:35.072+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SENSORS'/><title type='text'>Sensor types Analog and Digital Sensors</title><content type='html'>TYPES OF Electrical SENSORS:&lt;br /&gt;&lt;br /&gt; There are two types of sensors&lt;br /&gt;&lt;br /&gt;·        Digital sensors provide simple on/off or true/false results or the stepped binary results. A switch is a good example of a digital sensor: either the switch is open or it’s closed. An ultrasonic ranger, which returns a binary value, with each bit indicating a specific distance, is also a digital sensor.&lt;br /&gt;&lt;br /&gt;·        Analogue sensors provide a range of values, usually a voltage. In many cases, the sensor itself provides a varying resistance or current, which is then converted by an external circuit into a voltage. For example, when exposed to light the resistances of a CdS (cadmium sulfide) cell changes dramatically. Built in a simple voltage divider, the voltage output varies with the light striking the CDS cell.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-4325430280875417630?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/4325430280875417630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=4325430280875417630' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4325430280875417630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4325430280875417630'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/10/sensor-types-analog-and-digital-sensors.html' title='Sensor types Analog and Digital Sensors'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-3432471506125910659</id><published>2008-11-07T03:43:00.000+05:30</published><updated>2009-01-02T21:19:52.550+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><title type='text'>How to Program a PIC Microcontroller ?</title><content type='html'>&lt;span style="font-weight:bold;"&gt;How to program PIC Video tutorial ?&lt;/span&gt;&lt;br /&gt;This is a cool  video that I found in Youtube .It shows you 4 different ways to program a PIC microcontroller .&lt;br /&gt;&lt;ol&gt;&lt;li&gt;ICSP&lt;/li&gt;&lt;li&gt;JDM Programmer&lt;/li&gt;&lt;li&gt;Microchip USB Programmer(ICD)&lt;/li&gt;&lt;li&gt;USB Programmer (Not exactly a clone of ICD)&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/fqdRZIkFDwI"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/fqdRZIkFDwI" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Watch this video and get started with PIC Programming&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-3432471506125910659?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/3432471506125910659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=3432471506125910659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/3432471506125910659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/3432471506125910659'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/03/pic16f877a-program-jdm-icsp-usb.html' title='How to Program a PIC Microcontroller ?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5313956158541952882</id><published>2008-11-06T22:18:00.000+05:30</published><updated>2009-01-02T21:20:33.503+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><title type='text'>Getting started with pic16f877a interrupt programming .</title><content type='html'>&lt;span style="font-weight: bold;"&gt;What is an interrupt and why do we need an interrupt in PIC16F877A ?&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: right;"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877-registers-interrupts-intcon.html"&gt;NEXT TUTORIAL &amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;This is the second tutorial in the series of "&lt;a href="http://roboticsforyou.blogspot.com/2008/02/mastering-pic16f877a-programming-using.html"&gt;Mastering PIC16f877A  programming&lt;/a&gt; " .&lt;br /&gt;&lt;br /&gt;Without interrupts you would have to do loops in order to check if one or another event occurred. This routine checking is called as polling .Polling has  disadvantages like consuming  valuable microcontroller resources and time . These resources may be used for other data processing tasks. This is why microcontroller comes with built in interrupt support. Instead of checking events microcontroller has ability to interrupt normal program flow on event and jump to interrupt service subroutine(ISR) .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Imagine the ISR as a function in the program and the interrupt source as a event that calls the function .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;During interrupt microcontroller stops the task at current point, saves necessary information to stack and gives resources to interrupt subroutine. When interrupt subroutine finishes, and then normal program flow continues .And more over priorities can be set in the interrupts and it can be masked according to your needs .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Here is the famous telephone conversation example for interrupts .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Suppose you are sitting at home, chatting to someone.  Suddenly the telephone rings.  You stop chatting, and pick up the telephone to speak to the caller.  When you have finished your telephone conversation, you go back to chatting to the person before the telephone rang.  You can think of the main routine as you chatting to someone, the telephone ringing causes you to interrupt your chatting, and the interrupt routine is the process of talking on the telephone.  When the telephone conversation has ended, you then go back to your main routine of chatting.&lt;br /&gt;&lt;a href="http://www.hobbyprojects.com/pic_tutorials/tutorial11.html"&gt;(&lt;span style="font-weight: bold;"&gt;read more&lt;/span&gt;) .&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Before Moving on lets see some interrupt constraints .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;INTERRUPT CONSTRAINTS&lt;br /&gt;&lt;/span&gt;Usually when an interrupt source is ready it sends a signal to microcontroller  saying that it is ready to be serviced.But this signal which is sent by the source must occur in a timely manner or else it may cause malfunction.Usually interrupt source must be initialized considering  two important parameters:&lt;br /&gt;&lt;br /&gt;1.Minimum time interval between interrupts from the source .ie(The next interrupt  should not occur before the interrupt service routine is processed for the previous)&lt;br /&gt;2.Maximum time it takes the microcontroller to execute interrupt service subroutine .&lt;br /&gt;&lt;br /&gt;So lets see how to configure the registers in the next tutorial .And another information for those who are wondering what registers are ? .&lt;br /&gt;Registers are something like memories that are built inside a PIC  by means of which you tell the microcontroller how it should set the pins or interrupts or timers or anyother peripherals .Its what you use to make the initial settings .&lt;br /&gt;&lt;br /&gt;Lets move on to the next tutorial about the register configuration .&lt;br /&gt;There are totally &lt;span style="font-weight: bold;"&gt;5 registers so I've broken the tutorials into 4 parts for easy reading&lt;/span&gt; .You can follow to the next tutorial by clicking the link below .&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: right;"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877-registers-interrupts-intcon.html"&gt;NEXT TUTORIAL &amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5313956158541952882?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5313956158541952882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5313956158541952882' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5313956158541952882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5313956158541952882'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-programming.html' title='Getting started with pic16f877a interrupt programming .'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-8556949358551909843</id><published>2008-03-29T15:35:00.001+05:30</published><updated>2009-12-27T11:08:44.519+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='robotic&apos;s contests'/><category scheme='http://www.blogger.com/atom/ns#' term='TechFests'/><category scheme='http://www.blogger.com/atom/ns#' term='robotics circuits'/><title type='text'>Robonics - My Robotics Start Up</title><content type='html'>Heyy People&lt;br /&gt;It has been a while since I wrote something here. I have been busy all these days.. Busy with what ???? ..&lt;br /&gt;Well I have been working hard to launch my own company. What does the company deal with ?&lt;br /&gt;What other than robotics (my passion). Presently I am have developed and manufactured some development board, programmers and a few mechanical parts. I hope to extend my catalog to lots of other parts.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Company Name&lt;/span&gt;&lt;br /&gt;I have named my company &lt;a href="http://robonics.co.in/"&gt;&lt;span style="font-weight: bold;"&gt;ROBONICS&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;etymology: &lt;span style="font-weight: bold;"&gt;Robo&lt;/span&gt; from &lt;span style="font-weight: bold;"&gt;Robo&lt;/span&gt;tics and &lt;span style="font-weight: bold;"&gt;nics&lt;/span&gt; from electro&lt;span style="font-weight: bold;"&gt;nics&lt;/span&gt; constitute &lt;a href="http://robonics.co.in/"&gt;&lt;span style="font-weight: bold;"&gt;ROBONICS&lt;/span&gt;&lt;/a&gt;.This name was suggested by my friend gopi.. I liked it and so named it.Some of my friends accused me for the name not being jazzy ... I should have added an &lt;span style="font-weight: bold;"&gt;X or Z. &lt;/span&gt;Well I like to keep it clean and simple .. I am happy with this name.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Why I started this company ?&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;One major reason being there arent any robotics company in Chennai , Hyd , Cochin that manufactures and sells kits. Of course there are many players in North India. &lt;/li&gt;&lt;li&gt;Second reason being&lt;span style="font-weight: bold;"&gt;, all the kits that you get online are costly which are sold at a huge margin.So I wanted to provide kits for students that is cheap as well as easy to use .&lt;/span&gt;(Budget is always a problem for we robotists)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Wish me good luck for my business to succeed guys and gals .. For I need you to for this business to succeed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;a href="http://robonics.co.in/index.php?option=com_virtuemart&amp;amp;Itemid=58&amp;amp;vmcchk=1&amp;amp;Itemid=58"&gt;Shop&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;There is an online shopping cart that you can use to shop for products. Some of the very useful products that I would like to recommend is&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://robonics.co.in/index.php?option=com_virtuemart&amp;amp;page=shop.product_details&amp;amp;flypage=flypage.tpl&amp;amp;product_id=33&amp;amp;Itemid=58"&gt;PIC Development Board.&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://robonics.co.in/index.php?page=shop.product_details&amp;amp;flypage=garden_flypage.tpl&amp;amp;product_id=31&amp;amp;category_id=17&amp;amp;option=com_virtuemart&amp;amp;Itemid=58"&gt;Multi PIC Programmer&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;Please do check out the website guys ..and wish me luck again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-8556949358551909843?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/8556949358551909843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=8556949358551909843' title='98 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8556949358551909843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8556949358551909843'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2009/03/robonics-robotics-company-components.html' title='Robonics - My Robotics Start Up'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>98</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-7876339516561065225</id><published>2008-03-02T20:55:00.004+05:30</published><updated>2008-03-07T03:00:04.544+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><title type='text'>Knowing pic16f877 Interrupt Registers</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;table style="width: 450px;"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-programming.html"&gt;&amp;lt;&amp;lt;&amp;lt;Previous Tutorial&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-register-config.html"&gt;Next Tutorial&amp;gt;&amp;gt;&amp;gt;&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;INTERRUPTS IN 16F877A&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;The interrupt sources in PIC can be broadly classified into .&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1.External interrupt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2.Internal interrupts .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are totally 14 sources of interrupts in PIC16F877A .&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Timer0 overflow interrupt&lt;/li&gt;&lt;li&gt;Timer 1 interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Timer 2 interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Capture compare interrupt &lt;span style="font-weight: bold;"&gt;ccp1.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Capture compare interrupt &lt;span style="font-weight: bold;"&gt;ccp2.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Comparator Interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt;USART Transmitter interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt;USART Receiver Interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Synchronous Serial Port interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt;EEPROM Write Interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Analog to Digital Converter interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Parallel slave port read write interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Bus collision interrupt&lt;br /&gt;&lt;/li&gt;&lt;li&gt; External interrupt (RB0/INT0)&lt;/li&gt;&lt;/ol&gt;Starting with the registers .&lt;br /&gt;The global register for the interrrupt is INTCON .The following tables show you the individual bits .&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;!-- For avoiding space in blogger --&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;GIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;PEIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TOIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;INTE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RBIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TOIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;INTF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RBIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The description of the individual bits are given below .The status of different interrupts when set as o and 1 .&lt;/p&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;BIT&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;NAME&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;WHEN SET 1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;WHEN SET O&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;GIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Global interrupt bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Enable all&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Disable all&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;PEIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Peripheral interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Enable all unmaskable peripheral&lt;br /&gt;interrupts&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Disable  all&lt;br /&gt;peripheral interrupts&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TOIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Timer 0 overflow interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Enable&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Disable&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;INTE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RB0/INT external interrupt&lt;br /&gt;enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Enable&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Disable&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RBIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RB port change interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Enable&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Disable&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TOIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Timer 0 overflow interrupt flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TMR0 reg overflows&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;INTF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RB0/INT external interrupt flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;External interrupt occurs&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;No interrupt&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RBIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RB port change interrupt flag  bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;One line changes its state from RB7 to RB4&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;No line changes&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;The first five bits are configuration bits and the next 3 lower bits are &lt;span style="font-weight: bold;"&gt;FLAGS&lt;/span&gt; .That will be set as 1 when the corresponding interrupt occours .It is the programmers responsiblity to clear those bits .It wont be cleared automatically .Its for the reson because if another interrupt occours while processing the previous interrupt it will lead to chaos .So the task is given to the programmer to clear the bits .&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In addition to INTCON reg peripheral interrupt also has 4 more reg &lt;span style="font-weight: bold;"&gt;PIE1 , PIE2&lt;/span&gt; corresponding to &lt;span style="font-weight: bold;"&gt;PIEX&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;PIR1 and PIR2&lt;/span&gt; coressponding to &lt;span style="font-weight: bold;"&gt;PIRX&lt;/span&gt;.Let  us see these registers in the next tutorials .&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;table width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-programming.html"&gt;&amp;lt;&amp;lt;&amp;lt;Previous Tutorial&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-register-config.html"&gt;Next Tutorial&amp;gt;&amp;gt;&amp;gt;&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-7876339516561065225?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/7876339516561065225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=7876339516561065225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7876339516561065225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7876339516561065225'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/03/pic16f877-registers-interrupts-intcon.html' title='Knowing pic16f877 Interrupt Registers'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-7719522961085210393</id><published>2008-03-02T19:55:00.004+05:30</published><updated>2008-03-07T03:17:32.376+05:30</updated><title type='text'>pic16f877a interrupt register config</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;!-- For avoiding space in blogger --&gt;&lt;table style="width: 450px;"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877-registers-interrupts-intcon.html"&gt;&amp;lt;&amp;lt;&amp;lt;Previous Tutorial&lt;/a&gt; &lt;/td&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-config-pir1-pir2.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-config-pir1-pir2.html"&gt;Next Tutorial&amp;gt;&amp;gt;&amp;gt;&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style="font-weight: bold;"&gt;PIE1 REGISTER&lt;br /&gt;&lt;/span&gt;The Table for PIE1 configuration is given below .&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;PSPIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;ADIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RCIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;TXIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;SSPIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;CCPIE1IE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;TMR2IE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;TMRA11E&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;Please take a look at the table to configure it according to your needs .For example PIE.6 corresponds to ADIE and setting it as 1 enables the A2D converter interrupt.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;EX&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;PIE.6 = 1 ;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;BIT&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;NAME&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;ENABLE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;DISABLE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;PSPIE&lt;br /&gt;&lt;td&gt;Parallel slave port read/write interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;ADIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;AD conveter interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RCIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;USART receive interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TXIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;USART transmit interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;SSPIE&lt;br /&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Synchrous serial port interrupt&lt;br /&gt;enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;CCPIE1IE&lt;br /&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;CCP1 interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TMR2IE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TMR2 to PR2 match interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TMRA11E&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TMR! overflow interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;p style="font-weight: bold;"&gt;PIE2 REGISTER&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;---&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;---&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;---&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;EEIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;BCLIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;---&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;---&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;CCP2IE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;NAME&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;ENABLE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;DISABLE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;EEIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;EEPROM write operation interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;BCLIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Bus collision interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;CCP2IE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;CCP2 interrupt enable bit&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;EEPROM Bus collision and CCP2 interrupt enable bit are available in PIE2 register .All other bits are&lt;br /&gt;kept clear in this register&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;table style="width: 450px;"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877-registers-interrupts-intcon.html"&gt;&amp;lt;&amp;lt;&amp;lt;Previous Tutorial&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-config-pir1-pir2.html"&gt;Next Tutorial&amp;gt;&amp;gt;&amp;gt;&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-7719522961085210393?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/7719522961085210393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=7719522961085210393' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7719522961085210393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7719522961085210393'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-register-config.html' title='pic16f877a interrupt register config'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-2708341126450586526</id><published>2008-03-02T06:55:00.001+05:30</published><updated>2008-03-07T03:22:29.234+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><title type='text'>PIC16f877a PIR1 and PIR2 Configuration .</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;table style="width: 450px;"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-register-config.html"&gt;&amp;lt;&amp;lt;&amp;lt;Previous Tutorial&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8583855244151207183&amp;amp;postID=2708341126450586526"&gt;Next Tutorial&amp;gt;&amp;gt;&amp;gt;&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PIR1 REGISTER&lt;/span&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;The bits are listed below .&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;PSPIF&lt;br /&gt;&lt;br /&gt;&lt;td&gt;ADIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;RCIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;TXIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;SSPIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;CCPIE1IF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;TMR2IF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;TMRA11F&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;BIT&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;NAME&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;ENABLE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;DISABLE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;PSPIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Parallel slave port read/write interrupt flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;ADIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;AD conveter interrupt flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;RCIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;USART receive interrupt flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TXIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;USART transmit interrupt flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;SSPIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Synchrous serial port interrupt&lt;br /&gt;flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;CCPIE1IF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;CCP1 interrupt flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TMR2IF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TMR2 to PR2 match Interrupt flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TMRA11F&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;TMR! overflow interrupt Flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;PIR2 REGISTER&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The Configuration bits are listed below .Take a look at  it to understand  .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/p&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;---&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;---&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;EEIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;BCLIE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;---&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;---&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;CCP2IE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;table bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;BIT&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;NAME&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;ENABLE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;DISABLE&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;EEIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;EEPROM write operation interrupt  flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;BCLIF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;Bus collision interrupt&lt;br /&gt;flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;CCP2IF&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;CCP2 interrupt flag&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;1&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;br /&gt;0&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table style="width: 450px;"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-register-config.html"&gt;&amp;lt;&amp;lt;&amp;lt;Previous Tutorial&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;td width="225"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8583855244151207183&amp;amp;postID=2708341126450586526"&gt;Next Tutorial&amp;gt;&amp;gt;&amp;gt;&lt;/a&gt; &lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-2708341126450586526?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/2708341126450586526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=2708341126450586526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2708341126450586526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2708341126450586526'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-config-pir1-pir2.html' title='PIC16f877a PIR1 and PIR2 Configuration .'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-2036597985220803261</id><published>2008-02-22T23:42:00.007+05:30</published><updated>2008-03-06T22:18:17.558+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><title type='text'>PIC C Programming Video Tutorial (ADC)</title><content type='html'>&lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-programming-analog-digital.html"&gt;&amp;lt; &amp;lt;&amp;lt;  PREVIOUS TUTORIAL &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now we shall Jump into &lt;span style="font-weight: bold;"&gt;PIC ADC Programming using C &lt;/span&gt;.As I told you in the previous post we are gonna use MIKROC and The simulator that we will be using is &lt;a href="http://www.oshonsoft.com/pic.html"&gt;OSHONSOFT&lt;/a&gt; PIC Simulator(&lt;a href="http://www.oshonsoft.com/downloads.html"&gt;download link &lt;/a&gt;) .&lt;br /&gt;&lt;br /&gt;Watch this video tutorial to get started with &lt;span style="font-weight: bold;"&gt;PIC16F877A programming &lt;/span&gt;and set up using the &lt;span style="font-weight: bold;"&gt;MikroC compiler and Oshonsoft PIC Simulator&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/zTeAbkT97ck"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/zTeAbkT97ck" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;PIC C programming is just like normal C programming that you do for you computer .The differences being you have to declare the ports set the registers and there is no printf and scanf of course .&lt;br /&gt;&lt;br /&gt;Here is the small program that I teach you in the video .It simply reads the value from the 2 nd &lt;span style="font-weight: bold;"&gt;ADC channel&lt;/span&gt; and outputs it to the PORTB .And also I've configured the &lt;span style="font-weight: bold;"&gt;ADC ports as 8 bits and all analog inputs&lt;/span&gt; .If you not sure about the register settings read my &lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-programming-analog-digital.html"&gt;previous tutorial&lt;/a&gt; .&lt;br /&gt;So look at the table that I've given in my &lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-programming-analog-digital.html"&gt;previous tutorial&lt;/a&gt;  and configure &lt;span style="font-weight: bold;"&gt;ADCON1 .&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;unsigned short adc_val ;&lt;br /&gt;void main ()&lt;br /&gt;{&lt;br /&gt; ADCON1 = 0x00;&lt;br /&gt; TRISA = 0xff ;&lt;br /&gt; TRISB = 0x00 ;&lt;br /&gt; while (1)&lt;br /&gt;     {&lt;br /&gt;         adc_val = adc_read(2) ;&lt;br /&gt;         portb =adc_val ;&lt;br /&gt;     }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;After setting ADCON1 .The TRIS registers have to be set .The TRIS  registers configures the port as either input or output .Just suffix the TRIS register with the PORT name .&lt;br /&gt;TRISA is the register for PORTA ,TRISB is the register for PORTB .Here we are going to use PORTA  so I've to set the &lt;span style="font-weight: bold;"&gt;TRISA register as inputs .&lt;/span&gt;So how do we do this ?&lt;br /&gt;I am going to use hexadecimal  to configure the registers and ports .You can also use binary to configure the ports which is good and easy for beginners .&lt;br /&gt;So to use hexadecimal you've to add the suffix &lt;span style="font-weight: bold;"&gt;0x&lt;/span&gt; (0xFF) and to use the binary you've to use the suffix&lt;span style="font-weight: bold;"&gt; ob (0b11111111) . &lt;/span&gt;Looking at my program I've used&lt;br /&gt;&lt;br /&gt;TRISA = 0xFF      which can also be written as&lt;br /&gt;TRISA = 0b11111111 in biinary .&lt;br /&gt;&lt;br /&gt;The next thing is setting the port as input and outputs .Let us take PORTB as example .&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; TRISB = 0x00  ;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TRISB = 0b00000000 ; &lt;/span&gt;configures the port b as outputs .&lt;br /&gt;&lt;br /&gt;So I guess you must have learnt how to set a port as input or output by now .&lt;br /&gt;TRISX = 0x00 makes the port as inputs and TRISX = 0xff makes the port as inputs .&lt;br /&gt;(Substitute the port name in the place of X ) A combination of input and output can also be done .&lt;br /&gt;for ex&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TRISB = 0xF0 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TRISB=0x11110000 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;sets half of the upper ports as input and the other half as outputs .&lt;br /&gt;After setting the ports we shall get into the main program .&lt;br /&gt;You must have noticed an unsatisfied while loop .Yes there must be at least one unsatisfied loop inside your program ,because your microcontroller doesn't have a operating system there has to be atleast one unsatisfied loop inside the program to make it run continuously.&lt;br /&gt;&lt;br /&gt;MikroC has  lots of inbuilt libraries . For reading the analog inputs&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;adc_read(unsigned int channel number ) &lt;/span&gt; is used .&lt;br /&gt;&lt;br /&gt;Getting back to my program what I do is I get the input from the channel and output it to the &lt;span style="font-weight: bold;"&gt;PORT B .&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;So I hope this tutorial has helped you .&lt;br /&gt;Please &lt;span style="font-weight: bold;"&gt;leave your comments&lt;/span&gt; if you have any suggestions .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-2036597985220803261?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/2036597985220803261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=2036597985220803261' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2036597985220803261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2036597985220803261'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/pic16f877a-video-tutorial-c-program.html' title='PIC C Programming Video Tutorial (ADC)'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-7405762933911440933</id><published>2008-02-21T01:25:00.005+05:30</published><updated>2008-02-22T18:56:22.249+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><title type='text'>Getting Started :PIC 16f877A Analog to Digital conversion tutorial</title><content type='html'>&lt;span style="font-weight: bold;"&gt;What is Analog to digital conversion ?&lt;/span&gt;&lt;br /&gt;                                                                     &lt;div style="text-align: right;"&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-programming-analog-digital.html"&gt;NEXT TUTORIAL&gt;&gt;&gt;&gt;&gt;&gt;                                          &lt;/a&gt; &lt;br /&gt;&lt;/div&gt;My first post in the series of &lt;span style="font-weight: bold;"&gt;"Mastering PIC microcontroller Programming "&lt;/span&gt; is gonna be about &lt;span style="font-weight: bold;"&gt;ADC(Analog to Digital Converter)&lt;/span&gt;.&lt;br /&gt;Well what is A2D first of all ?&lt;br /&gt;We all have done &lt;span style="font-weight: bold;"&gt;analog to digital conversion (A2D)&lt;/span&gt; .You dont beleive me ? .Remember the 5th grade science experiment of finding the boiling point of water .We take down the readings of the thermometer every 30 seconds until it reaches a contant .Although the temperature varies continously we only note the reading between specified time interval ie You are sampling the continuous data into a sampled data and reconstructing  the continuous curve based on the data we have .So we all have done the basis of &lt;span style="font-weight: bold;"&gt;A2D&lt;/span&gt; in our lives .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PIC Microcontrollers have 10 BIT ADC's .&lt;/span&gt;That means the range is from &lt;span style="font-weight: bold;"&gt;0-1023 or 0-(2^10 - 1)&lt;/span&gt;.If we set the reference voltage at 5 volts then 0 - 5 volts can be represented as 0 - 1023 in the digital format .ie 5 v would represent 1023  2.5 v would represent 512(rounded).That is the microcontroller would understand 2.5 v as 50% of 2.5 .&lt;br /&gt;The formula to calculate the digital value is&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;x= (Vin/Vfullscale )(2^n-1)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;following this formula&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;x=(2.5/5)*1023 =511.5 (512 approx)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then the next question arises about the &lt;span style="font-weight: bold;"&gt;a2d  resolution&lt;/span&gt; .To put it simply what is the minimum voltage that the &lt;span style="font-weight: bold;"&gt;microcontroller&lt;/span&gt; would be sensitive .The resolution of 10 bit microcontroller with 5 v as reference is&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5/1023 =4.88 mv .&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;The microcontroller would measure a minimum change of 4.8 mv below which it will be insensitive .&lt;br /&gt;The general formula for resolution would be&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;V res = V Fullscale /2^n-1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Vfullscake = What you set as reference&lt;br /&gt;n= No of bits &lt;span style="font-weight: bold;"&gt;(10 bit in PIC16F877A)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I assume that you might have understood the basics of &lt;span style="font-weight: bold;"&gt;A2D&lt;/span&gt; and move on to the next step .&lt;br /&gt;The next tutorial is gonna be about the &lt;span style="font-weight: bold;"&gt;A2D Registers in PIC16F877A&lt;/span&gt; . &lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-programming-analog-digital.html"&gt;NEXT TUTORIAL&gt;&gt;&gt;&gt;&gt;&gt;                                          &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-7405762933911440933?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/7405762933911440933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=7405762933911440933' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7405762933911440933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7405762933911440933'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/pic16f877a-adc-programming-tutorial-a2d.html' title='Getting Started :PIC 16f877A Analog to Digital conversion tutorial'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-6911517332645550907</id><published>2008-02-21T01:22:00.008+05:30</published><updated>2008-03-01T12:54:02.387+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><title type='text'>PIC  Analog to digital conversion registers</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-adc-programming-tutorial-a2d.html"&gt;&lt;previous&gt;&lt;/previous&gt;&lt;/a&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-adc-programming-tutorial-a2d.html"&gt;&lt;span style="text-decoration: underline;"&gt;&amp;lt;&amp;lt;&amp;lt;Previous tutorial&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-video-tutorial-c-program.html"&gt;Next Tutorial &amp;gt;&amp;gt;&amp;gt;&lt;/a&gt;&lt;br /&gt;There are totally four registers for A2d conversion in PIC16f877 and PIC16f877A .They are the following .&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;(NOTE : Almost all the PIC series of IC's have this same register configuration .So knowing this is enough to program all the PIC series IC's )&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;!-- For avoiding space in blogger --&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;table style="font-size: 12px;" bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;caption&gt;registers for analogue inputs.&lt;/caption&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 7&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 6&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 5&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 4&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 3&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 2&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 1&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 0&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADRESH&lt;/td&gt;&lt;br /&gt;&lt;td colspan="8" align="center"&gt;A2D Result Register - High Byte&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADRESL&lt;/td&gt;&lt;br /&gt;&lt;td colspan="8" align="center"&gt;A2D Result Register - Low Byte&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADCON0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADCS1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADCS0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;CHS2&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;CHS1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;CHS0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;GO/DONE&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADON&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADCON1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADFM&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG3&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG2&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG0&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;ADCON0 Configuration &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;Since PIC has 10 bit &lt;span style="font-weight: bold;"&gt;A2D&lt;/span&gt; and its a 8 bit microcontroller it needs an extra register to store the extra 2 bits resulting in the &lt;span style="font-weight: bold;"&gt;A2D&lt;/span&gt; conversion .Thats the job the first two registers &lt;span style="font-weight: bold;"&gt;ADRESH and ADRESL&lt;/span&gt;  name itself is self explanatory .&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ADRESH:&lt;/span&gt;Stores the higher 8 bits .&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ADRESL:&lt;/span&gt;Stores the lower 8 bits .&lt;br /&gt;So now we are done with the first two registers .&lt;br /&gt;&lt;br /&gt;The next register that we are gonna see in PIC16F877A is &lt;span style="font-weight: bold;"&gt;ADCONO&lt;/span&gt; .&lt;br /&gt;The first two bits ADCS1 and ADCS0 is required to select the A2D clock .The table for clock selection is given below .If I am using 5 MHZ I will select 01 thats fosc/8 .&lt;br /&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;table bg="" style="color: rgb(17, 17, 17);" border="1" cellpadding="2" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ADCS1&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ADCS0&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;A/D Conversion Clock&lt;br /&gt;Select bits. &lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;b&gt;Max. Clock Freq.&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Fosc/2&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1.25MHz&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Fosc/8&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;5MHz&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;FOsc/32&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;20MHz&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Frc (Internal A2D RC Osc.)&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Typ. 4uS&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The next set of bits are channel select .YOu can select the appropriate channels by selecting the appropriate bits .So now I am using 5 MHZ and selecting RA2 for example , now bit selection will be 01010xxx .The  bits that are named as X  are still  to be selected .&lt;br /&gt;&lt;br /&gt;The next bit is &lt;span style="font-weight: bold;"&gt;GO/DONE .&lt;/span&gt;Setting this bit high  starts A2D conversion  and  it is automatically cleared when it is complete .So monitoring the status of this bit can tell us about the status of Analog to digital conversion .So we have to set it high to start conversion .So now our bit configuration will be 010101xx .&lt;br /&gt;&lt;br /&gt;If you look at the first table you will see bit1 is useless .So put a zero there .So now our bit configuration becomes 0101010x .&lt;br /&gt;The last bit is &lt;span style="font-weight: bold;"&gt;ADON .&lt;/span&gt;When the bit is set it turns on the &lt;span style="font-weight: bold;"&gt;A2D&lt;/span&gt; when cleared it turns off .So we are setting 1 there .Now it becomes&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;01010101 .&lt;/span&gt;This is the bit configuration to select&lt;span style="font-weight: bold;"&gt; 5 MHZ clock channel AN2 .&lt;/span&gt;The next three bits are useless .&lt;br /&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;table bg="" style="color: rgb(17, 17, 17);" border="1" cellpadding="2" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;CHS2&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;CHS1&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;CHS0&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Channel&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Pin&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Channel0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;RA0/AN0&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Channel1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;RA1/AN1&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Channel2&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;RA2/AN2&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Channel3&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;RA3/AN3&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Channel4&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;RA5/AN4&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Channel5&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;RE0/AN5&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Channel6&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;RE1/AN6&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;Channel7&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;RE2/AN7&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;ADCON1 Configuration &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;The next channel is &lt;span style="font-weight: bold;"&gt;ADCON1 .&lt;/span&gt; The bit7 &lt;span style="font-weight: bold;"&gt;ADFM(Analog to digital conversion format )&lt;/span&gt; is used to select the format .Setting this bit high makes it 10 bit converter .And clearing it makes it 8 bit ie the result only appears in ADRESH and ADRESL is ignored .&lt;br /&gt;Now we are entering thre most complicated part of the register selection .Please look at the following table to select the configuration you need .&lt;br /&gt;&lt;br /&gt;Visit &lt;a href="http://www.winpicprog.co.uk/pic_tutorial11.htm"&gt;WINPIC PROG &lt;/a&gt;to learn more in detail about the register selection .&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;table bg="" style="color: rgb(17, 17, 17);" border="1" cellpadding="2" cellspacing="0" width="400"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;PCFG3:&lt;br /&gt;&lt;br /&gt;PCFG0&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;AN7&lt;br /&gt;&lt;br /&gt;RE2&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;AN6&lt;br /&gt;&lt;br /&gt;RE1&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;AN5&lt;br /&gt;&lt;br /&gt;RE0&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;AN4&lt;br /&gt;&lt;br /&gt;RA5&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;AN3&lt;br /&gt;&lt;br /&gt;RA3&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;AN2&lt;br /&gt;&lt;br /&gt;RA2&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;AN1&lt;br /&gt;&lt;br /&gt;RA1&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;AN0&lt;br /&gt;&lt;br /&gt;RA0&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Vref+&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="38"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Vref-&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;0000&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vdd&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;0001&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref+&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA3&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;0010&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vdd&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;0011&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref+&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA3&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;0100&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vdd&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;0101&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref+&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA3&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;0110&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vdd&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;0111&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vdd&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;1000&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref+&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref-&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA3&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA2&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;1001&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vdd&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;1010&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref+&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA3&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;1011&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref+&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref-&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA3&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA2&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;1100&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref+&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref-&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA3&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA2&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;1101&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref+&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref-&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA3&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA2&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;1110&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vdd&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vss&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;1111&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref+&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;Vref-&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;D&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;A&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA3&lt;/td&gt;&lt;br /&gt;&lt;td align="center" height="19"&gt;RA2&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;!-- For avoiding space in blogger --&gt;in the next tutorial we are going to kick start with PIC16F877A programming in C .I am gonna use &lt;a href="http://www.mikroe.com/en/compilers/mikroc/pic/"&gt;mikroc&lt;/a&gt; compiler .&lt;br /&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-adc-programming-tutorial-a2d.html"&gt;&lt;br /&gt;&lt;previous&gt;&lt;/previous&gt;&lt;/a&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/02/pic16f877a-adc-programming-tutorial-a2d.html"&gt;&lt;span style="text-decoration: underline;"&gt;Previous&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-6911517332645550907?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/6911517332645550907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=6911517332645550907' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6911517332645550907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6911517332645550907'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/pic16f877a-programming-analog-digital.html' title='PIC  Analog to digital conversion registers'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-843634702828143292</id><published>2008-02-19T18:36:00.007+05:30</published><updated>2008-03-06T22:43:44.969+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pic microcontroller programming tutorials'/><title type='text'>Mastering PIC16f877A  programming .</title><content type='html'>I bunked college today to do a lot of work that was left to do but ended up seeing cricket match instead .But I did a small portion of the shopping cart for the site that I am building .And my 2nd review is also nearing .But I'vent finished any considerable amount of work  except for fabricating a few parts for my robot .&lt;br /&gt;&lt;br /&gt;So what am I gonna do now ?.&lt;br /&gt;I am going to dedicate this week for "&lt;span style="font-weight: bold;"&gt;Mastering PIC16F877A Programming &lt;/span&gt;" .&lt;br /&gt;Although I've programmed a lot of robots using C .I always had difficulty with programming .And moreover I always used simple techniques .In fact I've never used TIMERS and Interrupts which has many functionalities.So I am planning to learn all the pheriperals of the PIC like&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TIMERS&lt;br /&gt;INTERRUPTS&lt;br /&gt;USART&lt;br /&gt;CCP Modules .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And I also dont know assembly language which I consider as a huge drawback .Although PIC is based on RISC architecture and has only 35 instructions I never managed(not even tried)to learn it .And I am gonna post a new tutorial every day about programming the PIC .So lets see what happens this week .&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8583855244151207183&amp;amp;postID=7405762933911440933"&gt;* Tutorial 1 Programing ADC's&lt;/a&gt;&lt;br /&gt;&lt;a href="http://roboticsforyou.blogspot.com/2008/03/pic16f877a-interrupt-programming.html"&gt;* Tutorial 1 Programming Interrupts &lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8583855244151207183&amp;amp;postID=7405762933911440933"&gt; &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-843634702828143292?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/843634702828143292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=843634702828143292' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/843634702828143292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/843634702828143292'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/mastering-pic16f877a-programming-using.html' title='Mastering PIC16f877A  programming .'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-6604204668353283059</id><published>2008-02-18T18:12:00.000+05:30</published><updated>2008-03-01T12:57:11.048+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger tweak'/><title type='text'>How to Post HTML Tables in Blogger without the big gap ?</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Have you ever tried posting tables in blogger ?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;If you have done so &lt;span style="font-weight: bold;"&gt;,you will see a huge gap in between the table and the text above i&lt;/span&gt;t .Heres an example .&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;table bg=""  style="color: rgb(0, 0, 0);font-size:12px;" border="1" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 7&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 6&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 5&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 4&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 3&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 2&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 1&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 0&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADRESH&lt;/td&gt;&lt;br /&gt;&lt;td colspan="8" align="center"&gt;A2D Result Register - High Byte&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADRESL&lt;/td&gt;&lt;br /&gt;&lt;td colspan="8" align="center"&gt;A2D Result Register - Low Byte&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADCON0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADCS1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADCS0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;CHS2&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;CHS1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;CHS0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;GO/DONE&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADON&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADCON1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADFM&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG3&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG2&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG0&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;&lt;/div&gt;So how do you &lt;span style="font-weight: bold;"&gt;get rid of the space between&lt;/span&gt; ?&lt;br /&gt;First let me tell you &lt;span style="font-weight: bold;"&gt;why there is a huge gap when you post a table on blogger&lt;/span&gt;.Blogger inserts a line break tag  tag every time you hit enter that  is why you see a huge gap .&lt;br /&gt;To get rid of this you will have to insert a small piece of CSS code which will solve the problem .&lt;br /&gt;&lt;code&gt;&lt;code style="font-weight: bold;"&gt;&lt;br /&gt;&amp;lt;style type="text/css"&amp;gt;.nobrtable br { display: none }&amp;lt;/style&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Paste this on the top of your post and use the div tag to reference it&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&amp;lt;div class="nobrtable"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Post your table here -------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;Heres the table after inserting the code .&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;table style="font-size: 12px;" bgcolor="#d5ddf3" border="1" bordercolor="#000000" cellpadding="0" cellspacing="0" width="450"&gt;&lt;br /&gt;&lt;caption&gt;&lt;b&gt;registers for analogue inputs.&lt;/b&gt;&lt;/caption&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 7&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 6&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 5&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 4&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 3&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 2&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 1&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Bit 0&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADRESH&lt;/td&gt;&lt;br /&gt;&lt;td colspan="8" align="center"&gt;A2D Result Register - High Byte&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADRESL&lt;/td&gt;&lt;br /&gt;&lt;td colspan="8" align="center"&gt;A2D Result Register - Low Byte&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADCON0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADCS1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADCS0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;CHS2&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;CHS1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;CHS0&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;GO/DONE&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADON&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;ADCON1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;ADFM&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;-&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG3&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG2&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG1&lt;/td&gt;&lt;br /&gt;&lt;td align="center"&gt;PCFG0&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;YOu can see the table is correctly formatted .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-6604204668353283059?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/6604204668353283059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=6604204668353283059' title='72 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6604204668353283059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/6604204668353283059'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/posting-tables-blogger-removing-space.html' title='How to Post HTML Tables in Blogger without the big gap ?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>72</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-3953449174862188027</id><published>2008-02-15T22:18:00.004+05:30</published><updated>2008-02-18T22:36:02.136+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='robotic&apos;s contests'/><title type='text'>Robotic Contests and Techfests in India</title><content type='html'>There are lots of Robotic competitions going on in India .Almost every big college has an annual techfest .IIT's lead the race followed by other big universities .The following are the links to the major techfests .&lt;br /&gt;&lt;br /&gt;&lt;td&gt;&lt;span style="font-weight: bold;"&gt;COLLEGE&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;span style="font-weight: bold;"&gt;NAME&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;td&gt;&lt;span style="font-weight: bold;"&gt;MONTH&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;* IIT Bombay &lt;a href="http://tectfest.org/"&gt;TECHFEST&lt;/a&gt;&lt;/td&gt; January  &lt;br /&gt;* IIT Delhi &lt;a href="http://www.tryst-iitd.com/"&gt;TRYST   &lt;/a&gt; March     &lt;br /&gt;* IIT Guwahati &lt;a href="http://.techniche.in/"&gt;TECHNICHE&lt;/a&gt;September      &lt;br /&gt;* IIT Kanpur   &lt;a href="http://techkriti.org/"&gt;TECHKRITI&lt;/a&gt;February       &lt;br /&gt;* IIT Kharagpur &lt;td&gt;&lt;a href="http://www.robotixiitkgp.com/"&gt;ROBOTIX &lt;/a&gt;February       &lt;br /&gt;* IIT Madras   &lt;a href="http://shaastra.org/"&gt;SHAASTRA&lt;/a&gt;October      &lt;br /&gt;* NIT Warangal &lt;a href="http://www.technozion.org/"&gt;TECHNOZION&lt;/a&gt; january  &gt;&lt;br /&gt;* NIT Surat  &lt;a href="http://www.mindbend.in/home/index.html"&gt;MINDBLEND&lt;/a&gt; March   &lt;br /&gt;* NIT Calicut  &lt;a href="http://tathva.org/"&gt;THATVA&lt;/a&gt;  September    &lt;br /&gt;* NIT Calicut &lt;a href="http://tathva.org/"&gt;THATVA&lt;/a&gt; September   &lt;br /&gt;* NIT Bhopal &lt;a href="http://www.autofest.in/"&gt;AUTOFEST&lt;/a&gt;october   &lt;br /&gt;* NIT Rourkela &lt;a href="http://nitrkl.ac.in/techfest/index.htm"&gt;NITRKL&lt;/a&gt;january     &lt;br /&gt;* NIT Tiruchirappalli &lt;a href="http://pragyan.org/"&gt;PRAGYAN&lt;/a&gt; march     &lt;br /&gt;* NIT Durgapur  &lt;a href="http://www.blogger.com/%20http://mukti.nitdgp.ac.in/"&gt;MUKTHI&lt;/a&gt;march&lt;br /&gt;*KIIT &lt;a href="http://kritansh.kiit.org /"&gt;kritansh&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;DCOE &lt;a href = "troika.dcetech.com"&gt;TRIOKA&lt;/a&gt;&lt;br /&gt;Anna Univ &lt;a href = "http://kurukshetra.org.in"&gt;Kurukshetra &lt;/a&gt;Anna Univ &lt;br /&gt;NIRMA &lt;a href = "http://www.prevoyance.econirma.org/mm.htm"&gt;PREVOYANCE&lt;/a&gt;March&lt;br /&gt;JIIT  &lt;a href = "http://jive06.com/robotics.html"&gt;JIVE&lt;/a&gt;&lt;br /&gt;COEP&lt;a href = "http://robotics.mind-spark.org "&gt;Mind Spaek&lt;/a&gt;October&lt;br /&gt;SNIST  &lt;a href = "http://roboveda.org "&gt;Roboveda&lt;/a&gt;August&lt;br /&gt;NIST ORISSA&lt;a href = "http://www.nist.edu/Sankalp/"&gt;SANKALP&lt;/a&gt;&lt;br /&gt;ECBS &lt;a href="http://sakshama.org"&gt;SHAKSAMA&lt;/a&gt;October&lt;br /&gt;IIIT &lt;a href = "http://students.iiit.ac.in/~robotics/"&gt;IIT Robotics club&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If I had missed out anyother important techfests please bring it to my notice by commenting .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-3953449174862188027?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/3953449174862188027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=3953449174862188027' title='46 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/3953449174862188027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/3953449174862188027'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/robotic-contests-techfests-iit-nit-in.html' title='Robotic Contests and Techfests in India'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>46</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5631245411053063104</id><published>2008-02-14T19:08:00.003+05:30</published><updated>2008-12-09T02:29:14.383+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pcb design'/><category scheme='http://www.blogger.com/atom/ns#' term='robotics circuits'/><title type='text'>PCB designing Video Tutorial and Ebooks</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Easy to use PCB designing Tutorial&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PCB designing is no more a hard core designer’s job , even cons like us can design the PCB using this brilliant software “&lt;a href="http://www.new-wave-concepts.com/downloads.html"&gt;PCB WIZARD&lt;/a&gt;”. You need not be a wizard when you Have &lt;a href="http://www.new-wave-concepts.com/downloads.html"&gt;PCB wizard&lt;/a&gt; in hand.&lt;br /&gt;&lt;br /&gt;Unlike most of the PCB designing software’s &lt;a href="http://www.new-wave-concepts.com/downloads.html"&gt;PCB WIZARD&lt;/a&gt;  is very user friendly.&lt;br /&gt;(I am telling this keeping in mind that I‘ve tried many other designing software’s).&lt;br /&gt;.The coolest thing that I found in this software is you don’t have to design the PCB at all. It makes PCB for you. How cool is that?&lt;br /&gt;&lt;br /&gt;You’ve to just draw the circuit (&lt;span style="font-weight: bold;"&gt;schematic diagram&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RsJambWnXfM/R7RG0EfqnDI/AAAAAAAAACU/0-CMSfUQbRM/s1600-h/pcb_wizard_schematics.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_RsJambWnXfM/R7RG0EfqnDI/AAAAAAAAACU/0-CMSfUQbRM/s320/pcb_wizard_schematics.JPG" alt="" id="BLOGGER_PHOTO_ID_5166832532874501170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;then select the option convert&lt;br /&gt;“&lt;span style="font-weight: bold;"&gt;Design to Printed circuit board&lt;/span&gt;”&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_RsJambWnXfM/R7RGzkfqnBI/AAAAAAAAACE/lIgp19V721E/s1600-h/pcb_wizard_menu.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_RsJambWnXfM/R7RGzkfqnBI/AAAAAAAAACE/lIgp19V721E/s320/pcb_wizard_menu.JPG" alt="" id="BLOGGER_PHOTO_ID_5166832524284566546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The software makes the PCB for you .This is done by&lt;span style="font-weight: bold;"&gt; auto routing&lt;/span&gt; .They even provide  manual design mode for advanced users.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RsJambWnXfM/R7RGzEfqm_I/AAAAAAAAAB0/jY2fPjkUNDQ/s1600-h/pcb_wizard_auto_routing.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_RsJambWnXfM/R7RGzEfqm_I/AAAAAAAAAB0/jY2fPjkUNDQ/s320/pcb_wizard_auto_routing.JPG" alt="" id="BLOGGER_PHOTO_ID_5166832515694631922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Autorouting in action watch the video .&lt;br /&gt;&lt;br /&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ZEQt7uXLOfY&amp;amp;rel=1"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/ZEQt7uXLOfY&amp;amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;No more you have to be a master knowing each and every spec of the &lt;span style="font-weight: bold;"&gt;electronic components&lt;/span&gt; the pins diameter the size of drill bit .Nothing nothing this software does it for you.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RsJambWnXfM/R7RGzUfqnAI/AAAAAAAAAB8/33aGHTqOGNg/s1600-h/pcb_wizard_component_gallery.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_RsJambWnXfM/R7RGzUfqnAI/AAAAAAAAAB8/33aGHTqOGNg/s320/pcb_wizard_component_gallery.JPG" alt="" id="BLOGGER_PHOTO_ID_5166832519989599234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;COMPONENT LIBRARY&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;But there are a few draw backs as well .When you choose the automatic conversion option It lets you down on the aesthetics part .But I don’t mind as far as it is done at the hobby level and if I can design PCB so easily why care about aesthetics.&lt;br /&gt;And the component library is also not adequate .Especially L298 is missing .It also lacks SMD library.&lt;br /&gt;&lt;br /&gt;They even have&lt;span style="font-weight: bold;"&gt; tutorials about etching PCB‘s&lt;/span&gt; .And more importantly they &lt;span style="font-weight: bold;"&gt;don’t have restriction on the size of the PCB.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Download it from &lt;a href="http://www.new-wave-concepts.com/downloads.html"&gt;here &lt;/a&gt;&lt;br /&gt;If you are looking for Ebooks about designing here is the link .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;a href="http://www.cristianisrl.it/PDF/Guide%20Pratiche/PWtutor1.pdf"&gt;Ebook-Tutorial-1&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cristianisrl.it/PDF/Guide%20Pratiche/PWtutor2.pdf"&gt;Ebook-Tutorial-2&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cristianisrl.it/PDF/Guide%20Pratiche/PWtutor3.pdf"&gt;Ebook-Tutorial-3&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cristianisrl.it/PDF/Guide%20Pratiche/PWtutor1.pdf"&gt;Ebook-Tutorial-4&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Final designed PCB&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_RsJambWnXfM/R7RGz0fqnCI/AAAAAAAAACM/xV5ag6P7luE/s1600-h/pcb_wizard_PCB_LAYOUT.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_RsJambWnXfM/R7RGz0fqnCI/AAAAAAAAACM/xV5ag6P7luE/s320/pcb_wizard_PCB_LAYOUT.JPG" alt="" id="BLOGGER_PHOTO_ID_5166832528579533858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;You can select different view modes like prototype,solderside layout ,component side layout and silk screen layout .If you want to design a PCB to replace all your annoying soldered circuits boards which gives you head ache "&lt;a href="http://www.new-wave-concepts.com/downloads.html"&gt;PCB WIZARD&lt;/a&gt; " is the software for you .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5631245411053063104?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5631245411053063104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5631245411053063104' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5631245411053063104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5631245411053063104'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/easy-pcb-designing-tutorial-video-pcb.html' title='PCB designing Video Tutorial and Ebooks'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_RsJambWnXfM/R7RG0EfqnDI/AAAAAAAAACU/0-CMSfUQbRM/s72-c/pcb_wizard_schematics.JPG' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5301937553575545791</id><published>2008-02-13T20:03:00.001+05:30</published><updated>2008-02-18T22:37:21.772+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger tweak'/><category scheme='http://www.blogger.com/atom/ns#' term='web designing'/><title type='text'>How to remove the blogger bar on the top ?</title><content type='html'>&lt;span style="font-weight: bold;"&gt;REMOVE BLOGGER BAR ON THE TOP &lt;/span&gt;&lt;br /&gt;I personally  don't like the blogger bar at the top of blogger templates .Its good as well as bad .Its good because it provides a search box to search my blog .And bad because it gives an option to flag my blog for objectionable content which I guess you wont like if you blog about some "objectionable content" ;) .But Moreover who needs their search bar when you  get cool google search box to search your site .&lt;br /&gt;  &lt;br /&gt;         So how do you remove it ? .Heres a small piece of CSS code which will do the job .Go to&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Layout&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Edit HTML&lt;/span&gt;&lt;br /&gt;Before doing any changes always copy the html code and save it in a text file in your PC .So that&lt;br /&gt;if you mess up something you can always copy paste the code and get back your original template .Or you can download the templete in XML format as a backup .&lt;br /&gt;Paste the following code inside the head tag inbetween the outer-wrapper and header-wrapper definitions&lt;br /&gt;&lt;br /&gt;#b-navbar&lt;br /&gt;{&lt;br /&gt;height: 0px;&lt;br /&gt;visibility: hidden;&lt;br /&gt;display: none;}&lt;br /&gt;&lt;br /&gt;#navbar-iframe&lt;br /&gt;{&lt;br /&gt;height: 0px;&lt;br /&gt;visibility: hidden;&lt;br /&gt;display: none;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;&gt;&lt;br /&gt;&lt;br /&gt;#outer-wrapper {&lt;br /&gt;  font: $bodyFont;&lt;br /&gt;}&lt;br /&gt;/* Header&lt;br /&gt;----------------------------------------------- */&lt;br /&gt;copy paste the above code exactly here&lt;br /&gt;here goes the code&lt;br /&gt;#b-navbar&lt;br /&gt;{&lt;br /&gt;height: 0px;&lt;br /&gt;visibility: hidden;&lt;br /&gt;display: none;}&lt;br /&gt;&lt;br /&gt;#navbar-iframe&lt;br /&gt;{&lt;br /&gt;height: 0px;&lt;br /&gt;visibility: hidden;&lt;br /&gt;display: none;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#header-wrapper {&lt;br /&gt;  margin:0;&lt;br /&gt;  padding: 0;&lt;br /&gt;&lt;br /&gt;&lt; / head&gt;&lt;br /&gt;Preview to see if the bar has disappeared and then save the template and view your blog the blogger bar must have disappeared  .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5301937553575545791?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5301937553575545791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5301937553575545791' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5301937553575545791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5301937553575545791'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/remove-blogger-top-bar-blogger-hack.html' title='How to remove the blogger bar on the top ?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-8785541890804915971</id><published>2008-02-05T19:17:00.002+05:30</published><updated>2008-12-09T02:29:14.644+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='robot mech design'/><category scheme='http://www.blogger.com/atom/ns#' term='fabrication tutorials'/><title type='text'>How to couple a robot's wheel with motor ?</title><content type='html'>&lt;b style=""&gt;COUPLING MOTORS AND WHEELS &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;When you have motors and wheels the question arises how do I couple them ?.As far as I've experienced they never fit together .So you have to make a coupler to couple both so that it can be removed and used later in any other robot and for easy dismantling .I've written the steps for fabricating it elaborately .You can use either ms(Mild steel ) or Brass for fabricating it .&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;b style=""&gt;STEPS OF FABRICATION &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;&lt;o:p&gt; &lt;/o:p&gt;First measure the diameter of the motor shaft.&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;Then measure the internal diameter of the axis the      wheel.&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;If both match then you can fix it directly.&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;Otherwise choose a rod that is at least 4 mm greater in diameter than the motor shaft.(so that you can use a miimum size of 2mm screw to secure it)&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;Step turn one side of the rod slightly larger than      the internal diameter of the axis of wheel to give a tight fit.&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;Then on the other side drill a hole with a drill bit that is little larger than diameter of the motor shaft in the rod along its axis .This side is given a loose fit since motor can be reused .(Note this is a drill to insert the motor)&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;Drill until a depth that is little shorter than the height      of the motor shaft.&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;Then grind the motor shaft with grinding machine to make a flat surface along the axis if your motors shaft is cylindrical. Some motors shaft will be like half cylindrical .This step is not needed if the motor is of this type.&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;Then drill a hole perpendicular to the axis of the coupling shaft matching the place where you ground the motors shaft, then tap the hole to form thread and use a bolt to tightly secure the coupling shaft with motor. &lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;Before doing the above step don’t forget to fix the      wheel.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RsJambWnXfM/R6hqWTUulDI/AAAAAAAAABg/o1fxAJXJN-k/s1600-h/robot_wheel_coupler.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_RsJambWnXfM/R6hqWTUulDI/AAAAAAAAABg/o1fxAJXJN-k/s320/robot_wheel_coupler.JPG" alt="" id="BLOGGER_PHOTO_ID_5163493904157152306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Wheels fitted to the motors with the coupler .&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RsJambWnXfM/R6hx5TUulEI/AAAAAAAAABs/KM3NrF6VlAg/s1600-h/robot_wheel_coupler_fit.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_RsJambWnXfM/R6hx5TUulEI/AAAAAAAAABs/KM3NrF6VlAg/s320/robot_wheel_coupler_fit.JPG" alt="" id="BLOGGER_PHOTO_ID_5163502202033968194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-8785541890804915971?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/8785541890804915971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=8785541890804915971' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8785541890804915971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8785541890804915971'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/robotics-wheel-coupler-mechanical.html' title='How to couple a robot&apos;s wheel with motor ?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_RsJambWnXfM/R6hqWTUulDI/AAAAAAAAABg/o1fxAJXJN-k/s72-c/robot_wheel_coupler.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-8045651963717643379</id><published>2008-02-05T18:45:00.001+05:30</published><updated>2008-02-20T08:47:12.580+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='robot mech design'/><title type='text'>MOTORS AND SPEED CALCULATION</title><content type='html'>&lt;span style="font-weight: bold;"&gt;MOTORS AND SPEED CALCULATION&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When you start designing wheeled robots start from the motors .&lt;br /&gt;Decide the type of motor you are going to use .&lt;br /&gt;&lt;br /&gt;According to gear arrangement DC motors can be broadly classified into&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. Motors with Internal gear's&lt;br /&gt;2. Notors with External gear's&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;For beginners I would recommend using motors with internal gear box motor ,since they are easy to use(they eliminate the whole process of designing and fabricating the  gear box ) .Internal gear box  are available from a range of anywhere between 5 to 5000 RPM .And their speed can be varied either by&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1.Varying the supply voltage or&lt;br /&gt;2.Pulse width modulation (PWM )&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After you choose the motor you can calculate the speed of the robot to get a rough idea about how fast your robot will go .(Never forget to do this while designing a robot ,otherwise you will end with a robot that is either too slow or too fast) .&lt;br /&gt;The speed calculation doesn't involve big mathematical formulas .&lt;br /&gt;Measure the diameter of the wheel (in meters) that you are going to use .Then multiply it with PI(pi = 3.14159265) .This gives you the circumference of the wheel .So you get a rough idea about how far the robot moves on one rotation of the wheel .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Circumference = Diameter   X    PI&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Most cheap motors availabe never work to the specifics .The best way to find the RPM is trial and error .Apply the required voltage(remember to connect the wheel before applying the voltage)  and start a stop watch for (say) 10 seconds and see how many time it rotates and then multiply it with 6 .This gives u the approx speed of your motor in RPM .And also mark a position on the wheel to make it easier to track it visually .&lt;br /&gt;After getting the RPM of your motor multiply it with the circumference of your wheel .This gives u the approx speed of your robot in meters per minute.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Speed of your robot = RPM of motor x Circumference of your wheel (meters/min)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-8045651963717643379?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/8045651963717643379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=8045651963717643379' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8045651963717643379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/8045651963717643379'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/dc-motor-gear-box-speed-rpm-calculation.html' title='MOTORS AND SPEED CALCULATION'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-3325205318851781215</id><published>2008-02-03T14:03:00.001+05:30</published><updated>2008-12-09T02:29:14.793+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='my robos'/><title type='text'>My Final Year Project</title><content type='html'>Hi Everyone very long time since I blogged ...&lt;br /&gt;I guess I will blog regularly in blogger .&lt;br /&gt;&lt;br /&gt;From now on I will post about my final year project .Which I am doing in CVRDE .Its a R &amp;amp; D center for Ministry of defence India .&lt;br /&gt;&lt;br /&gt;My project title is&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;"AUTONOMOUS  NAVIGATION OF A SURVEILLANCE ROBOT IN STRUCTURED ENVIRONMENT AND TELEOPERATION THROUGH INTERNET"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I am planning to build a &lt;span style="font-weight: bold;"&gt;tracked robot&lt;/span&gt; (&lt;a href="http://roboticsforyou.blogspot.com/2007/01/tracked-robot-fabrication-techniques.html"&gt;click here for my tracked robot tutorial&lt;/a&gt;)which has basically two modes of operation .&lt;br /&gt;&lt;br /&gt;a.Manual teleoperated mode through the internet .&lt;br /&gt;b.Autonomous mapping mode .&lt;br /&gt;&lt;br /&gt;Here is the basic block diagram of how the robot operates .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RsJambWnXfM/R6WnuzUulCI/AAAAAAAAABU/PXT5NSPI3Nw/s1600-h/block_diagram.JPG"&gt;&lt;br /&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_RsJambWnXfM/R6WnuzUulCI/AAAAAAAAABU/PXT5NSPI3Nw/s320/block_diagram.JPG" alt="" id="BLOGGER_PHOTO_ID_5162716970343109666" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SCOPE OF WORK &lt;/span&gt;&lt;br /&gt;Design and fabrication of tracked robot .&lt;br /&gt;Setting up wireless communication between the remote computer and the robot&lt;br /&gt;Dynamic mapping of the given area.&lt;br /&gt;Obstacle avoidance using triangulation principle.&lt;br /&gt;Setting up of the image acquisition device to relay back the images to the remote location.&lt;br /&gt;&lt;br /&gt;This is what I am trying to accomplish .Hope I finish it with in time .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-3325205318851781215?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/3325205318851781215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=3325205318851781215' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/3325205318851781215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/3325205318851781215'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/my-final-year-project.html' title='My Final Year Project'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_RsJambWnXfM/R6WnuzUulCI/AAAAAAAAABU/PXT5NSPI3Nw/s72-c/block_diagram.JPG' height='72' width='72'/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-2752499723798968487</id><published>2008-02-03T13:52:00.001+05:30</published><updated>2008-02-18T22:43:43.525+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='my robos'/><title type='text'>Starting off for SHAASTRA 2007</title><content type='html'>Its pretty interesting that I overcame my laziness for another post here .I promised to myself that I will post regularly (&lt;a href="http://buildrobots.blogspot.com/2007/07/final-year-project-robot-for-defence.html"&gt;see my previous post&lt;/a&gt;) .I was also inspired my Ganesh my friend and also  my  school mate who has renewed his old blog (&lt;a href="http://ganeshsriram.wordpress.com/"&gt;meet him here&lt;/a&gt;) to give it a new look .And I also grew a little jealous by the fact that he was getting about 30 hits a day :D .Inspired by all these factors I am back here again .&lt;br /&gt;&lt;br /&gt;I am starting off for &lt;a href="http://shaastra.org/"&gt;shaastra 2007 .&lt;/a&gt; I am planning to compete in all the three robotics event .&lt;br /&gt;This time I am pairing up with Prassana my class mate and his cousin and his friend Siddarth for the mission mars event.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Mission Mars &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;We are planning to start building the robot for &lt;a href="http://www.shaastra.org/n/events/Mission+Mars"&gt;mission ma&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=6459867256721933230&amp;amp;postID=1311773292997470802#" onclick="togglePostOptions(); return false"&gt;Post Options&lt;/a&gt;&lt;a href="http://www.shaastra.org/n/events/Mission+Mars"&gt;rs&lt;/a&gt; event .The task of the robot is to autonomously navigate a surface similar to mars .We had long discussions regarding the design of the robot .&lt;br /&gt;Finally we made the following conclusions about the design&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1.Track drive for the robot .&lt;/span&gt;&lt;br /&gt;Since this the best available simple method to navigate a rugged terrain and also we have the belts ,sprockets and boggie wheels for construction which they used for their staircase climber in shaastra 2006.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2.Distance measurement sensors &lt;/span&gt;&lt;br /&gt;We planned to implement a real time distance measurement and comparison algorithm to navigate the terrain .&lt;a href="http://www.acroname.com/robotics/info/articles/sharp/sharp.html"&gt;Sharp IR sensors&lt;/a&gt; seemed to be a good choice .But calibrating them is&lt;br /&gt;surely gonna be a challenge .As the ADC pin give a o/p ranging from - 0.3 to 0.3 volts .I have&lt;br /&gt;to Google and learn a lot to do that .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3.Image processing&lt;br /&gt;&lt;/span&gt;Since Siddarth had previously worked in Image Processing .We have also planned to implement&lt;br /&gt;this with image processing method with a TMS32054x Processor .But I guess the problem here lies with connecting the camera to the chip .We have to figure out a way to do that .&lt;br /&gt;&lt;br /&gt;Because I have CAT this week .Oh well please don't think CAT that I have mentioned as the &lt;span style="font-weight: bold;"&gt;common aptitude test&lt;/span&gt; for Gods sake ,I am not a MBA freak.This CAT is called as &lt;span style="font-weight: bold;"&gt;Continuous &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Assessment Test &lt;/span&gt;the great method my college uses to find out how a student&lt;br /&gt;is performing and award him marks accordingly which is accompanied with partiality and grudge . Well I guess I am deviating off topic .Getting back ......I wont be working on it until Saturday .&lt;br /&gt;&lt;br /&gt;wish me good luck .I want to win this event .&lt;br /&gt;&lt;br /&gt;Some things that I want to remind myself to do it this week&lt;br /&gt;Finish &lt;a href="http://eeemaniacs.110mb.com/"&gt;eeemaniacs&lt;/a&gt; .(The site that I am building for my class mates.)&lt;br /&gt;Get the &lt;span style="font-weight: bold;"&gt;3.2 CC engine&lt;/span&gt; running .For the &lt;span style="font-weight: bold;"&gt;hovercraft&lt;/span&gt; event.&lt;br /&gt;And study something for &lt;span style="font-weight: bold;"&gt;CAT exams .&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-2752499723798968487?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/2752499723798968487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=2752499723798968487' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2752499723798968487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2752499723798968487'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/starting-off-for-shaastra-2007.html' title='Starting off for SHAASTRA 2007'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-2236938123398784471</id><published>2007-11-07T07:08:00.002+05:30</published><updated>2008-02-03T15:54:54.436+05:30</updated><title type='text'>PODWORKS Beach house party at Tidel Park .</title><content type='html'>Hi people &lt;br /&gt;Pod works was held in Tidel park on June 9 th and 10 th .On saturday night they arranged for &lt;br /&gt;a beach house party .This was made by me and this is about the beach house party .&lt;br /&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/EA0SDaIQ8Fw&amp;rel=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/EA0SDaIQ8Fw&amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Watch and enjoy .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-2236938123398784471?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/2236938123398784471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=2236938123398784471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2236938123398784471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/2236938123398784471'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2007/11/podworks-beach-house-party-at-tidel.html' title='PODWORKS Beach house party at Tidel Park .'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-5704876947619126052</id><published>2007-05-02T09:24:00.001+05:30</published><updated>2008-02-18T22:44:25.495+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='robot mech design'/><category scheme='http://www.blogger.com/atom/ns#' term='my robos'/><title type='text'>Robocon Pick N Place Robot !</title><content type='html'>This is the video of the pick and place robot that me and my team mate madan made for&lt;br /&gt;ROBOCON 2007 .I am the one controlling it and madan is the one shouting from behind :P .&lt;br /&gt;&lt;br /&gt;Watch this video in the testing phase&lt;br /&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Bo6nDhjxXlA&amp;amp;rel=1"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/Bo6nDhjxXlA&amp;amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is our robot in action in ROBOCON .It looks drunken and slow because we forgot to recharge the battery ...shit we lost the match ......&lt;br /&gt;&lt;br /&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/JCvmB-VBfEI&amp;amp;rel=1"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/JCvmB-VBfEI&amp;amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;WORKING&lt;/strong&gt;&lt;br /&gt;Here is the picture of the pick and place mechanism that I came up with .&lt;br /&gt;The working is pretty straight forward. It has a moving and a fixed arm .&lt;br /&gt;I use the nut bolt arrangement to close and open the arm .And it has a center spring&lt;br /&gt;which provides the force to automatically open the arm .And I used a motor fixed&lt;br /&gt;with a pipe in the shaft to rotate the nut .&lt;br /&gt;Heres the diagram of it .&lt;br /&gt;&lt;a href="http://arunvijay.files.wordpress.com/2007/05/robo-arm.jpg" title="ROBO ARM"&gt;&lt;img src="http://arunvijay.files.wordpress.com/2007/05/robo-arm.jpg" alt="ROBO ARM" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-5704876947619126052?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/5704876947619126052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=5704876947619126052' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5704876947619126052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/5704876947619126052'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2007/05/this-is-video-of-pick-and-place-robot.html' title='Robocon Pick N Place Robot !'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-1838719080419841536</id><published>2007-01-19T12:10:00.001+05:30</published><updated>2008-02-20T08:49:43.083+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='robot mech design'/><category scheme='http://www.blogger.com/atom/ns#' term='how to tutorial&apos;s ?'/><title type='text'>How to build a tracked robot ?</title><content type='html'>If there is a design that combines speed ,power ,maneuverability,control thats track drive.You   must have seen this design in a battle tank ,bull dozer and lots of off road vehicles .&lt;br /&gt;&lt;strong&gt;Click on this picture to enlarge&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://arunvijay.wordpress.com/files/2007/01/tank2.JPG" title="tank2.JPG"&gt;&lt;img src="http://arunvijay.wordpress.com/files/2007/01/tank2.thumbnail.JPG" alt="tank2.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;Basically this kind of drive can be imagined as a vehicle that lays a track for itself as it moves.&lt;br /&gt;And don't get tensed we are not going to build anything this complicated.&lt;br /&gt;&lt;strong&gt;PRESSURE STUFF&lt;/strong&gt;&lt;br /&gt;So what this basically does is spreads out the weight evenly,as a result more traxion.Consider this example For instance, the ground pressure of a car which may weigh a tonne is equal to the pressure of the air in the tires, perhaps 30 psi (207 kPa), whereas the seventy-tonne M1 Abrams tank has a ground pressure of just over 15 psi (103 kPa).(amazing isn't it ).So as the ground pressure is less the vehicle rarely gets stuck when it goes off road .Well how are we going to build a robot like this ......Lets see.&lt;br /&gt;&lt;strong&gt;LETS BUILD&lt;/strong&gt;&lt;br /&gt;First consider the size of your robot and choose a rubber belt according to the size of your robot.The belts come in varying shapes and sizes.Small like this one&lt;br /&gt;&lt;a href="http://arunvijay.wordpress.com/files/2007/01/small-track.JPG" title="small-track.JPG"&gt;&lt;img src="http://arunvijay.wordpress.com/files/2007/01/small-track.JPG" alt="small-track.JPG" /&gt;&lt;/a&gt;   &lt;br /&gt;&lt;br /&gt;If you want to make a bigger bot you can go for industrial belts with custom made sprockets and boogie wheels .I know a place in Chennai where you get those belts .I'll put the address in a few days.This is the industrial belt available.&lt;br /&gt;&lt;a href="http://arunvijay.wordpress.com/files/2007/01/track.JPG" title="track.JPG"&gt;&lt;img src="http://arunvijay.wordpress.com/files/2007/01/track.JPG" alt="track.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;MACHINING SPROCKETS AND BOGIE WHEELS&lt;br /&gt;Sprockets can be machined from poly carbonate rods available commercially .And the machining process is normal like machining a metal and the same tools can be used .&lt;br /&gt;&lt;strong&gt;BUILDING THE CHASSIS&lt;/strong&gt;&lt;br /&gt;The chassis can be built by conventional methods by using a plywood ,sheet metal or u can build your own chassis by welding metal pipes or flat rods.&lt;br /&gt;STEERING&lt;br /&gt;The tank uses a differential steering mechanism.&lt;br /&gt;These are the pictures of bots which have used the same materials that I mentioned .Take a look at it.&lt;br /&gt;&lt;img src="http://images.google.co.in/images?q=tbn:3PvwxPRbVwiMbM:http://www.hobbymasters.com/ProductImages/science/robots/tamx0108.jpg" alt="" /&gt;&lt;br /&gt;&lt;img src="http://images.google.co.in/images?q=tbn:gfj69Fh46WHJFM:http://www.robots-dreams.com/Image01292_small.jpg" alt="" /&gt;&lt;br /&gt;The first one had used a plywood base and second one a sheet metal..&lt;br /&gt;So start building good luck:) !!!!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-1838719080419841536?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/1838719080419841536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=1838719080419841536' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1838719080419841536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/1838719080419841536'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2007/01/tracked-robot-fabrication-techniques.html' title='How to build a tracked robot ?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-4585538534391711923</id><published>2007-01-03T08:15:00.001+05:30</published><updated>2008-02-18T22:40:13.946+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='robot mech design'/><category scheme='http://www.blogger.com/atom/ns#' term='how to tutorial&apos;s ?'/><category scheme='http://www.blogger.com/atom/ns#' term='robotics circuits'/><title type='text'>How to build a sumo robot ?</title><content type='html'>&lt;span style="font-weight: bold;"&gt;How to build a sumo robot ?&lt;/span&gt;&lt;br /&gt;Sumo wrestling is an interesting and thrilling event and it has a history and tradition behind it.Basically it may be held as an autonomous or wireless controlled event.So lets see the basics of building a SUMO robot.&lt;br /&gt;&lt;strong&gt;CHOOSING A MOTOR&lt;/strong&gt;&lt;br /&gt;First deceide the motor you are going to use.Speed is inversely proportional to torque.So go for a slow speed motor that gives good torque.And then start building the chassis click here ---&amp;gt; &lt;a href="http://www.robotroom.com/SumoRules.html"&gt;&amp;gt; for more mechanical designs and ideas.&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;STEERING MECHANISM&lt;/strong&gt;&lt;br /&gt;Then build your chassis .And deceide the steering mechanism that you are going to use.Always go for differential steering than ackerman steering mechanism.Differential steering provides more manuverablity and easy control which is crucial.Incase you dont know what differential steering mechanism is I will explain you with the following diagram .&lt;br /&gt;&lt;br /&gt;&lt;img src="http://arunvijay.wordpress.com/files/2007/01/robo1.thumbnail.JPG" alt="robo1.JPG" height="172" width="251" /&gt;&lt;br /&gt;&lt;br /&gt;I'll explain you the steering mechanism&lt;br /&gt;&lt;br /&gt;Both motors forward bot moves forward .                                                                                     If left motor is switched off or reversed bot and right motor is forwarded  turns towards left ..and the other way for the right turn.This is very basic and most people know it.&lt;br /&gt;&lt;strong&gt;INTERFACING RADIO CONTROL&lt;/strong&gt;&lt;br /&gt;Then you have to choose a radio control kit.it is always better to have two kits to avoid frequency interference.You can use RC kits stripped from old cars .Then you will have to use the signal from the receiver  and drive your motors.If your are using big motors do not use the receicer to drive the motor directly .you might fry it.So you have to make a driver to drive the motor.A H bridge is usually used to drive the motor, relays can also be used.If you use relays you need not worry about voltage and current ratings of motor.&lt;br /&gt;&lt;strong&gt;VERY VERSATILE H BRIDGE&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://arunvijay.wordpress.com/files/2007/01/hbridge.GIF"&gt;&lt;br /&gt;&lt;img src="http://arunvijay.wordpress.com/files/2007/01/hbridge.GIF" alt="h bridge.GIF" height="470" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;Click on the image to see clearly .&lt;br /&gt;&lt;br /&gt;This is a very versatile H bridge circuit.And D88O is a power transistor having a max current range of 3 A and voltage range more than 50 v and more amazing is is that it costs only 4 rupees  in my backyard.So what happens is when D1 and D3 are switched on motor runs in forward direction and when D2 and D0 is switched on motor reverses its direction.&lt;br /&gt;&lt;strong&gt;TIP&lt;/strong&gt;&lt;br /&gt;If you look at the RC kit you will find 4 controls forward ,reverse,left and right.So the easiest way to drive the robot is use the forward and reverse channel to control one and left and right to control another.Of course can make better controls by decoding the output but this is the easy way.&lt;br /&gt;&lt;strong&gt;LOOKS CRAPPY BUT DAMN EASY!!!!&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://arunvijay.wordpress.com/files/2007/01/relay2.JPG"&gt;&lt;br /&gt;&lt;img src="http://arunvijay.wordpress.com/files/2007/01/relay2.JPG" alt="H bridge using relay.JPG" height="272" width="351" /&gt;&lt;/a&gt;&lt;br /&gt;click on the image to see clearly .&lt;br /&gt;&lt;strong&gt;RELAY BASIC IDEA&lt;/strong&gt;&lt;br /&gt;This is the circuit to drive the motors using relays.A  relay  has 5 pins 2 for the energising coil and 3 for contacts .There is one movable contact and two fixed contacts .And the movable contact is in contact with a default pin when the relay is not switched on .For more tutorials on how relay works&lt;a href="http://electronics.howstuffworks.com/framed.htm?parent=relay.htm&amp;amp;url=http://www.saburchill.com/tech/electronics/elect027.html"&gt;&amp;gt; click here .&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;HOW THE ABOVE CIRCUIT WORKS&lt;/strong&gt;&lt;br /&gt;So here when when one transistor is switched on the movable contact moves and comes in contact with the +ve supply and since the other end is grounded the motor runs in one direction .And the viceversa happens when the direction is reversed .(Those protection diode is not needed this transistor can withstand much abuse)&lt;br /&gt;&lt;strong&gt;AND AT LAST PS &lt;/strong&gt;&lt;br /&gt;PS:THIS CIRCUIT MAY LOOK COMPLICATED BUT ITS VERY EASY I'VE USED THIS CIRCUIT A LOT OF TIMES .YOU CAN USE 12 V OR 6 V SUPPLY.AND YOU CAN EVEN USE A 6 V RELAY IN CASE YOU ARE USING 12 V SUPPLY(its so versatile), AND  NOTHING HAPPENS  WHEN 6 V RELAY IS CONNECTED TO 12 V SUPPLY (thanks to back emf)...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-4585538534391711923?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/4585538534391711923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=4585538534391711923' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4585538534391711923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/4585538534391711923'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2008/02/sumo-robot-wireless-circuit-building.html' title='How to build a sumo robot ?'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-195353811479068582</id><published>2006-12-02T07:28:00.001+05:30</published><updated>2008-02-20T08:50:36.159+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='my robos'/><title type='text'>My staircase climbing robot @ Shaastra 2006</title><content type='html'>This is my  staircase climber that I made for shaastra 2006 which did decently well in the contest .It clocked about one and a half minute in the contest.The cool thing my robot is it's extreme simplicity and it was finished in a night ,and only half of the designed mechanism climbed the stairs .I started constructing it only on 5 th october 2 pm(and competition was on 6 th Oct11 am ) as I was concentrating in gold rush (which messed up in  last minute).&lt;br /&gt;&lt;br /&gt;Watch  my bot climbing&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/w_rHM1Ndj10&amp;rel=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/w_rHM1Ndj10&amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;This  is a very well designed bot built by Anand mugilkar from Mumbai .Their bot used servo motors 3 kg.This is just a 10 second video.&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/wEwvKGa3jt8&amp;rel=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/wEwvKGa3jt8&amp;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-195353811479068582?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/195353811479068582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=195353811479068582' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/195353811479068582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/195353811479068582'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2007/12/this-is-my-staircase-climber-that-i.html' title='My staircase climbing robot @ Shaastra 2006'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8583855244151207183.post-7820308528134463069</id><published>2006-01-06T19:47:00.000+05:30</published><updated>2008-02-06T20:34:06.920+05:30</updated><title type='text'>Contact me</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Contact me at &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;arunvijaykg [at] gmail  [.com]&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8583855244151207183-7820308528134463069?l=roboticsforyou.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roboticsforyou.blogspot.com/feeds/7820308528134463069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8583855244151207183&amp;postID=7820308528134463069' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7820308528134463069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8583855244151207183/posts/default/7820308528134463069'/><link rel='alternate' type='text/html' href='http://roboticsforyou.blogspot.com/2007/02/contact-me.html' title='Contact me'/><author><name>Arun Vijay</name><uri>http://www.blogger.com/profile/14784644590935708276</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry></feed>
