I’m somewhat new to the Arduino Diec. - been using it for 3 months. I’ve read some of the board postings on the issue of the automatic reset via the DTR that occurs when opening and closing a serial port as well as some of the issues with noise induction closing the port early.
I’ve developed a product that will be operating underwater for some time and thus I can’t regularly access it to hit the reset switch when the port is tripped over. I however have a hardline attached to it in order to gather data and issue commands. I was wondering if anyone has any source code that I can use that will help with this problem.
My process involves these steps from initial setup: 1.) I connect via serial connection using MS VB.NET Express 2008 to the arduino 2.) manually hit the reset button to get the program to execute. 3.) seal my device and submerge 4.) send it a command via my VB GUI 5.) arduino responds back with an action.
The process then continues looping between steps 4. & 5. until the connection is closed.
I would like to eliminate the 2nd step and be able to reopen the connection and reset the board in software. Is this possible? Can anyone help?