-
-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TM1814 RGBW Support #325
Comments
NOTES:
|
Hey Michael, I hope you had a good New Years! Thanks, |
hey Michael,
the link you sent is for the 1804 NOT the 1814 chip set, I've attached a
copy of the 1814.
The 1814 has a resting high state for the reset so I use the NOR gate
rather than modifying the adafruit neopixel library further.
…On Wed, Jan 1, 2020 at 4:36 AM Michael Miller ***@***.***> wrote:
Your link didn't work. This link to TM1804 spec sheet
<https://datasheet.lcsc.com/szlcsc/1810010413_TM-Shenzhen-Titan-Micro-Elec-TM1804_C88266.pdf>
does NOT describe anything outside of a normal signal, so the
Neo800MhzMethod should work.
Why are you inverting the signal?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#325?email_source=notifications&email_token=AOEZ3FD5RGPIMBK3BVZG7VTQ3OGKJA5CNFSM4KBHS4QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH4RHNQ#issuecomment-569971638>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOEZ3FH4NDLW63WFDDJOGZ3Q3OGKJANCNFSM4KBHS4QA>
.
|
Makuna, Thanks for taking a look at this. I have some I would like to run in Wled. Ryan |
I think I have a solution that doesn't require a bunch of code duplication; but it will take a bit to spread it through all the methods for all platforms. initial work shows a minor code increase for other methods/features that don't have these "settings" but no extra memory for them. |
Thanks Michael for giving this a shot I'm looking forward to testing the code. |
#329
if you are using hardware to invert the signal, then you can use the following definition which will invert the signal from the normal required TM1814 signal.
To set the constant current feature these chips support, use the following line once somewhere in setup or loop
Of course, change the numbers to the current requirements of your LEDs. |
I am also interested if using the settings could be used to dim all the LEDs, running them at half their rated current would mean 50% dimmer and might increase the effective range of the RGB values; where normally its hard to tell 200,200,200 from 255,255,255. |
Hi Michael, thank you very much for adding the support. So far the tests work well there aren't any major problems. So far so good, I'll continue to test and see if any issues arise. I've tried using the current controls it can be subtle the difference in mA output but yes you can you it to extend the range. I'm yet to do test with an accurate colour meter or spectrometer to see what the affects are. Thanks again, |
Hello Makuna,
I was wondering if it were possible to add support for the TM1814 IC RGBW https://datasheetspdf.com/pdf-file/1330606/TitanMicro/TM1814/1 on the ESP32. I've previously been using the adafruit neopixel library and a teensy3.5 and modified the library to match the data sheet it seems fairly simple but I'm unfamiliar with your library.
I used the SK6812 RGBW constructor and added the required C1 and C2 values to the frame at the begging of the buffer and adjusted the timings to match, I ended up with
pixels.setPixelColor(amp, ~amp, 3 pixels.color(255,0,0,0); and pixels.fill(amp, ~amp, pixels.color(255,0,0,0), 0, NUM_LEDS);
. I then use a NOR gate to invert the signal.The text was updated successfully, but these errors were encountered: