I am using a Mega ADK in a Bluetooth project and my RS232 is giving me problems. I have been using 3rd party bluetooth code and have tried all versions found so as to get me started.
I have set RS232 ports to 14, 15 on ADK I also had one arduino totally failed to upload from the pc after a samsung phone was connected to my PC and it installed its device driver. ( may be thats not related to this post but its odd ) I am therefore very skeptically proceeding as have had to buy a new board during this development.
I have had some response from Arduino & Bluetooth EGBT-06 using AT commands, but very inconsistently, some commands respond, some don't, even AT sent on its own doesn't always OK I have this feeling that my Bluetooth EGBT-06 module might be a faulty card.
To ensure all is ok on the arduino side first: What I am looking for is an RS232 loop-back code tester, so I can e.g. send a character out on TxD 14 and if there is a shorting cable connecting to RxD 15 then it will appear back and be displayed on the serial monitor and if 14 to 15 isn't shorted then do data will come back through. This would prove that arduino is sending RS232 out and getting same data back and back reliably, this without the bluetooth being connected.
I am new to arduino programming and have looked for such a loop tester code, but all I can find are loopback testers to see if the PC can send to download a sketch to arduino itself ok and not to check if arduino can send successfully through an assigned pin as RS232 and then get it back.
If anyone knows of such a loop test program, I would be very grateful.
Many Thanks in advance. Les