Ping Blog WWW.ElectronicsCircuits.TK

Sunday, 20 November 2011

12V To 24V DC-DC Converter Circuit


This simple DC-DC converter can provide up to 24V from a 12V source. It can be used to run radios, small lights, relays, horns and other 24V accessories from a 12V vehicle with a maximum draw of about 800mA. It can be used to charge one 12V battery from another, or step up the voltage just enough to provide necessary overhead for a 12V linear regulator. Using one op-amp as a squarewave oscillator to ring an inductor and another op-amp in a feedback loop, it won't drift around under varying loads, providing a stable 24V source for many applications. With a wide adjustment in output this circuit has many uses.

Schematic


Schematic for the 12 To 24V DC-DC Converter circuit

Parts

Part
Total Qty.
Description
Substitutions
R1, R2, R3, R4, R8, R76100K 1/4W Resistor
R51470 Ohm 1/2W Resistor
R6110K Linear Pot
C110.01uF Mylar Capacitor
C210.1uF Ceramic Disc Capacitor
C31470uF 63V Electrolytic Capacitor
D111N4004 Rectifier Diode
D21BY229-400 Fast Recovery DiodeSee Notes
Q11BC337 NPN Power Transistor
U11LM358 Dual Op Amp IC
L11See Notes
MISC1Board, Wire, Socket For U1, Case, Knob For R6, Heatsink for Q1

Notes


  1. R6 sets the output voltage. This can be calculated by Vout = 12 x (R8/(R8+R7)) x (R6B/R6A).
  2. L1 is made by winding 60 turns of 0.63MM magnet wire on a toroidial core measuring 15MM (OD) by 8MM (ID) by 6MM (H).
  3. D2 can be any fast recovery diode rated at greater then 100V at 5A. It is very important that the diode be fast recovery and not a standard rectifier.
  4. Q1 will need a heatsink.

Wire Loop Alarm


Schematic


Schematic for tube amp

Parts

Part
Total Qty.
Description
Substitutions
R11100K 1/2W 1% Resistor
R2, R4210K 1/2W 1% Resistor
R311 Meg 1/2W 1% Resistor
C1, C320.1uF Ceramic Disc Capacitor
C210.01uF Ceramic Disc Capacitor
IC114001UBE Quad 2-i/p NOR Gate
Q11MPSA14 Low Power NPN Transistor
SIREN1Micro piezo siren 12V DC 150mA, 110dB @ 1M
LOOP1See "Notes"
MISC1Board, Wire, Socket For IC1

Notes


  1. Email Alex Meaden with questions, comments, etc.
  2. The loop can be any type of hookup wire, with a maximum resistance of about 90K. Using very thin wire (40AWG, for example) will make a very sensitive trip wire, but will shorten the distance it can be strung due to the high resistance.
  3. The siren can be replaced with a relay to drive external loads.

Water Detector With Sump/Bilge Pump Controller



This moisture detector with pump controller is built around the special purpose LM1830 IC. The LM1830 is designed to detect moisture by passing an AC current through a set of probes. An internal comparator compares the resistance of the probes to an internal reference. When the resistance between the probes is low (indicating the presence of water or other conductive liquid) then the IC triggers it's output. An AC signal avoids electroplating and corrosion problems that are common when DC is used. To provide an adjustable delay hysteresis to avoid cycling the pump, a timer based around the 555 is used a range of about 5 seconds to two minutes. In this way the pump will stay active for a set amount of time even if the fluid level is below that of the probes.

Schematic


Scheamtic of the water detector with pump controller

Parts


Part

Total Qty.

Description

Substitutions
R11470 Ohm 1/4 W Resistor
R2, R4110K 1/4 W Resistor
R316.8K 1/4 W Resistor
R511 Meg Linear Taper Pot
R6151K 1/4 W Resistor
C11470uF 35V Electrolytic Capacitor
C210.001uF Ceramic Disc Capacitor
C310.05 uF Ceramic Disc Capacitor
C4120uF 35V Electrolytic Capacitor
C516.8uF 35V Electrolytic Capacitor
C6, C820.01uF Ceramic Disc Capacitor
C71100uF 35V Electrolytic Capacitor
U11LM1830 Fluid Detection IC
U21555 Timer
Q112N5305 NPN Power Transistor
D1, D221N4148 Signal Diode
D311N4002 Rectifier Diode
K11Relay With 12V Coil (See Notes)
S11SPST Switch
PROBES1Stainless Steel Probes (See Notes)
MISC1Case, Knob, Board, Wire, Sockets For U1 and U2





Notes


  1. The probes should be made of stainless steel and mounted in a non-conductive fixture. Stainless steel nails, bolts or welding rod will make ideal probes. Good non-conductive materials are Lexan, plexiglass or plastic. The probes are to be placed at the liquid level at which you wish the pump to turn on.
  2. K1 should be chosen according to the requirements of the pump. If you are running a 12V pump then common automotive relays will work fine. If you are running a mains powered pump then you will need to make sure the contacts are rated accordingly.
  3. S1 provides a manual pump switch.
  4. R5 adjusts the on-time of the pump once moisture has been detected. It is adjustable from approximately 5 seconds to approximately 2 minutes.
  5. The probes should be cleaned periodically to assure reliable operation.

Video Stabilizer/MacroVision Removal


Have you ever attempted to copy a commercially produced video only to end up with a distorted and jumpy image? If so, then you have run afoul of MacroVision. MacroVision is the most popular copy protection scheme used on the majority of content distributed on VHS cassettes. Like all copy protection, it does nothing to discourage the real pirates and only annoys the user who may wish to create a legal copy for backup and archival purposes. This circuit can eliminate MacroVision encoding in both NTSC and PAL recordings.

Schematic


This is the schematic of the Macrovision removal circuit

Parts

Part
Total Qty.
Description
Substitutions
R1, R2, R3, R4, R5, R7668K 1/4W Resistor
R6275 Ohm 1/4W Resistor
R8, R92100 Ohm 1/4W Resistor
R1012.2K 1/4W Resistor
R1111.5K 1/4W Resistor
R12, R172470K 1/4W Resistor
R13, R16233K 1/4W Resistor
R1416.8K 1/4W Resistor
R15122K 1/4W Resistor
R18147K 1/4W Resistor
C1115uF Electrolytic Capacitor
C21220uF Electrolytic Capacitor
C31220pF Ceramic Disc Capacitor
C410.0022uF Ceramic Disc Capacitor
C5, C7, C8, C9, C10, C11, C12, C1370.1uF Ceramic Disc Capacitor
C610.47uF Ceramic Disc Capacitor
D1-D9, D10-D18, D19-D27, D28, D29, D30, D31, D32, D33, D34, D35351N4148 Diode
Q11BC548 NPN Transistor
Q21BC558 PNP Transistor
U114040 12-Bit Ripple Counter
U2, U324027 Dual J-K Flip Flop
U414011 Quad Two Input NAND Gate
U51TL802 Dual Op Amp
U614053 Triple Two Channel Multiplexer
U714069 Hex Inverter
J1-J9, J10-J18, J19-J2727Jumper
J28, J292RCA Jack
MISC1PC Board, Wire, Sockes For ICs

Notes


  1. The circuit was submitted via email by Jari Ekstrom. Jari noted that the author is Antti Paarlahti and that the circuit originally came from the author's website. This website is no longer accessible. However, some searching revealed that the author of the circuit also wrote The MacroVision FAQ. The email address listed for the author in the FAQ is invalid and the FAQ was last updated in late 1996. This circuit reproduced here without permission.
  2. Before use, the circuits's jumper need to be set. Take a look at the table below:
    MacroVision Type
    Upper Start Line
    Upper End Line
    Lower Start Line
    PAL0x050x0F0x126
    NTSC0x060x0E0xFB

    To set the jumpers, first convert the line numbers to binary. You will end up with three binary digits, one for each set of line numbers. Bit 0 is least significant, bit 8 is most significant. Now simply open the jumpers at the 0 bits and close the jumpers at the 1 bits.
  3. Connect your video source to "Composite Video In". As the label suggests, this circuit accempts composite video signals only. The corrected video signal is sent to the "Composite Video Out" jack.
  4. With the two "Video" terminals disconnected the circuit passes video through without modifying it. Jumping the "Video" terminals enables the MacroVision removal.
  5. As with all circuits involving CMOS (4000 series) ICs, you must tie the unused inputs of those ICs to ground. This is not shown on the schematic for clarity.
  6. Supply voltage is 12V.

Video Activated Relay


Schematic


Schematic for Video Activated Relay

Parts

Part
Total Qty.
Description
Substitutions
R1, R2210K 1/4 W Resistor
R311K 1/4 W Resistor
R4133K 1/4 W Resistor
C111uF Electrolytic Capacitor
Q1, Q2, Q332N2222 NPN Transistor2N3904 NPN Transistor
D1, D2, D341N4148 Diode
K119V Relay
J11RCA Jack
MISC1Case, wire, board

Notes


  1. Since you may be using this circuit to switch mains voltage, it should be enclosed in a case.
  2. The circuit will also work with most line level audio, although you may have to adjust the value of R1.

Touch Switch


A touch switch is a switch that is turned on and off by touching a wire contact, instead of flicking a lever like a regular switch. Touch switches have no mechanical parts to wear out, so they last a lot longer than regular switches. Touch switches can be used in places where regular switches would not last, such as wet or very dusty areas.

Schematic


Schematic for Touch Switch

Parts

Part
Total Qty.
Description
Substitutions
C1110uF 16V Electrolytic Capacitor
R1, R22100K 1/4 Watt Resistor
R3110 Meg 1/4 Watt Resistor
U114011 CMOS NAND Gate IC
MISC1Board, Wire, Socket For U1

Notes


  1. The contacts an be made with just two loops of wire close together, or two squares etched close together on a PC board.
  2. When activated, the output of the circuit goes high for about one second. This pulse can be used to drive a relay, transistor, other logic, etc.
  3. You can vary the length of the output pulse by using a smaller or larger capacitor for C1.

Time Delay Relay II


Schematic


Schematic for Time Delay Relay

Parts

Part
Total Qty.
Description
Substitutions
C11See Notes
R11See Notes
D111N914 Diode
U114011 CMOS NAND Gate IC
K116V Relay
S11Normally Open Push Button Switch
MISC1Board, Wire, Socket For U1

Notes


  1. Email jawaharlal@excite.com with comments, questions, etc.
  2. To calculate the time delay, use the equation R1 * C1 * 0.85=T, where R1 is the value of R1 in Ohms, C1 is the value of C1 in uF, and T is the time delay in seconds.
  3. S1 may be replaced with an NPN transistor so the circuit can be triggered by a computer, other circuits, etc.
  4. Most any 6V relay will work for K1. If you use a large relay, you my need to add a transistor to the output of the circuit in order to drive the larger load.

Time Delay Relay


A time delay relay is a relay that stays on for a certain amount of time once activated. This time delay relay is made up of a simple adjustable timer circuit which controls the actual relay. The time is adjustable from 0 to about 20 seconds with the parts specified. The current capacity of the circuit is only limited by what kind of relay you decide to use.

Schematic


Schematic for Touch Switch

Parts

Part
Total Qty.
Description
Substitutions
R111 Meg Pot
R2110 K 1/4 Watt Resistor
C1110uf 25V Electrolytic Capacitor
C210.01uf Ceramic Disc Capacitor
D1,D221N914 Diodes
U11555 Timer IC
RELAY19V Relay
S111A 120V SPST Switch
MISC1Board, Wire, Socket For U1

Notes


  1. R1 adjusts the on time.
  2. You can use a different capacitor for C1 to change the maximum on time.
  3. S1 is used to activate the timing cycle. S1 can be replaced by a NPN transistor so that the circuit may be triggered by a computer, other circuit, etc.

Stepper Motor Controller


I found this circuit in my files. I don't know where it came from, but it looks like I photocopied it from somewhere years ago. I have been told that it came from "The Robot Builder's Bonanza", by Gordan McComb. Anyway, I thought that it should be fairly useful, so I decided to post it here. The circuit is very simple and inexpensive. This is good thing because most commercial stepper motor controller ICs are quite expensive. This circuit is built from standard components and can easily be adapted to be controlled by a computer. If you use cheap surplus transistors and stepper motor, the price of the circuit can be kept to under $10.

Schematic


This is the schematic of the Stepper Motor Controller

Parts

Part
Total Qty.
Description
Substitutions
R1, R2 ,R3, R441K 1/4W Resistor
D1, D2, D3, D441N4002 Silicon Diode
Q1, Q2, Q3, Q44TIP31 NPN Transistor (See Notes)TIP41, 2N3055
U114070 CMOS XOR Integrated Circuit
U214027 CMOS Flip-Flop
S11SPDT Switch
MISC1Case, Board, Wire, Stepper Motor

Notes


  1. You should be able to substitute any standard (2N3055, etc.) power transistor for Q1-Q4.
  2. Every time the STEP line is pulsed, the motor moves one step.
  3. S1 changes the motors direction.

Simple Two Speed Contactor DC Motor Controller


The simplest of all motor controllers (besides a straight on/off switch) is the contactor controller. I designed this contactor controller for use in my electric scooter project. It is based around three 12V relays, two 12V batteries, two switches and of course a motor. Having no silicon to "fry", it is quite reliable and robust. A contactor controller works by rearranging the two (or more) supply batteries between series and parallel. This gives the motor a slow speed (batteries in parallel, current adds) and a fast speed (batteries in series, voltage adds). This assures that both batteries are discharged equally. When the circuit is "at rest", the batteries are connected in parallel, which allows easy recharging.

Schematic


This is the schematic of the contactor motor controller

Parts

Part
Total Qty.
Description
Substitutions
K1, K2, K3312V 30A SPDT Relay (See Notes)
S1, S22SPST Switch or Button
B1, B2212V Battery (See Notes)
M1112V or 24V Motor (See Notes)
MISC1Case, Wire, etc.

Notes


  1. S1 closes K3 and thus causes M1 to operate. S2 activates K1 and K2, reconfiguring the batteries for series operation and thus causes M1 to operate at "fast" speed.
  2. B1 and B2 should be chosen based on the current requirements of M1. Often, sealed lead-acid type batteries are available at local suppliers for surprisingly low prices. These batteries are ideal for things such as scooters, go-karts, etc.
  3. The relays are standard automotive type relays, available cheaply from any auto parts store.
  4. Your motor will depend on your requirements. 12V motors will normally run fine at 24V, and vice versa.
  5. You will notice that in series mode, all three relays only pull power from B2. This is because the relays have 12V coils, and it is impossible to switch the batteries from series to parallel and keep power to the coils at the same time. This does, however, mean that B2 is discharged slighty before B1. This should normally not be an issue unless the batteries are being drained completely "dead". Draining a battery dead is not good for it in any situation, and should be avoided. If you wish, you can use a small 12V battery to run the relays separately.
  6. You can add two more speeds to this controller using the schematic below. It connects at points A and B shown above on the controller schematic.
    Adding more speeds
    K1 is simply another of the same relay as used in the controller. S1 is another switch. R1 needs to be chosen based on your motor, but it will be of low value (under 10 Ohm) and high wattage (normally at least 100W). It must be capable of handling the full current drawn by the motor. This is not exactly an efficient way to limit current to the motor as excess current is dissipated as heat by the resistor, so it is normally only used for a "starter" speed.

Simple Touch Switch Circuit


Similar to the CMOS based Touch Switch also on this site, this transistor based touch switch can activate a load simply by the user touching a metal plate. It is designed to directly switch a relay to allow it to be used with large loads. As it uses only a few commonly available transistors and a 12V supply, it is ideal for hostile environments where mechanical switches would be damaged. Using a latching relay and two of these circuits, a simple two pad "touch on/touch off" arrangement can be made.

Schematic


Schematic for touch switch

Parts

Part
Total Qty.
Description
Substitutions
R1110 Meg 1/4W Resistor
R2147K 1/4W Resistor
R31120k 1/4W Resistor
R41470 Ohm 1/4W Resistor
C1115uF Electrolytic Capacitor
D111N4007 Silicon Rectifier Diode
Q112N5458 N Channel Field Effect Transistor
Q212N2222 NPN Transistor2N3904
Q312N3906 PNP Transistor
K11Relay w/12V Coil, Contacts To Suit Application
MISC1Board, Wire, Small Metal Pad For Touch Pad

Notes


  1. The touch pad can be most easily made by cutting a small square of PCB material and then soldering on a single wire. Alternatively, something like a penny glued to a plastic backing will do the job.
  2. As mentioned, a latching relay can be used so that a momentary touch activates the relay and it remains active. To turn off a latching relay, power must be interrupted. So a 2nd circuit with a normal relay can be used to cut power (use the NC contacts on the 2nd circuit). Placed side by side, two touch pads form an "on" and an "off" pad

Simple Servo Controller


Servo motors have many uses in everything from robotics to puppetry to photography and beyond. These little motors can position their output shaft to any position on command and hold that position. Most servos have a range of motion to about 210 degrees and thankfully are very easy to control with a simple circuit such as the one presented here. Using just a 555 timer and a few support components this circuit can control a servo through it's full rotation based on the position of a pot. This circuit was originally published in the Think Tankcolumn of the October 1995 issue of Popular Electronics.

Schematic


Schematic for the servo controller

Parts

Part
Total Qty.
Description
Substitutions
R11820 Ohm 1/4W Resistor
R2168K 1/4W Resistor
R3110K 1/4W Resistor
R411K 1/4W Resistor
R511K Linear Taper Pot
C111uF 16V Electrolytic Capacitor
Q112N3904 NPN Transistor2N2222, Most Small Signal Transistors
U11555 Timer IC
MISC1Board, Wire, Knob For R1, 8 Pin Socket For U1

Notes


  1. R1 adjusts the position of the servo.
  2. Connect the servo to the circuit as shown in the schematic. For common Futaba servos, the red wire is power, the black wire is ground, and the white wire is control.

Simple Polarity Tester


Schematic


Schematic for polarity tester

Parts

Part
Total Qty.
Description
Substitutions
R111K 1/4W Resistor
D11Green LED
D21Red LED
D4, D5, D6, D741N4001 Silicon Diode1N4004, 1N4005, 1N4007
MISC1Board, Wire, Case, Probes

Notes


  1. Email Dudley LeRoux with questions, comments, etc.
  2. To use the circuit, just connect your probes to the source under test. If D1 lights up, the left most probe (on the schematic) is connected to positive. The opposite is true if the left probe is negative. If both LEDs are on, the source being probed is AC.
  3. Be careful when using this tester not to probe a source greater than about 12V.

Light/Dark Detector


Schematic


Schematic for Light/Dark Detector

Parts

Part
Total Qty.
Description
Substitutions
R11100K Pot
Q112N3904 NPN Transistor2N2222
Q21NPN Phototransistor
RELAY19V Relay
MISC1Board, Wire, 9V Battery Snap (if battery used), Knob For R1

Notes


  1. R1 Adjusts sensitivity

Simple Lie Detector


Here's a simple lie detector that can be built in a few minutes, but can be incredibly useful when you want to know if someone is really telling you the truth. It is not as sophisticated as the ones the professionals use, but it works. It works by measuring skin resistance, which goes down when you lie.

Schematic


This is the schematic of the Lie Detector

Parts

Part
Total Qty.
Description
Substitutions
R1133K 1/4W Resistor
R215K Pot
R311.5K 1/4W Resistor
C111uF 16V Electrolytic Capacitor
Q112N3565 NPN Transistor
M110-1 mA Analog Meter
MISC1Case, Wire, Electrodes (See Nots)

Notes


  1. The electrodes can be alligator clips (although they can be painful), electrode pads (like the type they use in the hospital), or just wires and tape.
  2. To use the circuit, attach the electrodes to the back of the subjects hand, about 1 inch apart. Then, adjust the meter for a reading of 0. Ask the questions. You know the subject is lying when the meter changes.

Rain Detector


This circuit uses a sensor made of a small piece of etched PC board and a simple SCR circuit to detect rain and sound a buzzer. The SCR could also be used to activate a relay, turn on a lamp, or send a signal to a security system.

Schematic


This is the schematic of the Rain Detector

Parts

Part
Total Qty.
Description
Substitutions
R111K 1/4 W Resistor
R21680 Ohm 1/4 W Resistor
D111N4001 Silicon Diode
BZ1112V Buzzer
S11SPST Switch
SCR11C106B1 SCR106CY
SENSOR1See Notes
MISC1Board, Wire, Case, PC Board (For Sensor)

Notes


  1. The sensor is a small piece of PC board etched to the pattern showen in the schematic. The traces should be very close to each other, but never touching. A large spiral pattern would also work.
  2. Make sure to use a loud buzzer.

Pulse Width Modulation DC Motor Control

Schematic


This is the schematic of the Pulse Width Modulation DC Motor Control

Parts

Part
Total Qty.
Description
Substitutions
R111 Meg 1/4W Resistor
R21100K Pot
C110.1uF 25V Ceramic Disc Capacitor
C210.01uF 25V Ceramic Disc Capacitor
Q11IRF511 MOSFETIRF620
U114011 CMOS NAND Gate
S11DPDT Switch
M11Motor (See Notes)
MISC1Case, Board, Heatsink, Knob For R2, Socket For U1

Notes


  1. R2 adjusts the speed of the oscillator and therefore the speed of M1.
  2. M1 can be any DC motor that operates from 6V and does not draw more than the maximum current of Q1. The voltage can be increased by connecting the higher voltage to the switch instead of the 6V that powers the oscillator. Be sure not to exceed the power rating of Q1 if you do this.
  3. Q1 will need a heatsink.
  4. Q1 in the parts list can handle a maximum of 5A. Use the IRF620 for 6A, if you need any higher.
  5. This circuit is not a true pulse width modulation control. Because only the frequency of pulses varies, it is really pulse frequencymodulation. This works, though not as well as true PWM.

Pine Racecar Victory Judge


Schematic


Schematic of Racecar Victory Judge

Parts

Part
Total Qty.
Description
Substitutions
R1, R22100 Ohm 1/4W Resistor
R3, R42100K 1/4W Resistor
D1, D22Standard LED
SCR1, SCR226A, 200V SCR (such as the 106B)
S1, S22See Notes
K11Small 12V Relay
MISC1Board, Wire

Notes


  1. S1 and S2 are small lever type micro switches. Most any kind will do, as long as they are sensitive enough to be activated by the wheels of the cars. They should be positioned on the track so that the front wheels of the cars will run over them as the cars just cross the finish line.
  2. To reset the circuit, disconnect and then reconnect power. You can add a normally closed switch in series with the power supply to make this easier.
  3. There is no reason this circuit cannot be used to tell the winner of a foot race, bike race, slot car race, etc.

Low Voltage Alarm


Schematic


Schematic for Low Voltage Alarm

Parts

Part
Total Qty.
Description
Substitutions
R1, R321K 1/4W Resistor
R215K Pot
U11LM339 Op Amp IC
D111N5233B Zener Diode
D21LED
BZ11Piezo Buzzer
MISC1Board, wire, socket for IC

Notes


  1. The circuit will operate from 9V to 12V.
  2. Adjust R2 until the alarm goes off at the correct voltage.

Digital Keypad Combination Lock


Schematic


Schematic for combination lock

Parts

Part
Total Qty.
Description
Substitutions
C111uF 25V Electrolytic Capacitor
C21220uF 25V Electrolytic Capacitor
R112.2K 1/4W Resistor
Q112N3904 NPN Transistor2N2222
D111N4148 Rectifier Diode1N4001-1N4007
K1112V SPDT RelayAny appropriate relay with 12V coil
U11LS7220 Digital Lock IC
S1-S1212SPST Momentary PushbuttonKeypad (see notes)
HD1112 Position Header

Notes


  1. To set the combination, wire the appropriate switches to U1 pins 3, 4, 5 and 6 using the header. For example if S1 was connected to pin 3, S2 to pin 4, S3 to pin 5 and S4 to pin 6, the combination would be 1,2,3,4. Now wire all other unused switches across the header to pin 2 of U1. In this way you can create any 4 digit combination you want. Pin 2 is the reset pin, so connecting all unused keys to it assures that the entire combination must be reentered if an incorrect key is pressed.
  2. When the appropriate combination is entered, the relay is activated for a period of time determined by C1. The 1uF capacitor specified in the parts list will result in an on-time of roughly 5 seconds. Increase the value of C1 to increase this time.
  3. An easy way to make a keypad is to buy 12 PC board mount pushbuttons and then etch a PC board so that the buttons are in 4 rows of 3, similar to a telephone keypad. Place this in a case and then use a label maker or transfer letters to add your numbers to the tops of the pushbuttons. You can also use a pre made keypad but keep in mind that you need a pad which provides an output for each key. Most pads available have the keys connected to provide a row and column signal when they are pressed.