Hi everyone.
I'm having a problem with the ULN2003A IC. When I connect this specific type of buzzer to one of its pins, all the pins turn on together for a brief period of time (~50us).
For clarification I have made a simplified circuit that is able to reproduce the error.
Here is the schematic of the circuit:
It is very simple.
Outputs 1 and 2 of the IC are pulled up to +5v, and are connected to channels 2 and 3 of my logic analyzer.
Output 7 is connected to a buzzer's negative terminal.
The buzzer's positive terminal is connected to a 12v switching power supply.
Input 7 is connected to a simple push button to turn the output on and off.
Expected behavior:
When pushing the button output 7 should go LOW, turning on the buzzer.
Other outputs of the IC should be unaffected.
Observed behavior:
When pushing the button output 7 goes LOW, turning on the buzzer.
All other outputs also go low for a brief period of time (~50us).
Here is a logic analyzer capture of the button presses and the corresponding switching of other pins.
It's not just the two pins. Here's all other pins connected to the analyzer:
Interestingly this only happens with this specific kind of buzzer. It only draws about 10mA. I've connected 400mA loads to this same circuit and this glitch doesn't happen with them.
Here's a capture of the exact same setup. Only this time the buzzer is replaced with an LED (draws 400mA).
Anyone has any idea what's going on here?









