alvinthen
Member level 2
Hi,
I'm trying to interface a PS/2 barcode scanner (CS-600 from Code-Soft) with PIC18F2220.
I've several doubts needed to be cleared.
I've tried supplying 5v directly from power supply to the PS/2 port and observe the signal at the data and clock lines using an oscilloscope. Then I tried to scan several barcodes, the data and clock are held high, no signal coming out. I've tried using the barcode scanner with PC and it worked without any problem. Do I need any initialization before I use the barcode scanner?
I've read Adam Chapweske's article on PS/2 article, he did mention initialization for PS/2 keyboard, but does it apply to barcode scanner as well?
I'm using C-18 compiler as my development tools. Are there any available library ready to be used? I knew that mikroC has a library for PS/2, does C-18 have its own?
Thank you very much!
Alvin
I'm trying to interface a PS/2 barcode scanner (CS-600 from Code-Soft) with PIC18F2220.
I've several doubts needed to be cleared.
I've tried supplying 5v directly from power supply to the PS/2 port and observe the signal at the data and clock lines using an oscilloscope. Then I tried to scan several barcodes, the data and clock are held high, no signal coming out. I've tried using the barcode scanner with PC and it worked without any problem. Do I need any initialization before I use the barcode scanner?
I've read Adam Chapweske's article on PS/2 article, he did mention initialization for PS/2 keyboard, but does it apply to barcode scanner as well?
I'm using C-18 compiler as my development tools. Are there any available library ready to be used? I knew that mikroC has a library for PS/2, does C-18 have its own?
Thank you very much!
Alvin