1.0.9 • Published 6 months ago

@typecad/rd_esp32s3 v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

rd-ESP32S3

The reference design for the ESP32-S3-MINI-1-N8. A module that provides 2.4 GHz b/g/n WiFi and BLE 5 connectivity, MCU, and PCB antenna.

Installation

npm i @typecad/rd_esp32s3

Input Connections

  • vin: Power - 3.3 volt power supply

Output Connections

  • None specified in the package, refer to the datasheet for a listing of pins.
  • The ESP32-S3 GPIO pins are available as ::U1.IO*, see Accessing Outputs below for more details

Components

  • U1: ESP32_S3_MINI_1_N8 - Main IC
  • C1: _0603.Capacitor- Bulk capacitor
  • C2: _0603.Capacitor- Part of RC circuit for U1.EN
  • C3: _0603.Capacitor - Decoupling capacitor
  • C8: _0603.Capacitor- Debounce for SW1
  • R1: _0603.Resistor- Part of RC circuit for U1.EN
  • R7: _0603.Resistor - Debounce for SW1
  • SW1: Component - Button to reset IC

Use

  1. Import the package
import { Schematic } from '@typecad/typecad';
import { Power } from '@typecad/passives/power';
import { rd_esp32s3 } from "@typecad/rd_esp32s3";
  1. Declare a Power object to power the ESP32-S3
let vin = new Power({
  power_name: 'vin',
  schematic: typecad,
});
  1. Make the package.
let esp32s3 = new rd_esp32s3(typecad, vin);
  1. ::create() it
esp32s3.create();

Default Layout

This package contains a default layout for all the components. The PCB class can be shared between multiple packages.

import { PCB } from '@typecad/typecad';

let board = new PCB('[your_board_name]');

esp32s3.pcb = board;
esp32s3.create();
board.create();

After building, there will be a .kicad_pcb file in the build directory. Keep in mind that each time esp32s3.pcb = board is set, the layout will be updated with the default component locations, discarding any changes you may have made. Setting it once, building, then removing it is the recommended workflow.

Accessing outputs

Any of the pins can be accessed, they must be exported with ::ext first.

Attach any pin to a named net.

esp32s3.sheet.ext(esp32s3.U1.IO10.net, esp32s3.U1.IO10.pin);

Subsequent Use

typecad.net(esp32s3.U1.IO10.pin, ...);

Passives

The default size for the passive components is 0603, but it can be changed by passing a different set of passives.

import * as $0805 from '@typecad/passives/0805';
let esp32s3 = new rd_esp32s3(typecad, vin, 'U1', $0805);
1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

7 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

9 months ago