Simple Toggle Touch Switch Using Two Inverter Gates

We can make a simple
touch switch using only two inverter gates, two resistors, and two
capacitors. The schematic diagram of the circuit is shown in the figure
below. At power up, the output (of U1A) will be high, and the inverting
output will be low because U1A gate will be triggered to ground level by
C2. After triggered, the low level of U1A input is maintained by U1B
红包扫雷苹果下载地址 output via R2.



If we touch the pad at this condition, where the output is high,
then the U1A input will go high because we “short” the voltage of C1 to
the input pin, and the low level previously caused by low level of U1B
output voltage connected via R2 can’t be maintained because our skin
红包扫雷苹果下载地址 resistance is much lower than 10M.

After U1A input goes high then U1A output will go low, and now U1B
will go high to maintain high voltage level of U1A via R2, so we can
release our finger without loosing the last state. Touching the pad
again after we release our previous touching will toggle the output as
the condition is reversed.

After we touch the pad, we have to release before 1 second (R2C2
time constant) elapsed. If we touch the pad longer than R2C2 time
constant then the output will oscillate (about 1 Hz).

12V Power Inverter Using 555

This 12V power inverter
circuit can be used to power small power devices that need a 240 volts.
It is very useful when you want to use a 240 volts consumer powered by a
12 volts car battery .In contrast to the usual feedback oscillator type
of inverter, the oscillator of this inverter use a 555 timer connected
as an astable multivibrator that is separate from the output stage,
which allows easy adjustment of the oscillator frequency to suit
different applications.

12V Power Inverter Circuit

12V Power Inverter Circuit Diagram

The output of the 555 timer drives the base of T1 and T2 transistors
. The wattage of this 12 volts inverter circuit depend on the driver
transistors and the output transformer used . The output of this circuit
红包扫雷苹果下载地址 will provide a 240v at 50Hz.

Voltage Inverter Using Switch-Mode Regulator

This circuit uses a
step-up switch-mode regulator, which is usually used to produce a
positive supply, to generate a regulated negative output voltage. The
device used here is the MIC4680 from Micrel (),
but the idea would of course work with similar regulators from other
manufacturers. Because of coil L1, which performs the voltage conversion
by the intermediate storage of energy in the form of a magnetic field,
the output is effectively isolated from the input. We can therefore
connect the right-hand side of L1 to ground rather than to the positive
output without causing a large current to flow.

Then we connect the ground pin of the regulator IC and all the
components connected to it as the negative voltage output, isolated from
ground. The components on the output side of the regulator are
connected as usual: flywheel diode D1, coil L1 and the voltage divider
formed by R1 and R2. These last two components set the output voltage,
according to a formula given in the data sheet. Example component values
for the MIC4680 used here are given in the table. The input voltage
should lie within the permitted range for the regulator used, and must
in any case be at least as great in magnitude as the desired output
voltage (here +5 V or +12 V), so that the step-down regulation technique
红包扫雷苹果下载地址 can work.

It is important to take care when building this circuit to mount the regulator using an insulator, since generally the GND
pin of the device is connected to the heatsink tab. Also, the ON/OFF
control input cannot be driven using a normal logic signal, since the
regulator’s ground reference is the output voltage rather than ground
itself. If the ON/OFF function is required, a level shifter or
optocoupler must be used.

12V Flourescent Lamp Inverter

Fluorescent tubes use
far less energy than incandescent lamps and fluorescent tubes last a
great deal longer as well. Other advantages are diffuse, glare-free
lighting and low heat output. For these reasons, fluorescent lighting is
the natural choice in commercial and retail buildings, workshops and
factories. For battery-powered lighting, fluorescent lights are also the
first choice because of their high efficiency. The main drawback with
running fluorescent lights from battery power is that an inverter is
红包扫雷苹果下载地址 required to drive the tubes.

the fluoro tube driver which converts high voltage DC to AC via IC3 and Q3 & Q4 in a totem-pole circuit.” height=”168″ width=”500″>

switch-mode circuits are involved here: the DC-DC inverter involving
IC1, Q1 & Q2 and the fluoro tube driver which converts high voltage
DC to AC via IC3 and Q3 & Q4 in a totem-pole circuit.

Inverter efficiency then becomes the major issue. There are many
commercial 12V-operated fluorescent lamps available which use 15W and
20W tubes. However, it is rare to see one which drives them to full
brilliance. For example, a typical commercial dual 20W fluorescent lamp
operating from 12V draws 980mA or 11.8W. Ignoring losses in the
fluorescent tube driver itself, it means that each tube is only supplied
with 5.9W of power which is considerably less than their 20W rating. So
while the lamps do use 20W tubes, the light output is well below par.

This circuit generates in excess of 300V DC which could be lethal.
Construction should only be attempted by those experimenced with
mains-level voltages and safety procedures

Discrete Voltage Inverter

The circuit in the
diagram enables a negative voltage to be derived without the use of
integrated circuits. Instead, it uses five n-p-n transistors that are
driven by a 1 kHz (approx) TTL clock. When the clock input is high, transistors T1 and T2 link capacitor C1 to the supply voltage, UIN,
which typically is 5 V. During this process, transistor T5 conducts so
that T3 and T4 are off. When the clock input is low, T5 is cut off,
whereupon transistors T3 and T4 are switched on via pull-up resistor R6
and either R4 or R5.

This results in the charge on C1 being shared between this capacitor
and C2 Since the +ve terminal of C2 is at ground potential, its –ve
terminal must become negative w.r.t. earth. The high level at the clock
input must be of the same order as the positive input voltage, UIN,
otherwise T1 cannot be switched on. The clock frequency should be
around 1 kHz to ensure a duty cycle ratio of 1:1. Altering the ratio
results in a different level of negative output voltage, but this is
红包扫雷苹果下载地址 always smaller than that with a ratio of 1:1.

1800V Stun Gun Circuit

This stun gun is powered by a
9V battery. The transformer steps up the voltage to about 1800V (but
with very low current). A 555 timer IC is used to generate a
high-frequency output. A 1 MEG variable resistor can also be used at the
output to drop the voltage, but this is optional. If you build this
circuit, be careful, as it outputs a high voltage. Touching the output
leads will induce a painful shock.

100 Watt Inverter 12VDC to 220VAC with Mosfet

This is another 100 watt
inverter circuit diagram. Built based on IC CD4047 and Mosfet IRF540,
this inverter have ability to supply electronic device -which require
220VAC-  up to 100w from 2-3A transformer from 12V lead acid battery.

100 Watt Inverter 12VDC to 220VAC with Mosfet schematic

In the circuit diagram we can observe that 12V battery is connecter
to the diode LED and also connected to the pin8 of the IC 4047 which is
VCC or power supply pin and also to pin 4 and 5 which are astable and
complement astable of the IC. Diode in the circuit will help not give
any reverse current, LED will work as a indicator to the battery is
working or not.

IC CD4047 will work in the astable multivibrator mode. To work it in
astable multivibrator mode we need an external capacitor which should be
connected between the pin1 and pin3. Pin2 is connected by the resistor
and a variable resistor to change the change the output frequency of the
IC. Remaining pins are grounded .The pins 10 and 11 are connected to
the gate of the mosfets IRF540. The pin 10 and 11 are Q and ~Q from
these pins the output frequencies is generated with 50% duty cycle.

The output frequency is connected to the mosfets through resistor
which will help to prevent to the loading of the mosfets. The main AC
current is generated by the two mosfets which will act as a two
electronic switches. The battery current is made to flow upper half or
positive half of the primary coil of transformer through Q1 this is done
when the pin 10 becomes high and lower half or negative half is done by
opposite current flow through the primary coil of transformer, this is
done when pin 11 is high. By switching the two mosfets current is
红包扫雷苹果下载地址 generated.

This AC is given to the step up transformer of the secondary coil
from this coil only we will get the increased AC voltage , this AC
voltage is so high; from step up transformer we will get the max
voltage. Zenor diode will help avoid the reverse current.

Warning!: Lethal potential at the output of transformer, please be
红包扫雷苹果下载地址 careful, enclose this power inverter circuit into the plastic box.

12V Fluorescent Light Inverter

12V Fluorescent Light Inverter

this is a low voltage 12v fluorescent inverter for powering two 20w or single 40w fluorescent tube. it’s a circuit you can put together from junk box components and is a very simple to build. the transformer is hand-wound on a ferrite rod from an old transistor radio and the winding wire can be salvaged from an old transformer. the cost of powering the circuit is about 22 watts and this will produce the same light output as 60 watt incandescent light bulb.

12V Fluorescent Light Inverter

With a normal fluoro operating on the 240v mains, a ballast (or choke) is needed in series with the tube to limit the current after the tube has “struck”. This ballast dissipates about 10-20 watts for a 20 watt tube and reduces the efficiency of the circuit.

If the ballast is replaced with an electronic circuit and high-frequency transformer, the losses are less than 5 watts. Furthermore, if we do not drive the tube as hard as the 240v version we can get even better efficiency.

The size of tube, you will need, will depend on the area you wish to illuminate and the battery capacity you have available, however it is important to realise that the higher wattage tubes offer the greatest efficiency.

This is because they have a longer length and larger diameter (than say an 8 watt tube) and give more light over a larger area. That’s why we have concentrated our design on the 40 watt tube. You can get plenty of circuits and devices that power the 4, 6 and 8 watt tubes but nothing has been done for the 40 watt variety.

There is another range of tubes, commonly called the “compact fluoro” or high efficiency fluoro. These are a folded fluorescent tube having a rating of either 11 watts, 13watts or 18watts. They are not covered in this project as they are expensive to boy and more difficult to drive. They are actually driven VERY HARD and if you feel one after it has been turned on for a few minutes you will find the tube is quite warm.

They are not really suitable for indoor use as they take a while to come on and don’t give enough illumination for an average room. We have tried the whole range of these tubes and come to the conclusion that they are only suitable for outdoor use as a decorative lamp or for partially illuminating a dark area.

This is one of those situations where the old-style product is the best. I think you will find that the glitter of the compact lamp has almost faded by now as the public has come to realize they are not the whiz bang invention of the century and have not taken over any of the areas already serviced by the tungsten lamp or standard fluoro.

After all, you can buy a 100watt globe for less than $1.00 and a compact lamp costs about $20.00. It will take more than 5 years for the savings in electricity to equal the cheap 100 watt globe.

The one problem that lets compact lamps down is the electronic circuitry. The electrolytics in the base are driven very hard and tend to dry out after a few years. We have found lots of discarded bases (with tube) with this problem.

Apart from this, the fluorescent lamp has a number of advantages over incandescent lighting. The main one is efficiency.

This is due to the fact that it’s a cold light, in comparison to incandescent light where the light is produced by the heating of a piece of wire.

The other advantage is the light does not come from a point source and thus it is more-evenly spread over a larger area.

Fluorescent lighting is approximately 400% more efficient than incandescent lighting (50 Lumens/watt compared to 12 Lumens/watt for a 100 watt tungsten lamp), although there are some losses in the ballast. A 20 watt tube (plus 10-20 watts for the ballast) gives the same light output as a 100 watt lamp, when it is heavily driven in the 240v mode.

For a normal household, the lighting component of the electricity bill is only a fraction of the total and doesn’t warrant a house to be converted to fluorescent lighting.

But if you are considering setting up a home in a remote area, where mains electricity is not available, you will appreciate the advantage of high-efficiency lighting.

With modern electronic circuits, fluorescent lamps can be designed to operate very efficiently and with this project you can build the circuit yourself and operate it from a 12v supply.


In any low-voltage situation the greatest component of consumption is lighting. This is because all the other appliances have been converted to some other form of energy. The fridge has been converted to gas. the toaster has been thrown out, the jug has been changed to a saucepan or kettle on a fuel stove and the electric fry pan has been forgotten.

All that has been left is the lighting and a few small appliances such as the washing machine, portable TV and drill (12v rechargeable type).

When considering the sort of lighting you need, you must take into account the type of work you will be carrying out such as eating, reading, repairing etc.

For some of these, the light from a camp-fire will be sufficient while for repair work you will need the highest level of illumination.

To provide the required level there are two choices. The standard 12v globe, and the fluorescent tube.

I have not considered the use of gas lighting as they remove the oxygen from the air, produce a lot of heat and are potentially very dangerous.

If you need to carry out fine, detailed work, you will need a standard 12v globe or even a 50 watt halogen lamp.

However for general room illumination, a 20 watt fluorescent will be adequate.

Let’s see how we can make a 20 watt inverter.

The project we will be describing is not designed to drive any of the compact (or folded) fluorescent tubes as they are driven much harder than ordinary tubes and get quite warm after only a few minutes of operation.

This heating represents wasted energy and in this project we are trying to save as much energy as possible.

Folded tubes are also less efficient than ordinary straight tubes as they have two or four tubes running beside each other and when they are illuminated, some of the light from one tube will hit against the walls of the others and be lost.

The folded tube is not suitable for indoor use. All the tubes I have bought have been a failure. Some took a long time to come on – up to 10 seconds to “strike.”

The other disappointment is the weak output for the first 10 minutes or so. They take about 10 minutes to “get going.”

I have an 18 watt compact lamp in my room at the moment and cannot read the pages I am preparing. It’s another invention that has “missed the bus” -they are just not quite good enough.

I am going to replace it with a 100 watt globe and come back.

While in the process of changing the globe, I compared the 18 watt compact fluoro with our circuit driving two 20 watt tubes and found them to almost the same. They are equivalent to a 60 or 75 watt clear globe and is perfectly ok for general lighting in a room.

There is an enormous difference between the circuit for a fluoro operating on 240v AC and one that operates on 12v DC.


The wattage of a fluorescent tube is a characteristic of its size and vice versa; the wattage determines the size. That’s why a 20 watt tube is 2 feet long and a 40 watt tube is 4 feet long.

The design of a tube is a complex mathematical equation (a lot of experimentation has gone into its design).

The tubes are filled with a gaseous mixture that produces ultra-violet light when operating and this light hits against the walls of the tube to excite the coating on the inside to produce visible light.

The gas and the coating are all poisonous and the emission of the ultraviolet waveform from an uncoated tube is quite dangerous to the eyes, so experimenting with tubes other than operating them as per this project is to be avoided.

You can buy uncoated tubes (called ultraviolet tubes) for lighting effects, EPROM erasing, special heating, and germicidal applications. Do not use any of these tubes in this project as the voltage we are producing will create different effects and damage your eyes.


Now for the 12v version.

The circuit doesn’t require many components but its operation is quite complex. The clever component is the transformer. It performs 3 functions.

Firstly it is acting as a feedback component for the transistor to create an oscillator circuit. Secondly it is providing a high voltage (over 1 000 volts) to strike the tube and keep it struck and thirdly it is supplying spikes of energy to illuminate the tube.

The circuit is shown in figure 1 and we will take a detailed look at how the transformer carries out the three functions.

The transformer in this project is not a lethal device as the output wattage is slightly below the value that produces electrocution. However the output is in excess of 1,000v and the ends of the secondary winding should not be touched when the transformer is operating.

To get a shock you must touch both

ends at the same time – it is not sufficient to touch one end and any other part of the circuit as the secondary is an isolated winding.

Even a simple transformer such as the one we are winding in this project will demonstrate a number of interesting features. One of them is the ability to step-up a voltage. This is the main purpose in this project as we require a voltage of approximately 1,000v to strike the tube.

Another interesting feature is the availability to get positive or negative voltage (phase) from a separate winding on the transformer, simply by connecting the winding around one way or the other. In this project we connect the winding to get positive feedback so that a single transistor will drive the circuit.


The oscillator works on positive feedback. This positive feedback comes from a separate 13 turn winding on the transformer called the feedback winding.

The cycle starts by turning on the transistor a fair bit via the 180R resistor on the base and this causes current to flow in the primary winding. The flow of current causes magnetic flux to be produced by the winding and this passes through the ferrite core. The feedback winding is also wound around the core and the magnetic lines pass through this winding and produce a voltage.

The winding is connected to the transistor so that the voltage from the winding ASSISTS the voltage from the 180R resistor and causes the transistor to turn on harder.

Thus more current flows through the primary winding and the magnetic flux increases. This causes more voltage to be produced in the feedback winding and the transistor turns on even harder.

This continues until the transistor is fully turned ON and maximum current is flowing in the primary winding.

Now comes the important part.

Even though maximum current is flowing in the primary winding and maximum flux is produced in the core, this flux is a steady flux and not an increasing flux.

The only time a voltage is produced in a secondary (or feedback) winding is when the flux is INCREASING (or decreasing). When the flux is stationary, the voltage in any of these windings ceases to be produced.

Thus we come to a point in the cycle where the current in the primary is a maximum but the voltage in the feedback winding is zero.

The only current flowing into the base of the transistor comes from the turn on resistor but this is note enough to fully turn the transistor ON and so the transistor turns off a small amount.

This has the effect of reducing the flux in the ferrite rod and we now have a situation where the flux is DECREASING. This changes the situation in the feedback winding. The voltage in the feedback winding is now produced in the OPPOSITE DIRECTION and the transistor begins to turn off even more.

The magnetic flux begins to collapse very quickly and this produces a very high reverse voltage on the base of the transistor (up to about 25v) to turn the transistor off completely.

This is how we get a positive and negative voltage for the transistor.

This is quite an amazing achievement as the voltage through the primary doesn’t change direction – it merely increases and decreases in value – but the voltage from any of the other windings changes direction!

The collapsing magnetic flux cuts the turns of the secondary winding and produces a voltage of about 2.5v per turn in the 450 turns, making a total of about 1 ,000 appearing across the ends of the tube. This is sufficient to strike the tube and as we mentioned above, the resistance (or impedance) of the tube reduces as more current flows. In our case the voltage across the tube is about 400v (this voltage depends on how hard the tube is driven and is riot a fixed value).

When the magnetic flux has almost fully been converted to electrical energy, the 180R turn-on resistor on the base of the transistor starts the cycle over again.

The voltages produced by the transformer are very spiky and the gas in a fluorescent tube is very quick to react to these spikes. The gas produces ultraviolet light that strikes the fluorescent material on the inside of the tube and causes it to produce visible light.

The tube forms part of the load for the transformer and has an effect on quenching the spikes to the transistor so it is not advisable to operate the transformer without the tube connected.


1 – 2R2 1/4watt (for testing)

1 – 47R 1/4watt

1 – 180R 1watt

1 – 47k

1 – 100k mini rim pot

1 – 100ngreencap

1 – 100u 16v electrolytic

1 – BC338 transistor

1 – TIP 3055 transistor

1 – on/off switch

1 – 12mm bolt and nut for transistor

1 – heat-sink 5cm x 10cm

1 – ferrite rod 10mm dia x 8m long

1 – 30m winding wire .28mm dia

1 – 4m winding wire .61 mm dia

(wire diameters are NOT critical)

1 – insulation tape either sticky tape

or masking tape

1 – interlayer insulation – paper


2 – 20 watt fluorescent tubes

1 – box to house project

1 – 6m of figure-8 flex to go between inverter and tube(s)


The ferrite core of the transformer is an antenna rod from an old transistor radio. You could use a slab antenna but we have chosen a 10mm diameter rod, 8cm long and the first winding to be wound on it is called the primary.

This consists of 58 turns of wire spaced slightly apart so that is occupies the centre 6cm of the rod. The first thing to do is wind two layers of insulation around the rod so that the wire does not touch the rod and create a short.

Leave the first 8 – 10cm of wire and start winding with the thick .61mm wire. But firstly hold the end of the wire in place with a short piece of sticky tape folded over itself and stuck along the length of the rod, where the winding is to be placed. Continue winding and fix the other end in a similar manner, leaving 8 – 10 cm for connecting to the rest of the components.

Place one layer of paper over this winding and secure both the start and end of the paper with sticky tape. Make sure this insulating paper is tight by rolling it like a cigarette before sticky-taping.

The next layer is called the feedback winding and consists of 13 turns of the thin .28mm wire, wound in a spiral fashion so that it takes up the full length of the 6cm.

Terminate both the start and finish of the winding with sticky tape to prevent it unwinding. Cover this with a layer of insulation.

Now, for the final winding, called the secondary.

This consists of 450 turns of .28mm wire, wound in 3 layers of 150 turns.

The winding does not have to be neat and you could quite easily jumble-wind the turns and it would work perfectly ok, however there are two factors to remember.

The voltage between the start and finish of this winding will be about 1,000 volts and the insulation on the wire is only about 100v. So the start and the finish must not be near each other. This also applies to most of the other turns so the best way to prevent the inner-turn sorts is to carefully wind the turns side-by side.

This also produces the best results.

Leave 8 – 10 cm of wire and hold the start in place with a piece of sticky-tape folded over itself and stuck to the insulation. Wind 150 turns neatly across the 6cm of the transformer and hold the last turn in place with sticky tape before placing a layer of insulation over the winding. Continue with the next layer and one more, making a total of 450 turns.

Cover the last layer with insulation, tin the ends of each of the windings with a hot soldering iron and plenty of solder and the transformer is complete.


The transformer has 6 wires.

The two high voltage wires from the secondary can be connected around either way to the tubes.

Either lead of the primary, can be connected to the collector, and the other end connects to the positive of the battery and 180R resistor. Now comes the difficult part.

The feedback winding must be connected to the base and the join of the resistors so that the transistor gets positive feedback. You can do this by marking the start of the primary winding and the start of the feedback winding and connecting them in a particular way, but if you are wrong, a very high current will flow and the transistor will be damaged. We have devised a fail-safe method that doesn’t rely on you having to remember which is the start of each of the windings, or the direction of the winding. It’s called trial and error with safety resistor.

红包扫雷苹果下载地址Place the 2R2 safety resistor in the positive line as shown in the circuit diagram and connect the feedback winding any way you wish. Turn the project ON AND OFF very quickly. If the fluoro’s don’t come on immediately, the feedback winding is around the wrong way. The safety resistor will only allow 5amps to flow thorough the circuit and the transistor will not be damaged.

12V Fluorescent Light Inverter

12V Fluorescent Light Inverter

12V Fluorescent Light Inverter

12V Fluorescent Light Inverter

500W Modified Sine Wave Inverter

500W Modified Sine Wave Inverter

红包扫雷苹果下载地址 here is a simple but powerful, stable and efficient schematic diagram for a 500w modified sine wave inverter circuit. originally i used a 555 timer and a cd4017 decade counter to produce the modified sine wave, but then i thought a simple pic micro controller with its internal clock would produce a stable 50hz/60hz frequency without the need for two ics. as you can see its a very simple circuit. 220v transformer should be used for 220v voltage output. for 110v voltage output use transformer with 110v rating.

500W Modified Sine Wave Inverter


Some information on this circuit. The PIC16F628A is programmed to produce a logic 5v signal for 5ms at pin 17 then 15ms off. Then the same at pin 18, 5ms on then 15ms off (4.17ms for 60Hz). That is one cycle which is then looped. This results in the signals below on the oscilloscope. (2 channel view) You can see the two 5v pulses from pins 17 & 18.

These two pins are then sent to the gates of the STP55NF06L (or STP36NF06L) logic MOSFET’s. These are special power MOSFET’s that require just 5v to switch on fully. They also have a very low 0.014Ω Source to Drain resistance when on which means they can switch high currents without wasting power as heat. This keeps the whole system efficient. They do run cool although a heat sink is required. The main losses in power will be within the transformer itself. They are capable of switching loads up to 55A (or 30A for the STP36NF06L) which makes this a powerful inverter if used with a large (~800VA) transformer. Of course you could use a smaller transformer for small loads. The MOSFET’s could be in parallel pairs for even more power. Just give each its own 470Ω gate resistor and a 22kΩ from each gate to source. I get around 240v AC from the 10-0-10 with a 12v battery but as this circuit is so efficient a 12-0-12 should give you no less than 220v AC at 12v. Of course if you live in a country with 120v, you can just use a 10-0-10v to 120v transformer. If you need 50Hz or 60Hz the PIC files ready to be programmed are at the bottom of this page. The transformer is wired up in reverse. We are using the low voltage side as the primary, and the high voltage side as the secondary. The low voltage side must be centre tapped. I might add I have not tried this circuit at 500w as I don’t have a large enough transformer at the moment, but the 55A MOSFET’s should be fine. I am going to rewind the secondary of a microwave oven transformer with about 11-0-11v and see how that goes, although I don’t think they are the most efficient transformer cores around. Still, it could be an easy and cheap way to make a 500w centre tapped transformer for this project. Will need some chunky primary wire! Its certainly not worth buying a large transformer for this project. For the price of that you could buy a commercial inverter or three. That’s no fun though is it! Also don’t forget that even to run a 100w load you will need 12v at almost 10A (calculator). Small sealed lead acid batteries are not going to be much help apart from to light your Christmas tree or charge your mobile phone.

The image below is the modified sine wave output you will get from this circuit. It is the same as most of the commercial inverters that are out there that aren’t pure sine wave. The advantage for the inverter with using a modified sine-wave is that the MOSFET’s are either fully on or fully off, never operating in their linear region which would cause heating and poor efficiency.

Note the large 1000μF capacitor and 47Ω resistor. These clean up the voltage spikes coming from the transformer centre tap into the positive rail and protect the PIC from them. I learnt the hard way and burnt out 2 PIC’s before looking into the problem with the scope. Don’t think that the 5v regulator will fix the spikes! It and the PIC got hot and then the PIC died. Twice! The image below shows what the power supply looks like at each end of the 47Ω resistor Left is power supply end and right is regulator end. This is with no load on the transformer. The spikes and waveform of them changes with load. The simple resistor and cap cleans it up. This works because the 1000μF capacitor will be seen as a low impedance to a voltage spike. The 47Ω resistor limits the current, so the spikes are dissipated in it as can be seen below.

If you wish to build this circuit you will need a PIC programmer to program the microchip with the HEX file below.

Disclaimer: This circuit provides high voltage so great care should be taken not to become a part of the circuit when operating! Also this inverter produces a modified sine wave that is unregulated. If you put 15v in (or more) you will get much more than the 240v out just as with 10v you would get under 200v output. Output voltage differs with input voltage so as your battery discharges, so will your handy mains supply. While its fine running some light bulbs or simple mains equipment, I wouldn’t use it for that new plasma TV or anything expensive if you are unsure! Most things will be happy with a modified sine wave and its certainly much better than the basic square wave inverters that are about. Bottom line is I accept no responsibility for damage to equipment or yourself as a result of the information on this page.

500W Modified Sine Wave Inverter

500W Modified Sine Wave Inverter