I have a microcontroller that is not 5v tolerant and I need to drive IR leds just like in the attached circuit.
What I thought of doing is using the 5v line from my raspberry pi as the load voltage across the leds and grounding the ULN2003 back to my raspberry pi instead of the other 3.3v tolerant microcontroller.
But I'm wondering if:
If it even matters if I ground the uln2003 to the raspberry pi or the other 3.3v microcontroller? I obviously know that you should not apply a voltage greater than 3.3v to a 3.3v tolerant microcontroller, however, doesn't the voltage drop to 0 at this point, so in theory it should be safe?
like I said before, "I obviously know that you should not apply a voltage greater than 3.3v to a 3.3v tolerant microcontroller." but can you apply a larger voltage to a component thats in a circuit with that microcontroller?
To note: I cannot use the raspberry pi to drive the leds instead of the microcontroller.