Go Down

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

pre4over

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.

CrossRoads

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.

pre4over


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy