After completing the previous steps you are ready to test the sensor.
- Attach the sensor onto the treadmill. This can easily done using an electric wire and some duck tape (see picture below).
- Measure the length of the treadmill belt. This can be done by putting some masking tape onto the belt, remove it and measure the total length on the floor.
- Put a marker on the belt. This can be a piece of tape e.g. isolation tape sticks fine or use some white paint or tipex to make a mark on the belt.
- Tune the sensor to adjust the detection distance using a small screw driver on the top of the sensor. Make sure the red detection light is off and only lights up when the marker passes the sensor (see video here). Turn the screw counterclockwise to reduce distance detection.
- Connect to the ESP32 controller using a PC or Mobile Phone via the WiFi access-point "BlueTrack-Access-Point" with password "123456789"
- Open a browser and goto the URL : http://192.168.4.1
- Login with user "admin" and password "admin"
- Click on settings and enter the length of the belt in Meters and Centimeters and click "Update"
Match the treadmill display speed to the speed in Zwift:
- Set the treadmill for example to 12km/h
- Make small adjustments to the belt size until you reach the same speed within Zwift.
The speed indicated by the treadmill will never be exactly identical because the sensor measures the real speed of the belt, which is affected by the impact of the runner.