Wednesday, November 12, 2014

Electronic Cricket Match Game

This electronic cricket is a present for Kids. This simple battery powered circuit can be used to play Cricket Match with your friends. Each LED in the circuit indicates various status of the cricket match like Sixer, Run out, Catch etc. The Circuit uses two ICs ,one in the Astable mode and the second in the display driver mode. IC1 is wired as an Astable Multivibrator with the timing elements R1, R2 and C1. With the shown values of these components very fast output pulses are generated from the Astable.

Output from IC1 passes into the input of IC2 which is the popular Johnson Decade counter CD4017. It has 10 outputs. Of these 8 outputs are used. Output 9 ( pin9) is tied to the reset pin 15 to repeat the cycle. When the input pin 14 of IC2 gets low to high pluses, its output turns high one by one. Resistor R3 keeps the input of IC2 low in stand by state to avoid false indications.

Electronic Cricket Circuit Diagram
When the Push Switch S1 is pressed momentarily, the Astable operates and all the LEDs run very fast sequentially. When S1 is released, any one of the LED stands lit which indicates the status of the match. For example, if LED D7 remains lit, it indicates Sixer and if LED 8 remains lit, it indicates Catch out. Label each LED for its status as shown in the diagram. Pressing of S1 simulates Bowling and Running LEDs indicates running of Batsman.
Read More..

Electrical Wiring for Building – Standard and Code

Electrical Here is an article discuss on Electrical Wiring Standard and Code as used to provide power in buildings and structures, commonly referred to as building wiring.

The international standard wire sizes are given in the IEC 60228 standard of the International Electrotechnical Commission. This document and its precursors were created due to a need for a standard definition of cable conductor size. However, this standard is not written in such language that it can readily be adapted as a national wiring code.

Get more information regarding the Electrical Wiring Standard and Code here (reference: scribd.com)

Read More..

4 Bit Analogue to Digital Converter

The operation of the converter is based on the weighted adding and transferring of the analogue input levels and the digital output levels. It consists of comparators and resistors. In theory, the number of bits is unlimited, but each bit needs a comparator and several coupling resistors. The diagram shows a 4-bit version. The value of the resistors must meet the following criteria:

    R1:R2 = 1:2;
    R3:R4:R5 = 1:2:4;
    R6:R7:R8:R9 = 1:2:4:8.

The linearity of the converter depends on the degree of precision of the value of the resistors with respect to the resolution of the converter, and on the accuracy of the threshold voltage of the comparators. This threshold level must be equal, or nearly so, to half the supply voltage. Moreover, the comparators must have as low an output resistance as possible and as high an input resistance with respect to the load resistors as feasible. Any deviation from these requirements affects the linearity of the converter adversely.

Circuit diagram:


 4-Bit Analogue to Digital Converter Circuit Diagram

If the value of the resistors is not too low, the use of inverters with an FET (field-effect transistor) input leads to a near-ideal situation. In the present converter, complementary metal-oxide semiconductor (CMOS) inverters are used, which, in spite of their low gain, give a reasonably good performance. If standard comparators are used, take into account the output voltage range and make sure that the potential at their non-inverting inputs is set to half the supply voltage. If high accuracy is a must, comparators Type TLC3074 or similar should be used.

This type has a totem-pole output. The non-inverting inputs should be interlinked and connected to the tap of a a divider consisting of two 10 kΩ resistors across the supply lines. It is essential that the converter is driven by a low-resistance source. If necessary, this can be arranged via a suitable op amp input buffer. The converter draws a current not exceeding 5 mA.
Read More..

Tuesday, November 11, 2014

Long Duration Timer using ATtiny2313

This timer circuit is designed to switch on a 12 V load in a solar-powered installation for a preset period at the press of a button. When the period has expired a latching relay disconnects both the load and the controller circuit from the 12 V supply. The length of the period can be configured by making suitable changes to the microcontroller’s source code.
When button S1 is pressed a voltage appears across relay coil L1, and the relay switches the load on. Since the relay is a latching type, it remains in this state when the but ton is released. There is now a supply to the 78L05 voltage regulator (a low-dropout type such as the LP2950CZ-5.0 may also be used) and the microcontroller is powered up. In the microcontroller the timer program runs until the configured time interval has elapsed. Around 90 % of the way through the time period LED D2 lights as a warning that the load will shortly be switched off, and this time can also of course be configured by changing the software.

When the full time interval has elapsed the microcontroller sets an output (pin 7) high, which triggers the CNY 17-3 optocoupler and in turn drives relay coil L2. The relay returns to its initial state, disconnecting the load as well as the controller (which is also powered via the relay contact) from the 12 V supply.Long Duration Timer Circuit Diagram

The author used a miniature 16 -by-2 LCD panel type HMC16223SG in his prototype, measuring just 52 mm by 20 mm. It is of course possible to use any standard LCD module that uses an HD44780-compatible controller. Note that P1 is used to adjust the contrast of the LCD: if the display appears blank it is worth checking the contrast set-ting before suspecting a more serious problem! If desired, the LCD can be dispensed with, along with the corresponding parts of the source code.

The upper line of the LCD shows the total time period, in seconds, for which the soft-ware is configured, while the lower line shows the time, in seconds, since the button was pressed.

The screendump shows the LCD settings under BASCOM-AVR.  
Read More..

Railway Points Sequencer

Dedicated model rail enthusiasts using sophisticated train and points controllers often have the problem that as their layouts get bigger and more complex, the transformer supplying power to the points does not have enough current to switch several points at the same time. The actuators in the points are designed for ac operation so it doesn’t help by rectifying the supply and adding reservoir capacitors, the coils can overheat and burn out if they get jammed during their travel (ac operation actually helps to overcome friction in the mechanism). The circuit shown here solves this problem by using a sequencer to ensure than only one points actuator can be active at any point in time. During operation the controller will switch all the points on one line at the same time as usual, but the other connection to each coil is connected to the sequencer unit. This circuit will only allow current to flow through one coil at a time. 

Circuit diagram :
Railway Points Sequencer Circuit Diagram

The sequencer circuit consists of a 555 timer configured as an astable multivibrator clocking a 4017 Johnson counter where the ten outputs are used to switch ten triacs in sequence, enough for ten sets of points. P1 alters the oscillator frequency of the 555 timer and can be adjusted so that each time interval of the sequencer is long enough to allow the points to switch. 

The switching time varies depending on the type of points but is typically between 1 s and 1.5 s. Any points that jam during switching give out a characteristic humming noise in time to the switching frequency so it makes them easier to find. The eleventh output of the 4017 can be connected to an LED (together with a series resistor). This will flash to give a visual indication of the sequencers operation. Power for the circuit is provided by 15 V ac from the points transformer. The B80C1500 bridge rectifier (80 Vpiv, 1.5 A) and regulator IC1 produce a stabilised 12 V for the circuit. Current consumption is only a few milliamps.
Read More..

Sunday, November 9, 2014

12 V Bidirectional Motor Control Circuit

This simple circuit drives DC motors with a maximum current of 1 A and can be built with readily available components.The output voltage is adjustable between 0 and 14 V and the polarity can be changed so that not only motor speed but also rotation direction can be adjusted by turning a knob. 

The circuit is also ideal as a controller for a DC model railway or small low voltage hobby tool. Power for the circuit is supplied by a 18 V mains transformer rated at 1.5 A. Diodes D1to D4 rectify the supply and capacitor C1 provides smoothing to give a DC output voltage of around 24 V. A classic ‘H’ bridge configuration is made up with transistors T1/T3 and T2/T4. Transistors T5 and T6 together with resistors R7 and R8 provide the current sense and limiting mechanism. The maximum output current limit can be changed from 1 A by using different value resistors for R7 and R8: IOUT = 0.6 V / R where R gives the value for R7 and R8. For increased current limit the mains transformer and diodes will need to be changed to cope with the extra current as well as the four transistors used in the bridge configuration. 

Circuit diagram:
  12 V Bidirectional Motor Control Circuit Diagram
 
Motor speed control and direction is controlled by a twin-ganged linear pot (P1). The two tracks of P1 together with R1/R2 and R3/R4 form two adjustable potential divider networks. Wiring to the track ends are reversed so that as the pot is turned the output voltage of one potential divider increases while the other decreases and vice versa. 

In the midway position both dividers are at the same voltage so there is no potential difference and the motor is stationary. As the pot is rotated the potential difference across the motor increases and it runs faster. The voltage drop across D5 and D6 is equal to the forward voltage drop VBE of the bridge transistors and ensures that the motor does not oscillate in the off position with the pot at its mid point.
Read More..

Saturday, November 8, 2014

DTMF Proximity Detector

A DTMF-based IR transmitter and receiver pair can be used to realize a proximity detector. The circuit presented here enables you to detect any object capable of reflecting the IR beam and moving in front of the IR LED photo-detector pair up to a distance of about 12 cm from it. The circuit uses the commonly available telephony ICs such as dial-tone generator 91214B/91215B (IC1) and DTMF decoder CM8870 (IC2) in conjunction with infrared LED (IR LED1), photodiode D1, and other components as shown in the figure. A properly regulated 5V DC power supply is required for operation of the circuit.

The transmitter part is configured around dialer IC1. Its row 1 (pin 15) and column 1 (pin 12) get connected together via transistor T2 after a power-on delay (determined by capacitor C1 and resistors R1 and R16 in the base circuit of the transistor) to generate DTMF tone (combination of 697 Hz and 1209 Hz) corresponding to keypad digit “1” continuously. LED 2 is used to indicate the tone output from IC3. This tone output is amplified by Darlington transistor pair of T3 and T4 to drive IR LED1 via variable resistor VR1 in series with fixed 10-ohm resistor R14. Thus IR LED1 produces tone-modulated IR light.DTMFVariable resistor VR1 controls the emission level to vary the transmission range. LED 3 indicates that transmission is taking place. A part of modulated IR light signal transmitted by IR LED1, after reflection from an object, falls on photodetector diode D1. (The photodetector is to be shielded from direct IR light transmission path of IR LED1 by using any opaque partition so that it receives only the reflected IR light.) On detection of the signal by photodetector, it is coupled to DTMF decoder IC2 through emitter-follower transistor T1.

When the valid tone pair is detected by the decoder, its StD pin 15 (shorted to TOE pin 10) goes ‘high’. The detection of the object in proximity of IR transmitter-receiver combination is indicated by LED1. The active-high logic output pulse (terminated at connector CON1, in the figure) can be used to switch on/off any device (such as a siren via a latch and relay driver) or it can be used to clock a counter, etc. This DTMF proximity detector finds applications in burglar alarms, object counter and tachometers, etc.
Read More..