Share My Creation JG LEDStrip APA102

JordiCP

Expert
Licensed User
Longtime User
Very nice !

Please tell us how to increase the SPI clock speed to 40 MHz.

Thanks!

When the SPI is initialized it sets 1MHz as default (find class initialization in SPI library code attached), but it seems (didn't test) that it can be changed. And according to some forums I have read, the max speed is the ESP8266 core speed / 2


B4X:
void setup() {
  // Initialise Serial connection
  Serial.begin(115200);

  SPI.begin();
  SPI.setFrequency(10000000);    // In this case, freq = 10MHz
  
  //....
}
 

Attachments

  • SPI_Arduino_ESP8266.zip
    4.5 KB · Views: 346

freedom2000

Well-Known Member
Licensed User
Longtime User

Great !

Yes I already tested this function and it works. But I tought that it was limited to 1MHz

Thank you
 

merlin2049er

Well-Known Member
Licensed User
Longtime User
I guess these leds are not addressable, but if you break them into chunks they might be.

I need a ~ 50 character LED matrix display.
 

JordiCP

Expert
Licensed User
Longtime User
I guess these leds are not addressable, but if you break them into chunks they might be.

I need a ~ 50 character LED matrix display.
Well, in fact they are individually addressable through SPI
In my case I broke the strip into chunks to make a square panel, but connected the chunks between them (notice there are "home-made" cables at panel's left and right, connecting each row with the one below it)

For 50 chars, depending on the panel dimensions you want and the font size (in leds) you can calculate the aprox.cost doing it with led strips
 

freedom2000

Well-Known Member
Licensed User
Longtime User
Well the controller is shared into two parts :
- android App
- led driver (my ESP board)

if you want to control new kind of leds then the Android App will not change but the led driver must change.

I haven't found in the link that you have provided any information regarding the way to drive this led...
So my first answer is that it should be doable but I don't yet know how
 
Last edited:

dankoi

New Member

Hello!

Your project is awesome! It is exactly what I am looking for!
Would you please share the ESP8266 code and the Android app with me?

Thank you!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…