Skip to content

ESP32 + APA102 Question #759

Closed
Closed

Description

@Edris89

Hi there,

I am doing a project with the ESP32 and the APA102 SMD RGB LEDs.
My project is about a text logo its called VUSAM, 5 letters.

I wanted to fill those letters with SMDs and have each letter it's own channel so that it could have different effects for each letter.

I understand that each letter would have it's own data pin.
But the APA102 has also a clock pin.
And this is where it's getting a bit confusing for me.

I have some couple of questions.

  1. Which gpio pins can I use for the data pins for each of the 5 channels?
  2. Must I also have 5 different clock pins for each channel? Or can I connect all those clocks with one clock pin?
  3. Question about question 2. What's the difference between using 5 different clock pins or 1 clock pin for all the 5 channels.
  4. Which pin or pin's can I use for the clock pin.
  5. Can I use the ESP32 pins to drive the APA102 smd leds with 3.3V Logic? Or must this be 5V logic?
    Thanks in advance.

Activity

  1. JanBosNL commented on Mar 22, 2019

    @JanBosNL

    I was trying to figure similar issues out on an esp8266 and can confirm you only need 1 clock pin for all the data pins.

    Check out my issue that I closed it has a simple sketch to test 2 APA102 strips with 2 data pins and a mutual clock pin.

    #760

  2. Edris89 commented on Mar 30, 2019

    @Edris89
    Author

    Link is broken?

  3. JanBosNL commented on Apr 3, 2019

    @JanBosNL

    Check my latest working code, Its runs on an ESP8266 but should also be fine on an esp32

    Dont yet know how to apply different effects on different strips. This for me however solved the different ledcounts on strips when using 1 effect on all strips at once.

    https://github.com/JanBosNL/NodeMCU-esp8266-fastled-apa102/blob/master/5_strips_multi_lenght_fastled_fire_demo.ino

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions