Plugging in MEGA shield breaks communication between PC and board

I have a Keyes Studio 2560 R3 Prototype Circuit Breakout Board PCN and a MEGA 2560 R3. I've had code that works when I directly wire up the connections, but the use of a shield with the same wiring breaks communication. Power works, no shorts here, but as soon as I plug in the shield all serial communication stops. I tried clipping off the TX0 and RX0 pins - even though there's nothing plugged into them, but it didn't change anything. Any ideas as to what could be causing this?


Do you have a schematic for your shield and have you checked all your solder joints ?

Do any of the pins on the 1x7 header touch the can of the USB connector?

Are any of the pins on the ICSP header touching your wiring on the prototyping board?

Can you verify that the ICSP connector is correctly lined up with the ICSP pins?

Yes, the ICSP header pins have three connections to the wiring but that's intentional. MOSI, MISO, and SCK are being used. But no other cross-connections.

It connects properly making contact with all six pins, if that's what you mean. I'm really mostly curious what I should be looking for, because it's almost certainly some wiring error somewhere, but I'm not sure what KIND of wiring error. Would something like a short in I2C pins cause this? Analog pins? Just really not sure what could cause this complete stop in serial communication all because a shield with no sensors on it is attached.

Is it purely a stop in serial comms only, or has the whole sketch stopped?

Everything stops. Even my parsing messages printed out to the console stop and are replaced with three null characters followed by the letter d. and nothing else happens.

Does a simple code to echo back anything send via serial monitor still work?

Also, make sure none of the ICSP pins for the 16u2 chip are touching anything.

Yep. blink code via serial monitor printing out "LED on" and "LED off" works. probably a more specific issue then...I'm going to try each of my sensors' code individually.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.