How to Make a Circuit Diagram from Scratch in EasyEDA
5 min
- Introduction to EasyEDA
- How to Make a Circuit Diagram from Scratch in EasyEDA - Using CN3058E as an Example
- Setting Up EasyEDA for a New Project
- General Procedure to Make a Circuit:
- Building the Circuit Diagram
- PCB Layout Considerations:
- Conclusion:
Today, we are going to design a circuit from scratch, and I will show the whole process of designing a schematic. What precautions and design strategies can you follow in EasyEDA to make your PCB look professional good. We are designing a battery charger board, which comes in moderate difficulty. In this design, we will first go through the datasheet and choose the components that are required, and then design the actual circuit with some logic. I’ll walk you through my own design process for a CN3058E-based LiFePO₄ battery charger with protection, from the initial idea to a finished schematic and PCB, all created in EasyEDA.
Introduction to EasyEDA
When it comes to designing electronic circuits, one of the most popular online tools is EasyEDA. This free, cloud-based platform allows engineers, hobbyists, and students to create circuit diagrams, run simulations, and even design printed circuit boards (PCBs) — all within a web browser.
Unlike traditional software that requires installation, EasyEDA works online, making collaboration and project sharing much simpler. Whether you’re a beginner experimenting with Arduino projects or a professional preparing for PCB production, EasyEDA provides an easy entry point.
What is EasyEDA and Why Use it?
EasyEDA is an integrated design environment that supports:
- Schematic Capture – draw your circuit diagram from scratch.
- Circuit Simulation – test your design virtually before building hardware.
- PCB Layout – turn your schematic into a PCB design.
- One-Click Manufacturing – directly order boards from JLCPCB.
Key benefits include:
- Free to use with paid advanced options.
- Accessible anywhere with an internet connection.
- Large component libraries.
- Seamless PCB ordering and assembly integration.
How to Make a Circuit Diagram from Scratch in EasyEDA - Using CN3058E as an Example
The CN3058E is a linear battery charger IC optimized for 3.6V/3.7V LiFePO₄ cells. From the datasheet, I have gathered information on the charging profile Constant-Current / Constant-Voltage (CC/CV). It comes in an 8-pin package, and through an external resistor, we can set the charging current. Because the package is small, so does not bear much heat, so we have to keep it below the maximum range of 1A. Moreover over we find some status indicators for charging and full charge, and battery temperature monitoring. The circuit diagram shown in the datasheet is given above for reference. I do make some changes in the final layout as per the configuration I required.
Setting Up EasyEDA for a New Project
Step 1: Create a New Project
- Log in to EasyEDA.
- Click New Project → Name it "CN3058E LiFePO4 Charger" → Add a short description.
Step 2: Gather Component Libraries
- Search for CN3058E in the EasyEDA library.
- Add supporting components: resistors, capacitors, LEDs, USB Type-C connector.
- If a part is missing, import its footprint from LCSC or create a custom symbol.
EasyEDA is seamlessly integrated with JLCPCB, so once your schematic and PCB are complete, you can order your boards directly with just one click. This saves time, reduces errors, and ensures your design flows smoothly from idea to a real product.
General Procedure to Make a Circuit:
1. Wire Connections
Use the “Wire” tool to connect pins according to the schematic.
2. Name Nets
Assign clear net labels like VIN, VBAT, and GND for easy tracking.
3. Add Power Flags
Place VCC and GND symbols to mark power rails.
4. Annotate Components
Click Annotate to assign R1, C1, etc.
5. Electrical Rule Check (ERC)
Run ERC to spot unconnected pins or missing connections.
Building the Circuit Diagram
Time to connect everything together, once everything is gathered at one place, I am using 4 sections here listed as:
1) Input Section:
This is also known as the power input section, for I am using a 5V supply. And to do this, I am using a USB Type-C port configured for 5V input. Two 5.1 kΩ resistors (R6, R7) are connected to CC1 and CC2 pins for proper Type-C identification. Some pins are added if an external supply is required.
2) Charging Controller (CN3058E):
It contains the charging section of the schematic. I redraw the diagram, you can use certain labels and nets to connect different sections with each other neatly. For example, VIN is connected to pin 4 of CN3058E. ISET resistor (R2) sets the charging current, currently valued to 1.5K to produce 600mA. BAT pin outputs a regulated charge voltage to the battery. The TEMP we omitted this time because it is a single-cell charger, and operating conditions are not the worst here. Additionally, we have some decoupling capacitors (C1, C4, C5) near VIN to suppress noise. And C5, C6, and C7 near the battery point. 10 µF output capacitor for battery stability. 100 nF and 1 µF capacitors for filtering and transient suppression.
3) Indicators:
They are the simple LEDs used to indicate the battery state of charge. (LED1 for charging, LED2 for full charge).
4) Output:
The VBAT is the output of the IC, which is connected to the headers, and is used to connect the external battery later on. And the full schematic is given here, which completes the project schematic section and we are ready to move to PCB design.
PCB Layout Considerations:
We are not focusing on PCB design in this blog, but I shared some tips to make an efficient PCB, and the PCB view is shared also:
- Place the CN3058E close to the input and output capacitors to minimize trace length.
- Keep differential signals short for USB Type-C data lines.
- Use wide traces for battery and VIN lines to handle charging current.
- Place indicator LEDs at the PCB edge for visibility.
Conclusion:
So we have seen a design procedure of CN3058E LiFePO₄ Battery Charger with Protection from scratch in EasyEDA. It was a straightforward process once the steps were clear. From setting up the schematic to ordering the PCB. The key is following the datasheet, using correct footprints, and validating with rule checks.
Popular Articles
• AI Tools for PCB Design: Which Tool Fits Your Workflow Stage?
• GPT-6 Astra PCB Design in KiCad: From Brief to Verified Native Project
• GPT-6 Astra PCB Design in EasyEDA Pro: What Worked, What Failed, and What We Learned
• AI PCB Design: From Prompt to PCB with EasyEDA Pro
• How to Design Your Own Keyboard PCB: From Layout to Firmware
Keep Learning
GPT-6 Astra PCB Design in KiCad: From Brief to Verified Native Project
Key Takeaways What OpenAI published: The launch page features a 15-second condensed clip of GPT-6 Astra performing PCB layout in KiCad. What the model did: It turned a four-line brief into a 44 × 34 mm, two-layer PCB, covering the circuit, footprints, component placement, routing, and a native two-sheet schematic. Where the work went: Placement and routing were only part of the work. Two linked schematic sheets, project-local libraries, and UUID-based links between 45 components and their footprints w......
GPT-6 Astra PCB Design in EasyEDA Pro: What Worked, What Failed, and What We Learned
Key Takeaways What was tested: GPT-6 Astra was given access to a native EasyEDA Pro 3.2.149 installation and asked to design a stereo TPA3116D2 amplifier from a four-line written brief. What it produced: The run resulted in a 44 × 34 mm, two-layer PCB with 40 SMD components and an editable native EasyEDA Pro project with embedded libraries. Where it failed: The first complete import opened cleanly and looked plausible, yet the initial native verification reported 50 association mismatches involving 12......
AI Tools for PCB Design: Which Tool Fits Your Workflow Stage?
AI tools can now assist with PCB architecture, schematic generation, component selection, placement, routing, and design verification. However, different tools target different stages of the PCB workflow. This guide compares AI tools for PCB design based on what they actually do, what inputs they require, and where they fit within a real engineering workflow. In this guide, you will learn: The 6 types of AI PCB tools and the input each one needs What AI PCB design tools do, compared stage by stage How......
EasyEDA Pro vs KiCad: GPT-6 Astra PCB Design Compared
Key Takeaways What is being compared: Two versions of the same TPA3116D2 stereo amplifier project, each created by GPT-6 Astra in a different EDA tool. The comparison focuses on what you can actually do with the delivered project afterward. Ground copper: In the EasyEDA Pro project, the ground copper is stored as 28 fixed filled regions. In KiCad, it remains as two native copper zones that can automatically refill after layout changes. Verification: KiCad initially reported 46 schematic-parity issues.......
A Practical Guide to ODB Files for PCB Manufacturing
Key Takeaways All-in-One Data: ODB++ combines artwork, netlist, stackup, and drill spans in a single package. Fewer Errors: Embedded netlists allow CAM software to catch errors before production. Pre-Export Checks: Clear DRCs, close the board outline, and verify drill spans in a viewer. Best Practice: Use Gerber for quick quotes and keep ODB++ ready for engineering queries. A Gerber layer might simply say, “draw a 0.5 mm (20 mil) circle here.” ODB++ can describe that same feature as a pad on the VCC n......
AI PCB Design: From Prompt to PCB with EasyEDA Pro
Key Takeaways AI PCB design uses AI agents to automate schematic creation, component selection, layout, and verification inside a real EDA editor — not just generate images. The workflow connects EasyEDA Pro to an AI coding agent (Claude Code or Codex) through the EasyEDA API Gateway, the open-source API Skill, and a local bridge server. Setup takes about ten minutes and is fully local-first: designs, API calls, and intermediate code never leave your machine. Because the agent places real library part......