Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use CN3795: Examples, Pinouts, and Specs

Image of CN3795Design with CN3795 in Cirkit Designer

Introduction

The CN3795 is a high-efficiency, step-down (buck) DC-DC converter designed for battery-powered applications. It is capable of converting a wide range of input voltages into a stable, adjustable output voltage, making it ideal for powering various electronic devices. The CN3795 is equipped with built-in protection features, including overcurrent protection and thermal shutdown, ensuring safe and reliable operation in demanding environments.

Explore Projects Built with CN3795

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Cellular-Enabled IoT Device with Real-Time Clock and Power Management: A project utilizing CN3795 in a practical application
Cellular-Enabled IoT Device with Real-Time Clock and Power Management

This circuit features a LilyGo-SIM7000G module for cellular communication and GPS functionality, interfaced with an RTC DS3231 for real-time clock capabilities. It includes voltage sensing through two voltage sensor modules, and uses an 8-channel opto-coupler for isolating different parts of the circuit. Power management is handled by a buck converter connected to a DC power source and batteries, with a fuse for protection and a rocker switch for on/off control. Additionally, there's an LED for indication purposes.

Open Project in Cirkit Designer

Common Applications

Technical Specifications

Key Specifications

Parameter Value
Input Voltage Range 4.5V to 28V
Output Voltage Range Adjustable (up to 25V)
Maximum Output Current 3A
Efficiency Up to 95%
Switching Frequency 300kHz
Operating Temperature -40°C to +85°C
Protection Features Overcurrent, thermal shutdown

Pin Configuration and Descriptions

The CN3795 is typically available in an 8-pin SOP (Small Outline Package). Below is the pinout and description:

Pin Number Pin Name Description
1 VIN Input voltage pin. Connect to the power source (4.5V to 28V).
2 SW Switching node. Connect to the inductor and diode.
3 GND Ground pin. Connect to the system ground.
4 FB Feedback pin. Used to set the output voltage via a resistor divider.
5 EN Enable pin. Drive high to enable the converter, low to disable it.
6 COMP Compensation pin. Connect a capacitor to stabilize the control loop.
7 VCC Internal power supply pin. Connect a decoupling capacitor to ground.
8 NC No connection. Leave this pin unconnected.

Usage Instructions

How to Use the CN3795 in a Circuit

  1. Input Voltage: Connect the input voltage (4.5V to 28V) to the VIN pin. Ensure the input voltage is within the specified range.
  2. Output Voltage Adjustment: Use a resistor divider network connected to the FB pin to set the desired output voltage. The formula for the output voltage is: [ V_{OUT} = V_{REF} \times \left(1 + \frac{R1}{R2}\right) ] where ( V_{REF} ) is typically 1.25V.
  3. Inductor and Capacitor Selection: Choose an inductor and output capacitor based on the desired output current and voltage ripple. Refer to the datasheet for recommended values.
  4. Enable/Disable: Use the EN pin to enable or disable the converter. Pull the pin high (logic 1) to enable and low (logic 0) to disable.
  5. Compensation: Connect a capacitor to the COMP pin to stabilize the control loop. The value depends on the specific application and load conditions.

Important Considerations

Example: Using CN3795 with Arduino UNO

The CN3795 can be used to power an Arduino UNO by stepping down a higher input voltage (e.g., 12V) to 5V. Below is an example circuit and Arduino code to monitor the output voltage.

Circuit Setup

  1. Connect a 12V power source to the VIN pin of the CN3795.
  2. Set the output voltage to 5V using a resistor divider on the FB pin.
  3. Connect the output of the CN3795 to the 5V pin of the Arduino UNO.
  4. Use an analog input pin on the Arduino to monitor the output voltage.

Arduino Code

// CN3795 Output Voltage Monitoring with Arduino UNO
// This code reads the output voltage of the CN3795 using an analog pin
// and displays the voltage on the Serial Monitor.

const int voltagePin = A0; // Analog pin connected to CN3795 output
const float referenceVoltage = 5.0; // Arduino reference voltage (5V)
const int adcResolution = 1024; // 10-bit ADC resolution

void setup() {
  Serial.begin(9600); // Initialize Serial communication at 9600 baud
}

void loop() {
  int adcValue = analogRead(voltagePin); // Read the analog value
  // Calculate the output voltage based on the ADC value
  float outputVoltage = (adcValue * referenceVoltage) / adcResolution;

  // Print the output voltage to the Serial Monitor
  Serial.print("CN3795 Output Voltage: ");
  Serial.print(outputVoltage);
  Serial.println(" V");

  delay(1000); // Wait for 1 second before the next reading
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output Voltage

    • Cause: The EN pin is not pulled high.
    • Solution: Ensure the EN pin is connected to a logic high signal or VIN through a resistor.
  2. Excessive Heat

    • Cause: Overloading or insufficient heat dissipation.
    • Solution: Reduce the load current or improve thermal management with a better PCB layout.
  3. Output Voltage Instability

    • Cause: Incorrect compensation capacitor or poor layout.
    • Solution: Use the recommended compensation capacitor value and follow proper PCB layout guidelines.
  4. High Output Ripple

    • Cause: Inadequate output capacitor or poor capacitor quality.
    • Solution: Use a low-ESR capacitor with the recommended capacitance value.

FAQs

Q1: Can the CN3795 be used for charging batteries?
Yes, the CN3795 is suitable for charging batteries, including lithium-ion batteries, by configuring the output voltage and current appropriately.

Q2: What is the maximum input voltage for the CN3795?
The maximum input voltage is 28V. Exceeding this value may damage the component.

Q3: How do I calculate the resistor values for the feedback network?
Use the formula ( V_{OUT} = V_{REF} \times \left(1 + \frac{R1}{R2}\right) ), where ( V_{REF} ) is 1.25V. Select ( R1 ) and ( R2 ) to achieve the desired output voltage.

Q4: Can the CN3795 operate without a load?
Yes, the CN3795 can operate without a load, but ensure the output voltage remains stable under no-load conditions.