I'm currently working on a little learning project, where I want to replace the bi-color LEDs on an original Xbox with RGB LEDs controlled by a Nano.
While it's easy to just remove the LEDs and hooking the new RGB ones up to the Nano and fade colors, I also want to listen to system errors and change the color or blink. The front panel LEDs of the Xbox usually light up or blink in a certain pattern if something is wrong with the system.
Therefore my plan was to read the value of the front panel pins which are normally conntected to the LEDs.
This is how the front panel looks like:
The Arduino will later on pull the power from the Xbox itself, so they share the same GND.
But I'm currently too inexperienced to get a grasp on reading the values from one of the anodes or rather the pins later on since the LEDs will be removed completely.
First of all the Nano is currently hooked up on a little breadboard and it's powered by my PC via USB so I can upload my code. From what I've been reading I have to connect one of the ground pins to the Xbox so they share the same ground, am I right?
Because I already tried to connect one of the LED pins to the analog pins on the Nano, but when I tried to read the value, I always get 0. This is probably because the Nano and Xbox didn't share the same ground. Since I'm new to all this I just wanted to try out this scenario by connecting an LED to the Nano and read the value from there, this time all of the RGB LEDs anodes gave me a value between 400 and 600, but they never changed. Am I right in the assumption, that this is because the LED is controlled via D9-11 pins with PWM, which is why they always get the same voltage?
I also wondered if I could get the info about the LED status (or rather the Xbox status) from somewhere on the lower levels via the digital pins on the Nano. But there aren't many schematics out there sadly.
Anyways, can someone point me in the right direction and explain what I'm doing wrong and why?
My knowledge is limited to what I learned from school, namely ohm's law and stacking together some simple circuits with LEDs but that's it, so I'd like to learn something.