GPS speedometer and clock
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Shop by category
Shop all componentsThe STM32WB55 has two cores: an Arm Cortex-M4 for your program and a Cortex-M0+ that runs ST's wireless stack for Bluetooth LE, Zigbee or Thread. WeAct's board brings it out on a small breadboard-friendly PCB. You first flash the BLE stack to the radio core with STM32CubeProgrammer, then use the STM32duinoBLE library in Arduino. The sketch offers one BLE characteristic; writing 1 from a phone app turns the LED on.
Tick anything you already have and the total updates.
WeAct STM32WB55 BLE demo board
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB from the computer.
ble_led.inoVerify & upload in Electrolark#include <STM32duinoBLE.h>
HCISharedMemTransportClass HCISharedMemTransport;
BLELocalDevice BLEObj(&HCISharedMemTransport);
BLELocalDevice& BLE = BLEObj;
BLEService ledService("19b10000-e8f2-537e-4f6c-d104768a1214");
BLEByteCharacteristic ledChar("19b10001-e8f2-537e-4f6c-d104768a1214", BLERead | BLEWrite);
const int LED = PB0;
void setup() {
Serial.begin(115200);
pinMode(LED, OUTPUT);
if (!BLE.begin()) { Serial.println("BLE failed: is the wireless stack flashed?"); while (1); }
BLE.setLocalName("WB55 LED");
BLE.setAdvertisedService(ledService);
ledService.addCharacteristic(ledChar);
BLE.addService(ledService);
ledChar.writeValue(0);
BLE.advertise();
}
void loop() {
BLE.poll();
if (ledChar.written()) digitalWrite(LED, ledChar.value() ? HIGH : LOW);
}
The wireless stack is missing or the wrong one; flash the BLE full stack again.
Hold BOOT0 while tapping reset, and use a data USB cable.
Turn on location for the scanning app and make sure the sketch is running.
Yes, with a different wireless stack and ST's CubeWB examples.
The radio timing runs on its own core so your program cannot disturb it.
No, USB DFU is enough for this board.
5 parts: WeAct Studio STM32WB55CGU6 BLE 5.4 Zigbee Thread Matter Demo Board, 5mm LED by Colour (Pack of 10), Resistor Assortment Kit (30 Values), Solderless Breadboard and Dupont Jumper Wires (40 pcs). On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 2 hours. The build on this page has 6 steps.
No. This page has the complete, tested code (ble_led.ino).
About ₹754 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Dual-core wireless MCUs; BLE services and characteristics; Flashing a chip over USB DFU.
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Records where you went every five seconds, ready to open on a map.
Two boards, two radios: press the button at the gate and it rings indoors.
Check temperature, humidity and pressure from any phone on your Wi-Fi.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.