Discussion in "8051 Discussion Forum" started by    sks    Sep 19, 2008.
Mon Jan 26 2009, 03:14 pm
Hello pdi,
writing after a long time. I was busy so i couldn't find time to write or study the code send by you. It is working all right with a KBD and LCD. One thing i should know shall i have to add another table for LED Matrix? How you have written the scan code tables please help me to understand. It is really difficult on my part to follow the logic. i am sorry, it is going very slowly due to me only. Please guide me.
thanks all
sks
Mon Jan 26 2009, 09:15 pm
hi sks,
the scan code tables are the standard ones for the AT keyboard which are outputted when the corresponding keys are pressed/released. When the key is released, the code transmitted by the keyboard is usually ( for the standard character set) 0f0h followed by the scan code. The code merely checks the code received after the 0f0h is received and using the scan code table fetches the corresponding alphabet/number.

and yes, u will need to make a look up table to display the alpha numeric characters on the dot matrix much similar to fetching the segment data when using a 7 segment data.
:-)

 sks like this.
Sat Jan 31 2009, 07:12 pm
Hi pdi,
I don't understand the conversion part of the code.
"movc A,@A+DPTR" means loading the data in Accu one by one from the Data table am i right? From where you got these values "DB00h,0F9H,00h,0F5H,0F3H etc" up to "q", what does it mean are these values are for other keys? Am i asking a silly question?
Thanks all
sks
Sat Jan 31 2009, 10:50 pm
no, the question is not silly but perfectly valid :-). actually, apart from the standard character set, the table also contains some special key scan cods like the function keys F0-F10 on the keyboard which do not have any equivalent ASCII (or visual) representation, so these keys when decoded after fetching their scan code on release should be assigned some 'value'. so the 0f0h,0f1h ,...etc values were assigned to them just for easy reference in future.
Further, the table maps all the scan codes from 0 to 7fh whereas some scan codes do not do not map to any key on the keyboard, so those locations are entered as 00h.
So, if u want to write some code on say F0 key pressed, just compare the decoded scan code value to 0f0h and write some code if the compare matches.

:-)
 sks like this.
Thu Feb 05 2009, 06:35 pm
Hi all,
Can any one help me by giving address of an INDIAN firm dealing with small brush less micro motor. The motor body diameter should be 5mm to 7mm, length of motor is not a problem.
sks
Fri Feb 06 2009, 05:02 pm
are you looking for a small motor as we have in our mobile phones?
 sks like this.
Fri Feb 06 2009, 07:52 pm
No Mr Ajay,
It's Brush less Motor diameter should be 5mm to 7mm.
sks
Sat Jan 23 2010, 02:14 pm
Hello PDI,
After a long time, i am here again. missed all a lot. what about the solenoids
for braille project?
how are you all?
thanks
sks
Mon Jan 25 2010, 06:27 pm
Hi SKS,

Nice to see you back may old people on forum are missing
Tue Jan 26 2010, 04:27 pm
Hello Mr Ajay,
Thanks for reply. I was too busy and out of my town for a year, missed all of you a lot. could not finish that braille project due to the mechanical component.
Now i need your help to develop a PC Interface multi line information display board using LED Matrix. I think i will get your support and help.
Thanks
sks

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am
ArnoldDiant
Fri Apr 26 2024, 03:53 am