Bit manipulating hacks
Nuova Elettronica
Beautiful electronic project - The Bulbdial clock
Using CDs to measure laser wavelenght
B = 0.125 C = 0.2 D = 0.25A E = 0.375A F = 0.5A X = 0.68A G = 0.75A H = 1.0A J = 1.25A K = 1.5A L = 1.75A N = 2.0A O = 2.5A P = 3.0A R = 3.5A S = 4.0A T = 5.0A
(thanks to Carlo Pollice)
Red/blue = +12V (subject to timeout) Green/black = 0V door switch Black = 0V
+---------------------+ conn. | | | | | | +-----(X)----+---/--+ switch 1 | | +--+ | lamp | | +------+ +---/--+ switch 2 | | +----------------------------+
The socket used is an XLR
Pin 1 = +12V
Pin 2 = GND
numbers refer to DB9 connector pins IR led 2 --------+-----|>|------+-------- 3 |-----|<|------| RED led photodiode 5 -------------|>|---------------- 9 7 -------( cable main shield ) 6.0K-9.7K 6 -------+-------/\/\/\/\---------- 1 | |-------( sensor shield )
To scanner | PS/2 | |||||
---|---|---|---|---|---|---|
Rj45 pin | wire colour | header pin | function | IDC pin | wire col | din pin |
orange | 1 | data out | 2 | red | 1 (male) | |
red | 2 | +5 Vcc | 4 | green | 4 (male) | |
13 | purple | 4 (female) | ||||
yellow | 3 | ground | 3 | orange | 3 (male) | |
10 | orange | 3 (female) | ||||
green | 4 | clock in | 5 | purple | 5 (male) | |
brown | 5 | clock out | 12 | green | 5 (female) | |
purple | 6 | data in | 14 | red | 1 (female) | |
NC | - | - | shield | 6 | shield | shield |
Note: Male ps/2 to PC, female PS/2 to keyboard (optional)
Note: +5Vcc line interrupted by external adaptor plug: if plug is inserted, ps/2 vcc is disconnected and external + goes to scanner
The handheld scanner presents a cable with a DB9 female on its ending. It has an adapter from DB9 Male to 2 x PS/2 (DIN) Male & Female. Inside the handheld scanner, the cable attaches to K2 on an aux pcb with a 232 transceiver and the pushbutton switch. K1 on this pcb goes to the real barcode scanner PCB assy. The following table represents wiring, between brackets wiring through the RS232 transceiver.
PS2 male | PS2 female | DB9 (scanner) | wire colour | K2 | K1 | note |
---|---|---|---|---|---|---|
4 | 4 | 9 | black | 1 | 1 | VCC +5V |
3 | 3 | 7 | purple | 2 | 2+3 | GND |
4 | switch to gnd | |||||
5 | 4 | green | 5 | 5 | ps2 clock out | |
1 | 8 | grey | 6 | 6 | ps2 data in | |
3 | yellow | 8 | (7) | rs232 RX (from host) | ||
5 | blue | 7 | (8) | rs232 TX (to host) | ||
1 | 1 | brown | 3 | 9 | ps2 data out | |
5 | 2 | red | 4 | 10 | ps2 clock in |
Not mentioned pins are Not Connected. The aux pcb also has a jumper and a 7805 footprint for +12V supply from the same K2 pin 1. The jumper & 7805 footprint are between K2 pin 1 and K1 pin 1.
External station (portiere elettrico):
Power supply module (786/15)
Connector marked as “4” is USB device (input), optionally plus power.
P/N 14J0930, 14J0624 — FRU/SMU 42M5673, 42M5671
Referring to the image, pin 2 is D-, pin 3 is D+, pin 4&5 are GND.
A guide says pin 1 should be 5V input and pin 6 12V input, but I am not convinced about this.
mcu DAPA STK200=ponyprog DASA (serial) VCC 3 - RST 16 9 7 (4.7k res. series + 5.1 zener diode to gnd) SCK 1 6 (opt. 1k r) 4 (4.7k res. series + 5.1 zener diode to gnd) MOSI 2 7 (opt. 1k r) 3 (4.7k res. series + 5.1 zener diode to gnd) MISO 11 10 8 (no add'l comp)
RJ45 male (cisco) DB9 female (PC) RJ45 DB9 - 1 3 2 6 3 7 4 4+5 5 2 6 8 7 1 8 - 9 ________ / /| |||||||| | 1 8 contact view (hook is behind)
Dumb segnalling UPS DB9 PC DB9 4 5 2 8 1 4 5 1 8--10k--1 Smart cable UPS DB9 PC DB9 2 2 1 3 9 5 a version says 1+2 7+8 another says 1+4 7+8 Terminal is 2400:8n1
pin funct 1+2 gnd 3 led buffer enable #g1 5 44780 enable 6 44780 r/w 15 vcc 16 gnd 17 44780 rs + led buffer clock 18 db4 19 db5 20 db6 21 db7
|^^^^^^^^^^^^^^^^^^^^^^| ^^^^^| o | <--- 3.3V out | component oo | <--- GND usb | side oo | <--- RX (from ext.device to the pc ) A | oo | <--- TX (from the pc to the ext.device) _____| o | <--- 5V out |______________________|
used for intercoms, etc.. 4 pin XLR : 1. MIC GND - 2. MIC SIGNAL - 3. EARPHONES GND - 4. EARPHONES SIGNAL
CINEMASCOPE da pellicola [-] apre a schermo 221:100 [ – ]