<?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-163221867999714415</id><updated>2011-12-14T12:14:45.304-08:00</updated><title type='text'>my first bot</title><subtitle type='html'>hi,welcome to this blog.i have created this blog to post all the doubts i have regarding the making of my first robot.this may be a bit weird but i hope this blog will also help all the others ppl having doubts regarding their bot.
pls...if u think u have the solution post it!!

regards,
Siddharth</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myfirstbot.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/163221867999714415/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://myfirstbot.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>sid</name><uri>http://www.blogger.com/profile/03128108830704239053</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>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-163221867999714415.post-4945034395592159630</id><published>2008-08-01T11:15:00.000-07:00</published><updated>2008-12-10T17:44:44.768-08:00</updated><title type='text'>PIC18F4550 USB with ICSP and l298 driver</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_een4QiFVyl4/SJQgWaldFMI/AAAAAAAAAw4/1Sc8iprVeVc/s1600-h/pic18.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_een4QiFVyl4/SJQgWaldFMI/AAAAAAAAAw4/1Sc8iprVeVc/s400/pic18.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5229840636749616322" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;i have included the USB interface and the ICSP connector to the board.the board isn't that clear but the connections are all ok.&lt;br /&gt;what do you ppl think about the board??&lt;br /&gt;feedback is strongly encouraged;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/163221867999714415-4945034395592159630?l=myfirstbot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myfirstbot.blogspot.com/feeds/4945034395592159630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=163221867999714415&amp;postID=4945034395592159630' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/163221867999714415/posts/default/4945034395592159630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/163221867999714415/posts/default/4945034395592159630'/><link rel='alternate' type='text/html' href='http://myfirstbot.blogspot.com/2008/08/pic18f4550-usb-with-icsp-and-l298.html' title='PIC18F4550 USB with ICSP and l298 driver'/><author><name>sid</name><uri>http://www.blogger.com/profile/03128108830704239053</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/_een4QiFVyl4/SJQgWaldFMI/AAAAAAAAAw4/1Sc8iprVeVc/s72-c/pic18.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-163221867999714415.post-5961640772357375188</id><published>2008-07-13T11:41:00.000-07:00</published><updated>2008-12-10T17:44:45.143-08:00</updated><title type='text'>pic18f4550 schematic - my first board:-)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_een4QiFVyl4/SHp-hRS0-ZI/AAAAAAAAAwg/D5g6_4BGSkg/s1600-h/board1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_een4QiFVyl4/SHp-hRS0-ZI/AAAAAAAAAwg/D5g6_4BGSkg/s400/board1.jpg" alt="" id="BLOGGER_PHOTO_ID_5222625827932666258" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;please suggest what all improvements can be made&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_een4QiFVyl4/SHp-qMD8GSI/AAAAAAAAAwo/dyOIfhEjAtY/s1600-h/l293d.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_een4QiFVyl4/SHp-qMD8GSI/AAAAAAAAAwo/dyOIfhEjAtY/s400/l293d.jpg" alt="" id="BLOGGER_PHOTO_ID_5222625981146863906" 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/163221867999714415-5961640772357375188?l=myfirstbot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myfirstbot.blogspot.com/feeds/5961640772357375188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=163221867999714415&amp;postID=5961640772357375188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/163221867999714415/posts/default/5961640772357375188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/163221867999714415/posts/default/5961640772357375188'/><link rel='alternate' type='text/html' href='http://myfirstbot.blogspot.com/2008/07/my-first-board.html' title='pic18f4550 schematic - my first board:-)'/><author><name>sid</name><uri>http://www.blogger.com/profile/03128108830704239053</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/_een4QiFVyl4/SHp-hRS0-ZI/AAAAAAAAAwg/D5g6_4BGSkg/s72-c/board1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-163221867999714415.post-5856393087099102324</id><published>2008-07-13T11:20:00.000-07:00</published><updated>2008-12-10T17:44:46.490-08:00</updated><title type='text'>line follower using PIC18f4550</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5222567016699923730" style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s400/line.jpg" border="0" /&gt;&lt;!--t"--&gt; &lt;meta content="Microsoft Word 12" name="Originator"&gt;&lt;link href="file:///C:%5CUsers%5CMOLLET%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"&gt;&lt;link href="file:///C:%5CUsers%5CMOLLET%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_editdata.mso" rel="Edit-Time-Data"&gt;&lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt;&lt;link href="file:///C:%5CUsers%5CMOLLET%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"&gt;&lt;link href="file:///C:%5CUsers%5CMOLLET%7E1%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Cambria; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073741899 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} h2 	{mso-style-priority:9; 	mso-style-qformat:yes; 	mso-style-link:"Heading 2 Char"; 	mso-style-next:Normal; 	margin-top:10.0pt; 	margin-right:0cm; 	margin-bottom:0cm; 	margin-left:0cm; 	margin-bottom:.0001pt; 	line-height:115%; 	mso-pagination:widow-orphan lines-together; 	page-break-after:avoid; 	mso-outline-level:2; 	font-size:13.0pt; 	font-family:"Cambria","serif"; 	mso-ascii-font-family:Cambria; 	mso-ascii-theme-font:major-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:major-fareast; 	mso-hansi-font-family:Cambria; 	mso-hansi-theme-font:major-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:major-bidi; 	color:#4F81BD; 	mso-themecolor:accent1;} p.MsoCaption, li.MsoCaption, div.MsoCaption 	{mso-style-priority:35; 	mso-style-qformat:yes; 	mso-style-next:Normal; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:0cm; 	mso-pagination:widow-orphan; 	font-size:9.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	color:#4F81BD; 	mso-themecolor:accent1; 	font-weight:bold;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:36.0pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:0cm; 	margin-left:36.0pt; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:0cm; 	margin-left:36.0pt; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:36.0pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} span.Heading2Char 	{mso-style-name:"Heading 2 Char"; 	mso-style-priority:9; 	mso-style-unhide:no; 	mso-style-locked:yes; 	mso-style-link:"Heading 2"; 	mso-ansi-font-size:13.0pt; 	mso-bidi-font-size:13.0pt; 	font-family:"Cambria","serif"; 	mso-ascii-font-family:Cambria; 	mso-ascii-theme-font:major-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:major-fareast; 	mso-hansi-font-family:Cambria; 	mso-hansi-theme-font:major-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:major-bidi; 	color:#4F81BD; 	mso-themecolor:accent1; 	font-weight:bold;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:595.3pt 841.9pt; 	margin:72.0pt 72.0pt 72.0pt 72.0pt; 	mso-header-margin:35.4pt; 	mso-footer-margin:35.4pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:261885285; 	mso-list-type:hybrid; 	mso-list-template-ids:281475398 1074331659 1074331651 1074331653 1074331649 1074331651 1074331653 1074331649 1074331651 1074331653;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-18.0pt; 	font-family:Wingdings;} ol 	{margin-bottom:0cm;} ul 	{margin-bottom:0cm;} --&gt; &lt;/style&gt;&lt;/a&gt;&lt;h2 style="TEXT-ALIGN: center" align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;LINE FOLLOWER&lt;/a&gt;&lt;/h2&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;p class="MsoNormal"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;Line follower is an autonomous robot which follows a particular line of particular width. Its direction is determined by the direction of the line. Based on the line follower GRID and RACE CIRCUIT SOLVER have been solved&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;b&gt;&lt;u&gt;LINE FOLLOWER&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size:+0;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;?xml:namespace prefix = v /&gt;&lt;v:shapetype id="_x0000_t75" preferrelative="t" spt="75" coordsize = "21600,21600" filled = "f" path = " m@4@5 l@4@11@9@11@9@5 xe"&gt;&lt;v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:formulas&gt;&lt;v:path connecttype="rect" gradientshapeok="t" extrusionok="f"&gt;&lt;o:lock aspectratio="t" ext="edit"&gt;&lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1030" type="#_x0000_t75"&gt;&lt;v:imagedata title="" src="file:///C:\Users\MOLLET~1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"&gt;&lt;/v:shape&gt;&lt;!--[if !vml]--&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/v:imagedata&gt;&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:stroke&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;br /&gt;&lt;span style="font-size:+0;"&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;p class="MsoCaption"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;Figure&lt;span style="font-size:+0;"&gt; &lt;/span&gt;- line follower&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;The autonomous bot can be designed either using analogue components or using a microcontroller and sensors.&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;b&gt;&lt;u&gt;DEVELOPMENT BOARD&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;&lt;/a&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s1600-h/line.jpg"&gt;We have designed the line follower using microchips microcontroller PIC18F4550 development board designed by TRI-INDIA. The board can be designed easily, but since this is our first project and we had little knowledge about the circuit board, we decided to buy it. PIC18F4550 is a 40 pin microcontroller having 5 ports named as A, B, C, D, E with a clock speed of 4mhz.It has inbuilt 256k EEPROM and 2k SRAM.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;It can be programmed through MPlab development suite. The compiler used is C18 compiler. It includes all the c language techniques and the additional techniques to manipulate the pic18f4550.the c18 compiler is a student’s edition developed by the microchip.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_een4QiFVyl4/SHpJsbVKxwI/AAAAAAAAAvg/2xRgiSLDjFM/s1600-h/pic1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5222567745489127170" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_een4QiFVyl4/SHpJsbVKxwI/AAAAAAAAAvg/2xRgiSLDjFM/s400/pic1.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: center" align="center"&gt;&lt;span style="font-size:+0;"&gt;&lt;v:shape id="Picture_x0020_1" type="#_x0000_t75" spid="_x0000_i1029"&gt;&lt;v:imagedata title="" src="file:///C:\Users\MOLLET~1\AppData\Local\Temp\msohtmlclip1\01\clip_image003.emz"&gt;&lt;/v:shape&gt;&lt;!--[if !vml]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/p&gt;&lt;/v:imagedata&gt;&lt;p class="MsoCaption" style="TEXT-ALIGN: center" align="center"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;The code is written in C format and is then converted into a hex file in the MPlab. The hex file is then dumped into the controller through JDM programmer (in circuit system programming).&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;The sensors used are normal infra red sensors. It has a transmitter and a receiver. The transmitter keeps transmitting the signal. When a dark surface appears the signal is absorbed and when a light surface appears the signal is reflected and he receiver picks up the signal &lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_een4QiFVyl4/SHpJ1bl77aI/AAAAAAAAAvo/p52AHG256mA/s1600-h/sensor+diagram.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5222567900178279842" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_een4QiFVyl4/SHpJ1bl77aI/AAAAAAAAAvo/p52AHG256mA/s400/sensor+diagram.jpg" border="0" /&gt;&lt;/a&gt; &lt;p class="MsoCaption" style="TEXT-ALIGN: justify"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;u&gt;&lt;o:p&gt;&lt;span style="TEXT-DECORATION: none"&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;u&gt;&lt;o:p&gt;&lt;span style="TEXT-DECORATION: none"&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;u&gt;&lt;o:p&gt;&lt;span style="TEXT-DECORATION: none"&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;u&gt;&lt;o:p&gt;&lt;span style="TEXT-DECORATION: none"&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;u&gt;POWER SUPPLY&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%"&gt;The supply we used is two rechargeable lead acid batteries of 6 v and 1.2 amp connected in series. So the total input given to the board is 12v 1.2 amps. The lead acid batteries are powerful and bulky and proper care must be taken so that they don’t get short circuited.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;u&gt;MECHANICAL CONSTRUCTION&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;The mechanical construction needs to be planned carefully. There has to be a balance between speed and torque. We used 100 rpm geared dc motors because they have high torque and its speed is considerable (for starters like us).In case higher rpm motors are selected the weight of the chassis has to be reduced. The relation between the torque and the speed is inverse. We have used wood of 3.4-4 mm thickness to prepare the chassis. The cassis consisted of two platforms as shown in the above figures. The bottom one is 16x12cm and the upper one is 9x8cm.The&lt;span style="font-size:+0;"&gt; &lt;/span&gt;bottom part is cut into v shape so that it resembles the formula 1 car and for no other reason. The two parts are held apart at a height of 5cm using nut and bolt of considerable strength. The dc motors are clamped to the bottom piece using bulb clamps and screwed them tightly. The batteries make up most of the weight so they are kept a point where even the weights of the motors&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_een4QiFVyl4/SHpKFrNFnII/AAAAAAAAAvw/Kt1dy_ObjkU/s1600-h/side.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5222568179246931074" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_een4QiFVyl4/SHpKFrNFnII/AAAAAAAAAvw/Kt1dy_ObjkU/s400/side.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_een4QiFVyl4/SHpKmVZQH4I/AAAAAAAAAv4/a04lp1uM7x4/s1600-h/top.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5222568740328054658" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_een4QiFVyl4/SHpKmVZQH4I/AAAAAAAAAv4/a04lp1uM7x4/s400/top.jpg" border="0" /&gt;&lt;/a&gt; &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:16;"&gt;&lt;/span&gt;are also countered. The motors are driven through L293D drivers included in the development board.&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;The sensors are mounted on the front side as shown in the figure.&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_een4QiFVyl4/SHpK2LNftlI/AAAAAAAAAwA/pPhK_3SbaWU/s1600-h/sche.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5222569012472297042" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_een4QiFVyl4/SHpK2LNftlI/AAAAAAAAAwA/pPhK_3SbaWU/s400/sche.jpg" border="0" /&gt;&lt;/a&gt; &lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;img alt="" src="file:///C:/Users/MOLLET~1/AppData/Local/Temp/moz-screenshot-1.jpg" /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;Two sensors are mounted. In case the left sensor comes out of the black surface the bot goes right until not true and vice versa.&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;u&gt;ALGORITHM &lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;u&gt;&lt;o:p&gt;&lt;span style="TEXT-DECORATION: none"&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;1. Check the sensors, power supply and if the screws are tight and the connections.&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;2. Switch on the supply&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;3. If the left sensor does not detect the black surface turn right until not true&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;4. if the right sensor does not detect&lt;span style="font-size:+0;"&gt; &lt;/span&gt;the black surface turn left until not true&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;5. If both the sensor detects black then go straight&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;6. if both detect white then stop.&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;u&gt;Source Code&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal"&gt;&lt;b&gt;&lt;span style="font-family:';font-size:11;"&gt;Motor Connections PORTS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="font-family:';font-size:11;"&gt;M1- RC1 RD0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="font-family:';font-size:11;"&gt;M3 - RD2 RD3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal"&gt;&lt;b&gt;&lt;span style="font-family:';font-size:11;"&gt;Sensor Connections PORTS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="font-family:';font-size:11;"&gt;S1 – RA0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="font-family:';font-size:11;"&gt;S2 – RA1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="font-family:';font-size:11;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="font-family:';font-size:11;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;# define m0 PORTCbits.RC1 //motor 1 terminal&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;# define m1 PORTDbits.RD0 //motor 1 other terminal&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;# define m2 PORTDbits.RD2 //motor 2 terminal&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;# define m3 PORTDbits.RD3 //motor 2 other terminal&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;# define s1 PORTAbits.RA0 //left sensor&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;# define s2 PORTAbits.RA1 //right sensor&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;# include&lt;stdlib.h&gt;&lt;/STDLIB.H&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;# include&lt;p18f4550.h&gt;&lt;/P18F4550.H&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;# include&lt;delays.h&gt;&lt;/DELAYS.H&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;void main()&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;{&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;ADCON1 = 0b00001111;&lt;span style="font-size:+0;"&gt; &lt;/span&gt;//makes all the ports digital ports&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;TRISCbits.TRISC1=0;&lt;span style="font-size:+0;"&gt; &lt;/span&gt;//initialize Port c1 as output&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;TRISDbits.TRISD0=0;&lt;span style="font-size:+0;"&gt; &lt;/span&gt;//initialize port d0 as output&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;TRISDbits.TRISD2=0;&lt;span style="font-size:+0;"&gt; &lt;/span&gt;//initialize port d2 as output&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;TRISDbits.TRISD3=0;&lt;span style="font-size:+0;"&gt; &lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;//initialize port d3 as output&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;TRISA = 1;&lt;span style="font-size:+0;"&gt; &lt;/span&gt;//initialize port A as input as sensors are connected to these ports&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;while(1)&lt;span style="font-size:+0;"&gt; &lt;/span&gt;//infinite loop&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;{&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;while(s1==1 &amp;amp;&amp;amp; s2==1)&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;{&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m0=1;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m1=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m2=1;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m3=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;}&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;while(s1==1 &amp;amp;&amp;amp; s2==0) //in case the bot shifts towards right(of the line)&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;{&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m0=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m1=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m2=1;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m3=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;}&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;while(s1==0 &amp;amp;&amp;amp; s2==1) //in case the bot shifts towards left(of the line)&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;{&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m0=1;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m1=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m2=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m3=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;}&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;while(s1==0 &amp;amp;&amp;amp; s2==0) //in case the bot wanders into the arena...this problem can be overcomed by using three sensors.&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;{&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m0=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m1=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m2=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;m3=0;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;}&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;}&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;}&lt;b&gt;&lt;u&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;u&gt;&lt;o:p&gt;&lt;span style="TEXT-DECORATION: none"&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;b&gt;HOW TO CREATE HEX FILE&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: normal; TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoListParagraphCxSpFirst" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;1)install MPlab and c18 compiler&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;2)go to project and open project wizard and select your pic 18 device&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;3)in the tool suite contents add the c18 compiler&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;4)then create a file name for it&lt;span style="font-size:+0;"&gt; &lt;/span&gt;and finish the process&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;5)write the above code in the editor and save it in *.c format&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;6)then go to view and open project&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;7)right click on source files and add the c file you just saved&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;8)right click on the linker files and add the corresponding PIC model linker file from the c18&lt;span style="font-size:+0;"&gt; &lt;/span&gt;folder (if you are using 18f4550 add 18f4550.lkr)&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;9)then go to project-build options and click on project&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;10)for output directory direct it to where you want it to be saved&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;11)for include directory the path should direct to c18 folder ‘h’&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;12)for library director ‘lib’ and linker ‘lkr’&lt;/p&gt;&lt;p class="MsoListParagraphCxSpMiddle" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;13)apply the changes and then click on build all in the projects menu&lt;/p&gt;&lt;p class="MsoListParagraphCxSpLast" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;14)The hex file is created in case there are no errors in the code&lt;/p&gt;&lt;p class="MsoListParagraphCxSpLast" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoListParagraphCxSpLast" style="TEXT-INDENT: -18pt; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 150%; TEXT-ALIGN: justify"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;br /&gt;&lt;v:stroke&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;v:path connecttype="rect" gradientshapeok="t" extrusionok="f"&gt;&lt;o:lock aspectratio="t" ext="edit"&gt;&lt;v:imagedata title="" src="file:///C:\Users\MOLLET~1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"&gt;&lt;v:imagedata title="" src="file:///C:\Users\MOLLET~1\AppData\Local\Temp\msohtmlclip1\01\clip_image003.emz"&gt;&lt;/v:imagedata&gt;&lt;/v:imagedata&gt;&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:stroke&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/163221867999714415-5856393087099102324?l=myfirstbot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myfirstbot.blogspot.com/feeds/5856393087099102324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=163221867999714415&amp;postID=5856393087099102324' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/163221867999714415/posts/default/5856393087099102324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/163221867999714415/posts/default/5856393087099102324'/><link rel='alternate' type='text/html' href='http://myfirstbot.blogspot.com/2008/07/line-follower.html' title='line follower using PIC18f4550'/><author><name>sid</name><uri>http://www.blogger.com/profile/03128108830704239053</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/_een4QiFVyl4/SHpJCAYSDRI/AAAAAAAAAvY/6xM8uhqBLdE/s72-c/line.jpg' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-163221867999714415.post-5057333244761103978</id><published>2008-02-02T03:47:00.000-08:00</published><updated>2008-12-10T17:44:46.712-08:00</updated><title type='text'></title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_een4QiFVyl4/R6Rc5NqqS2I/AAAAAAAAAqk/lDYtL9U7C4g/s1600-h/pic.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 380px; height: 259px;" src="http://1.bp.blogspot.com/_een4QiFVyl4/R6Rc5NqqS2I/AAAAAAAAAqk/lDYtL9U7C4g/s400/pic.jpg" alt="" id="BLOGGER_PHOTO_ID_5162353210864323426" border="0" /&gt;&lt;/a&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;span style="font-weight: bold;"&gt;Motor Connections PORTS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;M1&lt;/span&gt; RC1 RD0&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;M2&lt;/span&gt; RC2 RD1&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;M3&lt;/span&gt; RD2 RD3&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;M4&lt;/span&gt; RD4 RD5&lt;br /&gt;Switches (active low)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Sw1&lt;/span&gt; RA4&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Sw2&lt;/span&gt; RD6&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Sw3&lt;/span&gt; RD7&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;BLD&lt;/span&gt; RB4&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reset&lt;/span&gt; MCLR&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;LEDs&lt;/span&gt; (active low)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;D1&lt;/span&gt; RB7&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;D2 &lt;/span&gt;RC7&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;D3&lt;/span&gt; RC6&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;LCD (4 bit mode) PORTS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Data&lt;/span&gt; RB0 to RB3&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;E&lt;/span&gt; RB4&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;RS&lt;/span&gt; RB5&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;RW&lt;/span&gt; RB6&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;In System Programming&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Programming data&lt;/span&gt; RB7&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Programming clock&lt;/span&gt; RB6&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Sensor Connectors&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;0 to 7&lt;/span&gt;RA 0,1,2,3,5 RE 0,1,2&lt;br /&gt;Misc&lt;br /&gt;Buzzer (active low) RC0&lt;br /&gt;Crystal (11.0592Mhz) Pin13 and 14&lt;br /&gt;USB RC4 and RC5&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/163221867999714415-5057333244761103978?l=myfirstbot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myfirstbot.blogspot.com/feeds/5057333244761103978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=163221867999714415&amp;postID=5057333244761103978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/163221867999714415/posts/default/5057333244761103978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/163221867999714415/posts/default/5057333244761103978'/><link rel='alternate' type='text/html' href='http://myfirstbot.blogspot.com/2008/02/motor-connections-ports-m1-rc1-rd0-m2.html' title=''/><author><name>sid</name><uri>http://www.blogger.com/profile/03128108830704239053</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/_een4QiFVyl4/R6Rc5NqqS2I/AAAAAAAAAqk/lDYtL9U7C4g/s72-c/pic.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
