Skip to content

Hardware

Ewoud edited this page Dec 24, 2022 · 27 revisions

TOC

Items

See MoonModules on Tindie

image

Questions? Go to WLED Audio Dev on Discord

Instructions

Software

To get the most out of this hardware install WLED MoonModules on it.

At the moment if writing it is highly recommended to install the latest 0.13 dev version as it is close to release for production and contains a lot of improvements compared to latest production release 0.12. Especially in the area of 2D. You can build the latest dev yourself (Compiling) or get prebuilds here: Serg74

When to choose for the universal shield:

  • If you have a lot of leds and want the shield to be always on (and not the leds), the relay of the universal shield will save on energy: the relay takes about 60mA, each led which is off but connected takes 1mA so the break even point is about 60 leds. A 40A/5V power supply takes about 300 mA (1.5W), the shield + ESP32 about 200 mA (1W), a burning led about 50mA (0.25W).
  • If you want to use WLED usermods, the universal shield has header pins to support them 'plug and play': the ics-43434 and a i2c display can be connected using a pin header. An ir-receiver or dallas temperature sensor can be soldered directly on the board

Mini Shield

Connection guide: Connection guide

  • layout of screw terminals
  • add external button
  • add external relay

Universal shield

Shield PCBs and schematic: Shield PCBs and schematic

  • PCB shows layout of screw terminals. Be aware that layout is different than the Mini shield!!!
  • Schematic shows gpio ports of button and relay and other devices (set this up in WLED preferences)
  • Button = GPIO 17
  • Relay = GPIO 19
  • Dallas temp sensor = GPIO 23

Jumper is set to 12V per default. Change to 5V if your source is 5V.

More information: WLED Wemos shield wiki

Digital Microphone

Place on universal shield like this:

image

Or create a 'scorpion' with a mini shield like this (by @SoftHack007)

image

Wiring on Universal shield (to setup in WLED):

ICS-43434

  • Generic I2S Microphone
  • SD = GPIO 32
  • WS = GPIO 15
  • SCK = GPIO 14

SPM1423

  • Generic I2S PDM Microphone
  • SD = GPIO 32
  • WS = GPIO 15
  • SCK = GPIO -1

The ICS-43434 is a bit more sensitive then the SPM1423 and noise floor a bit lower. WLED (First SR and MoonModules, later AC) will have specific profiles for both microphones to get optimal performance.

ESP 32

More information: TwilightLord-ESP32 16MB

  • Sample partitions file
  • Board definition file for PlatformIO
  • Sample Environment definition for your platformio.ini file

Mini Fuse

Guideline: take your total led current +20%. In theory each led can take 20mA per color, that is 60mA in total. In practice, also depending on the type of LED (e.g. eco) much less, especially for indoors. You can also set the max current in WLED Led Configuration and align the Fuse to that value + 20%.

Enclosure

Mini Shield with 4 line display in enclosure (Added by @ThunderOwl)

image
Clone this wiki locally