Skip to main content
Sanoj N V
Visitor II
November 7, 2017
Question

DC motor speed control through BLE using Smartphone

  • November 7, 2017
  • 1 reply
  • 511 views
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).

This topic has been closed for replies.

1 reply

Andrea Palmieri
ST Employee
November 8, 2017
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