Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Power & Batteries
  4. ›SG3525 PWM Controller (IC and Module) and UC3845

Component guide · Advanced · 3 min read

SG3525 PWM Controller (IC and Module) and UC3845

Inverters and SMPS Basics

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the SG3525 PWM controller isSG3525 PWM controller pinoutWiring the SG3525 PWM controllerExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The SG3525 is a classic PWM controller IC with two alternating outputs and adjustable dead time, used in push-pull inverters, DC-DC converters and motor drives. The ready module sets frequency with a pot and outputs signals for MOSFET gate drivers. The UC3845 is a current-mode controller used in flyback power supplies. Both are for experienced builders of power circuits.

Key specs at a glance

Supply
8 to 35 V (SG3525)
Frequency
100 Hz to 500 kHz (Rt, Ct)
Outputs
Two alternating, about 200 mA each
Dead time
Set by a discharge resistor
Soft start
Built in
UC3845
Current-mode, single output, 50 percent max duty
!Safety: Mains voltage can kill

This part is often wired to 230 V mains. Do all wiring with the plug pulled out, keep mains wires inside a closed box with strain relief, add a fuse, and never touch the board while it is plugged in. If you are new to mains wiring, have an electrician check it before you switch on.

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1SG3525 PWM Controller Module₹160
  • Option 2SG3525A PWM Controller IC, DIP-16₹28
  • Option 3SMPS PWM Controller IC: UC3845, UC3843, SG3525, SG3524 and More₹18
01

What the SG3525 PWM controller is

The SG3525 is a PWM controller chip: it generates two alternating gate signals with a fixed dead time between them, the timing core of push-pull inverters and DC-DC converters.

Frequency is about f = 1 / (Ct x (0.7 x Rt + 3 x Rd)). The two outputs each run at half the oscillator frequency.

High-voltage inverters are dangerous. Start at low voltage with a current-limited supply and a load you can see.

02

SG3525 PWM controller pinout

The pins on the SG3525 PWM controller and what each one does.

PinFunction
1, 2Error amp inputs
5, 6, 7Ct, Rt, discharge
8Soft start
11, 14Output A, Output B
13, 15Vc, Vin
10Shutdown
PinFunction
1, 2
Error amp inputs
5, 6, 7
Ct, Rt, discharge
8
Soft start
11, 14
Output A, Output B
13, 15
Vc, Vin
10
Shutdown
03

Wiring the SG3525 PWM controller

Connect the SG3525 PWM controller like this.

SG3525 PWM controller pinLow-power testWith driver
OutputsTo MOSFET gates via gate resistorsTo gate driver input
Vin12 V12 V
Outputs
Low-power test:
To MOSFET gates via gate resistors
With driver:
To gate driver input
Vin
Low-power test:
12 V
With driver:
12 V
04

Example code

A minimal sketch to check the part works.

Frequency estimate · text
Ct = 10 nF, Rt = 4.7k, Rd = 100 ohm
f_osc = 1 / (10e-9 * (0.7*4700 + 3*100)) = about 28 kHz
Each output = about 14 kHz
05

Setup and tuning

Dead time

increase the discharge resistor (Rd) if the MOSFETs overheat at switch-over; shoot-through destroys them.

Frequency

choose Rt and Ct for the frequency you need, and check it on a scope.

Gate drive

use gate resistors (10 to 47 Ω) and a driver stage for large MOSFETs.

Testing

bring up the power stage from a current-limited bench supply at low voltage before full power.

Scope first

check both outputs on a scope before connecting the power stage.

06

What you need

Shop this list5 of 5 found in our store · ₹681

  • SG3525 PWM Controller Module: the part this guide coversSG3525 PWM Controller Module₹160
  • SG3525A PWM Controller IC, DIP-16: another version this guide coversSG3525A PWM Controller IC, DIP-16₹28
  • SMPS PWM Controller and Off-Line Switcher IC: another version this guide coversSMPS PWM Controller IC: UC3845, UC3843, SG3525, SG3524 and More₹18Closest match, check the specs
  • Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
  • SMPS power supply in metal enclosure (5/12/24 V): a bench input supplySMPS Power Supply, Metal Enclosure (5V / 12V / 24V)₹298Closest match, check the specs
07

Alternatives and when to choose them

  • ✓MOSFET gate drivers.
  • ✓EGS002 inverter driver: pure sine.
  • ✓Transistors and MOSFETs.
08

Common mistakes to avoid

  • !Setting no dead time, so both MOSFETs conduct at once.
  • !Testing at full voltage first instead of a current-limited supply.
  • !Driving MOSFET gates with no gate resistors.
  • !Skipping the scope check before connecting power.
09

Frequently asked questions

Can I build a square wave inverter with the SG3525?

Yes. That is its classic use, driving a push-pull MOSFET stage and a centre-tapped transformer.

Can the SG3525 make a pure sine wave?

No. It makes square-wave PWM. For pure sine use the EGS002 SPWM driver board.

What is the UC3845 used for?

It is a current-mode controller for flyback and boost power supplies, with a single output.

How do I set the switching frequency?

Rt and Ct set it; the module's pot changes Rt.

Does it need an Arduino?

No. The SG3525 makes the PWM on its own; a microcontroller is optional for monitoring.

Parts for this guide

  • SG3525 PWM Controller Module
    ₹160View
  • SG3525A PWM Controller IC, DIP-16
    ₹28View
  • SMPS PWM Controller IC: UC3845, UC3843, SG3525, SG3524 and More
    ₹18View
  • Digital Multimeter
    ₹177View
  • SMPS Power Supply, Metal Enclosure (5V / 12V / 24V)
    ₹298View
Shop DC-DC ConvertersShop Voltage Regulators

Keep learning

Component guideAdvancedMOSFET Gate Drivers and Driver ModulesA gate driver is a chip that charges and discharges a MOSFET's gate quickly with an amp or more of current.3 min read · Semiconductors & ICsHow-toIntermediateTransistors and MOSFETs as SwitchesA transistor lets a small microcontroller signal switch a much larger current.4 min read · Semiconductors & ICsConcept explainerBeginnerPWM ExplainedPWM (pulse-width modulation) switches a pin fully on and off very quickly; the share of time it is on, the duty cycle, sets the average power.3 min read · Electronics Fundamentals

Sources

  • TI SG3525A datasheet
  • TI UC3845 datasheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the SG3525 PWM controller isSG3525 PWM controller pinoutWiring the SG3525 PWM controllerExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide2 items · ₹337

SG3525 PWM Controller Module · Digital Multimeter

Ask the Community

Ask a question