Wednesday, October 9, 2013

Rear Light After Glow For Bicycles

This article is of interest only to readers whose bicycle lights are powered by a dynamo. The laws on bicycle lights in the United Kingdom are stricter than in other countries and a dynamo is, therefore, a rarity in this country. From the point of view of traffic safety it is advisable (in UK obligatory) for cyclists to have the rear lamp of their bicycle to light even when they are at standstill.

In principle, it is not very difficult to modify the existing rear light with afterglow: all this needs is a large enough energy reservoir. Since the after-glow is required for short periods of time only, a battery is not required: a large value capacitor, say, 1 F, is quite sufficient.As the diagram shows, in the present circuit, the normal rear light bulb is replaced by two series-connected bright LEDs, D2 and D3. These are clearly visible with a current of only 6 mA (compared with 50 mA of the bulb).

The current is set with series resistor R1. The LEDs are shunted by the 1 F capacitor, C1. Since the working voltage of this component is only 5.5 V, it is, in spite of its high value, physically small. An effective regulator is needed to limit the dynamo voltage adequately. Normal regulators cannot be used here, since they do not work at low voltages. Moreover, such a device would discharge the capacitor when the cycle is at standstill.

Circuit diagram :

Rear_Light_After_Glow-Circuit-DiagramRear Light After Glow Circuit Diagram

Fortunately, there is a low-drop type that meets the present requirements nicely: the Type LP2950CZ5.0. Of course, the dynamo output voltage needs to be rectified before it can be applied to the regulator. In the present circuit, this is effected by half-wave rectifier D1 and buffer capacitor C2. Diode D1 is a Schottky type to keep any losses low – important for this application, because the ground connection via the bicycle frame usually causes some losses as well. The value of buffer capacitor has been chosen well above requirements to ensure that C1 is charged during the negative half cycles of the dynamo voltage.

Source : www.extremecircuits.net

Read More..

Monday, October 7, 2013

Flip Flop Timer Using 4017

This circuit shows how a 4017 CMOS decade counter can be used to build a timer circuit. Push-button S1 will discharge capacitor C1 through resistor R2. When S1 is released, C1 will charge up through R1 causing a rising edge at the clock input of IC1. This causes the output Q1 to go high (to the supply voltage). Current will flow through R4 and LED D2 will light. At the same time C2 will begin charging through preset P1 and R6. When the voltage on C2 reaches approximately half the supply voltage it will reset IC1. Q1 will go low, the LED will go off and C2 will discharge through D1 and R3. The circuit will now remain stable in this reset condition until S1 is pressed again. Preset P1 allows the ON time of the circuit to be adjusted between 5 seconds and 7 minutes.

Flip-Flop Timer circuit diagram Using 4017The current consumption of this circuit in its reset state is only a few micro-amps, rising to approximately 8mA mainly due to the LED current, when S1 is pressed. When power is applied to the circuit IC1, can be in an indeterminate state and the LED may be on. Pressing S1 until the LED goes off clears this condition. Alternatively C2 may be connected to the supply rail (as shown dotted in the diagram) this will ensure that IC1 will always power up in a reset state. A disadvantage of this configuration is that any noise on the supply rail will be coupled through to the reset pin of IC1 and may affect the timing period.
Read More..

Saturday, October 5, 2013

Rolling Shutter Motor Control

An electrically operated rolling shutter usually has a standard control panel with a three-position switch: up, down and stop. If you would like to automate the opening and closing with a time controlled switch, a few additional wires will have to be connected. Typically, the controls are implemented as indicated in the schematic ‘Normal Situation’. If this is indeed the case, then you can see in ‘New Situation’ how the shutter can be automated with a timer. There is only one method to determine the actual schematic of your control circuit, and that is to open the control box and using an ohmmeter, pencil and paper to check out and draw the circuit. Make sure you turn the power off first though! Connect a 230-V relay (with both the contacts and the coil rated 230 VAC) to the timer.

Rolling Shutter ControlThe changeover switch between automatic and manual control needs to be rated 230 VAC as well and may not be a hazard for the user. The relay and switch are preferably fitted in a plastic mains adapter enclosure with built-in plug, which is plugged into the timer. It is a good idea to check first if this will actually fit. Because of the manual/automatic-switch, the operation is completely fail-safe and misunderstandings are out of the question. The switch prevents the issue of conflicting commands (with disastrous consequences) when, for example, the shutter is being automatically raised and manually lowered at the same time.

Rolling Shutter Control
Read More..

Thursday, October 3, 2013

12V Halogen Dimmer

I use a 12V 20W halogen lamp (MR16) and a 4.2Ah SLA battery for my bike light system. The battery has only limited life at this power rating, so I designed this cheap light dimmer to reduce the battery drain and allow for longer rides at night. Based on a simple 555 timer circuit and Mosfet switch Q1, it works by pulse-width modulating the 12V supply to the lamp. The 555 (IC1) is wired as a free-running oscillator, with two different mark/space ratios selectable via a 2-pole, 5-position rotary switch (S1). The third switch position bypasses the electronic circuitry and connects the lamp directly to battery negative. This gives three power levels of about 7W, 13W and 20W. A logic-level IRL530N Mosfet with a drain-source "on" resistance of only 0.1Ω ensures low losses and eliminates the need for a heatsink. An STP30NE06L Mosfet (Jaycar Cat. ZT-2271) would also be suitable.

12V halogen dimmer circuit schematic
Read More..

Tuesday, October 1, 2013

Pills Reminder flashing LED

4 - 6 - 8 - 12 - 24 - 48 hours setting, LED or Beep Alert - 9V Battery Supply
A Pills Reminder is a device that operates a flashing LED (and/or a beeper) at a fixed hour interval. A choice of time-intervals as wide as possible is available with this circuit, namely 4, 6, 8, 12, 24 and 48 hours. At first you must choose the hour interval by switching SW1 to the desired value, then apply power by means of SW2. After the hour delay chosen has elapsed the LED will start flashing at 2Hz, i.e. two times per second. This status will last until pushbutton P1 is pressed: then the LED will turn off, but the circuit will continue its counting and the LED will flash again when the same hour interval as before is reached. A noteworthy feature of this circuit, usually not found in similar devices, is that the internal counter is not reset when P1 is pressed: this allows a better time-interval precision.

Let us explain this feature with an example: suppose you have set the time interval to 24 hours and started the Pills Reminder at 8 oclock. Next day, at 8 oclock the LED will start flashing, but you, for some reason, notice the flashes at 8:10 and press P1 to stop the LED. With most devices of this kind, the counter will be reset, causing the LED to start flashing next day at 8:10 oclock. This will not happen with this circuit and the LED will start flashing next day always precisely at 8 oclock even if you pressed P1 at 9 or 10 oclock.

Pills Reminder Circuit DiagramParts:

R1______________10M 1/4W Resistor
R2,R3,R4_______100K 1/4W Resistors
R5,R7___________10K 1/4W Resistors
R6_______________1K 1/4W Resistor
C1,C2___________22pF 63V Ceramic Capacitors (See Notes)
C3______________22µF 25V Electrolytic Capacitor
C4,C5__________100nF 63V Polyester Capacitors
C6_______________1µF 63V Polyester, Multilayer Ceramic or Electrolytic Capacitor
IC1____________4060 14 stage ripple counter and oscillator CMos IC
IC2____________4040 12 stage ripple counter CMos IC
IC3____________4082 Dual 4 input AND gate CMos IC
IC4____________4075 Triple 3 input OR gate CMos IC
IC5____________4520 Dual binary up-counter CMos IC
IC6____________4001 Quad 2 input NOR Gate CMos IC
D1_____________5 or 10mm red LED
XTAL_________32.768 kHz Sub-miniature Watch crystal
P1_____________SPST Pushbutton
SW1____________2 poles 6 ways Rotary Switch
SW2____________SPST Toggle or Slide Switch
B1_______________9V PP3 Battery Clip for PP3 Battery

Alternative Clock Parts:

R8_______________1K 1/4W Resistor
R9_____________330K 1/4W Resistor
R10_____________20K 1/2W Cermet or Carbon Trimmer
R11______________1K 1/2W Cermet or Carbon Trimmer
C7_______________1µF 63V Polyester Capacitor
IC7____________7555 or TS555CN CMos Timer IC

Circuit Operation:

The clock of the circuit is made of a stable oscillator built around two inverters embedded into IC1 and a Watch crystal oscillating at 32.768kHz. This frequency is divided by 16384 by the internal flip-flop chain of IC1 and a 2Hz very stable clock frequency is available at pin #3 of this IC. IC2 counter and IC3A 4 input AND gate are wired in order to divide by 3600 the 2Hz clock, therefore, a pulse every 30 minutes is available at the clock input of IC5. The division factor of this IC is controlled by IC3B and the position of SW1A and B, selecting from six time-intervals fixed to 4, 6, 8, 12, 24 and 48 hours.

The set-reset flip-flop formed by IC6B and IC6C is set through IC4C each time a low to high transition is present at the pin of IC5 selected by SW1B cursor. IC6A and C4 provide to set the flip-flop also when a high to low transition is present at SW1B cursor. When the flip-flop is set, IC6D is enabled and the 2Hz frequency available at pin #3 of IC1 is applied to pin #13 of IC6D causing the flashing LED operation. The flip-flop can then be reset by means of P1. A master reset is automatically done at switch on by means of C6 and R7.

Alternative Clock:

Sometimes, the Watch crystal can be difficult to locate, or could be considered too expensive. For those willing to avoid the use of a Watch crystal and to accept less time accuracy, an alternative clock generator circuit is provided, directly oscillating at 2Hz, thus avoiding the use of divider ICs. A CMos 7555 Timer IC generates a stable 2Hz square wave, whose frequency must be accurately set by means of two trimmers. R10 must be adjusted first for coarse tuning, then R11 for fine tuning. Setting precisely the 2Hz frequency of this oscillator is a rather difficult task, and can be done with great patience and the aid of a clock, a chronometer or, best, a digital frequency meter capable of measuring very low frequencies. In any case, after an accurate setup, this oscillator showed a very stable performance, not affected by battery voltage variations and an accuracy of about ±30 seconds per 24 hours interval.

Notes:
  • Wanting the utmost time precision and if a digital frequency meter is available, a 5-50pF 50V Ceramic Trimmer Capacitor can be used in place of C2. It must be adjusted in order to read exactly 32.768kHz on the meter display with the input probe connected to pin #9 of IC1.
  • A Piezo sounder (incorporating a 3KHz oscillator) can be added to provide a visual plus audible alert. It must be wired across pin #11 of IC6D and negative ground, respecting polarities. Remove D1 and R6 if the visual alert is not needed.
Read More..