Experiment with Arduino, Bluetooth module and Web Bluetooth API.
- Arduino
- Bluetooth module v4 (HM-10 in my case)
- nRF Connect app (in my case)
- Led (3 colors in my case)
- Upload sketch (
ble2.ino
) to your Arduino - Connect your module and led to Arduino
- Open
index.html
locally or use this link - Profit
- GND -> GND
- VCC -> 3.3V
- RXD -> 8 pin
- TXD -> 7 pin
- red -> 3 pin
- green -> 2 pin
- blue -> 4 pin