Wiring Sound Sensor with Relay

2:09

Below is a summary of the schematic changes to be made. You can use the Apply changes button to update your schematic accordingly:
1. Sound Sensor (KY 037) Update:
2. Relay (SPDT Relay DS1E-M-DC24V) and ESP32 Interface:
3. Powering the Relay:
  • Use the 5V supply from V1 (V1) for the relay’s power.
    • Connect V1 output (5V) to the relay’s power input (if your relay module has a dedicated VCC pin) or to the appropriate node that supplies the coil voltage as specified in your design.
4. Load (LED) with Current-Limiting Resistor:
  • Add a LED component (for example, a generic LED).
  • Add a 220Ω resistor (for example, R?) to serve as the current-limiting resistor.
  • Wire the connections as follows:
    • Connect SPDT Relay DS1E-M-DC24V pin NO to the LED (Anode).
    • Connect the LED (Cathode) through the 220Ω resistor to GND.
These changes will implement the interconnections as described in your specification:
  • The Sound Sensor is now powered from the ESP32’s 3.3V and its analog output (A0) is connected to GPIO34.
  • The ESP32 drives the relay’s control input via GPIO26, while the relay coil is referenced to a common GND.
  • The Relay directs the 5V supply (or external supply) to drive the load (LED) when activated, with the LED current limited by a 220Ω resistor.
You can now use the Apply changes button to update your schematic with these wiring modifications.
Run ERC check
Add LED and resistor
Verify GPIO26 relay connection
Double-check sensor mapping
393 days

To get started, talk to Flux or create a New Document.

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    Assets are files uploaded to this project which can be used in various ways.

    Noise Control System thumbnail
    Welcome to your new project. Imagine what you can build here.

    Properties

    Properties describe core aspects of the project.

    Pricing & Availability

    Distributor

    Qty 1

    Arrow

    $3.00

    Digi-Key

    $6.54–$9.09

    LCSC

    $4.25

    Mouser

    $3.45

    Verical

    $2.67–$8.09

    Controls