Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Tools
Old 20th November 2006, 11:33 AM   #1
Default barcode scanner's output and keyboard output

Hi there, please help me..

Please help me how to distinguish between the output from a barcode scanner with the output from a keyboard. I connected both input devices to PS/2 of my PC. Is there any program that could use distinguish between the data read from one of these devices? for example, if i typed something on the notepad, and at the sametime i give an input to the barcode scanner, then the data read from barcode scanner would also appear on the notepad. How to distinguish them? I am sorry for my bad use of english language..Thank You
zhi_yi is offline  
Old 20th November 2006, 04:27 PM   #2
Default

There is plenty of info available regardingthe keyboard on the web. We had a lab on it in my advanced digital class. Do a search for something like: +keyboard +scan.code +at

Are you sure that the barcode scanner can be used as a keyboard? Chances are, the manufacturer just used the same PS/2 connector as a keyboard and they aren't compatable at all.
__________________
Jeff
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
jrz126 is offline  
Old 20th November 2006, 04:33 PM   #3
Default

Quote:
Originally Posted by jrz126
Are you sure that the barcode scanner can be used as a keyboard? Chances are, the manufacturer just used the same PS/2 connector as a keyboard and they aren't compatable at all.
You can buy barcode scanners that connect in series with the keyboard, it makes them very easy to use because it just provides a string of normal key presses - so it's trivial to write programs for.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 21st November 2006, 05:46 AM   #4
Default

Quote:
Originally Posted by zhi_yi
Hi there, please help me..

Please help me how to distinguish between the output from a barcode scanner with the output from a keyboard. I connected both input devices to PS/2 of my PC. Is there any program that could use distinguish between the data read from one of these devices? for example, if i typed something on the notepad, and at the sametime i give an input to the barcode scanner, then the data read from barcode scanner would also appear on the notepad. How to distinguish them? I am sorry for my bad use of english language..Thank You
i have once tried that..there we distinguish b/w them by the speed of arriving data . keyboard is slower than the barcode reader
__________________
Gods own Country
Incredible !ndia

www.flickr.com/photos/_akg/

"Give a man a fish, and he will eat for a day. Teach that man to fish, and he will eat for a lifetime."
akg is offline  
Reply

Tags
barcode, keyboard, output, scanner

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Keyboard (ps\2) output format and pin configuration santosh_iitm2002 General Electronics Chat 5 21st August 2009 11:50 AM
Laser Detector which activates keyboard output BlackRanger3d Electronic Projects Design/Ideas/Reviews 3 16th February 2006 05:52 AM
PC Keyboard to a microcontroller mod_critical Electronic Projects Design/Ideas/Reviews 1 25th May 2003 09:48 PM



All times are GMT. The time now is 02:19 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker