mohan-bee/pocket-mic-tx-assembly

Pocket-sized ESP32-S3 wireless microphone transmitter with digital MEMS mic, 2.4‑GHz antenna/RF matching, USB/QSPI flash, Li‑ion charging and buck-boost power management, status LED, control key, and protective clip-on enclosure.

Version
0.0.3
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone mohan-bee/pocket-mic-tx-assembly  # download the package files into ./pocket-mic-tx-assembly
tsci add mohan-bee/pocket-mic-tx-assembly    # add it to your project as @tsci/mohan-bee.pocket-mic-tx-assembly

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

source/system.circuit.tsx

import { systemblock as System } from "tscircuit"

export default function PocketMicC5System() {
  return (
    <group name="Pocket Mic C5">
      <System.page name="audio" displayName="Audio signal path" direction="right">
        <System.group name="audio-tx" displayName="TX · Transmitter">
          <System.component name="mic" displayName="ICS-43432" description="Digital MEMS microphone" />
          <System.component name="tx-processor" displayName="ESP32-S3" description="Captures mono PCM" />
          <System.connection from="mic" to="tx-processor" label="I²S audio" />
        </System.group>
        <System.component name="wireless" displayName="2.4 GHz Wi-Fi" description="UDP · 32 kHz, 16-bit mono" />
        <System.group name="audio-rx" displayName="RX · Receiver">
          <System.component name="rx-processor" displayName="ESP32-S3" description="Wi-Fi access point and audio buffer" />
          <System.component name="dac" displayName="PCM5102A" description="DAC · same mono on L and R" />
          <System.component name="mic-level" displayName="3.5 mm TRS" description="Filtered, attenuated and AC-coupled" />
          <System.connection from="rx-processor" to="dac" label="I²S audio" />
          <System.connection from="dac" to="mic-level" label="Analog L/R" />
        </System.group>
        <System.component name="camera" displayName="Camera or recorder" description="Mic input" />
        <System.connection from="tx-processor" to="wireless" />
        <System.connection from="wireless" to="rx-processor" />
        <System.connection from="mic-level" to="camera" />
      </System.page>
      <System.page name="power" displayName="Power" direction="right">
        <System.group name="power-tx" displayName="TX · Battery or powered dock">
          <System.component name="tx-pogo-5v" displayName="J1 pogo" description="Regulated USB 5 V" />
          <System.component name="battery" displayName="J2 battery pads" description="Protected 1S LiPo + 10 kΩ NTC" />
          <System.component name="charger" displayName="BQ24074" description="Charger and power path" />
          <System.component name="buck-boost" displayName="TPS63802" description="3.3 V buck-boost" />
          <System.component name="tx-load" displayName="TX 3.3 V rail" description="ESP32-S3 and microphone" />
          <System.connection from="tx-pogo-5v" to="charger" kind="power" />
          <System.connection from="battery" to="charger" kind="power" direction="both" />
          <System.connection from="charger" to="buck-boost" kind="power" />
          <System.connection from="buck-boost" to="tx-load" kind="power" />
        </System.group>
        <System.group name="power-rx" displayName="RX · External USB power">
          <System.component name="rx-usb-5v" displayName="J1 USB-C" description="External 5 V input" />
          <System.component name="ldo" displayName="AP7361C" description="3.3 V LDO" />
          <System.component name="rx-load" displayName="RX 3.3 V rail" description="ESP32-S3 and DAC" />
          <System.connection from="rx-usb-5v" to="ldo" kind="power" />
          <System.connection from="ldo" to="rx-load" kind="power" />
        </System.group>
      </System.page>
      <System.page name="programming" displayName="Programming and recovery" direction="right">
        <System.component name="host-computer" displayName="Computer" description="ESP-IDF / esptool" />
        <System.group name="programming-both" displayName="Programming interfaces on both boards">
          <System.component name="native-usb" displayName="Native USB" description="TX via J1 pogo · RX via J1 USB-C" />
          <System.component name="uart0" displayName="Top UART0 pads" description="GPIO43 TX / GPIO44 RX · 3.3 V logic" />
          <System.component name="esp-boot" displayName="ESP32-S3" description="USB Serial/JTAG or UART bootloader" />
          <System.connection from="native-usb" to="esp-boot" />
          <System.connection from="uart0" to="esp-boot" />
        </System.group>
        <System.connection from="host-computer" to="native-usb" label="USB" />
        <System.connection from="host-computer" to="uart0" label="USB–UART adapter" />
      </System.page>
    </group>
  )
}