Hello,
Oftentimes its convenient to leave the system (mega, no bt) connected to the serial monitor so as to take advantage of 'serialPrint' for long term analysis. For instance, i need to assess the sensitivity of external PIRs to cats around the house. Of course, i can leave the system connected to the android serial usb terminal app but, if ino is powered via the 5V input, serial won't connect. On the other hand, If Ino is powered via the barrel, serial will connect but the phone will power the ino system whereas I want the ino to draw no power from the phone and to be able to power the phone by a charger from time to time to keep it charged or even to leave the phone permanently in charge if I'm not concerned with battery longevity. In a word: solution for compact long time monitoring with zero development. Thanks
What?
A USB cable splitter maybe? That way your phone will be constantly charged as well as powering the Arduino and the serial connection will work.
You can't imagine something into existence, particularly when you keep changing your idea. Make a drawing of the connections you want, leave nothing out. Build it. Test it. Fix what needs fixing.
Not sure what an 'ino' is (other than the extension after the name of a sketch file) but what about using one of these?
XD-05 Data Logger Data Logging Shield Module V1.0 for Arduino MEGA R3 PI -UK | eBay?
I believe there are libraries around that provide logging functions. I don't think there is a solution that requires zero development though.
To use your phone as a serial monitor, download a terminal app like Serial USB Terminal, connect an HC-05 or HC-06 Bluetooth module to the Arduino serial port, pair the two and get on with the project!
Deleted accidentally!
Looks interesting! Thank you
switch to a ESP32 and use it's onboard WiFi or bluetooth connectivity
That is one of the reasons why it is not recommended to power your uno via the 5V output pin. Having power connect to the 5V output while it is also connected to your phone via USB you run the risk of damaging your phone and or uno