<?xml version="1.0" encoding="utf-8" ?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
				<channel rdf:about="http://www.8051projects.net/">
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>
				<dc:language>en-gb</dc:language>
				<dc:date>2009-01-07T22:13:18-08:00</dc:date>
				<dc:creator>contact@nospam.com</dc:creator>
				<admin:generatorAgent rdf:resource="http://e107.org" />
				<admin:errorReportsTo rdf:resource="mailto:contact@nospam.com" />
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>
				<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
				<items>
				<rdf:Seq>
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4902.html" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>hi,cant' figure out where to post this q, so i chose here  instead.any1 happen to have a ps2 keyboard driver that support host to keyboard com.i have a working keyboard setup now but no provision of enabling caps lock etc..it's based on appnote from atmel.tia.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>i have a working keyboard setup now but no provision of enabling caps lock etc..well that means you have got the basic code + setup ready and tested it somehow.. gr8!!now regarding the additional functionality it all depend s on your logic/code..normally we set a flag for caps lock or numlock  ... etc...once the capslock flag is set  call the toupper() and get the problem solved... but is CAPS lock your only concern???</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>۞ TPS ۞</dc:creator>
						<dc:subject></dc:subject>
						<description></description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>۞ TPS ۞</dc:creator>
						<dc:subject></dc:subject>
						<description>may be this link also help youhttp://www.beyondlogic.org/keyboard/keybrd.htm</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>mhel</dc:creator>
						<dc:subject></dc:subject>
						<description>Thanks for replies guys.I have attached the code I'm using which works only for keyboard to host communication.My main concern actually is to reset the keyboard, and to be able to use the extended keys,e.g up/down arrows , num lock.Right now, when I reset  the uController (LPC2138) it sometimes screws up the keyboard, the kb clock pin is connected to P0.14 which is also the BSL. I found a workaround which is to hold the clock line low  a little longer during bootup, it works but as I said just a workaround. ps2kb.zip</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>hi mhel,buddy u cud have posted this thing in the arm development forum too...!!!so gud u to have u !!  .. u always come up with interesting ideas...   i wud like to learn to interface a PS/2 kbd on my 2148 too...   where to get started????</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>mhel</dc:creator>
						<dc:subject></dc:subject>
						<description>Shyam:I attached the original code that got me started, can't remember where I got it tho. I base my setup from the schematic in the PDF, and from the link "TPS" posted. I wasn't sure if all keyboards have built in pullup so I used external ones. I was told it is  preferable to use pins with open drain, so I used the pins reserved for I2C's namely P0.3 &amp; P0.14, I could have used the pair of pins,( e.g P0.2:P0.3) but an External interrupt pin is needed for the keyboard clock, and P0.11 is used for something else, that's why it has to be P0.3 &amp; P0.14. I'm also told that open drain is not necessary I  could have also used a couple of transistors  instead. I didn't like the constant flipping of the interrupt edge polarity of the original code, I found a different implementation which is what I used in the code on the previous post.Ajay:  maybe you  can move this thread to the Arm forum. ps2kb_orig.zip</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi mhel thank you for your info on PS2 Keyboard..  can you provide your ARM library for PS2 Keyboard? i can add it in download section.PS: moved thread to ARM development section   another great addition..</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>mhel</dc:creator>
						<dc:subject></dc:subject>
						<description>Ajay:that's all there is. the driver is in my first post with attachment, the only missing is the extint.h header which is basically just the declaration of interrupt plus the 1 define for the edge. let me know if there's something else missing.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>hi mhel!!!here is something interesting that we can do!!!!...Graphical Lcd  plus PS2 mouse whatsay???y not make a desktop appearance using the above two...ia lready started...   looking for your contributions</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>mhel</dc:creator>
						<dc:subject></dc:subject>
						<description>that's nice, share your result     is it good for  small lcd?  touch screen would be better i think. My project actually needed just 32keys, but the keyboards has plenty enoughand only needs 2 pins</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>Mhel i added your P2C code in ARM Library section</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>is it good for small lcd? touch screen would be better i thinkyes u r right touch screen  will be better .. but just think abt the cost!!!!!neways almost completed the PS2 mouse code... will submit it soon....</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>shyam wrote ...neways almost completed the PS2 mouse code... will submit it soon....great!! waiting for it..</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4902.html">
						<title>Re: Ps2 Keyboard in C ??</title>
						<link>http://www.8051projects.net/forum-t4902.html</link>
						<dc:date>2009-01-07T22:13:18-08:00</dc:date>
						<dc:creator>mhel</dc:creator>
						<dc:subject></dc:subject>
						<description>Ajay,this is a slightly better version of the ps/2 keyboard, you might want to check it andreplace the one you uploaded.thanks. kb.zip</description>
						</item>
				</rdf:RDF>