Another observation.....serial.begin (2400), I2C communication..
-
If I upload it keeping the serial monitor open...signal appears in oscilloscope, and if I close the serial monitor, signal doesnt come in oscilloscope....
-
If I upload it and doesnt open the serial monitor, signal appears in oscilloscope, and If I disconnect arduino and plug it in again, it doesnt show any signal on oscilloscope....but then after opening the serial monitor, signal start appearing in oscilloscope.....
-
whenever serial monitor closed , in other words mechanism doesnt work (LED on arduino pin 13 blinks), as soon as I open the serial monitor,(or Mechanism works) it stops blinking.
in my final application, I have to connect it with the mains power supply...