Arduino h05 bluetooth module

If you want to use the hardware serial pins (0 and 1) with the HC05, then the module must be disconnected from those pins when uploading code.