You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Image: Prototype, work in progress
6
6
7
7
## Description
8
8
9
-
**PulseFlow** is a small Arduino sketch that connects via BLE to a HR fitness sensor like those from Garmin, Wahoo and others. The fan is connected to a PWM controllable AC dimmer. These AC dimmers can be sourced from marketplaces like AliExpress.
9
+
**PulseFlow** is a small Arduino sketch that connects via BLE to a HR fitness sensor like those from Garmin, Wahoo and others. The fan is connected to a PWM controllable AC dimmer or a dimmer that exposes 2 pins: Output Zerocross detection, input triac trigger. These AC dimmers can be sourced from marketplaces like AliExpress.
10
10
11
11
## Warning
12
12
BE AWARE THAT YOU'LL BE WORKING WITH DEADLY LIVE VOLTAGES. TAKE APPROPRIATE SAFETY MEASURES WHEN CONNECTING PARTS AND WHILE USING THE DEVICE YOU CREATED.
@@ -17,16 +17,27 @@ BE AWARE THAT YOU'LL BE WORKING WITH DEADLY LIVE VOLTAGES. TAKE APPROPRIATE SAFE
17
17
+ Sensor pairing is hardcoded, see the sourcecode
18
18
+ Use a fan that has no electronic speed control of it's own.
19
19
+ The HR to fan speed mapping is hardcoded, see the sourcecode
20
-
+ The PWM signal is available on pin D6 (Arduino numbering)
21
-
+ The PWM signal is not generated by analogWrite as the standard PWM frequency is too high for the AC Dimmer I used
22
-
+**The PWM related code is therefore specific for an Arduino NANO 33 BLE rev2** (but should be easy to adapt)
20
+
+ In case of a PWM controlled dimmer:
21
+
+ The PWM signal is available on pin D6 (Arduino numbering)
22
+
+ Code to generate the PWM is Nano 33 BLE specific
23
+
+ In case of zero-cross/triac trigger dimmer:
24
+
+ Pin 2 (Arduino numbering) is used to detect the zero-crossing (interupt)
25
+
+ The triac trigger pulse is available on pin D6 (Arduino numbering)
26
+
+ The delay implementation between the zero-crossing and the triactrigger is Nano 33 BLE specific
23
27
+ As the NANO is a 3.3V device the AC dimmer you use must be 3.3v tolerable/compatible (or add levelshifting)
24
28
+ Installing the various parts in a metal of shielded housing can influense the BLE RF signal
25
29
26
30
## Possible enhancements
27
31
28
-
+ Support different AC dimmer (not the PWM controlled one's)
29
32
+ Battery check as far as exposed (Garmin does on the HRM Dual)
30
33
+ Do away with hardcoded pairing
31
34
+ Create an UI (e.g. a 2-Line display and rotary encoder) for pairing, map settings.
32
35
+ Alternate fan speed mapping methods (speed, power,...).
0 commit comments