How to Get a Troublesome Bluetooth Module Working!

Sup dudes! I'm back on the forum with a bit of a story this time, to help any people having problems with bluetooth modules!

I bought a cheapish Bluetooth module on ebay a while ago (this is the only description I could find of it) and its based on the HC-05.

http://www.lctech-inc.com/Hardware/Detail.aspx?id=25662aa3-0517-4d3d-960e-ff261d5ef28c

I was happy to get it, and straight away started to test with it. I could get the Arduino to send messages through the Module after a couple of hours figuring out how to use it. This video helped a lot:

Anywho, it was pretty easy to get it sending characters. The problem was, I was trying to send stuff from my phone to the arduino. Originally, I thought the problem was code. I went through at least 10 different programs to get it working. Nothing worked. I got a new bluetooth program for my laptop. I almost tore my hair out trying to figure out what the problem was. But then! An idea! I connected the data output of the Bluetooth Module to its data input, so it would echo anything I sent it, bypassing code and the arduino. I sent it characters, and it sent back! It worked! So now I knew that the module had no problem sending and receiving. This is a valuable test if you have problems, because it means you can see if the module works or not. So now, I knew it was the connection between the arduino and the module.(The code was DEFINITELY fine) I concluded that I must have burnt out the rx pin on my uno board. (0) It must have happened in my earlier days of using it when I had no idea of the current sourcing limitations. Anyway, I searched around a bit and found this:

So that I could change the rx pin to a different one, I chose pin 4.

I added a few extra lines of code to my program, and it worked!

So it turned out I had just fried pin 0, and didn't need to buy another Bluetooth Module, HAPPY DAYS! XD

I just though I'd put this out there for other people experiencing any problems. Good luck and keep building, hacking and programming!! XD