Amstrad Emailer Pinouts ----------------------- http://82.152.113.94/misc/Amstrad_Emailer_Pinouts.txt 2005-02-05 minor changes to LCD section Keyboard Pinouts ---------------- Looking at top of keyboard, with the keys facing towards you. Pin 1 is leftmost. PIN SIGNAL WIRE 1 GND black/shield (connected to metal plate on keyboard) 2 DATA green 3 CLOCK red 4 +5V blue (3.3V works fine) Notes ----- * Standard PC keyboard protocol with non standard scan codes. * When the bus is idle, clock and data lines are high. * The data line should be sampled on the rising edge of the clock pulse. * Data bytes are transmitted as follows: START=0 D0 D1 D2 D3 D4 D5 D6 D7 PARITY (odd) STOP=1 * Works fine off a 3.3V supply - tested down to 2.4V. * The keyboard has been successfully interfaced to a blackfin DSP using the Programmable Flag lines. Should work perfectly with PIC/AVR/805x as well. For a much better explaination of the protocol visit the site below: http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/PS2/ps2.htm Keyboard scan codes ------------------- Key Code (hex) store 70 setup 7a services 46 games 7c internet 77 home 72 office 69 mobile 1a text msg 2a email 1c fax 15 stop 71 1 74 2 73 3 6b 4 22 5 1b 6 1d 7 1e 8 79 9 7d 0 75 del 6c q 21 w 23 e 24 r 26 t 52 y 5d u 0d i 0e o 32 p 34 enter 2c a 31 s 33 d 35 f 36 g 29 h 5b j 03 k 76 l 3a @ 3b lshift 3c z 3d x 4e c 54 v 0b b 05 n 41 m 42 ? 43 up 3e rshift 55 print 83 address book 06 symbol 49 space 4b ; 44 left 16 down 2e right 09 Note that when a key is pressed, the scan code is sent as a single byte. When the key is released it is transmitted as two bytes, first the prefix of 0xf0 followed by the scan code itself. LCD Pinouts ----------- 480x320 module manufactured by Densitron / Hitachi. (left to right, face down view of display with connector towards you) 1 +3.3V 2 GND (note chassis is not connected to GND) 3 +3.3V 4 +VContrast (+20V - yes this is positive) 5 D0 6 D1 7 D2 8 D3 9 M 10 VSYNC (FLM???) 11 HSYNC (LP???) 12 CLOCK (~2MHz) There may be a specific power up sequence required - if that is not followed damage may occur due to latch-up. I would assume that the +3.3V supply must be brought up before the 28V supply to prevent internal latch-up. I would recommend inserting a 100R resistor in series wih the 3V3 supply and a 470R resistor in series with the +20V supply to minimise the possibility of damage. Since the display is a passive matrix type, it should not take more than 50mA on any supply rail. The inverter requires +28Vdc but can be modified to run from as low as 9Vdc. To do this you will need to change the inductor and ground one side of the transformer's secondary (the one without the series capacitor). For best results, ground the chassis of the display and swap the wires in the CCFL molex connector. (I have successfully tested the inverter with a 56uH inductor and it works perfectly at 12V) Note that the latest emailer revision (with the 'rubber' keys) uses a different type of inverter and it has not been tested yet.