9-Way Sub-D Connector Adapter: Small Circuitscollection

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

SMALL CIRCUITSCOLLECTION

ter of selecting the components from the toolbox and plac- what action should occur when a certain event happens,
ing them in the desired locations on the table. for example when a key on the PC keyboard is pressed,
When you click the button ‘Options’ in the tool box, a when a target or bumper on the table has been hit, etc. It
window opens on the right of the screen with the proper- will be obvious that writing the script will take the most
ties of the selected object. This way it is possible to adjust, amount of time, particularly when the rules of the table are
for example, the start and finish angle, the force, the size complex.
and the colour of a flipper, select the images of the playing Up to now, we have only looked straight down on the
field, etc. The accompanying help file provides elaborate table, but once the table is ready for its the first test run and
details for all the parts. we start the game it will tilt to the correct angle and it
Naturally, there has to be some interaction between the appears as if we are in front of a real pinball table. Now play!
various game elements and the points score. The so-called The current release of Visual Pinball is a beta-version.
‘script’ handles this. When you click the box ‘Script’ in the It doesn’t work entirely smoothly, but is still very service-
toolbox you will find yourself in an edit window, which able. The program can be found at
already contains a few lines that could have come straight http://www.randydavis.com/vp.
from Visual Basic. These are all subroutines that define (014100-1)

9-way sub-D Connector Adapter 033


A. Grace K1 K3
K2 K4
1 DCD 1
6 DSR 6
You may soon find this pair of simple adapters invaluable 2 RxD 2
when it comes to dealing with wiring problems caused by 7 RTS 7

that ‘can of worms’ the serial (RS232) connection between 3 TxD 3


8 CTS 8
PCs and peripherals. 4 DTR 4
The adapter allows the user to terminate bare wires into 9 RI 9
5 GND 5
the terminal blocks rather than use a soldering iron — pos-
sibly in locations where the use of a soldering iron is not from PC to peripheral
feasible. The authors, for instance, used it as a experimen- 000127 - 11

tal connector whilst working out the wiring colour code of


the cable. The adaptor was also used whilst debugging thing to watch out for during assembly, is that all connec-
RS232 problems, and to terminate a temporary cable which tors are fitted facing the outer edge of the board.
passed through a bulkhead fitting on a GTEM cell during K1 is a 9 way ‘D’ female connector (socket), with right
EMC testing. angled pins for board mounting. K3 is a similar type, but
There is no PCB design as such, and the circuit diagram male (plug). K2 and K4 are simple 9-way screw terminal
appears more complicated than the final product! The only blocks.
(000127-1)

Shoo Dog! 034


P. Lay recourse to an electronic remedy is better and friendlier.
The starting point for this circuit is a ready-made passive
We’ve all had occasion to be annoyed at inconsiderate dog infrared sensor (PIR), such as can be found in inexpensive
owners whose animals relieve themselves on the private movement detectors. The relay contact of the PIR energises
property of others. This problem can hardly be solved in a the power supply of the circuit shown here. The power sup-
lasting manner using verbal (or even physical) means, so ply generates a voltage of around 15 V after rectification by

12/2001 Elektor Electronics 71

You might also like