Electrical – HC05 Bluetooth module: gpio pins usage

arduinobluetoothgpio

I've recently bought a HC05 Bluetooth module, of which I hoped to use the general purpose input-output pins. The HC05 has loads of them, but I haven't found anywhere a single description on how to use them, except when in AT mode, which, as far as I understand (I may be wrong) can only be used when the device is not bluetooth paired (i.e. it's just wired to the PC).

So, if they can't be queried or changed remotely, what are they for? How else could I broadcast the value of a pin through bluetooth without a whole Arduino?

Best Answer

The HC-05 is a poorly documented module with firmware designed to just be a bluetooth to ttl serial uart interface, to be seamlessly dropped in. The extra features of the radio chip are ignored with the default firmwares. You could try writing a firmware from scratch, as I have not seen the code for the existing firmware available.

the other options is to use any number of bare microcontroller as a middleman. A whole Arduino uno is costly and wasteful, but you could use a 1 dollar msp430 or attiny or atmega, program it and use that.

Otherwise look for a module that offers gpio access over bluetooth.

Related Topic