Skip to content

ESP/ESPcontrol

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.

ESPcontrol (v2)

Version 2 brings a significant desgin overhaul to come up with a relatively general ESP32 control board.

image

The default connectors are kept, in order to accomodate the 3-pin power connector, the board size increased slightly to 61mm×41mm.

Lights

  • 2x PWM light with two signal lines per connector (CCT or 2 independent monochromatic or neopixel lights each)

Driver

  • There are 4 MOSFETs (SOT23, designed for AO3400, up to 30V, 5A) on the board that can directly drive external LEDs. This is the use case for the default board layout. Connect the common supply voltage to the power connector.
  • It is possible to drive external (logical) MOSFETs. For that case the MOSFETS Q2–Q5 are omitted and bridged via their corresponding solder jumpers. To provide GND to the LED common pins, also bridge the solder jumpers connecting GND to Vcom (front and back side of board)

image

Connectors for sensors

Sensors for motion/presence/light are connected through cables to allow flexible placement.

  • light (photodiode or -transistor)
  • motion (on both connectors pin 3 is input only)
    • mmWave (pin layout for LD2410) either
      • XH connector (or 2.54mm pinheader) for external placement
      • 1.27mm pinsocket for on-board placement
    • PIR
      • layed out for one signal input, can be configured for a two wire sensor by connecting any of the IO pins 12,14,25,26,27, or 33 to pin 4 of J3 via on of the backside solder jumpers.
    • for either connector the power can be configured to 5V (default) or 3.3V (disconnect default jumper and solder the alternative jumper - back side)
  • up to 4× I²C (three in parallel (bus 1), the forth header is the programming header with pins Rx/Tx which need to be programmed as I²C bus 2. This header does not provide pull-up resistors on the Rx/Tx pins (→ SCL/SDA) lines which may have to be provided externally to ensure proper function)

Feedback

  • status LED
  • info LED (either regular LED or SK6812), also available through header for "external" use
  • buzzer (active or passive possible via output pin programming)
  • RESET/Prog status (the latter - IO00 - can also be used as output)

pin headers

2 pinheaders for most of the remaining pins as well as GND, 3.3V, and 5V - to allow further experimenting/prototyping, can be also used to add shields.

Power

ESP32

5V DC either through

  • USB micro (only for powering the ESP32 and non-light peripherals)
  • screw terminal (*)
  • XH connector (*)

(*) of these options only one can be used as the sockets share their space on the board

LEDs

When using the on-board MOSFETS connect the LED power supply to pin 3 of the power connector. With external MOSFETs either solder the jumpers to connect the common LED pin to GND, connect pins 2 and 3 of the power connector, or connect GND also to pin 3 of the power connector.

Schematics