Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docs/elements/battery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ description: >-
A `<battery />` is a power source that provides electrical energy through
electrochemical reactions. Batteries are essential components that supply
power to electronic circuits and devices. They have a positive and negative
terminal and must be connected with correct polarity.
terminal.
---

## Overview

A `<battery />` is a power source that provides electrical energy through electrochemical reactions. Batteries are essential components that supply power to electronic circuits and devices. They have a positive and negative terminal and must be connected with correct polarity.
A `<battery />` is a power source that provides electrical energy through electrochemical reactions. Batteries are essential components that supply power to electronic circuits and devices. They have a positive and negative terminal.

A battery element has two pins and is polarized, meaning it has a positive terminal (cathode) and a negative terminal (anode). The voltage and capacity of the battery determine how much power it can provide and for how long.

Expand Down Expand Up @@ -41,10 +41,6 @@ A battery has the following pins and aliases:
| pin1 | pos, positive, cathode | The positive terminal that provides current |
| pin2 | neg, negative, anode | The negative terminal that completes the circuit |

:::warning
Batteries are polarized components! You must connect the positive and negative terminals correctly. Reversing polarity can damage your circuit or the battery itself.
:::

## Specifications

Batteries can be configured with these key properties:
Expand Down
10 changes: 3 additions & 7 deletions docs/elements/capacitor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: >-

A `<capacitor />` stores electrical energy in an electric field. Capacitors are commonly used for filtering, energy storage, and timing circuits. Unlike resistors, capacitors can be polarized (like electrolytic capacitors) or non-polarized (like ceramic capacitors).

A capacitor element has two pins. Polarized capacitors must be placed with correct orientation to avoid damage.
A capacitor element has two pins.

When specifying a capacitor, you'll need to provide a footprint string (like `0402` or `0805`) and capacitance value. Popular capacitor types and sizes can be found at [jlcsearch](https://jlcsearch.tscircuit.com/capacitors/list).

Expand Down Expand Up @@ -42,12 +42,8 @@ A capacitor has the following pins and aliases:

| Pin # | Aliases (Polarized) | Description |
| ---------- | ------- | ----------- |
| pin1 | pos, anode, left | The positive terminal (required for polarized capacitors) |
| pin2 | neg, cathode, right | The negative terminal (must be connected properly for polarized caps) |

:::warning
For polarized capacitors, you must connect the positive and negative pins correctly. Reversing polarity can cause capacitor failure or even explosion!
:::
| pin1 | pos, anode, left | The positive terminal |
| pin2 | neg, cathode, right | The negative terminal |

## Specifications

Expand Down
Loading