February 21, 2025

Capacitor bank switch for PFC (Power factor correction)

 This is a Capacitor bank switch for PFC (Power factor correction)

 

Capacitor bank switch for PFC (Power factor correction)

Parts List:

400V 0.1uF capacitor (10PCS) 

400V 1uF capacitor (20PCS) (the capacitor value is optional but should be 1uF or less)
Toggle Switch (30PCS)
10A Fuse with holder
Terminal 2P (2pcs) 


Video:

 


 

February 15, 2025

Composite Video to analog XYZ signal for Oscilloscope

This Circuit is a Composite Video to analog XYZ signal converter which take s-video signal and display it on an analog Oscilloscope CRT display. It uses IC LM1881 which is a composite video sync separator. 

 

Composite Video to analog XYZ signal for Oscilloscope
 
Composite Video to analog XYZ signal for Oscilloscope

Composite Video to analog XYZ signal for Oscilloscope


Parts List:

IC LM1881 (SMD or THT)

IC AD8032 (SMD or THT)

Transistor 2N2222 (4pcs)

Transistor 2N3906 (2pcs) 

Diode 1N4148 (2pcs)

Potentiometer 1K

Potentiometer 10K

Capacitor 680uF 16V

Capacitor 100nF (3pcs)

Capacitor 10nF

Capacitor 22nF

Resistor 180 ohm

Resistor 680 ohm

Resistor 180 ohm

Resistor 1k

Resistor 2.2k (3pcs)

Resistor 3.3k (3pcs)

Resistor 6.8k (2pcs)

Resistor 2.2k (3pcs)

Resistor 4.7k

Resistor 5.6k

Resistor 68k (2pcs)

Resistor 680k 

9V Battery

9V Battery cable/holder

IC Socket 8dip (2pcs)

ON/OFF Switch

Knob for Potentiometers (2pcs)

BNC Connector (4pcs)

BNC Cables (4pcs)

HDMI to AV Converter (optional)

 

Circuit : 

NOTE: If you want to use different op-amp (instead of AD8032) it must be rail to rail op-amp otherwise the circuit not going to work properly. 

Download the circuit with better resolution (PDF) here:

https://drive.google.com/file/d/1levyhMAB9TWcYP5NufMxrQ7pRDUImYUH/view?usp=drive_link

 

Composite Video to analog XYZ signal for Oscilloscope


You can order this PCB from PCBWay here:

 https://www.pcbway.com/project/shareproject/Video_on_Oscilloscope_3b6c3d70.html

Composite Video to analog XYZ signal for Oscilloscope

 

The two holes near the battery could be use to holding the battery in place by a piece of wire !

Composite Video to analog XYZ signal for Oscilloscope

Video:

 



 

 

 

 

 

 

 

 

 

 

 


 

 

February 12, 2025

How Power Factor Correction Affects Battery runtime of an Inverter/UPS ?

Power factor correction (PFC) improves the efficiency of power transfer from an inverter or UPS to the load, but it does not directly increase battery runtime in most cases. 

How Power Factor Correction Affects Battery runtime of an Inverter/UPS ?


How Power Factor Correction Affects an Inverter/UPS

1. Reduced Apparent Power Demand:
PFC reduces the apparent power (VA) drawn from the inverter by making the load more resistive (higher power factor, ideally 1.0).
This means the inverter/UPS operates at lower current, reducing heat losses in its components.


2. Lower Internal Losses:
Since lower currents flow through the inverter's internal wiring and components, losses due to resistance (I²R losses) are reduced.
This can slightly improve efficiency but does not significantly increase battery runtime.
Why Battery Runtime Won’t Increase Much
Battery runtime depends mainly on watt-hour capacity (Wh = Ah × V) and the actual real power (W) consumed by the load.
If the load needs 500W, it will still consume 500W even if PFC is applied.
The inverter draws the same real power from the battery regardless of power factor.
Power factor affects the inverter's apparent power handling, but not the real power demand from the battery.


When PFC Might Help Battery Runtime
If the inverter is undersized and struggling to provide enough VA for low power factor loads, it may heat up and operate inefficiently.
A poor power factor can cause excess heating in the inverter due to high current draw, reducing efficiency and wasting some energy.
Correcting power factor can slightly reduce these losses, indirectly improving battery runtime by a small margin.


Better Ways to Increase Battery Runtime
If you want to extend the battery life of your inverter or UPS, consider:
✔ Using a larger battery capacity (higher Ah rating)
✔ Switching to a more efficient inverter with a better conversion efficiency
✔ Reducing load power consumption (LEDs instead of incandescent bulbs, efficient appliances, etc.)
✔ Using a pure sine wave inverter (they are more efficient with inductive loads like motors and transformers)


Conclusion
PFC improves efficiency but does not significantly increase battery runtime unless your inverter is experiencing excessive heating due to a very poor power factor. The best way to increase runtime is to use larger batteries or reduce power consumption.

 


 


 

August 26, 2024

How to compare 3 different voltages

This circuit is an op-amp comparator with three inputs, to compare 3 different voltages and show the higher one by using an LED.

 

compare 3 different voltages

Parts list:

IC CD4001

IC LM324

Resistor 510 ohm (3pcs)

RED LED

GREEN LED

BLUE LED

IC socket 14 pin(2pcs)

Capacitor 220uF

Capacitor 100nF

 

Circuit:

VCC could be any voltage between 4 to 15V

How to compare 3 different voltages

Video:

 


 


August 15, 2024

Automatic Transfer Switch ATS / Changeover with 3 Input Sources

This circuit is an Automatic Transfer Switch ATS / Changeover with 3 Input Sources (3 ways).

It has 3 seconds time delay to transfer between Grid and Solar system (No delay time for Generator).

Maximum current up to 20 Amps.

Works with both 110V and 220V systems.

Automatic Transfer Switch ATS / Changeover with 3 Input Sources

Parts list:

IC LM358

IC Socket 8dip

Power supply HI-LINK 12V 3W 250mA

Resistor 51K (2pcs)

Resistor 3K (2pcs)

Resistor 1K (2pcs)

Resistor 10K (4pcs)

Resistor 560

Resistor 3.9K

Capacitor 100uF 16V

Optocoupler PC817

RED LED 

BLUE LED

Screw Terminal

Relay 12V 20A (4pcs)

Bridge diode DB107 (2pcs)

Diode 1N4007 (3pcs)

Transistor 2N2222 (2pcs)


Circuit:

 

Automatic Transfer Switch ATS / Changeover with 3 Input Sources

You can order this PCB from PCBWay.com:

https://www.pcbway.com/project/shareproject/Automatic_Transfer_Switch_ATS_Changeover_with_3_Input_Sources_6cea22a5.html

 

Automatic Transfer Switch ATS / Changeover with 3 Input Sources

Video:

 



 



July 21, 2024

DIY 3 phase Motor and Phase Sequence Indicator / Rotation Tester

This is a DIY Three Phase Sequence Indicator / Rotation Tester 

 

DIY 3 phase Motor and Phase Sequence Indicator / Rotation Tester

Parts list: 

IC LM324

IC E50D

Resistor 330K (3pcs) 

Resistor 330 ohm (8pcs) 

Resistor 10K (6pcs) 

Resistor 10M (3pcs) 

Diode 1N4007(3pcs)

Diode SS14

Inductor 47uH

White LED (2pcs) 

Red LED

Yellow LED

Green LED 

Capacitor 100nF

Capacitor 100uF 10V

ON/OFF Switch

Stepper motor 5V (28BYJ-48)

Transistor S9014 (3pcs)

Battery 3.7V (18650) 

Battery charger module for 18650 battery

IC Socket 14 pin

 

Circuit:

DIY 3 phase Motor and Phase Sequence Indicator / Rotation Tester

You can order the PCB from PCBWay here:

https://www.pcbway.com/project/shareproject/3_phase_Motor_and_Phase_Sequence_Indicator_Rotation_Tester_eb233730.html

 

DIY 3 phase Motor and Phase Sequence Indicator / Rotation Tester

3D printed part:

https://www.tinkercad.com/things/8NgFQe2ENGs-3phase-rotation-tester-

DIY 3 phase Motor and Phase Sequence Indicator / Rotation Tester



Video: 


 

June 30, 2024

DIY Full Array Local Dimming Backlight

This is a modification to convert an LED LCD TV to Full Array Local Dimming Backlight.

 

Full Array Local Dimming Backlight

Parts list:

1W COB LED (98pcs)

LDR (98pcs)

MOSFET SI2300 or SI2306 (98pcs)

Resistor 4.7K (98pcs)

Resistor 1ohm (98pcs)

 

 

Circuit:

Repeat the same circuit 98 times

Full Array Local Dimming Backlight

You can order the PCB from PCBWay.com here:

 https://www.pcbway.com/project/shareproject/Full_Array_Local_Dimming_TV_Backlight_6013e5cc.html

 

Full Array Local Dimming Backlight


3D Printed Parts:

https://www.tinkercad.com/things/9z6gjJJRLsc-local-dimming-tv-backlight-part-12 

https://www.tinkercad.com/things/eBGjOFxDnML-local-dimming-tc-backlight-part-22


Video: 

 


 

September 17, 2023

220V Lamp flasher

 This is a simple 220V Lamp flasher circuit.


220V Lamp flasher

Parts list:

Triac BT136

Diac DB3

Diode 1N4007

Capacitor 47uF 50V

Resistor 100K 2W

Resistor 1.5K


Circuit:

220V Lamp flasher

 

Video:


 




September 11, 2023

LED Driver using RM9003

Constant Current LED Driver With Single IC RM9003 (6V to 600V) 

English datasheet: https://iranmls.com/wp-content/uploads/2021/10/RM9003A-Datasheet.pdf

 


Current depends on the value of resistor (Rs), calculated by following formula:
 
LED Driver using RM9003

 
Video: 




September 10, 2023

Automatic Dark switch / photocell

This circuit is an Automatic Dark switch or photocell using a solar panel.

It can switch ON the light bulb at night and turns it OFF at day time automatically.

You have to connect it across the garden switch.

NOTE: The solar panel here used just to activate the relay, not to produce the high voltage for the light bulb, you need an external 110/220V source (grid power).

 

Automatic Dark switch / photocell

 

Parts list:

Solar panel 6V 1.1W

Relay 5V

Diode 1N4007


Circuit:

Automatic Dark switch / photocell

Video:


 

Using Distance sensor without microcontroller

 This is how to use infrared distance sensor Sharp 2Y0A21 without using microcontroller !

 

Using Distance sensor without microcontroller

Parts list: 

Sharp 2Y0A21

LED bar

IC LM3915

Capacitor 220uF

Capacitor 100nF

Resistor 10K (4pcs)

Resistor 390

Battery holder


Circuit:

 

Using Distance sensor without microcontroller

Using Distance sensor without microcontroller
Video:


 


September 09, 2023

Electronic distance meter without microcontroller

This circuit is an ultrasonic distance meter without using microcontroller.

Distance range for this circuit is between 2cm up to 450cm ,

However i get the best accuracy at distance less than 300cm. 

 

Electronic distance meter without microcontroller

You can order the PCB from here:

https://www.pcbway.com/project/shareproject/Ultrasonic_distance_meter_without_microcontroller_16d958c1.html


Electronic distance meter without microcontroller

 

Parts list:

Ultrasonic module HC-SR04

IC 40110 (3pcs)

IC NE555 (2pcs)

IC 7805

Seven segment common cathode (3pcs)

Resistor 1K (22pcs)

Resistor 2K 

Resistor 3K (2pcs)

Resistor 20K

Resistor 33K

Resistor 100K

Capacitor 680uF

Capacitor 100uF

Capacitor 100nF (2pcs)

Capacitor 220pF

Transistor 2N2222 

Multiturn potentiometer 200K

IC Socket 16DIL (3pcs)

IC Socket 8DIL (2pcs)

Battery 9V 

Holder for 9V battery

Dip switch 1p

 

Circuit:

For better resolution you can download the circuit as a PDF file from here:

https://drive.google.com/file/d/12MKksudA8kyZsG782npDamxVtN9INbnZ/view?usp=sharing

Electronic distance meter without microcontroller

Video:






June 24, 2023

Resistance meter without microcontroller

This is an educational circuit to measure resistance (ohm meter) without using any microcontroller. 

It can measure resistance from 10K up to 9.9M.

You can order this PCB from PCBWay:

 https://www.pcbway.com/project/shareproject/Digital_Resistance_Meter_without_microcontroller_a98f1825.html


resistance meter

 

Parts list:

IC 40110 (7pcs)

IC 4017

IC 4013

IC LM358

LED

IC 7805 (With heatsink)

Transistor 2N2222 (2pcs)

Mosfet IRFZ44N

7segment display (7pcs)

Crystal 4 MHz

Capacitor 100nF (3pcs)

Capacitor 100uF (2pcs)

Capacitor 1uF 400v CBB

Capacitor 220pF (2pcs)

Resistor 470 ohm (50pcs)

Resistor 6.8K

Resistor 10K

Resistor 20K

Resistor 1K

Resistor 2M

Resistor 120K

Resistor 5.6K

Resistor 3.3K

Resistor 150 ohm

Resistor 100K

Resistor 680K

Push tactile Switch 6 pins

IC Socket 8pins 

IC Socket 14pins 

IC Socket 16pins (8pcs)

ZIF Socket 14pins

  

Circuit: 

You can download this circuit with higher resolution as PDF file from here:

https://drive.google.com/file/d/1t-9Xey-s2JFWnAIgs_u6tn-R1tBjlrR2/view?usp=sharing

 

resistance meter

 

resistor tester

 

Video:

 



August 22, 2022

Online UPS with Capacitors

This circuit is a short running time online UPS that used high voltage capacitors to stores energy, instead of battery !

It can be used in different cases :

1-Connecting two (or more) gasoline generator together in parallel to increase the output power.

2-High voltage solar inverter without transformer

3-Online UPS with short running time


Online UPS with Capacitors


Parts List:

EGS002 SPWM Board (With display)

Mosfets 25N50 (4pcs)

Heatsink 10cmx10cm + Insulation pad for mosfets

Resistor 10 ohm (4pcs)

Resistor 10K (5pcs)

Resistor 68K (4pcs)

Resistor 200K

Resistor 1K 

Resistor 150K (2pcs)

Resistor 0.1 ohm 2W

Resistor 50 ohm 50W

Potentiometer multiturn 10K

NTC 10K

Capacitor 100nF (2pcs)

Capacitor 1uF

Capacitor 1000uF 16v

CBB Capacitor 2.2uF 630V

CBB Capacitor 1uF 400V (2pcs)

CBB Capacitor 100nF 400V (2pcs)

Electrolytic Capacitor 6000uF 350V or 400V (4pcs)

Inductor 2mH (ferrite ring with diameter of 30mm and about 200 turns of 0.7 mm copper wire)

Diode 1N4148 (4pcs)

Diode 1N4007 (4pcs)

Bridge diode GBJ3510

12V Relay

Transistor 2N2222 (2pcs)

JFET 2SK170

12V 3W power supply

Cooling Fan 12V 

Voltage regulator LM7805

Mains output Connectors Socket

Mains Input Connectors

10A 250V AC Fuse with holder (2pcs)

ON/OFF Switch 16A 250V

MOV (Varistor) 14D431K (2pcs)

Audio transformer  600 ohm 1:1

LED 5mm (2pcs)



Circuit Diagram:

For better resolution circuit you can download this circuit as PDF file from here:

https://drive.google.com/file/d/1MpCMolHz525S07W1W1XjGRK3-dz_rwvF/view?usp=sharing

Online UPS with Capacitors

Here is the datasheet of EGS002 Driver board: https://pdf1.alldatasheet.com/datasheet-pdf/view/1132081/EGMICRO/EGS002.html 

 

3D Screw Insulator Cap :

https://www.tinkercad.com/things/8ag4EqVvyaO-screw-cap-insulator

 

Online UPS with Capacitors
 

You can order this PCB from PCBWay.com:

 https://www.pcbway.com/project/shareproject/Online_UPS_with_Capacitors_14e23965.html

 

Online UPS with Capacitors

Video:

 


 

 

July 30, 2022

Magnet polarity detector

This circuit is a Magnet polarity detector using hall effect sensor IC W277.

 

Magnet polarity detector

Parts List:

IC W277

Transistor 2N3906 (SMD A2) or any other PNP transistor (2pcs)

Common cathode 7-segment display

Resistor 1K (2pcs)

Resistor 10K (2pcs)

Resistor 330 ohm

Reed switch (normally open)

3V Coin cell Battery with holder

 

Circuit:

 
 
You can order this PCB from PCBWay.com:
 
 
 
Magnet polarity detector

 
3D Printed case:

https://www.tinkercad.com/things/f2PPsV2GhBA 

 https://www.tinkercad.com/things/1Ai50KVamzV

 

Magnet polarity detector

Video:
 



June 27, 2022

Ceiling Fan with Solar Panel (driver circuit)

 This is the driver circuit for running low voltage AC Ceiling Fan with Solar Panel.

Ceiling Fan with Solar Panel (driver circuit)

Parts List:

IC IR2113 (2pcs)

IC NE555 

IC LM7805

230N55 or IRFZ44N (4pcs)

Transistor 2N2222

Diode 1N4148 (2pcs) 

Capacitor 1000uF 50V

Capacitor 100uF 50V (2pcs)

Capacitor 100nF (5pcs)

Resistor 180 ohm (4pcs)

Resistor 10K (4pcs)

Resistor 1.2K

Resistor 1.5K

Resistor 180K

Resistor 33K

 

Circuit:

If the input voltage was more than 25V you need a voltage regulator for IC IR2113 (could be a zener diode)

Ceiling Fan with Solar Panel (driver circuit)


Or use this one with pure sine wave output:

 

Ceiling Fan with Solar Panel (driver circuit)

Parts List:

EGS002 SPWM Board

Mosfets IRF840 or 11N60 (4pcs)

Heatsink + Insulation pad and washer for mosfets

Resistor 4.7 ohm or 10 ohm (4pcs)

Resistor 10 K (4pcs)

Resistor 6.8 K

Resistor 68 K

Resistor 1K or 2.2K

Resistor 0.1 ohm 2W

NTC 10K

Capacitor 100nF

Capacitor 10nF

Capacitor 2.2uF 630V

Capacitor 22uF 400V

Inductor 2mH (ferrite ring with diameter of 30mm and about 200 turns of 0.7 mm copper wire)

Diode 1N4148 (4pcs)

Transistor 2N2222

12V 3W power supply

Cooling Fan 12V 

Voltage regulator 78L05

Connectors HB825

Inverter battery Terminal Connector M5

ON/OFF Switch

 

Video: