Magazines: AutoSpeed  |  V8X  |  Silicon Chip  Shopping: Property  |  Cars  |  Fishing
Email Address:
Password:

Lost your password?

Article Search

Circuit Notebook

Interesting circuit ideas which we have checked but not built and tested. Contributions from readers are welcome and will be paid for at standard rates.

 Advertisement
Advertisement 

Exit sign with battery protection

Click for larger image

This circuit substitutes two white Luxeon 1W Star LEDs for the inverter and fluorescent tube in a standard battery-backed illuminated exit sign, as used in commercial premises. While the Luxeons have less light output than a standard small fluorescent tube, their directional light is quite adequate for the purpose and they do result in less current drain from the battery.

However, the use of a 6V SLA battery for this application means that it can be completely discharged if the 240VAC mains supply is absent for a long period, as can happen when the power to vacant premises is switched off. Such a complete discharge will effectively destroy the battery and must be avoided. This circuit achieves this by switching off Q1 & Q2 when the battery voltage falls below 5.5V, as set by trimpot VR1. For voltages below 5V, the current drain falls to below 200μA.

Brad Sheargold,
Collaroy, NSW. ($30)

One ADSL filter serves several phones

In a typical broadband ADSL internet installation, an ADSL filter is required for each telephone or fax machine. This can be an expensive proposition for a home with four or more phones.

Click for larger image

This method avoids the need for separate filters by having one filter installed in the fixed phone wiring. A typical installation requires a separate filter for each phone and three filters is the recommended maximum, set by Telstra’s limit of the ringer equivalent number (REN) of three allowed on a line.

The normal solution to this is to install a splitter and an amplifier at a cost of $170 -$200. This method involves splitting the line as it comes in, having a dedicated socket for the modem and then running all the phones via the one filter. The filters have RJ 12 sockets at each side so the setup can be run with suitable cables and modular wall sockets.

Julian James,
Coledale, NSW. ($25).

PICAXE home security project

Click for larger image

This home security project is based on a PICAXE-08 which monitors two infrared light beams, at the top and bottom of a flight of stairs. At the bottom of the stairs, an IR transmitter diode is mounted in the stair column and an IR receiver (sensor A) is installed in its opposite number. Therefore the 38kHz modulated IR beam is broken when a person enters the flight of stairs. A similar arrangement is installed at the top of the stairs (sensor B).

An LDR (light dependent resistor) determines whether it’s day or night (ADC numbers) and the program then changes the action of both IR sensors. When a person comes up the stairs during the day, sensor A triggers two wireless remote door bells, one in the house and one in the back shed via a relay, while sensor B is inactive.

Program Listing
main:
Readadc 1,b0
if b0 >75 then daylight
if b0 <=75 then night
daylight:
low 2 'output 2 is light
low 0 'output 0 is bell
if pin3 = 1 then bell 'pin3 is A bottom/car headlight sensor
if pin4 = 1 then break 'pin4 is B top/push button sensor
goto main
night:
low2
low 0
if pin3 = 1 then both 'bell & light
if pin4 = 1 then light
goto main
both:
high 2'turn on light & ring doorbell at night
high 0
pause 1000'1 sec pause to allow relay on
low 0
wait 60'keep light on for 3min
wait 60
wait 60
low 2
goto main
break: 'pauses doorbell in day-lets you walk
wait 20 'downstairs without triggering doorbell
goto main
bell: 'ring doorbell in day
high 0
pause 1000'relay on 1 second
low 0
goto main
light: 'light on at night, pause doorbell
high 2 'to walk down without triggering doorbell wait 60
wait 60
wait 60
low 2
goto main

A person going down the stairs in daylight triggers sensor B to put a 20-second hold on sensor A so that the bells don’t ring. At night, a person going up the stairs triggers sensor A to cause the bells to sound as well as switching on two floodlights to illuminate the front of the house for three minutes. When the B sensor beam is broken by a person going down the stairs at night, the floodlights come on again for three minutes and the doorbell is again inhibited for 20 seconds.

There are two other optional input devices: a pushbutton switch inside the house and an LDR circuit that detects car headlights coming up the driveway. The pushbutton will not ring the bell unless the headlight monitor is triggered. Both turn on the floodlights. The circuit works as follows:

IC1 is a 555 timer configured as an astable oscillator operating at around 38kHz to drive both IR diodes via 150Ω resistors. When either sensor A's or B’s beam is broken, its respective IR receiver (IRRX1,2) goes high. The respective PICAXE input pin 3 or 4 is also pulled high via diodes D1 or D2.

These input pins can also be pulled high by pushbutton switch S1 or the headlight sensor, via their respective diodes (D3 or D4) and 4.7kΩ resistors. In fact, D1 & D3 and D2 & D4 and their respective 4.7kΩ resistors comprise OR gates to control the PICAXE inputs.

The program determines the output state of PICAXE outputs 2 and 0. When driven high, output 2 switches the solid-state relay on via transistor Q1.

When output 0 goes high, it switches RELAY1 via transistor Q2 to drive the door bells.

The LDR type and series resistor used in the headlight sensor are a matter of choice, as outlined in the PICAXE article in the March 2003 issue of SILICON CHIP. It depends on where the control box is installed, as does the ADC numbers for the determination of day and night.

Another important point to remember is if you are programming your PICAXE on a separate board to your project, you may need to tie the serial pin input to ground via a 27kΩ resistor (or thereabouts) on the project board.

Paul Walsh,
Montmorency, Vic.

PICAXE-based car speed alarm

Click for larger image

This circuit monitors the speed of a vehicle using a Hall Effect sensor and magnets attached to a drive-shaft or half shaft, (as described in the Digital Speed Alarm for Cars, November & December 1999).

When the magnets go past the
Hall sensor, an input signal is fed to IC1 which is a TL071 op amp connected as a comparator. Trimpot VR1 sets the threshold and the output signal is a square wave fed to one half of a 4013 D-type flipflop, IC2.

The output of IC2 equates to half a revolution of the wheel, assuming the Hall Sensor is monitoring a vehicle’s half shaft.

The PICAXE-08 (IC3) measures the pulse width in milliseconds. It does this four times which equates to four revolutions of the wheel. IC3 stores that information in a memory location. This stored value has a direct relation to the speed of the car. After that, it just keeps comparing the next four readings with the first value stored.

If the value is higher, the car is going slower. If lower, the car is going faster. Therefore, it turns on the green or red LED. It also calculates the 5% over-speed value which turns on the piezo buzzer.

VR2, the LDR and transistor Q1 control the brightness of the LEDs, to suit the ambient light.

To set the speed, turn the unit on (via S1) when the vehicle is doing the desired speed. For a different speed, switch the unit off and then back on again when the desired speed is reached.

Power for the circuit comes from the vehicle’s battery via the ignition switch. Diode D1 provides reverse polarity protection, while REG1 provides a stable 5V supply for the ICs.

Henri W. Klok,
Algester, Qld. ($50)

"Program Listing

'w2 'get speed reading
'w3 'store speed setting
'w4 'compare speed value

 'start program

for b0 = 1 to 4  'time to settle
high 2    'after switch on
pause 100   'green led flashing
low 2
pause 100
next

 'get speed setting

again:
w3 = 0
for b0 = 1 to 4    'take four readings
pulsin 3,1,w2
if w2 >15800 then again   'prevent over run in w3
w3 = w3 + w2    'store speed setting

next

 'start to compare speed

chkspd:
w4 = 0
for b0 = 1 to 4    'again four readings
pulsin 3,1,w2
if w2 = 0 or w2 > 15800 then error 'speed below range
w4 = w4 +w2     'actual speed reading
next

if w4 > w3 then green 'below speed
if w4 < w3 then red  'overspeed

red:
w5 = w3/20
w5 = w3 - w5  '5% of speed limit
if w4 < w5 then alarm
high 4    'just over speed
go to chkspd

error: for b0 = 1 to 4
alarm: 
high 1    '5% more over  pause 500
high4    'speed limit   HIGH 2
low 2        Pause 500
pause 100       Low 2
low 1        next
w5 = 0       w2 = 0
goto chkspd   'check again   goto chkspd

green: 
high 2    'turn on green
low 4    'turn off red
w5 = 0
goto chkspd   'check again

Low-cost low-intensity alarm

Click for larger image

Ever needed an alarm to monitor something but you didn't want to annoy the neighbours or scare the hell out of the family in the middle of the night?

Using a feature found in most smoke alarms these days, this little circuit may do the trick for you. When the 9V battery level drops to about 7.4V in most smoke alarms, they emit a brief chirp at around 40 second intervals. In most cases, this is enough to attract attention, without the likelihood of waking the whole household.

In effect, this circuit simply powers the smoke alarm at 6.8V, as derived from a zener diode (ZD1), so that it sounds its low battery warning. Apart from the zener diode, the smoke alarm draws only a few microamps, with a brief current spike during the "chirp".

Smoke alarms are now very cheap to buy so this is a good alternative to a piezo siren.

More information on a common Smoke Alarm chip made by Motorola can be obtained at:

http://e-www.motorola.com/files/sensors/doc/data_sheet/MC14467-1.pdf

Michael Jeffery,
Eurobin, Vic. ($25)

 RSS  |  Privacy Policy  |  Advertise  |  Contact Us

Copyright © 1996-2009 Silicon Chip Publications Pty Ltd & Web Publications Pty Limited. All Rights Reserved