Answer the question
In order to leave comments, you need to log in
Can the hc-05/hc-06 module work autonomously without a microcontroller (arduino)?
Good afternoon, I'm a beginner lover of pieces of iron like Arduino and I'm still trying to get to the bluetooth modules.
I will try to explain with an example what I am trying to understand.
There are Chinese modules, such as an obstacle sensor. It has an OUT leg, which, when the sensor is triggered, gives 5V.
There is also a bluetooth module, 05/06. In the datasheet, I saw PIO pins there. Can the bluetooth module use the PIO pins to receive a signal from the obstacle module from the OUT leg?
But not only to receive it, but also then send it, for example, to a connected phone.
Answer the question
In order to leave comments, you need to log in
No, it cannot, since the chip on these modules cannot work independently. For its operation, you need 1 more microcontroller that will communicate with it via uart (for example, arduino)
If you really want to, you can download the SDK from them and wind up the firmware.
But it's easier to take esp32
You can do it, but for this you need to convert your 5V to a DTMF signal using a DTMF decoder of the type
described on the network, at the audio output you get standard analog control signals (values) in communication, and you can broadcast them over the air by convenient means in t .h. and via bluetooth. How to detect a signal on your handset, you can also dig on the network.
While writing the answer, an even simpler option came to mind for which you can build a primitive DTMF generator, whose keyboard for a certain number from 0 to 9 and #, * will receive a pulse from a 5V sensor with a pull-up to ground, at the output of the generator we have the desired signal to For example, a button on the handset that is programmed to dial the desired number, but there you need to do everything thoughtfully.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question