smart-sensor-devices-ab / stm32_bleuio_lcd

Bluetooth LE project. BleuIO on STM32 with LCD Display

Repository from Github https://github.comsmart-sensor-devices-ab/stm32_bleuio_lcdRepository from Github https://github.comsmart-sensor-devices-ab/stm32_bleuio_lcd

Example project on how to setup a STM32 Microcontroller with USB port to run the BleuIO dongle with the STM32 as a USB CDC Host and control LCD display connected to it.

1. What you will need

2. How to setup project

2.1 Downloading the project from GitHub

Either clone the project, or download it as a zip file and unzip it, into your STM32CubeIDE workspace.

2.2 Importing as an Existing Project

  • From STM32CubeIDE choose File>Import...>General>Existing Projects into Workspace then click 'Next >'
  • Make sure you've choosen your workspace in 'Select root directory:'
  • You should see the project "stm32_bleuio_example", check it and click 'Finish'.

3. Running the example

  • In STMCubeIDE click the hammer icon to build the project.

  • Open up the 'STMicroelectronics STLink Viritual COM Port' with a serial terminal emulation program like TeraTerm, Putty or CoolTerm.

    Baudrate: 115200

    Data Bits: 8

    Parity: None

    Stop Bits: 1

    Flow Control: None

  • In STMCubeIDE click the green play button to flash and run it on your board. The first time you click it the 'Run Configuration' window will appear. You can just leave it as is and click run.

  • Connect the BleuIO Dongle.

  • Wait until the message: "[BleuIO Dongle Ready]" is shown.

  • Press 0 to get device information, 1 to start advertising and 2 to stop advertising. Dongle response will be printed to uart.

4. Links

About

Bluetooth LE project. BleuIO on STM32 with LCD Display


Languages

Language:C 99.0%Language:Makefile 0.6%Language:Assembly 0.4%Language:HTML 0.0%Language:JavaScript 0.0%