Im trying to make a driver to handle HC-05 device and the next step i had to do is to switch between DATA mode to AT mode. Switching backwards it works ( power off EN pin and then send "AT+RESET" ) but from DATA mode i cant reset the module. Any idea how to do that?
PS: Connecting to Vcc of HC-05 to a pin and try to power of power on this pin is not working because the when the pin is in HIGH level the voltage is 2.2V and the HC-05 Vcc must be 3.3V. This happend when the pin is connected to HC-05 Vcc pin, otherwise the voltage on high level of the pin is 3.3V.