Search found 904 matches
- Thu Apr 04, 2024 6:51 pm
- Forum: General
- Topic: SK6812 LED
- Replies: 37
- Views: 3991
Re: SK6812 LED
I've tested using an ATMega8 - running at 16MHz (with external crystal) - LED lights all good and at 8MHz (internal)- not good. Checking on a scope - the timings look 'out' when running at 8MHz - and in fact altering the clock speed - seems to generate the same number of nops (for example setting it...
- Thu Apr 04, 2024 12:15 pm
- Forum: General
- Topic: SK6812 LED
- Replies: 37
- Views: 3991
Re: SK6812 LED
Can you try the attached - just outputs a colour (255) to each of RG and B then repeats - note that if you don't have the RGBW variant (I don't) then setting W to 0 is okay... (Note I use D7 as the output pin - you'll need to change this to suit)
Martin
Martin
- Thu Apr 04, 2024 11:52 am
- Forum: General
- Topic: SK6812 LED
- Replies: 37
- Views: 3991
Re: SK6812 LED
Just got an SK6812 running with an Arduino - admittedly 16MHz - using the library. The solution seems to be simpler than expected - add a small delay after the initialise (it seems that the LED takes a moment to become 'ready' after power on')
- Thu Apr 04, 2024 11:17 am
- Forum: General
- Topic: SK6812 LED
- Replies: 37
- Views: 3991
Re: SK6812 LED
I have some sk6812 chips - I'll see if I can get it working in hardware for you....
Again - just to check - your board is running at 8MHz.
The alternative is a ws2812?
Martin
Again - just to check - your board is running at 8MHz.
The alternative is a ws2812?
Martin
- Thu Apr 04, 2024 9:56 am
- Forum: General
- Topic: SK6812 LED
- Replies: 37
- Views: 3991
Re: SK6812 LED
The timing might be a bit 'tight' on an 8MHz chip and hardware? A while ago I posted some code for the ATTiny85 - at85_rainbow.fcfx Where you can try 'tweaking' the timings. Note that this can be sped up by removing the 32 bit variable in Refresh and using 3 single byte 'shifts' (the AVR MCUs are 8 ...
- Thu Apr 04, 2024 6:53 am
- Forum: General
- Topic: SK6812 LED
- Replies: 37
- Views: 3991
Re: SK6812 LED
Something is wrong.... I downloaded Testsk6812 from above - the MCU is set as ATMEGA328PTQFP (is this intended?) Changing the target to ATMEGA328p gives -> Pin0 of component ESP_RMT1 is connected to bit 2 of Port A but this port/bit does not exist on the new microcontroller Flowcode then closes (cra...
- Wed Apr 03, 2024 4:12 pm
- Forum: General
- Topic: SK6812 LED
- Replies: 37
- Views: 3991
Re: SK6812 LED
You also need to call Refresh after doing the setall - to upload the data to the leds
- Wed Apr 03, 2024 9:41 am
- Forum: General
- Topic: SK6812 LED
- Replies: 37
- Views: 3991
Re: SK6812 LED
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_RMT.c:112:19: error: conflicting types for 'FC_CAL_RMT_TX_1'
CALFUNCTION(void, FC_CAL_RMT_TX_, (void))
Definitely trying to include the esp code?
If the target is a 328p then there is an issue with the component?
Martin
- Wed Apr 03, 2024 8:37 am
- Forum: General
- Topic: SK6812 LED
- Replies: 37
- Views: 3991
Re: SK6812 LED
This is an issue with ESP32 and later versions of the RMT interface.
See the post at viewtopic.php?p=14339#p14339
For a working version - the RMT interface and to have changed dramatically...
Martin
See the post at viewtopic.php?p=14339#p14339
For a working version - the RMT interface and to have changed dramatically...
Martin
- Wed Mar 27, 2024 10:31 am
- Forum: General
- Topic: E-Blocks 2 settings
- Replies: 4
- Views: 1423
Re: E-Blocks 2 settings
If you post your chart - someone will surely be able to help...
Martin
Martin