Skip to content

Proof of Concept custom firmware for the Huidu WF1 or WF2 LED Controller Card

License

Notifications You must be signed in to change notification settings

mrcodetastic/HD-WF1-WF2-LED-MatrixPanel-DMA

Repository files navigation

HD-WF1-WF2-LED-MatrixPanel-DMA

Custom firmware based on my HUB75 DMA library, for the:

  • Huidu WF1 LED Controller Card based on the ESP32-S2; or
  • Huidu WF2 LED Controller Card based on the ESP32-S3.

Huidu WF1

These can be bought for about USD $5 and are quite good as they come with a battery and a Real Time Clock (BM8563), and a push button connected to GPIO 11 for your use.

Seller #1: https://www.aliexpress.com/item/1005005038544582.html

Seller #2: (https://www.aliexpress.com/item/1005005556957598.html)

There are probably other sellers on Aliexpress as well. I give no guarantees that these will use the ESP32-S2, check the model version!

image

How to flash?

To put the board into Download mode, simply bridge the 2 pads near the MicroUSB port, then connect the board into your PC using a USB-A to USB-A cable, connecting to the USB-A port on the WF1 (not the Micro USB input). It is NOT possible to program the board using the onboard Micro USB port. Thanks Rappbledor

image

Alternatively, solder a micro-usb to the exposed pins underneath to gain access to the D+ and D- lines connected to the USB-A port on the device. The ESP32-S2 routes the USB D+ and D- signals to GPIOs 20 and 19 respectively.

image

The above has been successfully tested on board is rev 7.0.1-1 and it comes with an ESP32-S2 with 4MB flash and no PS Ram.

Huidu WF2

HD-WF2 boards are easily flashed with USB-A to USB-C cables often used with phone chargers, so no need to look for rare USB-A to USB-A cables. You just need to plug type-c port to you laptop's type-c port (or some USB hub with type-c) and plug USB-A to the board, voila... :)

The best fit board definition for PlatformIO is:

board = wifiduino32s3

and if you need serial debug messages via USB-A port just add

build_flags =
    -DARDUINO_USB_CDC_ON_BOOT=1

Limitations:

  • Whilst the WF-2 has two HUB75 ('75EX1' and '75EX2') connectors. It is NOT possible to drive BOTH at once. You can only use wither the 75EX1 or 75EX2 port at any time to drive a single HUB75 panel, or a chain of panels.
  • 75EX2 ports 'E' pin does not appear to be mapped to a GPIO on the S3, as such, can not be used to drive a HUB75 LED Panel that requires an 'E' input (for example, a 64x64 pixel LED Matrix).

Source

GitHub Sketch Output

It should show a clock and some colourful graphics. Designed for a 64x32px LED matrix.

image

About

Proof of Concept custom firmware for the Huidu WF1 or WF2 LED Controller Card

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published