Use shielded cable; that's the most straightforward solution.
You could use an 18650 with a boost converter to step up its output to 5V. Or 2x 18650 in series with a step-down converter. Or one of the many box-shaped battery packs that come in various dimensions and volumes (and capacities), again combined with a step-up or step-down converter to get the required voltage out of it.
I've already tried this. Two 18650 with a 5v ams1117, it was the same results. But I'm gonna try it again
My 18650 are from china, they have less than 1Ah, I think that's the problem
Updates: tested it again, with the wire antenna I managed to get ≈ 3,6m away, without the wire antenna it was less than 1,5m. With the AMS the servo didn't restarted the Arduino.
And if I cover my phone's Bluetooth with my hand it also doesn't work
A circuit composed of "the Arduino", the battery, the TP4056 and the HC05/06 together with a simple sketch (SoftwareSerial) - all of which with you would validate, test, assess, the Bluetooth operation.
If that's so, assuming "No.6" is it - then that's what must be better understood, investigated - as it's the keystone so far as this project going forward (or not).
I think he needs both the servo and the H-bridge for his DC motor, so the final option would probably be no.1 or no.2, but with improvements so that the range approaches that of no.6 and no.7. My interpretation of #16 was that the H-bridge was the main problem, so I took it from there. Better / other ideas are surely quite welcome, though!
Blutooth may not be the best option for longer ranges. In an indoor environment, a few meters is really all you can expect.
If you take it out into the yard with no walls, trees/shrubs between receiver and transmitter, so a free line of sight, then you can probably eek out 10m. But you'll have to ditch the breadboard setup as it'll be inherently noise. You'll only get decent performance if you build the rest of the circuit as compact as possible, and position the bluetooth module advantageously in relation to the rest of the system. Even then, the noise from the motors and motor drivers will affect range strongly.
Could be a code problem, or a problem with failed bluetooth communication; hard to tell from a distance.
Please provide a source for this claim. All product descriptions I see mention ranges of 10-max. 30m, and those are the optimistic figures. I'd love to see your setup and experimental data for realizing a 100m range with HC-05.
Probably my next project will use a NRF24, but if I use it, I will have to build a entire remote control from scratch, and where I live, the parts I will use are quite expensive.