Search Engine www.edaboard.com

Keyboard Scan

Add Question

33 Threads found on edaboard.com: Keyboard Scan
Just try to use PS/2 interface. It is a simple SPI. keyboard codes available in google. Even MicroC support PS/2 as I remember. Doesn't matter which mcu you are using.
hi i need the value for each key on keyboard to implement HID keyboard. I searched but i m not getting any correct result.
find attached a MPLAB project for an Explorer 16 which enables keyboard commands to be transmitted to a TCP server via a RN171 and also will transmit ADC readings from the potentiometer when CTRL/A is hit the console terminal output was PIC24 to RN171 test CMD join Auto-Assoc ssid chan=1 mode=MIXED scan OK <4.00> Joining ssid now..
The model of the reading of a keyboard based on a matrix scanning is a legacy of the times when the number of ports available on chips was much smaller if compared to the current ones. In your case in particular on what you want to scan 16 keys, and would use 8 ports, it wouldn´t be more convenient to read directly all the pins one by one ? (...)
Good evening, I'm looking for a simple way to convert a sequence of keyboard strokes into a signed binary number I can use for processing. I understand how to convert scan codes into ascii/binary/bcd and how the keyboard works, but I'm having trouble when it comes to implementation. I'd like the input to be of unknown length--let's say up (...)
I want to connect keyboard using multiplexer interface with pic microcontroller. i have connect keyboard to the channels of multiplexer. i unable to program plz help me
Hello, I need to make a homemade PS2 keyboard using a microcontroller and a matrix keyboard (many little switches connected in a matrix. The micro will scan the matrix and output the appropriate data on the PS2 Has anyone already done this, any such projects on the internet? I cannot find any.
Instead of a classical implementation wich performs scan at each line, you can adopt the following conception bellow: At keyboard.c file: /* ********************************************************************** */ #define ROW_MASK 0x0F #define COLUMN_MASK 0xF0 #define NO_KEY 0x00 /* ********************
The algorithm above is not the usual one commonly used to scan matrix keyboards. Take a look on options bellow: +++
I have my code and already implemented on hardware that scan 4x4 matrix keypad and display a number in seven segment display, now I wan't to connect a DC motor so that number 1 is pressed on keyboard motor should rotate clockwise and when 2 is pressed motor rotate ant clockwise., the code for keypad and proteus simulation are down here, kindly
Why do you want to use interrupts for keyboard service? Your code is permanently scanning the keyboard, it doesn't need interrupts at all. For more exact debounce timing and defined behaviour, you would want to perform the scan action timer based (possibly timer interrupt), e.g. with 15 to 20 Hz scan rate.
Hi, I am trying to type words onto the LCD screen of my Spartan 3E board using a PS/2 keyboard, but I am having trouble. I have been able display the scan code values of the keyboard using the 8 leds on the spartan 3e, and i have also been able to program words in my code to be displayed on the LCD screen. However, I am unable to use (...)
8mhz is the frequency of the mcu core, the frequency that you scan the keyboard is much much lower Alex
Hi dear, download scan codes of ps2 keyboard, develop logic by understanding PS2 protocol, refer datasheet of LCD(16x2) or any microcontroller book for the same
Hello.. I am interfacing a ps2 keyboard directly to microcontroller AT89C52.. I am trying to scan characters from keyboard and display it on a LCD.. Have figured how LCD works but have some problems with the ps2 keyboard interfacing.. Can anyone suggest me something. It would be a help... please replty soon.
Hi friends.. How to interface our ARROW KEYS with PIC16F877A so that DC MOTOR should rotate accordingly. i.e., UP ARROW- Clockwise rotation DOWN ARROW- Anti clockwise Am in URGENT.. Could anyone help by Providing EXACT SOURCE CODE for this... mail :
You can connect at keyboard to 877A and show hex and dec code. see with source code .
Please I need to know how this part of the code works. // keyboard scan codes (without & with shift key pressed) flash unsigned char unshifted = { //0x0d,9, 0x0e,'`',0x15,'q',0x16,'1',0x1a,'z',0x1b,'s',0x1c,'a',0x1d,'w',0x1e,'2',0x21,'c',0x22,'x',0x23,'d',0x24,'e', 0x25,'4',0x26,'3',0x29,' ',0x2a,'v',0x2b,'f',0x2c,'t',0x2d,'r',0x2e
Have you tried Google?
Hi, It is not clear what is it that you want...? Do you want to: 1. Interface a PC AT keyboard to 8051 so that when you press a key on the keyboard, the 8051 detects this key and takes action. 2. You want to connect a 6x7 keypad to the 8051; scan these keys, and if a key is pressed, then send its scan code to the PC (...)