Git Product home page Git Product logo

Comments (18)

board707 avatar board707 commented on August 20, 2024

Hi
please be more specific about your problems with pins. Perhaps RGB Connecting Wiki page will be useful (it is in Russian, but can be easily translated by Google)

As far as i can see in the photo, you have p10 32x16 4scan outdoor panels. Such matrices often have non-standard wiring of LEDs, which must be managed individually. If you are willing to spend some time testing your panels, then I can help you find the right scan type for your matrices.

from dmd_stm32.

miralay001 avatar miralay001 commented on August 20, 2024

RGB Connecting I looked at the sample link page, the panel connections there start with R0 G0 My panel starts with R1 G1 I connected all the other pins as in the example link, but I could not get a picture from the panel. I am using your previous library as a single color without any problems. I could not run this library.

my panel starts with R1 G1 Do you think it's a problem?

I also tried with different Outdoor p10 RGB 1/4 and 1/8 panel scanning, no results.

from dmd_stm32.

board707 avatar board707 commented on August 20, 2024

my panel starts with R1 G1 Do you think it's a problem?

no,
It doesn't matter. It's just a different notation, the first data pin may be indexed as R0 or R1
so R0G0B0 R1G1B1 = R1G1B1 R2G2B2

Please connect as above and try to run example dmd_rgb_pattern_test.ino

from dmd_stm32.

miralay001 avatar miralay001 commented on August 20, 2024

i will go through the links and test the dmd_rgb_pattern_test.ino example i will let you know

from dmd_stm32.

miralay001 avatar miralay001 commented on August 20, 2024

I tested the connections with socket and solder, I also used the sample test, no results, I activated ALTERNATIVE_DMD_TIMERS from the dmd_config file, I replaced the OE pin with PB9 and the result was like this

#define DMD_PIN_nOE PB9
DMD_RGB <RGB32x16plainS4, COLOR_4BITS> dmd(mux_list, DMD_PIN_nOE, DMD_PIN_SCLK, custom_rgbpins, DISPLAYS_ACROSS, DISPLAYS_DOWN, ENABLE_DUAL_BUFFER);
fg = dmd.Color888(255, 0, 0);

places i changed
I also tried the other scan pattern

WhatsApp.Video.2022-06-27.at.16.29.11.mp4

from dmd_stm32.

board707 avatar board707 commented on August 20, 2024

Please test with RGB32x16plainS4_DIRECT pattern:
DMD_RGB <RGB32x16plainS4_DIRECT, COLOR_4BITS> dmd(mux_list, DMD_PIN_nOE, DMD_PIN_SCLK, custom_rgbpins, DISPLAYS_ACROSS, DISPLAYS_DOWN, ENABLE_DUAL_BUFFER);

from dmd_stm32.

miralay001 avatar miralay001 commented on August 20, 2024

I tested it with RGB32x16plainS4_DIRECT model, the result is like this, I used the same panel in pxmatrix, no problem, I want to use your library with stm32, can my connections be a mismatch in the right pins?

WhatsApp.Video.2022-06-28.at.01.53.45.mp4

from dmd_stm32.

board707 avatar board707 commented on August 20, 2024

Thanks for your testings.

I used the same panel in pxmatrix, no problem

What settings did you use in PXmatrix for your panels (scan, scan pattern, mux pattern) ? If you could send an example of code that is known to work with your matrices on PXMatrix, that might be helpful.

from dmd_stm32.

miralay001 avatar miralay001 commented on August 20, 2024

Working example with pxmatrix library
pxMatrix_p10_1_4_scan.zip

scan = 4 scans
hatch pattern = ZAGGIZ
setMuxPattern(BINARY);

The processor I use is atmega 328 Arduino pro mini

from dmd_stm32.

board707 avatar board707 commented on August 20, 2024

Thanks for code.
This is somewhat strange, such a config should have given more reasonable behavior for the RGB32x16plainS4 mode in my library.
What stm32 board are you using? How do you upload firmware? (STM32_bootloader, DFU or StLink?)

from dmd_stm32.

bilalibrir avatar bilalibrir commented on August 20, 2024

Hello,
I think that you have to use S2 mux binary not a direct one.

from dmd_stm32.

miralay001 avatar miralay001 commented on August 20, 2024

Kod için teşekkürler. Bu biraz garip, böyle bir yapılandırmanın kütüphanemdeki RGB32x16plainS4 modu için daha makul bir davranış vermesi gerekirdi. Hangi stm32 kartını kullanıyorsunuz? Firmware'i nasıl yüklersiniz? (STM32_bootloader, DFU veya StLink?)

arduino version i am using 1.8.13
I'm Programming over USB TTL
stm32 card link http://dan.drown.org/stm32duino/package_STM32duino_index.json

stm32

I just installed from scratch on another computer in your library
the result did not change

https://github.com/adafruit/Adafruit-GFX-Library/releases/tag/1.7.0
https://github.com/rogerclarkmelbourne/Arduino_STM32

from dmd_stm32.

miralay001 avatar miralay001 commented on August 20, 2024

Hello, I think that you have to use S2 mux binary not a direct one.

hello
I'm trying right away

from dmd_stm32.

board707 avatar board707 commented on August 20, 2024

stm32 card link http://dan.drown.org/stm32duino/package_STM32duino_index.json

stm32

sorry, the board STM32f103_C6 is not supported by the library yet, just in plans.

For c6 board a different config is needed because it does not have TIMER4. In addition, the flash size of c6 is relatively small - 32k, and the bootloader takes another 8k from them, so even simple examples from the library cannot be loaded into the board without significant optimization of the stm32 core

I can send you a patch to help run dmd_rgb_pattern_test.ino example on your board, but it doesn't make much sense due to the flash size limitations

from dmd_stm32.

miralay001 avatar miralay001 commented on August 20, 2024

WhatsApp Image 2022-06-28 at 13 11 38

but my card is not STM32f103_C6

my card is STM32f103_C8T6

I noticed that my other cards I use are STM32f103_C6.
I will try and reconnect with my current STM32f103_C8T6 card.

from dmd_stm32.

board707 avatar board707 commented on August 20, 2024

I will try and reconnect with my current STM32f103_C8T6 card.

Please select "Generic_STM32F103C series" board in Arduino IDE:
https://microkontroller.ru/wp-content/uploads/2022/03/select-stm32f103c-as-microcontroller-board-in-arduino-ide.png

from dmd_stm32.

miralay001 avatar miralay001 commented on August 20, 2024

I tried again with stm32f103c8tb
it just keeps getting brighter

maybe the stm32duino library I am using is wrong?

http://dan.drown.org/stm32duino/package_STM32duino_index.json

stmsn
.

WhatsApp.Video.2022-06-29.at.00.04.33.mp4

from dmd_stm32.

board707 avatar board707 commented on August 20, 2024

maybe the stm32duino library I am using is wrong?

Yes, the package you using is wrong. The only STM32 Arduino package supported is Roger Clarks's repo https://github.com/rogerclarkmelbourne/Arduino_STM32

from dmd_stm32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.