Claviers, lecteurs de code-barres - keyboard , Barcode readers and decoders:
DIN_PS2.pdf (PDF- 16Kb)
http://www.tabalabs.com.br/eletronica/reftec/ps2keyboard.pdf
ps2 keyboard reference
http://www.obdev.at/products/vusb/hidkeys.html
V-USB - A Firmware-Only USB Driver for Atmel AVR Microcontrollers
"Application Note 195
Developing HID USB Device Drivers For Embedded Systems
Keil provides an USB Human Interface Device (HID) example for several ARM-powered
evaluation boards. This application note should help you
to develop own USB HID projects based on the existing example. It shows several
possible modifications to the existing HID example for Evaluation Board MCBSTR9
to help you getting started."
Here: http://www.onarm.com/appnotes/apnt195.asp
(You may have to register to download it)
Get the official specs from usb.org, then the classic:
http://www.lvr.com/usbc.htm .
Also http://www.usbmadesimple.co.uk/ ,
http://www.beyondlogic.org/usbnutshell/usb1.shtml
.
One of the sample programs supplied with the IAR STM32 SK development board
(based on an ARM Cortex M3)
The board schematics and software can be downloaded from IAR (may be also from
Olimex, the manufacturer.)
I would expect to find similar code samples in the application notes of other
micros, both from ST and other manufacturers.
Lastly, look at the libraries available for popular boards like the arduinos,
parallax, mbed, etc.
http://www.ganssle.com/debouncing.htm
A guide to debouncing
https://github.com/tcleg/Button_Debouncer Trent Cleghorn's code
keyboard Interface
http://www.networktechinc.com/ps2-prots.html
http://home.ecn.ab.ca/~jsavard/comp/scan.htm
http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/PS2/ps2.htm
http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/keyboard/scancodes.html
http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/keyboard/atkeyboard.html
http://possmi.com/links.htm Point
Of Sale equipment Manufacturers list
http://www.rfdc.org/contacts/a-z/a-z_page.html
Barcode decoder and reader manufacturers list
http://www.linuxdevices.com/articles/AT2281789509.html A hardware and device driver project for Linux.w/ the Hewlett-Packard HBCS-A300 Bar Code Wand. There is a project that have been done on Linux system with C language. It is very simple to port to any microcontroller.
http://www.opencores.org/projects/ps2/ PS2 interface : The PS/2 interface project (ps2_interface) is interface hardware to allow using a ps2 mouse or keyboard in your project. The code is written in Verilog, and was sythesized into a Xilinx SpartanII XC2S200 chip. Debugging was done with an HP16500 series logic analyzer, and there is no testbench for these interfaces.
http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/PS2/ps2.htm
PS/2 Mouse/Keyboard Protocol
http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/keyboard/scancodes.html
Scancodes
http://www.iptel-now.de/HOWTO/PIC/pic.html PS/2 to RS-232 converter
http://www.geocities.com/SiliconValley/Orchard/6633/keypad.html Interfacing a 4X4 keypad to a BS2 using a 74922 encoder chip.
http://www.programmationworld.com/site/langages/progelectronique/cours3.htm Interfacer un clavier matriciel
http://www.simpits.org/engineering/KeyEmu/Key_Emu.html keyboard emulator
http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/keyboard/atkeyboard.html Interfacing the AT Keyboard -By Adam C
http://www.dattalo.com/technical/software/pic/debounce.html PIC Debouncing : Although PIC-centric, it can be adapted to any processor. It is a short routine meant to be called by a periodic interupt. There are no loops or branches, and it runs in constant time. The number of inputs that can be debounced is limited only by the width of the input port.
Câble adaptateur P.C./P.S.
Brochages Clavier
Schéma clavier Hex-Tastatur (16 touches - encodage hexadécimal transcodable par une PROM + 2 touches contacts)
Serial->Keyboard redirector (Stephen Warner Avril 1993)
ZILOG ZB8602/14/15/C15/E23 Microcontrollers Control a 101/102 PC/Keyboard ( Application Note AP95KEY0200)
ALTEK Keyboard Tech informations
http://www.barcodeman.com/wedge.html
Keyboard Wedge Techniques
http://www.barcodeman.com/scan_doc.html
PC Keyboard Scan Codes documentation.
http://www.hth.com/filelibrary/TXTFILES/keyboard.txt The PS2 keyboard interface
http://web.archive.org/web/20081112064440/http://d.nardi.free.fr/tpii.htm Gestion d'un clavier matricé à l'aide d'un 80C51 (Matrix keyboard interfacing with the 80C51)
http://nalhossri.free.fr/Librairies%20pour%20CODE%20WARRIOR/clavier_matriciel/clavier_matriciel/decodage_clavier_matriciel.html Clavier matriciel 16 touches - Bibliothèques
Sélecteur de clavier
Réception de la V24 comme le clavier ( programme en assembleur 8086)
Un clavier RS232 pour APPLE II ou PC-XT
http://www.beyondlogic.org/keyboard/keybrd.htm
How to interface an AT keyboard to a system expecting ASCII input :
PC Keyboard Theory, Keyboard Commands (Host Commands, Commands), Scan Codes,
The Keyboard's Connector, The Keyboard's Protocol ( Keyboard to Host, Host to
Keyboard), Interfacing Example - Keyboard to ASCII Decoder, Features, Schematic
& Hardware (68HC705J1 PC-keyboard interface), Reading Bytes from the Keyboard,
Writing Bytes to the Keyboard, Download Source Code
http://www.arne.si/~mauricio/PIC.HTM AT Keyboard Emulation using PIC16C84 Microcontroller : this routine is using 4 pins (2 inputs & 2 outputs) to control ; keyboard's 2 bidirectional OC lines (CLK & DATA). The following an identical circuit is used for the DATA line. This diagram was 'copied' from an classic AT keyboard. I did not use the clamping diodes because they are already included as standard pin protection in PC microcontrollers. This can be simplified more if the related pin is switched between input & output low (simulate OC).
http://www.edn.com/article/505614-Keyboard_data_acquisition_system_is_cheap_and_simple.php Keyboard data-acquisition system is cheap and simple (PIC12C671-04 µC).
http://www.simpits.org/engineering/KeyEmu/Key_Emu.html Custom Control Built using the Inside-PC-Keyboard interface
http://people.FreeBSD.org/~fsmp/HomeAuto/Focus.html This serial port based box controls the I/O of both keyboard and (serial) mouse ports of up to seven computers. This allows one to setup a pseudo- multiheaded X environment. I have built an X client that consists of a small circle associated with a particular setting of the hardware. I have three monitors side by side, each running X on a different machine.
http://homepages.tesco.net/~steve.lawther/steve/keybmail.htm snippet of code for the PIC microcontroller, for decoding alphanumeric keyboard codes .
pc-keyboards faqs:
http://www.arne.si/~mauricio/Kbdfaq.htm
http://members.tripod.com/~ilkerf/c64tower/F_Keyboard_FAQ.html
http://www.krafti.co.uk/steve/keybinfo.htm
My PC AT keyboard code viewer; uses a 16C84 and 20x2 LCD display (can use 16,
24, 32, or 40 x 2 LCD displays by changing one line). Also gives example LCD
driver code, queuing code, and wait macro. (Ver 1.11).
http://nyquist.ee.ualberta.ca/~jdv/john.gif 8042 Controller Schematic
Philips Application Note AN434 (PDF)
http://www.nxp.com/files/products/standard/microcontrollers/download/80c51/i2c/i2cpckb.zip
Philips gives the 80C751 (8051 family) microcontroller code for a PC AT keyboard
to I2C converter.
Atmel has info. and code (in C) to interface a PC AT keyboard to the Atmel AVR range.
http://boole.stanford.edu/~gdefouw/kbd/pic.html
PIC16C84 Transmit Routine
http://boole.stanford.edu/~gdefouw/kbd/wearables.html
http://arcade.50megs.com/encoder/encoder.htm Keyboard encoder with AT89S82 mcu
"keyboard terminator" ou "keyboard emilinator", par exemple
:
http://www.versalent.biz/keylim.htm
http://www.vetra.com/Elimina2.htm
http://www.farnell.com/datasheets/66096.pdf 700/900 Series keyboard encoder
Email : matthieu.benoit@free.fr
13 août, 2023