Hello,
I'm working on a mechatronic system that has multiple DC, stepper, and servo motors, and decided to use the Adafruit motor shields and servo shields to solder and stack them on top of my Arduino Mega. I'm also using an industrial photoelectric sensor, and all of the schematics I've seen are telling me that I have to ground the sensor directly to the Arduino, rather than the ground board that I have my other drivers and components connected to. So I'm stumped on how to plug my sensor into the Arduino's ground pin when it's already being used by my motor driver. Should I be able to ground it from the motor driver on top, or solder some more wires from the Arduino ground to a breadboard setup, or anything else?