Which is the the recommended shield design, there looks to be a choice, but no readme in that folder to explain pros/cons of each
I got 5 board printed from this example, have assembled one with no luck, not sure if HW or SW issue
A small, simple, passive driver for HUB75 based LED panels - GitHub - rorosaurus/esp32-hub75-driver: A small, simple, passive driver for HUB75 based LED panels
Video example
Louis
February 5, 2022, 10:30pm
2
There’s some explanation here on my designs:
I got 5 board printed from this example, have assembled one with no luck, not sure if HW or SW issue
What config are you using? If you share more details I can try to troubleshoot
Put another board together using the mode0 direct to panel and that worked, so either bad board or issue with mode1 where you use a cable. Do you need to make software change to use mode1 output?
Thanks for the link, but doesn’t seem to say the pros and cons or difference been TMT and SMT designs
Louis
March 4, 2022, 9:23am
5
I know the THT version works to drive a matrix
The THT board is much larger but easier to solder
I would use the THT board unless you have a size constraint
Louis
March 4, 2022, 9:27am
6
You’ll need to change the define at the top of this file to use HUB75_ADAPTER_V0_THT_PINOUT
#define B_PIN -1
#define C_PIN -1
#define D_PIN -1
#define E_PIN -1
#define LAT_PIN GPIO_NUM_22
#define OE_PIN GPIO_NUM_19
#define CLK_PIN GPIO_NUM_4
#elif (GPIOPINOUT == HUB75_ADAPTER_V0_THT_PINOUT)
#pragma message "MatrixHardware: HUB75 Adapter V0 THT pinout"
// ADDX is output on RGB pins and stored in external latch (need multiple of 32-bits for full data struct, so pad 2 CLKs to 4 here)
#define MATRIX_I2S_MODE I2S_PARALLEL_BITS_8
#define MATRIX_DATA_STORAGE_TYPE uint8_t
#define CLKS_DURING_LATCH 4
#undef BIT_A
#undef BIT_B
You can also extract the relevant defines for HUB75_ADAPTER_V0_THT_PINOUT to a new header file, like this one so you don’t have to keep changing the GPIOPINOUT define:
/*
* SmartMatrix Library - Hardware-Specific Header File (ESP32 HUB75 Adapter SMT Version)
*
* Copyright (c) 2020 Beaudoin (Pixelmatix)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
This file has been truncated. show original