NWI1126-DAT

tech

Pin Definitions

on board ESP32-C3-WROOM-02-dat version == 4MB - ESP-debug-log-dat

#define OM_LED 10 // on module led
#define WS_LED 9 // WS2812, select by jumper

#define addc 0

#define W_LED 4 // white
#define B_LED 5 // blue
#define G_LED 6 // green
#define R_LED 7 //red
  • IO9 button = program mode pin
  • EN button = reset pin
  • programmable LED pin 10

PWM driving

const int ch = ledcAttach(pin, LEDC_BASE_FREQ, LEDC_TIMER_BIT);
...
pwmWritePin(G_LED, 0);
    ...
    ledcWrite(pin, actualDuty); // core 3.x: pin-based write

Wiring Diagram

Jumpers

Jumper Name Option 1 Option 2 Function Note
JP_P 5V, 12V, etc (ws2812) 6~28V (top) board system power supply
JP_L 5V, 12V, etc (ws2812) 6~28V (top) led strip power supply
JP 8 (top) DAT (ws2812) Green (bot) reused pins for WRGB channels or WS2812
JP 9 (bottom) GND (ws2812) Red (bot) reused pins for WRGB channels or WS2812
back_jumper ws2812_dat_3.3V ws2812_dat_5V (default) set ws2812 dat pin to 5V output default default

jumper setup cases

Case 1: Control RGBW 4 channel LED Strips

  • LED strips power supply 6~28V (12V or 24V)
  • Board power supply 6~28V
jumper name set
JP_P 6~28V (top)
JP_L 6~28V (top)
back_jumper default
JP_8 GNR (bottom)
JP_9 RED (bottom)

Case 2: Control WS2812 LED Strips

  • LED strips power supply 5V
  • Board power supply 6~28V
jumper name set position
JP_P 6~28V for the board top
JP_L 5V for the led strip bottom
back_jumper no need change default
JP_8 WS2812_data top
JP_9 WS2812_gnd top

common mentioned led strips

12V WS2814

Upgradation

  • Programming guide, demo video please refer to page USB-TTL-dat

Core Module Sch

Peripheral schamtic please refer to NWI1124-DAT

quick test

Addon-ons

Note

  • ESP32-USB-dat failed on code testing, may work or not, consider it is not working if you buy.
  • price discount: 10% for 49-149pcs, 15% for 150pcs+

update logs and issues

  • CONN-USB-micro-vertical-dat

  • New USB footprint to simplified the production process and reduce failure rate

  • Tested USB Functions working fine by customers feedback

Version Logs

2023-1101

custom only

  • C4 = 100uf/10V

demo video

Default test firmware

Default firmware, right bottom LED blink, drive common 4ch RGBW LED strip to blink

4MB flash - 2MB APP x2, basic-3.ino.partitions.bin file changed

"C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\5.1.0/esptool.exe" --chip esp32c3 --port "COM12" --baud 921600  --before default-reset --after hard-reset write-flash -e -z --flash-mode keep --flash-freq keep --flash-size keep 0x0 "basic-3.ino.bootloader.bin" 0x8000 "basic-3.ino.partitions.bin" 0xe000 "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.1/tools/partitions/boot_app0.bin" 0x10000 "basic-3.ino.bin"

ref