Hello friends! So I recently bought a new PC and the case (Phanteks Eclipse P300) comes preinstalled with RGB LED's and a cable to connect additional LED's or LED strips. On the cable it strictly says to only connect Phantek branded strips, but yeah...
My friends had a leftover piece of a NeoPixel LED strip (NeoPixel) which they kindly gave to me for this purpose. The strip contains individually addressable LED's and has three pins (+5V, DATA, GND) and is supposed to be controlled with an Arduino. However the cable in the case has four pins (+12,R,G,B). The RGB pins are used with inverted PWM to control the LED color. Because of this I cannot plug my strip directly in to the case to sync it with the other LED's and the button cycling between modes/colors. In conclusion, I wish to sync and use the built in 12V four pin RGB LED's and a button together with a 5V three pin LED strip which is then controlled by an Arduino.
I have tried experimenting with my problem and so far I have realized that I cannot hijack the built in LED's and button to control everything using an Arduino. Not being able to do this I decided to try reading the PWM signal using pulseIn() on my Arduino and then forward the color value to the LED strip. The problem here is reading reading 12V PWM signal with the Arduino. I have looked around but I have not found any answers and the closest I could come was this.
According to that post a simple voltage divider should do the work, but I have my doubts since when the PWM pin is +12V the potential at my desired reading point would as well be +12V and that is what I am trying to avoid. If you have any ideas or solutions feel free to share!
Thank you!