28.12.2014 Views

Nuts & Volts

Nuts & Volts

Nuts & Volts

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ed by a Skeeball, the output goes low for<br />

as long as the ball falls through the slot,<br />

then returns to high. If your logic wants<br />

the sensor to be low then go high, use<br />

the (b) version of Figure 3. I’ve never<br />

tested these resistor values with the All<br />

Electronics parts recommended, so you<br />

may have to tweak the 10K resistors up<br />

(no higher than 100K) to get a positive<br />

response. If a brighter light source is<br />

needed, the 2.2K resistor can be<br />

reduced down to 1K with no ill effects.<br />

THE IN-N-OUT SENSOR<br />

QI have a motion light for the<br />

bathroom that is set for two<br />

minutes. I would like to<br />

replace it with an infrared<br />

sensor that would come on when I walk<br />

in and off when I go out.<br />

— Clarence Hawkins<br />

AAn IR heat sensor won’t work<br />

as you plan because it will<br />

give false readings from a lingering<br />

shower, space heater,<br />

and other heat sources that remain after<br />

you’ve left the bathroom. How about an<br />

ingress/egress detector that would monitor<br />

your direction into or out of the room<br />

and control the light accordingly All it<br />

takes is a pair of photosensors steering<br />

100K<br />

Q1<br />

Q2<br />

Sensitivity<br />

1K<br />

100K<br />

1K<br />

4011<br />

4011<br />

4011<br />

Q1 and Q2 can be replaced<br />

with CdS photoresistors.<br />

In 'N' Out Direction Detector<br />

22 March 2006<br />

+12V<br />

4011<br />

0.1<br />

a logic circuit, as shown in Figure 4.<br />

The circuit works by determining<br />

which photosensor is activated first.<br />

Let’s say the light source to Q1 is interrupted<br />

first. This causes the monostable<br />

timer (4001 gates) to start and lock the<br />

states of Q1 (HIGH) and Q2 (LOW) into<br />

the 4027 flip-flop. This causes the Q<br />

output of the flip-flop to go high and<br />

pull in the relay. It also locks out the<br />

sensors for one minute so that further<br />

movement will be ignored. When you<br />

exit, Q2 is blocked and the Q output<br />

goes low, causing the relay to drop out.<br />

Placement of the sensors is critical.<br />

Obviously, they have to be placed horizontally,<br />

one in front of the other. And<br />

they have to be spaced far enough apart<br />

so that both aren’t darkened at the same<br />

time, yet close enough to be illuminated<br />

from a convenient light source — which<br />

can include IR LEDs, a night light, or<br />

ambient room light. The sensitivity pots<br />

adjust the trip point of the sensors.<br />

Cadmium sulfide photocells can be used<br />

in place of phototransistors Q1 and Q2.<br />

COMPUTER PROBLEM<br />

QI was trying to Network<br />

Neighborhood my two computers<br />

to share my Panasonic<br />

printer from one computer<br />

4001<br />

R<br />

_<br />

Q<br />

CP K<br />

S J<br />

Q<br />

1K<br />

100K<br />

+ 10uF 4001<br />

4027<br />

■ FIGURE 4<br />

1N4001<br />

2N3904<br />

12V<br />

Relay<br />

to the other. I started with My Computer<br />

and went to — Printers, Panasonic<br />

Printer, Properties, and to Details. Where<br />

it asked “To Print To The Following Port,<br />

I mistakenly entered Panasonic instead<br />

of LPT1. Now when I try to click onto the<br />

Panasonic printer I get an Illegal<br />

Operation — with an explanation<br />

SPOOL 32 caused a stack fault in module<br />

KERNEL 3.2.DLL at 016f:bff7a2al.<br />

I tried to delete the Panasonic<br />

icon, but it won’t let me. To get out of<br />

this situation, I had to End Printers<br />

Task and shut down the computer.<br />

When I restart the computer everything<br />

works okay as long as I stay<br />

away from the Panasonic icon. Even<br />

highlighting the icon puts the system<br />

into an illegal program situation. Is<br />

there a way to rectify this problem<br />

— Scott Jones<br />

ANormally I don’t answer<br />

questions that deal with<br />

specific operating system<br />

software errors, but this is<br />

one I ran across myself recently and can<br />

answer without reserve. The problem<br />

is in the Windows XP Registry. You have<br />

cross-linked the two devices (port and<br />

printer) and XP is confused, which is<br />

why you are getting the error message.<br />

You need a good Registry software<br />

program to set things straight.<br />

I personally use Registry Mechanic<br />

from PC Tools (www.pctools.com),<br />

which sells for $29.99, but a search of<br />

the web will turn up both freeware and<br />

shareware for less — most of which<br />

I haven’t tested. I suggest that all<br />

Windows XP users do an occasional<br />

scan of their Registry — and each time<br />

you make a change to your system. You<br />

never know what secrets are lurking in<br />

a new application.<br />

T-BIRD TAIL LIGHTS<br />

QA friend who creates miniature<br />

dioramas of vintage automobiles<br />

recently asked me<br />

if I had ever seen a circuit<br />

that would simulate the turn signals<br />

for a 1967 Ford Thunderbird. When triggered,<br />

the first LED would light, then<br />

a second LED, and then a third. At this<br />

point, the display goes dark and the<br />

cycle repeats. He wants to activate

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!