I got an arduino uno recently and it works perfectly and I haven't had any problem uploading my sketches before, but now I'm trying to connect a bluetooth module HC-05 and it gives me the following error:
avrdude: stk500_recv(): programmer is not responding
Then I restarted the arduino and the IDE and it gave me this error:
avrdude: stk500_getsync(): not in sync: resp=0x00
Then I diconnected the bluetooth module, and tried connecting and flashing a single led and it worked normally and without errors, but when I connected again the module it showed the first error once again.
Why is this? How can I fix it?
I use linux, I didn't have problems before.
This is the link to the tutorial I was using in case it helps: