https://github.com/radiokot/strobe
Arduino sketch for a Bluetooth stroboscope controller
https://github.com/radiokot/strobe
arduino bluetooth bluetooth-arduino hc-05 stroboscope
Last synced: 10 months ago
JSON representation
Arduino sketch for a Bluetooth stroboscope controller
- Host: GitHub
- URL: https://github.com/radiokot/strobe
- Owner: Radiokot
- Created: 2019-08-16T15:35:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-29T16:28:17.000Z (about 3 years ago)
- Last Synced: 2025-01-22T09:22:56.304Z (11 months ago)
- Topics: arduino, bluetooth, bluetooth-arduino, hc-05, stroboscope
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bluetooth stroboscope controller
This is an Arduino sketch for a Bluetooth stroboscope controller. It receives commands from the HC-05 module and generates required flashing signal.


## Set up
This sketch is running on the 5V Arduino Pro Mini. The HC-05 module is connected directly to RX and TX pins. Flashing output is directed to S750's audio in.
## Command protocol
| Name | Code | Payload | Example |
| -----|------|---------|---------|
|Single flash|0x1|-|`0x1`|
|Stop|0x2|-|`0x2`|
|Continuous flashing (Hz)|0x3|unsigned byte of Hz value|`0x3 0x5` — start flashing at 5 Hz frequency
|Continuous flashing (BPM)|0x4|2 bytes of unsigned short BPM value in **Little endian**|`0x4 0x4 0x1` — start flashing at 260 (0x104) BMP frequency|