2026-03-18 1:52 AM - last edited on 2026-03-18 3:54 AM by Andrew Neil
Hi everyone,
I’m currently working on a project using an STM32 Nucleo L476RG and a Velleman VMA302 Bluetooth module (HC-05 type), and I’m trying to send data over Bluetooth to my Mac.
I configured USART1 at 9600 baud in STM32CubeIDE, and my code is continuously sending a simple message like "Hello". The module is powered and appears to be working (LED is blinking, pairing works with my Mac).
On macOS, I can see the Bluetooth device and pair with it successfully. I also see the serial port (e.g. /dev/tty.HC-05-xxxx), but when I try to read data using the terminal command:
screen /dev/tty.HC-05-xxxx 9600
I don’t receive anything.
I’ve already checked:
What I’m trying to achieve:
Send data from the STM32 to my Mac via Bluetooth and read it as a serial stream.
My questions:
Any help or debugging suggestions would be greatly appreciated!
Thanks in advance :)
2026-03-18 3:59 AM - edited 2026-03-18 4:44 AM
The Bluetooth module neither knows nor cares what microcontroller you use.
Connecting HC-05/HC-06 Bluetooth Module to X-NUCLEO-53L7A1 with NUCLEO-F401RE - you can read "Mac" wherever it says "PC"
PS:
See also: tips on Debugging Serial Comms
PPS:
See also: https://www.velleman.eu/support/ for specific support with their product.