Use a package — solar charger
npm install a complete charger circuit, wire the panel and battery to its pins, and create it like any other component.
Click through the files — it's the whole project
Use a package — solar charger — Visual Studio Code
Select a file from the explorer
@typecad/rd-bq24210 npm · Power · Connector
What's going on
@typecad/rd-bq24210is a published package implementing TI's BQ24210 solar charger — IC, passives, and the connecting tracks, tested as a unit.npm installbrings its symbols and footprints along; the build syncs them into./build/lib/so KiCAD finds everything.- The panel and battery are
Connectors wrapped inPowerobjects — wiring them to the module's pins (charger.VBUS,charger.BAT) is ordinarynet()work, and the power-aware checks see the voltages. charger.componentsis everything the package placed — spread it intocreate()and the whole sub-circuit lands in the outputs, grouped together.
Install
terminal
cd my-project/hw
npm install @typecad/rd-bq24210Build
terminal
typecad-pcb buildIn KiCAD, the charger arrives as one group — drag it around the board and route to it like any other part.
Where to go next
- Packages — the full consuming story, constructor options, and DNP
- Package authoring — publish your own circuit modules
- Pins & Power — the Power class behind the panel and battery