cancel
Showing results for 
Search instead for 
Did you mean: 

DC motor speed control through BLE using Smartphone

Sanoj N V
Associate
Posted on November 07, 2017 at 18:30

Hi

 I am working on new application based on ST BLE + STM32 controller . For proto development I am using

NUCLEO-F030R8 & X-NUCLEO-IDB05A1 eval board. I want to control speed of a DC motor (controling PWM) through BLE using Smart phone.

Pls advise how to do this. Which app should i use for this. Can i use BlueMs app. How about Blue Explorer App

(IOS App).

1 REPLY 1
Andrea Palmieri
ST Employee
Posted on November 08, 2017 at 10:27

Dear Sanoj,

for your use case you need a BLE peripheral application providing a writable characteristic. On receiving a write command from the phone, you can update the speed of the DC coherently. For a quick setup, I'd suggest the

https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_LED

example provided by mbed and the LightBlue or BLE Scanner app to toggle the LED.

Kind regards

Andrea