Go Down

Topic: Sketch won't start unless i check serial monitor on the computer (Read 83 times) previous topic - next topic


I have two arduino mega and i'm trying to set up a simple communication sketch between the two via serial ports. I've been scratching my head around this for days now.

For now i only have one 12v power adapter, and one usb cable that i use to upload the sketchs one at a time and to power one of them while testing. And i thought that was fine until i realized the one being powered by the adapter nevers actually runs, and the one powered by the computer only runs if i explicitly check the serial monitor on the arduino ide.


Do you have GND connected between the Megas, and Rx1/Tx1 between the cards connected or similar?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


Go Up