cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 HC-05 Bluetooth module

marwen
Associate
Posted on December 17, 2013 at 23:52

Hello

I'm using STM32F4 board, I want to configure my HC-05 Bluetooth module to send state of bipolar stepper motor .

Any help please on how to configure my bt module to send this value 

Thanks

#stm32f4-bluetooth
3 REPLIES 3
chen
Associate II
Posted on December 18, 2013 at 10:26

Hi

Can you give us more details of what your set up is?

Your description is unclear on what is connected to what.

What is connecting over bluetooth and who is connecting.

What interface is the HC-05 (I2C, SPI or RS232 or other)?

What is connected to the stepper motor and driving it?

We cannot help you unless you make it clear what you want to know!

marwen
Associate
Posted on December 19, 2013 at 20:20

I'm interfacing HC-05 with USART on STM32F4 .

I'm driving biploar stepper motor with L297 L298 bridge .

I want to confgure my µC to receive information from ANdroid App and turn on or off motor .

thanks

chen
Associate II
Posted on December 20, 2013 at 10:18

Hi

I have not worked with bluetooth before, only been an end user.

I will do the best I can to help you.

I assume that you have the stepper motor control working.

You said the bluetooth is connected to the USART - does hat mean it talks RS232 or RS485/422 ?

You said ''I want to configure my HC-05 Bluetooth module to send state of bipolar stepper motor .''

My advice would to to start by learning to config the HC-05 manually. If it talks RS232 - try using a PC with hyperterm (or other better terminal programs). Type in the commands in the terminal. Learn about the BT device (without having to learn to code a USART).

When you know how to configure/control the BT device - then you can work out how to control it with the STM32.

(This is how I tackled a GPS module)

Bluetooth is only a Device IF standard - you still need something to work with the device eg Bluetooth headphone appear as an audio device, but will do nothing unless something is directed to the audio device.

What type of device will the stepper motor be?

What Andriod app are you using?

Do you have to develop an Andriod app?